/* Kestrel Private — one page: the live site's hero, kept as it ships today.
   Values are measured from the live page (24 Sep 2026): lockup 35×31 emblem,
   13px Manrope at 0.18em behind a 25% white rule; headline Cormorant Garamond
   400 with -0.01em; label Manrope 600 at 0.2em in #DDC99D; the sentence
   Manrope 300 at 85% white; the caption Cormorant italic at 62% cream. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/cormorant-garamond-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(/fonts/cormorant-garamond-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/manrope-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/manrope-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ground: #141210;
  --gold-light: #DDC99D;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Inter, system-ui, sans-serif;
  --gutter: 16px;
  --wide: 80rem;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); }
/* Large screens: the whole composition scales with the width instead of freezing
   at 1280px and floating small in the middle of a 2560 or ultrawide display.
   Every size below is in rem, so the lockup, the type, the container and the
   copy cap all grow together; 26px is the ceiling (a 2600px-wide window). */
@media (min-width: 1600px) { html { font-size: clamp(16px, 1vw, 26px); } }
body { margin: 0; background: var(--ground); color: #fff; font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
::selection { background: rgba(196, 165, 106, 0.35); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── Header: the original lockup, over the photograph ───────────────── */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-top: env(safe-area-inset-top); }
.site-header .wrap { display: flex; align-items: center; min-height: 5rem; }
.lockup { display: inline-flex; align-items: center; color: #fff; text-decoration: none; min-height: 3rem; }
.lockup svg { width: 2.1875rem; height: 1.9375rem; color: #fff; }
.lockup-name { margin-left: 0.5rem; padding-left: 0.5rem; border-left: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
@media (min-width: 640px) { .lockup-name { margin-left: 0.75rem; padding-left: 0.75rem; font-size: 0.8125rem; letter-spacing: 0.18em; } }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero-full { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--ground); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: heroBreathe 28s ease-in-out infinite alternate; transform-origin: center; will-change: transform; }
@media (max-width: 639px) { .hero-media img { object-position: 54.5% 50%; } }
@keyframes heroBreathe { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.5) 0%, rgba(20,18,16,.18) 32%, rgba(20,18,16,.62) 68%, rgba(20,18,16,.92) 100%); }
.hero-side { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.58) 0%, rgba(20,18,16,.42) 40%, rgba(20,18,16,.2) 72%, rgba(20,18,16,0) 90%); }
.hero-bloom { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 72% 30%, rgba(255,244,208,.55) 0%, rgba(238,207,151,.24) 22%, rgba(218,178,116,.08) 45%, transparent 68%); mix-blend-mode: soft-light; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, transparent 44%, rgba(14,16,14,.30) 100%), linear-gradient(180deg, rgba(22,22,19,.16), transparent 24%, transparent 72%, rgba(18,19,16,.22)); mix-blend-mode: multiply; opacity: .4; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E"); background-size: 180px 180px; mix-blend-mode: soft-light; opacity: .09; }

.hero-copy { position: relative; z-index: 1; margin-top: auto; padding-top: 10rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .hero-copy { padding-bottom: 6rem; } }
@media (max-width: 639px) { .hero-copy { padding-top: 6.5rem; padding-bottom: 2.5rem; } }

/* ── Keep the copy off the kestrel — the original homepage rule, re-derived ──
   The bird's beak sits at 56.1% of the photograph's width (2560×1441, ratio
   1.7765), so where it lands ON SCREEN depends on the viewport, never on the
   copy. --subject-x is the beak's screen position:
     · wide/short viewports: the image scales to the WIDTH, so 56.1vw;
     · tall/narrow ones: it scales to the HEIGHT and crops the sides, pushing the
       beak right of centre by (0.561 − 0.5) × 1.7765 × the hero height. The hero
       is at least 100vh here (the original was 76vh, hence its 8.24vh), so
       50vw + 10.84vh.
     · on a phone the crop's focal point is 54.5%, so 54.5vw + (0.561 − 0.545)
       × 1.7765 × 100vh = 54.5vw + 2.84vh.
   The breathe only ever scales the image up about its centre, moving the beak
   further right, so the unscaled frame is the tight case. --copy-cap is the
   widest the copy may be: the beak, less the gutter the copy sits in, less air. */
.hero-copy { --subject-x: max(56.1vw, 50vw + 10.84vh); --copy-cap: calc(var(--subject-x) - var(--gutter) - 0.75rem); }
@media (max-width: 639px) { .hero-copy { --subject-x: calc(54.5vw + 2.84vh); } }
/* Past 80rem the container stops growing and centres, so the copy's left edge
   moves right at half the rate the viewport widens. */
@media (min-width: 1280px) { .hero-copy { --copy-cap: calc(var(--subject-x) - (100vw - 80rem) / 2 - var(--gutter) - 0.75rem); } }
.eyebrow { margin: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
/* The headline is sized BY the room the bird leaves. Its longest line, "Move
   decisively.", measures 6.66 × the font size in Cormorant 400 at −0.01em; 6.9
   leaves slack. A height term keeps the three lines and the sentence inside a
   short window (a 1366×768 laptop, a zoomed browser), and 5rem caps it on the
   widest screens. */
.hero-full h1 { margin: 1.25rem 0 0; font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(1.75rem, min(calc(var(--copy-cap) / 6.9), 8.5vh), 5rem); line-height: 1.02; letter-spacing: -0.01em; }
.hero-full h1 span { display: block; }
.hero-sub { margin: 1.5rem 0 0; max-width: min(var(--copy-cap), 40rem); font-size: 1.125rem; font-weight: 300; line-height: 1.625; color: rgba(255, 255, 255, 0.85); text-wrap: pretty; }
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }
.hero-caption { position: absolute; z-index: 1; right: var(--gutter); bottom: 2.5rem; margin: 0; display: none; align-items: center; gap: 0.875rem; font-family: var(--serif); font-style: italic; font-size: 0.8125rem; letter-spacing: 0.03em; color: rgba(251, 249, 244, 0.62); }
.hero-caption::before { content: ''; width: 2.875rem; height: 1px; background: rgba(251, 249, 244, 0.4); }
@media (min-width: 900px) and (min-height: 560px) { .hero-caption { display: inline-flex; } }

@media (min-width: 1024px) {
  .hero-bloom { animation: heroSunBloom 15s ease-in-out infinite alternate; }
  .hero-copy { animation: heroRise 1.1s cubic-bezier(.22,.61,.36,1) both; }
}
@keyframes heroSunBloom { from { opacity: .85; transform: translate3d(0,0,0); } to { opacity: 1; transform: translate3d(-1.5%, 1%, 0); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* The office: principal and correspondence, one quiet row under the sentence. */
.office { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); max-width: min(var(--copy-cap), 40rem); display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; }
.office div { display: flex; flex-direction: column; gap: 0.35rem; }
.office dt { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.office dd { margin: 0; font-size: 0.9375rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.85); }
.office a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(221, 201, 157, 0.35); padding-bottom: 1px; transition: border-color 200ms ease, color 200ms ease; }
.office a:hover { color: #fff; border-bottom-color: var(--gold-light); }
/* On a phone the row sits below the ledge, clear of the bird, so it takes the full width. */
@media (max-width: 639px) { .office { margin-top: 2rem; gap: 1rem 2rem; max-width: none; } .office dd { font-size: 0.875rem; } .hero-sub { font-size: 1rem; line-height: 1.6; } }

/* ── Short windows that are not phones on their side ──
   A laptop browser zoomed to 150–200%, or a small window: the same hero with
   less air above and below, and the sentence a half-step down, so the copy
   and the office row land inside one screen. */
@media (min-width: 640px) and (max-height: 760px) and (min-height: 501px) {
  .hero-copy { padding-top: 7.25rem; padding-bottom: 2.5rem; }
  .hero-sub { font-size: 1.0625rem; margin-top: 1.1rem; }
  .office { margin-top: 1.75rem; padding-top: 1rem; }
}
/* A short phone held upright (iPhone SE and smaller). */
@media (max-width: 639px) and (max-height: 700px) {
  .hero-copy { padding-top: 5.5rem; padding-bottom: 1.75rem; }
  .hero-sub { font-size: 0.9375rem; line-height: 1.55; margin-top: 1rem; }
  .office { margin-top: 1.5rem; padding-top: 0.9rem; }
  .referral { margin-top: 1rem; }
}

/* ── A phone on its side, or any browser zoomed until the window is short ──
   About 400px of height. The same hero with its vertical rhythm compressed to
   what the screen has, as the original did: a slimmer header, less padding,
   the sentence a step down. Height-bounded, so tablets never see it. */
@media (orientation: landscape) and (max-height: 500px) {
  .site-header .wrap { min-height: 3.5rem; }
  .hero-copy { padding-top: 4.25rem; padding-bottom: 1rem; }
  .hero-full h1 { margin-top: 0.75rem; }
  .hero-sub { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.5; }
  .office { margin-top: 1.25rem; padding-top: 0.9rem; }
}

/* The referral: nearly silent. 11–12px at ~60% white, Henley the only live word. */
.referral { margin: 1.5rem 0 0; font-size: 0.71875rem; letter-spacing: 0.02em; line-height: 1.5; color: rgba(255, 255, 255, 0.58); }
.referral a { color: rgba(255, 255, 255, 0.82); text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, 0.25); transition: color 200ms ease, border-color 200ms ease; }
.referral a:hover { color: #fff; border-bottom-color: rgba(221, 201, 157, 0.7); }
/* A short, wide window has no height to spare and no caption in the corner:
   the line takes the caption's place, bottom right, out of the flow. */
@media (min-width: 640px) and (max-height: 559px) { .hero-copy .referral { position: absolute; right: var(--gutter); bottom: 0.5rem; max-width: 44%; margin: 0; text-align: right; } }

/* 404: the same ground and lockup, no photograph. */
.hero-quiet .hero-copy { margin-top: auto; margin-bottom: auto; padding-top: 7.5rem; }
.quiet-link { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(221, 201, 157, 0.4); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { .hero-media img, .hero-bloom, .hero-copy { animation: none !important; } }
