@font-face {
  font-family: "Instrument Serif";
  src: url("../../apple-valley-estates/estate/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../../apple-valley-estates/estate/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

:root {
  --display: "Instrument Serif", Georgia, serif;
  --gutter: clamp(1.25rem, 5.6vw, 7rem);
  --measure: 90rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ncc-ink); background: var(--ncc-surface); font: 400 1rem/1.6 "Helvetica Neue", Arial, sans-serif; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--measure)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 2px solid var(--ncc-gold); outline-offset: 4px; }
.skip { position: fixed; z-index: 12; left: 1rem; top: -5rem; padding: .6rem .9rem; color: var(--ncc-ink); background: var(--ncc-surface); }
.skip:focus { top: .5rem; }
.profile-mast { color: white; background: var(--ncc-ink); }
.mast-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.profile-brand { display: block; }
.profile-brand img { display: block; height: 60px; width: auto; }
.profile-mast nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.2vw, 3.5rem); font-size: .8rem; }
.profile-mast nav a { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; }
.profile-mast nav a:hover { text-decoration: underline; text-decoration-color: var(--ncc-gold); }
.profile-mast nav span,.profile-footer span,.text-action span { color: var(--ncc-gold); }
.profile-mast { position:relative; z-index:4; }
.profile-switcher { position:relative; }
.profile-switcher summary {
  display:inline-flex; align-items:center; gap:.55rem; min-height:44px;
  cursor:pointer; list-style:none;
}
.profile-switcher summary::-webkit-details-marker { display:none; }
.profile-switcher summary::after {
  content:""; width:.42rem; height:.42rem; border:solid var(--ncc-gold); border-width:0 1.5px 1.5px 0;
  transform:translateY(-.12rem) rotate(45deg);
}
.profile-switcher[open] summary::after { transform:translateY(.12rem) rotate(225deg); }
.profile-switcher ul {
  position:absolute; top:calc(100% + .25rem); right:0; width:14rem; padding:.4rem .9rem;
  margin:0; list-style:none; color:var(--ncc-ink); background:var(--ncc-surface);
  border:1px solid var(--ncc-stone); box-shadow:0 12px 28px rgb(24 23 26 / .18);
}
.profile-switcher li + li { border-top:1px solid var(--ncc-stone); }
.profile-mast nav .profile-switcher a { display:flex; justify-content:space-between; width:100%; gap:1rem; }
.profile-switcher [aria-current="page"] { font-weight:650; }
.profile-switcher [aria-current="page"]::after { content:""; width:.4rem; height:.4rem; border-radius:50%; background:var(--ncc-olive); }
@media (max-width:650px) {
  .profile-switcher { position:static; }
  .profile-switcher ul { top:calc(100% - .2rem); right:var(--gutter); width:min(16rem,calc(100% - 2 * var(--gutter))); }
  .profile-mast nav { gap:clamp(.6rem,3vw,1rem); }
  .profile-mast .mast-inner { gap:.6rem; }
  .profile-mast .contact-mark { display:none; }
}
h1,h2,p,figure,dl,dd { margin: 0; }
h1,h2 { font: 400 clamp(3.2rem, 6.6vw, 7rem)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.9rem, 5.1vw, 5.8rem); }
h1 em,h2 em { font-weight: 400; }
.edition-label { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font: 600 .64rem/1.3 Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.edition-label::before { content: ""; width: 2.1rem; height: 2px; background: var(--ncc-gold); }
.profile-hero { isolation: isolate; position: relative; background: var(--ncc-ink); color: white; }
.photo-hero { display: flex; align-items: end; min-height: clamp(27rem, 49vw, min(48rem, 82svh)); }
.photo-hero .hero-image,.photo-hero .hero-image :is(a,.profile-film),.photo-hero .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.photo-hero .hero-image { z-index: -1; }
.photo-hero .hero-image img { object-fit: cover; object-position: center 55%; }
.photo-hero .hero-image :is(a,.profile-film)::before { content:""; position: absolute; inset: 0; z-index: 1; pointer-events:none; background: linear-gradient(0deg, rgba(22,22,25,.76), transparent 72%), linear-gradient(90deg, rgba(22,22,25,.42),transparent 65%); }
.profile-image { display: block; position: relative; cursor: zoom-in; }
.image-action { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .65rem; background: rgb(34 33 37 / .81); color: white; padding: .45rem .7rem; font: 500 .75rem/1.3 Arial,sans-serif; }
.image-action b { font: 400 1.1rem/1 Arial,sans-serif; }
.image-action span { pointer-events: none; }
.profile-hero .image-action { bottom: clamp(1.5rem, 4.5vw, 4.4rem); right: var(--gutter); }
.hero-body { padding: clamp(2.2rem, 4.6vw, 5.2rem) var(--gutter); pointer-events: none; }
.hero-body a { pointer-events: auto; }
.profile-action { background: var(--ncc-gold); color: var(--ncc-ink); display: inline-flex; align-items:center; justify-content:space-between; gap:1.15rem; min-height:44px; padding:.72rem 1.15rem; font:600 .84rem/1.35 Arial,sans-serif; text-decoration: none; }
.hero-body .profile-action { margin-top: 1.4rem; }
.profile-action:hover { background: var(--ncc-stone); }
.art-hero { display:grid; grid-template-columns: .8fr 1.2fr; align-items:center; gap:clamp(1.8rem,5vw,6rem); padding:clamp(3rem,6vw,7rem) var(--gutter); }
.art-hero .hero-body { padding:0;grid-column:1;grid-row:1; }
.art-hero .hero-image { grid-column:2;grid-row:1; }
.art-hero img { display:block;width:100%;height:auto; }
.art-hero .image-action { bottom:auto;top:.75rem;right:.75rem; }
.art-credit { margin-top:.6rem; color:var(--ncc-stone);font:400 .72rem/1.45 Arial,sans-serif; }
.profile-overview { display:grid;grid-template-columns:.85fr 1.15fr;align-items:start;gap:9%; padding-block:clamp(4rem,7.5vw,8.2rem); }
.overview-text>p,.study-heading p:not(.edition-label) { max-width:57ch;color:var(--copy); }
.overview-text>p { font-size:clamp(1rem,1.35vw,1.24rem); }
.property-facts { display:flex;flex-wrap:wrap;gap:1.1rem 2.2rem;border-top:1px solid var(--ncc-stone);padding-top:1.2rem;margin-top:1.75rem; }
.property-facts dt { color:var(--copy);font-size:.71rem; }
.property-facts dd { font-size:.93rem;font-weight:550; }
.profile-study { padding-block:clamp(4rem,6.4vw,6.7rem);background:var(--ncc-stone); }
.study-heading { display:flex;align-items:end;justify-content:space-between;gap:4%;margin-bottom:clamp(1.6rem,3.3vw,3.4rem); }
.study-heading > div:last-child { max-width:39ch; }
.study-gallery { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:clamp(1.15rem,3vw,3.4rem); }
.study-figure { min-width:0; }
.study-figure img { width:100%;height:auto;display:block;aspect-ratio:1.63;object-fit:cover; }
.study-figure figcaption { display:flex;align-items:baseline;justify-content:space-between;gap:.5rem; margin-top:.65rem; padding-bottom:.65rem; border-bottom:1px solid #b1aba6; }
.study-figure figcaption>span { font:400 clamp(1.55rem,2.15vw,2.5rem)/1.12 var(--display); }
.study-figure figcaption small { color:var(--copy); font-size:.72rem;line-height:1.4;text-align:right; }
.study-figure.whole-art .profile-image { background:#faf9f5; }
.study-figure.whole-art img, .model-study .study-figure img { object-fit:contain; }
.model-study .study-figure img { aspect-ratio:16/9; }
.model-study .image-action { top:.65rem;bottom:auto; }
.map-study .wrap { display:grid;grid-template-columns:.76fr 1.35fr;gap:6%;align-items:center; }
.map-study .study-heading { display:block;margin:0; }
.map-study .study-heading>div:last-child { margin-top:1.25rem; }
.map-study .study-gallery { display:block; }
.map-study .study-figure img { aspect-ratio:1.497; }
.text-action { display:inline-flex;align-items:center;gap:.5rem;margin-top:1rem;color:var(--ncc-ink);font-weight:600;font-size:.86rem;text-decoration-thickness:1px; }
.beech-study .study-gallery { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); }
.beech-study .study-figure:first-child { grid-row:span 2;align-self:center; }
.beech-study .study-figure:first-child img { aspect-ratio:1.12; }
.beech-study .study-figure:not(:first-child) img { aspect-ratio:2.1; }
.property-inquiry { padding-block:clamp(3.4rem,6vw,6.8rem);background:var(--os-well);color:var(--os-text); }
.inquiry-inner { display:flex;align-items:center;justify-content:space-between;gap:2.2rem; }
.inquiry-inner h2 { max-width:16ch; }
.contact-actions { display:grid;justify-items:start;gap:.7rem; }
.contact-actions>a:last-child { color:var(--os-muted);font-size:.85rem; }
.profile-footer { display:flex;justify-content:space-between;gap:1.1rem;flex-wrap:wrap;padding-block:1.15rem;font-size:.77rem; }
.profile-footer a { text-decoration:none; }
.profile-footer a:hover { text-decoration:underline; }
@media (prefers-reduced-motion:no-preference) {
  .hero-body { animation: title-in .75s ease-out both; }
  .profile-image .image-action { transition: background .2s; }
  .profile-image:is(:focus-visible,:hover) .image-action {background:var(--ncc-ink);}
  @keyframes title-in { from {opacity:.55;translate:0 8px;} }
}
@media (max-width:800px) {
 .art-hero { grid-template-columns: 1fr;gap:1.6rem; }
 .art-hero .hero-body,.art-hero .hero-image { grid-column:auto;grid-row:auto; }
 .art-hero .hero-body { order:-1; }
 .profile-overview { gap:5%; }
 .study-heading { align-items:start; }
 .study-figure figcaption { display:grid;gap:.2rem; }
 .study-figure figcaption small { text-align:left; }
}
@media (max-width:650px) {
 .mast-inner { min-height:60px; }
 .profile-brand img { height:47px; }
 .photo-hero { min-height:0;aspect-ratio:1.2; }
 .profile-hero h1 { font-size:clamp(2.85rem,12vw,4.65rem); }
 .hero-body { padding:2.85rem var(--gutter) 1.35rem; }
 .profile-hero .image-action { bottom:auto;top:.7rem;right:var(--gutter); }
 .hero-body .profile-action { margin-top:.85rem; }
 .edition-label { margin-bottom:.7rem; }
 .profile-overview,.map-study .wrap { grid-template-columns:1fr;gap:1.4rem; }
 .study-heading,.inquiry-inner { display:grid;gap:1.15rem; }
 .study-gallery,.beech-study .study-gallery {grid-template-columns:1fr;gap:1.75rem;}
 .beech-study .study-figure:first-child {grid-row:auto;}
 .beech-study .study-figure img,.beech-study .study-figure:first-child img,.beech-study .study-figure:not(:first-child) img {aspect-ratio:1.58;}
 .art-hero .image-action { right:.65rem; }
}
@media (prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }

.comparison-wrap { padding-block:clamp(1.6rem,4vw,4rem); }
.edition-compare { border-block:1px solid var(--ncc-sage); }
.edition-compare summary { min-height:44px; padding:1rem 0; cursor:pointer; font-weight:550; }
.comparison-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(.65rem,2vw,2rem); margin-bottom:1.2rem; }
.comparison-pair a { display:grid; place-items:center; background:var(--ncc-ink); }
.comparison-pair img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.comparison-pair figcaption { margin-top:.4rem; font-size:.78rem; color:var(--copy); }
