:root{
  --burgundy-deep:#241B18;
  --burgundy-mid:#4a2f38;
  --burgundy-bright:#3A252C;
  --pine-deep:#241B18;
  --pine-mid:#3A252C;
  --pine-sage:#B8AA9A;
  --ivory:#F5F0E8;
  --ivory-dim:#E3D9CB;
  --gold:#B39A68;
  --gold-soft:#c7b384;
  --ink:#241B18;
  --taupe:#B8AA9A;
  --olive:#7A1F2B;
  --olive-deep:#3B1118;
  --sage:#A4515B;
  --plum:#3A252C;
  /* layout: fixed-header height (hero top padding + scroll padding), section padding, anchor landing gap */
  --header-h:120px;
  --section-pad:130px;
  --anchor-gap:10px;
}
*{margin:0;padding:0;box-sizing:border-box;}
/* the extra 2rem keeps a focused field's label clear of the fixed header (sections take it back in scroll-margin-top);
   smooth scrolling starts once the page and its fonts have loaded (main.js adds .smooth), so a link straight to a
   section jumps before the font swap can move its target */
html{scroll-padding-top:calc(var(--header-h) + 16px + 2rem);}
html.smooth{scroll-behavior:smooth;}
body{
  background:var(--ivory);
  color:var(--ink);
  font-family:'Jost',sans-serif;
  font-weight:300;
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,.display{
  font-family:'Fraunces',Georgia,serif;
  font-weight:400;
  letter-spacing:0.01em;
  overflow-wrap:break-word;
}
a{color:inherit;text-decoration:none;}
.wrap{max-width:1180px;margin:0 auto;padding:0 40px;}
/* keyboard shortcut past the header: hidden until focused */
.skip-link{position:fixed;left:16px;top:-200px;z-index:60;padding:10px 18px;background:var(--ivory);color:var(--ink);font-size:0.9rem;}
.skip-link:focus{top:16px;}
.skip-link:focus-visible{outline-color:var(--gold);}

/* NAV */
header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  min-height:var(--header-h);
  padding:22px 40px;
  background:rgba(36,27,24,0.97);
  backdrop-filter:blur(6px);
  color:var(--ivory);
  box-shadow:0 1px 0 rgba(179,154,104,0.35);
}
header .header-logo{grid-column:1;justify-self:start;display:block;}
header .header-logo img{height:76px;width:76px;display:block;border-radius:50%;box-shadow:0 0 0 1px rgba(179,154,104,0.5);}
header .brand{grid-column:2;text-align:center;}
/* the brand stops at its default size, so a larger browser text size can't grow the fixed header past --header-h */
header .wordmark{font-family:'Playfair Display',serif;font-weight:550;font-size:min(1.8rem, 28.8px);letter-spacing:0.16em;text-transform:uppercase;line-height:1.1;text-align:center;white-space:nowrap;}
header .tagline{font-family:'Playfair Display',serif;font-style:italic;font-weight:500;font-size:min(0.72rem, 11.52px);letter-spacing:0.05em;opacity:0.75;margin-top:3px;text-transform:none;}
header nav{grid-column:3;justify-self:end;display:flex;gap:34px;font-size:0.92rem;}
header nav a{position:relative;padding-bottom:3px;}
header nav a::after{
  content:'';position:absolute;left:0;bottom:0;width:0;height:1px;background:currentColor;
  transition:width .35s ease;
}
header nav a:hover::after{width:100%;}
.nav-toggle{grid-column:3;justify-self:end;display:none;background:none;border:none;color:var(--ivory);font-size:1.4rem;cursor:pointer;}

/* HERO */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:flex-end;
  background:
    radial-gradient(ellipse 120% 90% at 78% 8%, rgba(179,154,104,0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 5% 100%, rgba(58,37,44,0.10), transparent 60%),
    linear-gradient(155deg, #F5F0E8 0%, #ECE3D5 55%, #DFD0BC 100%);
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(120deg, rgba(34,20,15,0.035) 0px, rgba(34,20,15,0.035) 1px, transparent 1px, transparent 90px);
  opacity:0.5;
}
.hero-inner{
  position:relative;
  width:100%;
  padding:calc(var(--header-h) + 30px) 40px 90px;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:40px;
}
.hero-inner > div:first-child{min-width:0;}
.hero-eyebrow{
  color:var(--olive);
  font-size:0.95rem;
  letter-spacing:0.03em;
  margin-bottom:22px;
  font-style:italic;
  font-family:'Fraunces',Georgia,serif;
}
.hero h1{
  color:var(--ink);
  font-size:clamp(2.6rem, 6vw, 5.2rem);
  line-height:1.04;
  max-width:11ch;
  font-weight:300;
  overflow-wrap:normal;
}
.hero h1 em{font-style:italic;color:var(--burgundy-bright);font-weight:400;}
.hero-side{
  color:#5a463f;
  max-width:280px;
  padding-bottom:10px;
  border-left:1px solid rgba(34,20,15,0.2);
  padding-left:26px;
  font-size:0.98rem;
}
.hero-side a.cta{
  display:block;
  width:fit-content;
  margin-top:20px;
  color:var(--ink);
  border-bottom:1px solid var(--burgundy-bright);
  padding-bottom:3px;
  font-size:0.9rem;
  letter-spacing:0.03em;
}
.hero-scroll{
  position:absolute; bottom:28px; left:40px;
  color:#5a463f;
  font-size:0.8rem;
  display:flex; align-items:center; gap:10px;
}
.hero-scroll .line{width:36px;height:1px;background:#5a463f;}

/* SECTION LABELS */
.section{padding:var(--section-pad) 0;scroll-margin-top:calc(var(--anchor-gap) - var(--section-pad) - 16px - 2rem);}
.section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:40px;
  margin-bottom:70px;
  align-items:end;
}
.section-head h2{font-size:clamp(2rem,3.6vw,2.9rem);font-weight:400;line-height:1.15;}
.section-head p{color:#5a463f;max-width:38ch;font-size:1rem;}
.kicker{color:var(--olive);font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:1rem;margin-bottom:14px;}
.services-list,.timeline,.contact-details{list-style:none;}

/* SERVICES — editorial list, not cards */
.services-list{border-top:1px solid rgba(34,20,15,0.15);}
.service-row{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) minmax(0,1.3fr);
  gap:40px;
  padding:38px 0;
  border-bottom:1px solid rgba(34,20,15,0.15);
  align-items:start;
  transition:background .3s ease;
}
.service-row:hover{background:rgba(122,36,56,0.04);}
.service-index{
  font-family:'Fraunces',Georgia,serif;
  font-style:italic;
  color:var(--olive);
  font-size:1.1rem;
  padding-top:4px;
}
.service-row h3{font-size:1.5rem;font-weight:500;}
.service-row p{color:#5a463f;font-size:0.98rem;max-width:52ch;}

/* PROCESS — real sequence, timeline treatment */
.process{background:var(--olive-deep);color:var(--ivory);}
.process .section-head p{color:var(--ivory-dim);}
.process .kicker{color:var(--gold);}
.timeline{position:relative;padding-left:40px;}
.timeline::before{
  content:'';position:absolute;left:6px;top:8px;bottom:8px;width:1px;
  background:rgba(245,240,232,0.25);
}
.tl-step{position:relative;padding-bottom:56px;}
.tl-step:last-child{padding-bottom:0;}
.tl-step::before{
  content:'';position:absolute;left:-40px;top:6px;width:13px;height:13px;
  border-radius:50%;background:var(--gold);
}
.tl-step .step-label{color:var(--gold);font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:0.95rem;margin-bottom:8px;}
.tl-step h3{font-size:1.5rem;font-weight:500;margin-bottom:10px;color:var(--ivory);}
.tl-step p{color:var(--ivory-dim);max-width:54ch;font-size:0.98rem;}

/* GALLERY: event photos and one short clip in matching 3:4 tiles, captioned over a dark fade */
.gallery{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
.gallery .tile{
  position:relative;
  overflow:hidden;
  margin:0;
  aspect-ratio:3 / 4;
  background:var(--plum);
}
.gallery .tile img, .gallery .tile video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.gallery .tile.wide img{object-position:42% 50%;}
.gallery .tile::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(36,27,24,0.6) 0, rgba(36,27,24,0.5) 42px, rgba(36,27,24,0) 110px);
  pointer-events:none;
}
.gallery .tile-cap{
  position:absolute; left:14px; right:14px; bottom:12px;
  z-index:1;
  color:rgba(246,239,230,0.9);
  font-family:'Fraunces',Georgia,serif;
  font-style:italic;
  font-size:0.85rem;
  overflow-wrap:break-word;
}
/* Pause / play for the looping clip: a small ivory ring in the tile's top corner, clear of the caption */
.tile-play{
  position:absolute; right:10px; top:10px; z-index:2;
  width:30px; height:30px;
  border:1px solid rgba(246,239,230,0.75); border-radius:50%;
  background:rgba(36,27,24,0.35);
  cursor:pointer;
  padding:0;
}
.tile-play::before{
  content:""; position:absolute; left:50%; top:50%;
  width:8px; height:10px; transform:translate(-50%,-50%);
  border-left:2px solid #F6EFE6; border-right:2px solid #F6EFE6;
  box-sizing:border-box;
}
.tile-play[data-state="paused"]::before{
  width:0; height:0; border-right:0;
  border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:8px solid #F6EFE6;
  transform:translate(-35%,-50%);
}
.tile-play:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}
/* Browsers without aspect-ratio (Safari before 15) keep the tile shape with padding */
@supports not (aspect-ratio:1 / 1){
  .gallery .tile{height:0;padding-bottom:133.333%;}
}

/* CONTACT */
.contact{background:var(--ivory-dim);}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:start;
}
.contact-info h2{font-size:clamp(2rem,3.6vw,2.9rem);margin-bottom:22px;line-height:1.15;}
.contact-info p{color:#5a463f;max-width:38ch;margin-bottom:30px;}
.contact-detail{margin-bottom:16px;font-size:0.98rem;}
.contact-detail span{display:block;color:var(--olive);font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:0.85rem;margin-bottom:3px;}
.contact-detail a:hover{text-decoration:underline;}
/* Long email addresses wrap instead of pushing the page sideways on narrow screens with large text */
.contact-detail a, .form-note a{overflow-wrap:anywhere;}

form{display:flex;flex-direction:column;gap:22px;}
.field{display:flex;flex-direction:column;gap:8px;}
.field label{font-size:0.82rem;letter-spacing:0.02em;color:#5a463f;}
.field input, .field select, .field textarea{
  background:transparent;
  border:none;
  border-bottom:1px solid rgba(34,20,15,0.55);
  padding:10px 2px;
  font-family:'Jost',sans-serif;
  font-size:1rem;
  color:var(--ink);
  outline:none;
  border-radius:0;
  -webkit-appearance:none;
  appearance:none;
  transition:border-color .25s ease;
}
.field input::placeholder, .field textarea::placeholder{color:#5a463f;opacity:1;}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--olive);}
.field textarea{resize:vertical;min-height:max(90px, 5.625em);}
/* Native control styling is off (iOS draws rounded boxes and pills), so the select draws its own arrow, and the
   select and date field keep their usual height and width even when empty (iOS collapses an empty date field) */
.field select{padding-right:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23241B18' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 6px center;}
.field select, .field input[type="date"]{min-height:2.875em;}
.field input[type="date"]{width:100%;}
.field input[type="date"]::-webkit-date-and-time-value{text-align:left;}
.field-hint{font-size:0.82rem;letter-spacing:0.02em;color:#5a463f;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
button.submit{
  margin-top:10px;
  align-self:flex-start;
  background:var(--burgundy-deep);
  color:var(--ivory);
  border:none;
  padding:16px 34px;
  font-family:'Jost',sans-serif;
  font-size:0.95rem;
  letter-spacing:0.03em;
  cursor:pointer;
  transition:background .3s ease;
}
button.submit:hover{background:var(--olive);}
button.submit[aria-disabled="true"]{cursor:progress;}
.form-note{font-size:0.85rem;color:#5a463f;margin-top:6px;}
.form-note.is-sent, .form-note.is-error{color:var(--olive);}
.form-note a{text-decoration:underline;}

footer{
  background:var(--pine-deep);
  color:var(--ivory-dim);
  padding:56px 0 30px;
  font-size:0.88rem;
}
.footer-grid{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
.footer-grid .wordmark{font-family:'Playfair Display',serif;font-weight:550;color:var(--ivory);font-size:1.45rem;letter-spacing:0.16em;text-transform:uppercase;line-height:1.1;}
.footer-tagline{
  text-align:center;
  color:var(--gold);
  font-family:'Fraunces',Georgia,serif;
  font-style:italic;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size:0.8rem;
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid rgba(245,240,232,0.15);
}
.footer-links{display:flex;flex-wrap:wrap;gap:26px;}
.footer-logo{text-align:center;margin-bottom:30px;}
.footer-logo img{width:230px;max-width:100%;height:auto;aspect-ratio:1;display:inline-block;border-radius:50%;}

/* 861px and up: the wordmark and the nav keep at least 24px between them at any text size or spacing a reader
   sets (below 1000px the links wrap to make room; wider, the brand shifts slightly off-centre) */
@media (min-width:53.76em){
  header{column-gap:24px;}
}
/* 861–1000px: keep the wordmark clear of the nav (the links wrap inside their own column if a reader's
   text spacing needs more room); keep the moodboard field wide enough */
@media (min-width:53.76em) and (max-width:62.5em){
  header nav{gap:4px 20px;flex-wrap:wrap;justify-content:flex-end;}
  .contact-grid{gap:40px;}
}
/* Phones and tablets (860px and below at the default text size) */
@media (max-width:53.75em){
  :root{--header-h:82px;--section-pad:88px;--anchor-gap:24px;}
  header{padding:14px 24px;}
  header .wordmark{font-size:min(1.35rem, 21.6px);letter-spacing:0.14em;}
  header .tagline{font-size:min(0.72rem, 11.52px);}
  header .header-logo img{height:54px;width:54px;}
  /* no JavaScript: links stay visible as a row under the brand; the header scrolls with the page,
     so its height (however many rows the links wrap to) never has to be reserved */
  html:not(.js){--header-h:0px;}
  html:not(.js) header{position:relative;}
  html:not(.js) header nav{grid-column:1 / -1;grid-row:2;justify-self:center;flex-wrap:wrap;justify-content:center;gap:4px 22px;margin-top:10px;}
  /* with JavaScript: ☰ opens the nav as a panel under the header */
  .js header nav{display:none;}
  .js .nav-toggle{display:block;min-width:44px;min-height:44px;margin-right:-12px;}
  .js header nav.is-open{
    display:flex;flex-direction:column;gap:0;
    position:absolute;top:100%;left:0;right:0;grid-column:auto;justify-self:stretch;
    padding:6px 24px 16px;font-size:1rem;
    background:linear-gradient(rgba(36,27,24,0.97), rgba(36,27,24,0.97)), var(--ivory);
    border-top:1px solid rgba(179,154,104,0.35);
    box-shadow:0 1px 0 rgba(179,154,104,0.35);
    max-height:calc(100vh - 100%);max-height:calc(100dvh - 100%);
    overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:8px;
  }
  .js header nav.is-open a{padding:12px 0;}
  .js header nav.is-open a::after{display:none;}
  .js header nav.is-open a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;}
  .hero{min-height:auto;}
  .hero-inner{grid-template-columns:1fr;align-items:start;padding-left:24px;padding-right:24px;}
  .hero-eyebrow{margin-bottom:14px;}
  .hero-side{border-left:none;border-top:1px solid rgba(34,20,15,0.2);padding-left:0;padding-top:20px;}
  .hero-scroll{left:24px;}
  .section-head{grid-template-columns:minmax(0,1fr);}
  .service-row{grid-template-columns:40px minmax(0,1fr);gap:8px 20px;}
  .service-row > p{grid-column:2/3;}
  .gallery{gap:12px;}
  .gallery .tile::after{background:linear-gradient(to top, rgba(36,27,24,0.62) 0, rgba(36,27,24,0.5) 58px, rgba(36,27,24,0) 130px);}
  .contact-grid{grid-template-columns:1fr;}
  .row2{grid-template-columns:1fr;}
  .wrap{padding:0 24px;}
}
@media (max-width:37.5em){
  /* Phones: two columns, with the one landscape photo across the full width */
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
  .gallery .tile.wide{grid-column:1 / -1;aspect-ratio:4 / 3;}
  @supports not (aspect-ratio:1 / 1){ .gallery .tile.wide{padding-bottom:75%;} }
  .footer-grid{flex-direction:column;justify-content:center;text-align:center;}
  .footer-links{justify-content:center;}
}
@media (max-width:23.75em){
  :root{--header-h:72px;}
  header .header-logo img{width:44px;height:44px;}
  header .wordmark{font-size:min(1.15rem, 18.4px);letter-spacing:0.12em;}
}
/* Narrowest screens (320px at the default text size; an em breakpoint grows with a larger browser text size):
   headings and captions stop growing past the screen's width, so a larger text size doesn't split their words.
   A hero word still too long for the line wraps mid-word instead of being clipped. Wider screens have room
   for it to run past the 11ch measure, so it stays whole there. */
@media (max-width:20em){
  .hero h1{overflow-wrap:break-word;font-size:min(2.6rem, 13vw);}
  .section-head h2, .contact-info h2{font-size:min(2rem, 10vw);}
  .service-row h3, .tl-step h3{font-size:min(1.5rem, 10vw);}
  .gallery .tile-cap{font-size:min(0.85rem, 6vw);}
  .gallery{grid-template-columns:minmax(0,1fr);}
}
/* Short screens (landscape phones, short laptop windows, zoom): compact header */
@media (max-height:500px){
  :root{--header-h:70px;}
  header{padding-top:8px;padding-bottom:8px;}
  header .header-logo img{width:44px;height:44px;}
}
@media (max-height:500px) and (max-width:53.75em){
  :root{--header-h:62px;}
}
/* Under 300px wide (a phone with page zoom): a slimmer header keeps the monogram, wordmark and ☰ apart.
   px, not em: the header's sizes are capped in px, so only the screen width matters. */
@media (max-width:300px){
  header{padding-left:16px;padding-right:16px;}
  header .wordmark{font-size:min(1rem, 16px);letter-spacing:0.1em;}
}
@media (max-width:256px){
  header .header-logo img{width:40px;height:40px;}
}
/* Very short (e.g. 400% zoom): the header scrolls away with the page */
@media (max-height:300px){
  header{position:absolute;}
  html{scroll-padding-top:calc(16px + 2rem);}
}
@media (forced-colors:active){
  header, .js header nav.is-open{border-bottom:1px solid CanvasText;}
  button.submit, .nav-toggle{border:1px solid ButtonText;}
  .gallery .tile{border:1px solid CanvasText;}
  .timeline::before, .tl-step::before, .hero-scroll .line{background:CanvasText;forced-color-adjust:none;}
  .field select{appearance:auto;background-image:none;}
  .field ::placeholder{color:GrayText;}
}
@media (prefers-reduced-motion:reduce){
  html.smooth{scroll-behavior:auto;}
  *, *::before, *::after{transition:none !important;}
}
@media print{
  header{position:absolute;}
  .js .nav-toggle, .hero-scroll, .skip-link{display:none;}
  .process{background:none;color:var(--ink);}
  .process .section-head p, .tl-step p{color:#5a463f;}
  .tl-step h3{color:var(--ink);}
  /* dark text on white whether or not background graphics are printed (Send prints as an outline);
     tiles and rows stay whole on one page */
  header, footer{background:none;box-shadow:none;}
  header, .footer-grid .wordmark{color:var(--ink);}
  footer{color:#5a463f;}
  /* photos print as they are; the caption keeps its dark fade so it stays readable over them */
  .gallery .tile{background:none;}
  .gallery .tile::after{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  .tile-play{display:none;}
  button.submit{background:none;color:var(--ink);border:1px solid var(--ink);}
  .gallery .tile, .service-row, .tl-step{break-inside:avoid;}
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--olive); outline-offset:2px;
}
header :focus-visible, footer :focus-visible{outline-color:var(--gold);}
