:root {
  --ink: #0b0b0b;
  --ink-soft: #171717;
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --gold: #c5963f;
  /* WCAG-AA gold for small text on cream/paper (4.8:1+); --gold stays for
     large text, buttons, and dark grounds */
  --gold-deep: #8a6520;
  --gold-light: #e4c47c;
  --muted: #69645c;
  --line: rgba(15, 15, 15, 0.12);
  --field-border: #b3afa6;  /* ~3:1 on cream; --line was 1.3:1 and vanished */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --radius: 1.15rem;
  --shell: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
p { margin-top: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: var(--gold); color: #fff; background: transparent; }
.button-outline:hover { background: var(--gold); color: var(--ink); }
.button-light { border-color: var(--gold); color: var(--ink); background: rgba(255,255,255,0.66); }
.button-light:hover { background: #fff; }
.button-large { min-height: 3.2rem; padding-inline: 1.45rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: grid; text-decoration: none; line-height: 1.1; align-content: center; min-height: 44px; padding: 2px 0; }
.brand-name { color: var(--gold-light); font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.65rem); }
.brand-tagline { margin-top: 0.3rem; color: rgba(255,255,255,0.58); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; }
.primary-nav { display: flex; justify-content: center; gap: clamp(1rem, 2.3vw, 2rem); }
.primary-nav a { position: relative; color: rgba(255,255,255,0.84); font-size: 0.83rem; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -0.45rem; height: 2px; background: var(--gold); transition: right 180ms ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; gap: 0.7rem; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 0.4rem;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }

.hero { background: linear-gradient(100deg, var(--cream) 0 46%, #d8d9d3 46% 100%); overflow: clip; }
.hero-grid { min-height: min(660px, 78vh); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); align-items: stretch; }
.hero-copy { align-self: center; padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem) 0; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -0.035em; }
.hero-lede { max-width: 39rem; margin-bottom: 1.8rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-media { margin: 0; min-height: 100%; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; max-height: 660px; object-fit: contain; object-position: center bottom; }

.section-heading { max-width: 780px; margin: 0 auto 2.8rem; text-align: center; }
.section-heading h2 { margin-bottom: 0; }
.section-heading.compact { margin-bottom: 2.2rem; }

.portfolio { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.story-card { min-width: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,0.055); }
.story-image { aspect-ratio: 4 / 5; overflow: hidden; background: #eee9df; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.story-image-action img { object-position: 50% 44%; }
.story-image-sports img { object-position: 50% 34%; }
.story-image-lifestyle img { object-position: 50% 26%; }
.story-image-portrait img { object-position: 50% 25%; }
.story-copy { padding: 1rem 1rem 1.25rem; text-align: center; }
.story-copy h3 { margin-bottom: 0.35rem; color: var(--gold-deep); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.story-copy p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.process { background: var(--cream); border-top: 1px solid var(--line); }
.process-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.process-step { position: relative; padding: 1.3rem clamp(1.2rem, 3vw, 3rem); text-align: center; }
.process-step + .process-step { border-left: 1px solid rgba(197,150,63,0.35); }
.process-number { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-bottom: 0.8rem; border-radius: 50%; color: var(--ink); background: var(--gold); font-weight: 800; font-size: 0.76rem; }
.process-step svg { display: block; width: 3.3rem; height: 3.3rem; margin: 0 auto 1rem; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.process-step h3 { margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.25rem; }
.process-step p { max-width: 18rem; margin-inline: auto; margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }

.about { padding: clamp(3.5rem, 6vw, 5rem) 0; color: #fff; background: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about h2 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3rem); }
.about p:not(.eyebrow) { max-width: 38rem; color: rgba(255,255,255,0.72); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin: 0; padding: 0; list-style: none; }
.benefit-grid li { padding: 1.1rem; border-left: 2px solid var(--gold); background: rgba(255,255,255,0.035); }
.benefit-grid strong, .benefit-grid span { display: block; }
.benefit-grid strong { margin-bottom: 0.3rem; color: var(--gold-light); }
.benefit-grid span { color: rgba(255,255,255,0.64); font-size: 0.85rem; }

.final-cta { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: var(--paper); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { margin-bottom: 0; }
.final-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.site-footer { padding: 1.25rem 0; color: rgba(255,255,255,0.64); background: var(--ink); font-size: 0.8rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--gold-light); text-decoration: none; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .nav-toggle { display: block; justify-self: end; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    padding: 0.4rem 1rem 1rem;
    flex-direction: column;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .primary-nav.is-open { display: flex; }
  /* Open-menu links are the primary mobile nav — give them real tap height. */
  .primary-nav a { padding: 0.7rem 0; font-size: 1rem; }
  .header-actions { justify-self: end; }
  .header-actions .button-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr 0.8fr; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 1.25rem, 680px); }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto; }
  .header-actions { display: none; }
  .primary-nav { top: 66px; }
  .hero { background: var(--cream); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 0 2rem; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-media { min-height: 440px; background: #d8d9d3; }
  .hero-media img { max-height: 560px; }
  .hero-actions, .final-actions { display: grid; width: 100%; }
  .button-large { width: 100%; }
  .story-grid, .process-grid, .about-grid { grid-template-columns: 1fr; }
  .process-step + .process-step { border-left: 0; border-top: 1px solid rgba(197,150,63,0.35); }
  .benefit-grid { grid-template-columns: 1fr; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* === AwisePhotos.com integration additions === */
.brand-gold { color: var(--gold); }
.brand-tld { color: var(--muted); font-size: 0.85em; }
.button-gold { background: #e0a83c; border-color: #e0a83c; }
.button-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Utility pages (gallery entry, booking) share the landing look */
.util-page { min-height: 70vh; display: flex; align-items: center; }
.util-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(2rem, 5vw, 3.2rem);
  max-width: 560px; margin-inline: auto; width: 100%;
}
.util-card h1 { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 .4rem; }
.util-card .sub { color: var(--muted); margin: 0 0 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box; font: inherit; padding: .8rem .95rem;
  border: 1.5px solid var(--field-border); border-radius: .7rem; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.code-input {
  text-align: center; font-size: 2.2rem !important; letter-spacing: .45em;
  text-transform: uppercase; font-weight: 700; padding-left: 1.3rem !important;
}
.form-error {
  background: #fbeaea; color: #8c2f2f; border: 1px solid #e6c3c3;
  border-radius: .7rem; padding: .8rem 1rem; margin-bottom: 1.1rem; font-size: .95rem;
}
.form-ok { text-align: center; }
.form-ok .mark { font-size: 3rem; color: var(--gold); }
.util-back { display: inline-block; margin-top: 1.4rem; color: var(--muted);
  min-height: 44px; padding: .55rem 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* === Album section === */
/* Uniform gallery grid: every tile the same size, photos cropped to fit
   (object-fit:cover) — never distorted. The lightbox shows the full frame. */
.album-grid {
  display: grid; gap: clamp(0.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.album-item {
  display: block; width: 100%; margin: 0; padding: 0; border: 0;
  aspect-ratio: 4 / 5; background: #eee9df; cursor: zoom-in;
  border-radius: 0.5rem; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.055);
}
/* height:auto is REQUIRED alongside the width/height attributes — without it
   the attribute height wins and every photo is squashed to the same box */
/* cover crops to the tile; faces sit in the upper third, so bias upward */
.album-item img { width: 100%; height: 100%; display: block; object-fit: cover;
                  object-position: 50% 32%; transition: transform .35s ease; }
.album-item:hover img, .album-item:focus-visible img { transform: scale(1.03); }
.album-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.album-lightbox {
  border: 0; padding: 0; background: rgba(8, 8, 8, 0.92); max-width: 100vw;
  max-height: 100vh; width: 100vw; height: 100vh; display: none;
  align-items: center; justify-content: center;
}
.album-lightbox[open] { display: flex; }
.album-lightbox img {
  max-width: 92vw; max-height: 90vh; border-radius: 0.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.album-lightbox-close {
  position: fixed; top: 1.1rem; right: 1.1rem; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 19px; cursor: pointer;
}
.album-lightbox-close:hover { background: var(--gold); color: var(--ink); }

/* === Mobile/a11y hardening (post-review, 2026-08-04) === */
/* Contrast: eyebrows read AA on light grounds; keep bright gold on dark ones */
.eyebrow { color: var(--gold-deep); }
.about .eyebrow, .site-header .eyebrow, .final-cta .eyebrow { color: var(--gold-light); }
.brand-tld { color: rgba(255, 255, 255, 0.72); }
.brand-tagline { font-size: 0.68rem; }

/* Focus rings visible on both light and dark sections */
.button:focus-visible, .album-item:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
}
.site-header .button:focus-visible, .about .button:focus-visible,
.final-cta .button:focus-visible, .site-header .nav-toggle:focus-visible {
  outline-color: var(--gold-light); box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.55);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink);
}

/* iOS: dynamic viewport units so the toolbar can't clip the lightbox */
.album-lightbox { height: 100dvh; max-height: 100dvh; overscroll-behavior: contain; }
.album-lightbox img { max-height: 85dvh; }
.album-lightbox-close { width: 44px; height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* === Hero trust strip + Olympic credit (post-review refinements) === */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem;
  margin: 1.5rem 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.trust-strip li { position: relative; }
.trust-strip li + li::before {
  content: ""; position: absolute; left: -0.85rem; top: 50%;
  width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: var(--gold);
}
.story-copy .credit {
  margin: 0.5rem 0 0; padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--gold-deep); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.03em;
}
@media (max-width: 760px) {
  .trust-strip { gap: 0.4rem 1.2rem; font-size: 0.72rem; }
}
