/* Herefordshire Above & Beyond — site styles
   Tokens first; everything else builds on them. */
:root {
  --ink: #12110f;
  --ink-2: #1b1916;
  --ink-3: #26231f;
  --ivory: #f1eadc;
  --ivory-2: #e6dcc9;
  --muted: #a8a091;
  --muted-dark: #5d5648;
  --gold: #c9a56a;
  --bronze: #8d6b3e;
  --line: rgba(201, 165, 106, .3);
  --rule: rgba(201, 165, 106, .3);       /* hairlines inside sections */
  --rule-soft: rgba(201, 165, 106, .16);
  --dim: var(--muted);                    /* secondary text */
  --accent: var(--gold);                  /* small headings */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --wrap: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 104px;
  --logo-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font: 300 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type scale ---------- */
.display { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); text-transform: uppercase; letter-spacing: .035em; }
.h3 { font-size: clamp(1.5rem, 2.1vw, 2rem); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.on-light .lede { color: var(--muted-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border: 1px solid var(--gold); color: var(--ivory);
  font: 400 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  cursor: pointer; background: transparent; border-radius: 0;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--ivory); border-color: var(--ivory); }
.on-light .btn { color: var(--ink); border-color: var(--ink); }
.on-light .btn:hover { background: var(--ink); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink {
  font: 400 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 8px; display: inline-block;
}
.textlink:hover { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .5s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.site-header.solid { background: rgba(18, 17, 15, .94); backdrop-filter: blur(10px); --header-h: 80px; --logo-h: 62px; box-shadow: 0 1px 0 var(--line); }
.bar { width: min(1560px, 100% - 2 * var(--gutter)); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; line-height: 0; }
.brand img { display: block; height: var(--logo-h); width: auto; transition: height .5s var(--ease); filter: drop-shadow(0 0 2px rgba(10, 9, 8, .7)) drop-shadow(0 1px 10px rgba(10, 9, 8, .55)); }
.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); }
.nav > ul { display: flex; gap: clamp(22px, 2.6vw, 38px); align-items: center; }
.nav a:not(.btn), .nav-cta { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .5s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-cta { padding: 14px 26px; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: 100%; left: -24px; min-width: 280px; background: var(--ink-2); border: 1px solid var(--line);
  padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a:not(.btn) { display: block; padding: 12px 26px; letter-spacing: .14em; }
.sub a:not(.btn)::after { display: none; }
.sub a:hover { color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 1140px) {
  .nav-toggle {
    display: block; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; z-index: 120;
  }
  .nav-toggle i { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease), top .4s var(--ease); }
  .nav-toggle i:first-of-type { top: 17px; } .nav-toggle i:last-of-type { top: 26px; }
  .nav-open .nav-toggle i:first-of-type { top: 21px; transform: rotate(45deg); }
  .nav-open .nav-toggle i:last-of-type { top: 21px; transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 90px var(--gutter) 40px; gap: 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .nav a:not(.btn) { font: 400 2rem/1.2 var(--serif); letter-spacing: .04em; text-transform: none; }
  .nav a:not(.btn)::after { display: none; }
  .has-sub { flex-wrap: wrap; width: 100%; }
  .sub-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
  .sub-toggle::before { content: ""; position: absolute; left: 14px; top: 13px; width: 10px; height: 10px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); transition: transform .3s; }
  .has-sub.open .sub-toggle::before { transform: rotate(-135deg); top: 18px; }
  .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 0 4px; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; } .has-sub.open:hover .sub { display: block; }
  .sub a:not(.btn) { font: 400 1.15rem/1.3 var(--sans); padding: 9px 0; color: var(--muted); text-transform: none; letter-spacing: .02em; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; background: var(--ink) url(../img/hero-poster.jpg) center / cover no-repeat; }
.hero::before { /* a pool of shade behind the type only, so the rest of the shot stays untouched */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(18,17,15,.55) 0%, rgba(18,17,15,0) 24%),
    radial-gradient(ellipse 60% 74% at 20% 76%, rgba(12,11,9,.72) 0%, rgba(12,11,9,.46) 48%, rgba(12,11,9,0) 100%),
    linear-gradient(to top, rgba(18,17,15,.5) 0%, rgba(18,17,15,0) 30%);
}
.hero::after { /* fine gold frame, the hero's one signature detail */
  content: ""; position: absolute; inset: calc(var(--header-h) + 8px) clamp(14px, 2.4vw, 36px) clamp(14px, 2.4vw, 36px); border: 1px solid var(--line); pointer-events: none;
}
.hero-inner { padding: calc(var(--header-h) + 60px) var(--gutter) clamp(70px, 11vh, 120px); width: min(var(--wrap), 100%); margin-inline: auto; }
.hero h1 { max-width: 13ch; text-transform: uppercase; letter-spacing: .03em; font-weight: 500; }
.hero-logo { display: block; width: clamp(160px, 16vw, 230px); height: auto; margin: 0 0 20px; filter: drop-shadow(0 0 2px rgba(10, 9, 8, .8)) drop-shadow(0 2px 16px rgba(10, 9, 8, .7)); }
.hero-sub { max-width: 46ch; margin: 28px 0 36px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ivory); font-weight: 400; }
.hero-rail { position: absolute; left: clamp(26px, 4vw, 56px); bottom: clamp(60px, 10vh, 110px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-rail span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero-rail i { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); animation: drip 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero-cut { position: absolute; right: 0; bottom: 0; width: clamp(80px, 14vw, 220px); aspect-ratio: 1; background: var(--ink); clip-path: polygon(100% 0, 100% 100%, 0 100%); z-index: 1; }
.hero-in > * { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .25s; } .hero-in > *:nth-child(3) { animation-delay: .5s; } .hero-in > *:nth-child(4) { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero-rail { display: none; } .hero::after { top: calc(var(--header-h) + 4px); } }

/* page heads for inner pages */
.page-head { position: relative; padding: calc(var(--header-h) + clamp(70px, 12vh, 140px)) 0 clamp(50px, 8vw, 100px); isolation: isolate; overflow: hidden; }
.page-head.has-img { min-height: 62svh; display: grid; align-items: end; }
.page-head .bg { position: absolute; inset: 0; z-index: -2; }
.page-head .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,17,15,.92) 0%, rgba(18,17,15,.6) 55%, rgba(18,17,15,.5) 100%); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 24px; }

/* ---------- sections ---------- */
.section { padding: clamp(52px, 6.5vw, 96px) 0; }
.on-light { background: var(--ivory); color: var(--ink); --rule: rgba(18,17,15,.25); --rule-soft: rgba(18,17,15,.14); --dim: var(--muted-dark); --accent: var(--bronze); }
.on-ink2 { background: var(--ink-2); }
.section-head { margin-bottom: clamp(26px, 3.5vw, 44px); display: grid; gap: 22px; }
.section-head.center { text-align: center; justify-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* intro: four capabilities, set as a hairline-divided row, not cards */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); margin-top: clamp(28px, 3.5vw, 44px); }
.caps li { padding: 28px 28px 8px 0; border-right: 1px solid var(--rule-soft); padding-left: 28px; }
.caps li:first-child { padding-left: 0; } .caps li:last-child { border-right: 0; }
.caps h3 { font-size: 1.55rem; margin-bottom: 10px; color: var(--accent); }
.caps p { font-size: .98rem; color: var(--dim); }
@media (max-width: 900px) { .caps { grid-template-columns: 1fr 1fr; } .caps li:nth-child(2) { border-right: 0; } .caps li:nth-child(3) { padding-left: 0; } }
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } .caps li { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--rule-soft); } }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 34px); }
.svc { display: block; text-decoration: none; }
.svc figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--ink-3); }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.svc:hover img, .svc:focus-visible img { transform: scale(1.045); }
.svc h3 { margin: 22px 0 8px; font-size: clamp(1.45rem, 1.9vw, 1.8rem); text-transform: uppercase; letter-spacing: .06em; }
.svc p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; max-width: 34ch; }
.svc .go { font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc figure { aspect-ratio: 4 / 3.4; } }

/* gallery (editorial grid) */
.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 40px; }
.filters button { background: none; border: 0; color: var(--muted); font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 10px 0; cursor: pointer; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.filters button:hover { color: var(--ivory); }
.filters button[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 22px); grid-auto-flow: dense; }
.gallery figure { margin: 0; grid-column: span 4; position: relative; overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 3; }
.gallery figure.w { grid-column: span 8; aspect-ratio: 16 / 9; }
.gallery figure.t { grid-column: span 4; aspect-ratio: 13 / 15; } /* same height as a 16:9 .w beside it */
.gallery figure.f { grid-column: span 12; aspect-ratio: 21 / 9; }
.gallery a { display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font: 400 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(to top, rgba(18,17,15,.7), transparent); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.gallery a:hover + figcaption, .gallery a:focus-visible + figcaption { opacity: 1; transform: none; }
.gallery .play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.gallery .play::before { content: ""; width: 78px; height: 78px; border: 1px solid var(--ivory); border-radius: 50%; background: rgba(18,17,15,.35) ; }
.gallery .play::after { content: ""; position: absolute; border-left: 16px solid var(--ivory); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.gallery .empty { grid-column: 1 / -1; padding: 70px 0; color: var(--muted); font: italic 400 1.5rem var(--serif); }
.gallery [hidden] { display: none; }
@media (max-width: 900px) { .gallery figure, .gallery figure.t { grid-column: span 6; } .gallery figure.w, .gallery figure.f { grid-column: span 12; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .gallery figure, .gallery figure.t, .gallery figure.w { grid-column: span 12; aspect-ratio: 4 / 3; } }

/* big feature bands (Herefordshire, tourism, final CTA) */
.band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: min(66svh, 640px); padding: clamp(56px, 7vw, 96px) 0; }
.band > .bg { position: absolute; inset: -6% 0; z-index: -2; }
.band > .bg img, .band > .bg video { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18,17,15,.52); }
.band.left::before { background: linear-gradient(to right, rgba(18,17,15,.88) 0%, rgba(18,17,15,.5) 55%, rgba(18,17,15,.2) 100%); }
.band h2 { max-width: 14ch; }
.band .lede { color: rgba(241,234,220,.85); margin: 26px 0 36px; }
.band-list { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 26px 0 34px; color: var(--ivory); font-size: .95rem; }
.band-list li { position: relative; padding-left: 18px; }
.band-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--gold); }

/* property / real-estate / commercial split blocks */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.feature-media .row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); }
.feature-media figure { margin: 0; overflow: hidden; background: var(--ink-3); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feature-media .tall img { aspect-ratio: 16 / 10; }
.feature-text .h2 { margin-bottom: 24px; }
.ticks { margin: 26px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.ticks li { border-top: 1px solid var(--line); padding-top: 10px; font-size: .98rem; }
.on-light .ticks li { border-color: rgba(18,17,15,.2); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .feature-media { order: 0; } }

/* video / showreel */
.reel { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel button.big { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(18,17,15,.25); cursor: pointer; display: grid; place-items: center; transition: background .5s; color: var(--ivory); }
.reel button.big:hover { background: rgba(18,17,15,.1); }
.reel .disc { width: 104px; height: 104px; border: 1px solid var(--ivory); border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.reel button.big:hover .disc { transform: scale(1.08); background: rgba(201,165,106,.25); }
.reel .disc::after { content: ""; border-left: 22px solid var(--ivory); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 7px; }
.reel-meta { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.reel-meta li { padding-left: 16px; position: relative; } .reel-meta li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 1px; background: var(--gold); }

/* vertical reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); max-width: 760px; }
.reels figure { margin: 0; aspect-ratio: 9 / 16; overflow: hidden; position: relative; background: var(--ink-3); border: 1px solid var(--line); }
.reels img { width: 100%; height: 100%; object-fit: cover; }
.reels figure::after { content: ""; position: absolute; right: 12px; bottom: 12px; border-left: 12px solid var(--ivory); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.reels figure:nth-child(2) { transform: translateY(34px); }
@media (max-width: 900px) { .reels { margin-inline: auto; } }

/* why us */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.why li { padding: 30px 26px 10px 0; }
.why h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--accent); }
.why p { font-size: .97rem; color: var(--dim); }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } .why li { border-bottom: 1px solid var(--rule-soft); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* about */
.portrait { aspect-ratio: 4 / 5; background: var(--ink-3); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; color: var(--muted); padding: 30px; position: relative; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait span { font: italic 400 1.3rem/1.4 var(--serif); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.quote { border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; margin: 0; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.3rem, 1.7vw, 1.55rem)/1.45 var(--serif); }
.quote figcaption { margin-top: auto; font: 400 .74rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.quote figcaption small { display: block; color: var(--muted); letter-spacing: .1em; }
.quote.placeholder { border-style: dashed; color: var(--muted); }

/* cta */
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band .band-inner { text-align: center; display: grid; justify-items: center; }

/* contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 34px; }
.field { display: grid; gap: 8px; } .field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 400 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(241,234,220,.35); color: var(--ivory); font: 300 1.1rem/1.5 var(--sans); padding: 10px 0; border-radius: 0; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 16px; }
.checks label { display: flex; gap: 12px; align-items: center; text-transform: none; letter-spacing: .01em; font: 300 1rem/1.3 var(--sans); color: var(--ivory); cursor: pointer; }
.checks input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--gold); background: transparent; margin: 0; flex: none; display: grid; place-items: center; cursor: pointer; }
.checks input:checked { background: var(--gold); box-shadow: inset 0 0 0 3px var(--ink); }
.form-note { color: var(--muted); font-size: .95rem; }
.form-status { min-height: 1.5em; color: var(--gold); }
@media (max-width: 700px) { .form-grid, .checks { grid-template-columns: 1fr; } }
.areas { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); }
.areas h2 { margin-bottom: 18px; }
.contact-lines { margin-top: 30px; display: grid; gap: 8px; }
.contact-lines a { color: var(--gold); }
@media (max-width: 900px) { .areas { border: 0; padding: 0; } }

/* services page rows */
.svc-row { padding: clamp(60px, 8vw, 120px) 0; border-top: 1px solid var(--line); scroll-margin-top: 60px; }
.svc-row:first-of-type { border-top: 0; }
.svc-row .pos { font: italic 400 clamp(1.4rem, 2vw, 1.9rem)/1.3 var(--serif); color: var(--gold); margin: 14px 0 24px; }
.svc-row figure { margin: 0; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--ink-3); }
.svc-row figure img { width: 100%; height: 100%; object-fit: cover; }

/* prose (legal pages / SEO copy) */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.4rem; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: rgba(241,234,220,.82); }
.on-light .prose p, .on-light .prose li { color: #3a352c; }
.prose ul { list-style: none; margin-bottom: 1.4em; }
.prose li { position: relative; padding-left: 20px; margin-bottom: .4em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--gold); }
.prose a { color: var(--gold); }

/* footer */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 110px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.foot-logo { display: block; width: clamp(200px, 22vw, 280px); height: auto; margin-bottom: 14px; }
.foot-tag { margin-top: 22px; font: 400 .72rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot-loc { color: var(--muted); }
.foot-links { display: grid; gap: 10px; margin-bottom: 30px; }
.foot-links a { text-decoration: none; color: var(--ivory); font-size: .98rem; }
.foot-links a:hover { color: var(--gold); }
.foot-base { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(201,165,106,.15); color: var(--muted); font-size: .9rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: rgba(10,9,8,.97); color: var(--ivory); width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox::backdrop { background: rgba(10,9,8,.97); }
.lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px 72px 22px; }
.lb-media { min-height: 0; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); } /* definite track, so tall media (vertical video) is limited to the available height */
.lb-media img, .lb-media video { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox figcaption { text-align: center; padding-top: 16px; font: 400 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--ivory); cursor: pointer; width: 56px; height: 56px; }
.lightbox button:hover { color: var(--gold); }
.lb-close { top: 8px; right: 12px; font-size: 2.2rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; margin-top: -28px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-prev::before, .lb-next::before { content: ""; position: absolute; top: 22px; left: 22px; width: 12px; height: 12px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.lb-next::before { transform: rotate(-135deg); left: 18px; }
@media (max-width: 700px) { .lightbox figure { padding: 56px 12px 18px; } }

/* subtle reveal: images wipe in once, gently */
.js .reveal { clip-path: inset(0 0 8% 0); opacity: 0; transition: clip-path 1.4s var(--ease), opacity 1.2s var(--ease); }
.js .reveal.in { clip-path: inset(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-in > * { opacity: 1; transform: none; }
  .js .reveal { clip-path: none; opacity: 1; }
  .hero-rail i { opacity: .6; transform: none; }
}

@media (min-width: 701px) { .hero-inner { padding-left: max(var(--gutter), 120px); } }
@media (max-width: 1140px) { .brand { position: relative; z-index: 120; } }
/* the clip dissolves into its own first frame (the poster) before each loop, so the restart is invisible */
.hero-media video { transition: opacity .8s ease; }
.hero-media video.dip { opacity: 0; }
.hero h1, .hero-sub { text-shadow: 0 1px 3px rgba(10,9,8,.35), 0 2px 28px rgba(10,9,8,.5); }
.hero-toggle { position: absolute; z-index: 3; right: clamp(20px, 2.6vw, 44px); bottom: clamp(20px, 2.6vw, 44px); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--ivory); background: rgba(18,17,15,.4); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: background .4s, border-color .4s, color .4s; }
.hero-toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-toggle::before { content: ""; width: 9px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-toggle.is-paused::before { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.motion { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.motion .btn-row { margin-top: 30px; }
.svc h3 { margin-top: 16px; } .svc p { margin-bottom: 8px; }
@media (max-width: 900px) { .motion { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .svc figure { aspect-ratio: 1 / 1; }
  .svc h3 { font-size: 1.05rem; margin: 12px 0 4px; letter-spacing: .04em; }
  .svc p { display: none; }
  .gallery figure, .gallery figure.t { grid-column: span 6; aspect-ratio: 1 / 1; }
  .gallery figure.w, .gallery figure.f { grid-column: span 12; aspect-ratio: 16 / 10; }
  .band { min-height: 56svh; }
  .section { padding: 48px 0; }
}
.gallery.compact figure, .gallery.compact figure.w, .gallery.compact figure.t { aspect-ratio: auto; height: clamp(200px, 22vw, 320px); }
@media (max-width: 600px) { .gallery.compact figure, .gallery.compact figure.t { height: 44vw; } .gallery.compact figure.w { height: 56vw; } }
@media (max-width: 700px) {
  .hero::before { background: linear-gradient(to bottom, rgba(18,17,15,.4) 0%, rgba(18,17,15,0) 18%), linear-gradient(to top, rgba(18,17,15,.86) 0%, rgba(18,17,15,.6) 42%, rgba(18,17,15,0) 78%); }
}
.why-4 { grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 3.5vw, 44px); }
@media (max-width: 1000px) { .why-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-4 { grid-template-columns: 1fr; } }

/* commercial photo pair (services page + portfolio) */
.svc-pair { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.svc-row .svc-pair figure { aspect-ratio: 3 / 2; }
.gallery figure.h { grid-column: span 6; aspect-ratio: 3 / 2; }
.gallery figure.s { grid-column: span 6; aspect-ratio: 16 / 9; }
.gallery figure.f16 { grid-column: span 12; aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .gallery figure.h, .gallery figure.s, .gallery figure.f16 { grid-column: span 12; } }

/* contact details */
.foot-contact { margin-top: 18px; display: grid; gap: 4px; }
.foot-contact a { color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; }
.foot-contact a:hover { color: var(--gold); }
.contact-lines a { text-decoration: none; font: 500 1.35rem/1.35 var(--serif); letter-spacing: .02em; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--ivory); }

/* property photos on the services page: one wide shot above two photo sets */
.svc-trio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); }
.svc-trio figure:first-child { grid-column: 1 / -1; }
.svc-row .svc-trio figure { aspect-ratio: 16 / 9; }

/* smaller header and logo on phones */
@media (max-width: 700px) {
  :root { --header-h: 88px; --logo-h: 68px; }
  .site-header.solid { --header-h: 72px; --logo-h: 54px; }
}

/* tourism photos on the services page: one large shot and five smaller, all open in the viewer */
.svc-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.svc-row .svc-mosaic figure { aspect-ratio: 3 / 2; }
.svc-row .svc-mosaic figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* every photo on the services page opens in the viewer */
.svc-row figure a { display: block; width: 100%; height: 100%; }
.svc-row figure img { transition: transform 1.6s var(--ease); }
.svc-row figure a:hover img, .svc-row figure a:focus-visible img { transform: scale(1.04); }
@media (max-width: 600px) {
  .svc-mosaic { grid-template-columns: 1fr 1fr; }
  .svc-row .svc-mosaic figure:first-child { grid-row: auto; aspect-ratio: 3 / 2; }
  .svc-row .svc-mosaic figure:last-child { grid-column: span 2; }
}

/* event photos on the services page: a 2 x 2 grid */
.svc-quad { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 14px); }
.svc-row .svc-quad figure { aspect-ratio: 3 / 2; }

/* real estate photo set: one wide exterior above six interiors, every photo opens in the viewer */
.photo-set { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.photo-set figure { margin: 0; overflow: hidden; background: var(--ink-3); aspect-ratio: 3 / 2; }
.photo-set figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-set a { display: block; width: 100%; height: 100%; }
.photo-set img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.photo-set a:hover img, .photo-set a:focus-visible img { transform: scale(1.04); }
.svc-row .photo-set figure { aspect-ratio: 3 / 2; }
.svc-row .photo-set figure:first-child { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .photo-set { grid-template-columns: 1fr 1fr; } }

/* social media & video on the services page: the vertical reel beside two stills (3fr : 4fr keeps the heights level) */
.svc-social { display: grid; grid-template-columns: 3fr 4fr; gap: clamp(8px, 1vw, 14px); }
.svc-row .svc-social figure { aspect-ratio: 3 / 2; }
.svc-row .svc-social .reel-v { grid-row: span 2; aspect-ratio: auto; background: #000; }
.svc-social video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .svc-social { grid-template-columns: 1fr 1fr; }
  .svc-row .svc-social .reel-v { grid-column: 1 / -1; grid-row: auto; justify-self: center; width: min(100%, 270px); aspect-ratio: 9 / 16; }
}
