/* Lolete mockup v3: soft linen base with deep moss + bark sections. minimal, organic. */
:root {
  --linen: #eee8de;      /* page background */
  --oat: #e3dacb;        /* soft alternate */
  --moss: #3e4537;       /* deep green section */
  --bark: #5b4838;       /* warm brown section */
  --soil: #352c24;       /* main text */
  --clay: #7d6e5f;       /* secondary text */
  --sage: #8b9279;       /* green accent */
  --cream: #f3ede3;      /* text on dark sections */
  --line: rgba(53, 44, 36, .15);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

/* Quentin Script (Get Studio / Hermansyah): a TRIAL "hidden gem" accent in a few small spots only, all using class="gem".
   License per the download page: "Free for personal and commercial use!" Confirm web use with Get Studio before going live. */
@font-face { font-family: "Quentin"; src: url("fonts/Quentin.otf") format("opentype"); font-display: swap; }
.gem { font-family: "Quentin", var(--serif) !important; font-size: var(--gem-size, 30px) !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.1; font-weight: 400; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html.smooth { scroll-behavior: smooth; } /* added by site.js after load, so arriving at index.html#words jumps straight there */
section[id] { scroll-margin-top: 70px; }
body {
  background: var(--linen);
  color: var(--soil);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}
/* (Nov 5) The faint paper-grain overlay was removed: it sat over the photos too, and photographers' work
   should show exactly as delivered. Photos also no longer get a saturation filter. */
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { color: inherit; text-decoration: none; }

/* dark sections flip colors */
.moss, .bark { color: var(--cream); --line: rgba(243, 237, 227, .2); }
.moss { background: var(--moss); }
.bark { background: var(--bark); }
.oat { background: var(--oat); }
.moss .muted, .bark .muted, .moss p, .bark p { color: rgba(243, 237, 227, .72); }
.moss .label, .bark .label { color: #c9c2a8; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 5vw;
  color: var(--cream);
  transition: background .4s, padding .4s, color .4s;
}
.site-header.solid {
  background: rgba(238, 232, 222, .94);
  backdrop-filter: blur(6px);
  color: var(--soil);
  padding: 16px 5vw;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; gap: 38px; align-items: center; }
.nav a {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: lowercase;
  opacity: .8;
  transition: opacity .3s;
}
.nav a:hover, .nav a.active { opacity: 1; }
.nav .btn { opacity: 1; padding: 9px 22px; }

/* ---------- type ---------- */
.btn {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 13px 34px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: lowercase;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--bark); color: var(--cream); border-color: var(--bark); }
.moss .btn:hover, .bark .btn:hover { background: var(--cream); color: var(--moss); border-color: var(--cream); }
.label {
  display: block;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: lowercase;
  color: var(--umber);
  margin-bottom: 20px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; text-transform: lowercase; }
h2, .page-head h1 { font-size: clamp(36px, 4.4vw, 58px); }
h1 em, h2 em, h3 em { font-style: italic; }
.muted { color: var(--clay); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  padding: 0;
  overflow: hidden;
  color: var(--cream);
}
.hero img { position: absolute; inset: 0; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(53,44,36,.35) 0%, rgba(53,44,36,0) 30%, rgba(53,44,36,0) 55%, rgba(53,44,36,.55) 100%);
}
.hero-text {
  position: absolute;
  z-index: 2;
  left: 5vw;
  bottom: 11vh;
  max-width: 760px;
}
.hero h1 { font-size: clamp(42px, 5.4vw, 80px); }
.hero .sub {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: lowercase;
  opacity: .85;
}

/* ---------- sections ---------- */
section { padding: 150px 5vw; }
.wrap { max-width: 1240px; margin: 0 auto; }
.narrow { max-width: 680px; margin: 0 auto; text-align: center; }
.narrow p { margin-top: 26px; color: var(--clay); }
.narrow .btn { margin-top: 40px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.split p { color: var(--clay); margin-top: 22px; }
.moss .split p, .bark .split p { color: rgba(243, 237, 227, .8); } /* light text on the dark sections */
/* organic arch frame */
.arch { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; }

/* ---------- macro details strip ---------- */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 70px;
}
.details figure { aspect-ratio: 4 / 5; overflow: hidden; }
.details img { transform: scale(calc(var(--zoom, 1) * 1.02)); transition: transform 2.4s ease; }
.details figure:hover img { transform: scale(calc(var(--zoom, 1) * 1.1)); }
.details figcaption {
  text-align: center;
  font-size: 12px;
  letter-spacing: .28em;
  margin-top: 18px;
  color: var(--clay);
}

/* ---------- even photo grid (home recent, portfolio, event) ---------- */
.row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
  gap: 30px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid figure { aspect-ratio: 4 / 5; }
/* event page: the extra photos, smaller, under the main grid */
.more-photos { margin-top: 80px; }
/* a sliding filmstrip (5 across on desktop), so long sets don't become a wall of thumbnails */
.film-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.film-btns { display: flex; gap: 8px; }
.film-btn { position: relative; width: 44px; height: 44px; border: 1px solid rgba(53,44,36,.25); border-radius: 50%; background: none; cursor: pointer; transition: border-color .3s; }
.film-btn:hover { border-color: var(--umber); }
.film-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 1px solid var(--soil); border-left: 1px solid var(--soil); }
.film-btn.prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.film-btn.next::before { transform: translate(-70%, -50%) rotate(135deg); }
.film { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.film::-webkit-scrollbar { display: none; }
.film figure { flex: 0 0 calc((100% - 56px) / 5); aspect-ratio: 4 / 5; scroll-snap-align: start; }
.film figcaption { display: none; }

/* hover caption with photographer credit */
figure.cap { position: relative; overflow: hidden; cursor: pointer; }
figure.cap img { transition: transform 1.6s ease, filter .6s; }
figure.cap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(53,44,36,.65));
  opacity: 0;
  transition: opacity .6s;
}
figure.cap:hover img { transform: scale(1.03); }
figure.cap:hover::after { opacity: 1; }
figure.cap figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 18px;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .6s, transform .6s;
  line-height: 1.5;
}
figure.cap:hover figcaption { opacity: 1; transform: none; }
figcaption .t { font-family: var(--serif); font-size: 24px; font-style: italic; display: block; }

/* an event whose photos aren't back yet: a quiet panel instead of a cover, and a plain banner */
.soon { width: 100%; height: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--oat); color: var(--bark); text-align: center; }
.soon .t { font-family: var(--serif); font-style: italic; font-size: 30px; }
.soon .m { font-size: 12px; letter-spacing: .18em; color: var(--umber); }
.event-tile:has(.soon) figcaption, .event-tile:has(.soon) figure.cap::after { display: none; }
.event-hero.no-photo { height: 46vh; min-height: 340px; background: var(--bark); }
.event-hero.no-photo::after { display: none; }
.soon-note { margin-top: 70px; color: var(--clay); font-style: italic; font-family: var(--serif); font-size: 22px; }

/* portfolio page: one cover photo per event; details appear on hover, the whole tile opens the event */
.event-tile { display: block; color: inherit; text-decoration: none; }
.event-tile figure.cap::after { background: linear-gradient(180deg, transparent 45%, rgba(53,44,36,.72)); }
.event-tile figcaption .t { font-size: 30px; margin-bottom: 4px; }
.event-tile:focus-visible figure.cap::after, .event-tile:focus-visible figcaption { opacity: 1; transform: none; }
figcaption .m { font-size: 12px; letter-spacing: .16em; opacity: .85; display: block; }

/* ---------- full-bleed band ---------- */
.band { position: relative; height: 80vh; min-height: 480px; padding: 0; overflow: hidden; color: var(--cream); }
.band img { position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(53, 44, 36, .3); }
.band blockquote {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 3.8vw, 50px);
  padding: 0 10vw;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 70px;
}
.steps div { border-top: 1px solid var(--line); padding-top: 26px; }
.steps span { font-family: var(--serif); font-style: italic; font-size: 22px; opacity: .6; }
.steps h3 { font-size: 28px; margin: 6px 0 12px; }
.steps p { font-size: 15px; }

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 90px;
  margin-top: 70px;
  max-width: 1040px;
}
/* desktop: heading and reviews centered (Jenny, Nov 5). Three reviews since Nov 6 (Amelia + Jeremiah):
   three side by side; auto-fit keeps a centered pair if one is ever removed. */
@media (min-width: 901px) {
  #words h2 { text-align: center; }
  #words .quotes { margin-left: auto; margin-right: auto; max-width: 1200px; text-align: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; }
}
.quote .pull { font-family: var(--serif); font-size: 26px; line-height: 1.3; font-style: italic; margin-bottom: 18px; }
.quote p { font-size: 15px; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: lowercase; opacity: .85; }
/* home with four short versions: a 2 x 2 on desktop, plus a link to the full "kind words" page */
@media (min-width: 901px) {
  #words .quotes.four { grid-template-columns: repeat(2, 1fr); max-width: 980px; gap: 80px 100px; }
}
.words-more { text-align: center; margin-top: 80px; }
.words-more a { font-size: 13px; letter-spacing: .2em; color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(243, 237, 227, .5); padding-bottom: 5px; }
.words-more a:hover { border-color: var(--cream); }

/* "kind words" page: each review in full beside a photo from that wedding, sides alternating */
.kind { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: center; max-width: 1100px; margin: 0 auto; }
.kind:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.kind:nth-child(even) .kind-photo { order: 2; }
.kind + .kind { margin-top: 150px; }
.kind-photo { width: 100%; max-width: 380px; justify-self: center; }
.kind-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kind .pull { font-family: var(--serif); font-size: 32px; line-height: 1.25; font-style: italic; }
.kind p { color: var(--clay); margin-top: 20px; }
.kind cite { display: block; margin-top: 28px; font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: lowercase; color: var(--umber, #8e6c53); }
.kind .see { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .2em; color: var(--bark); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
@media (max-width: 900px) {
  .kind, .kind:nth-child(even) { grid-template-columns: 1fr; gap: 36px; }
  .kind:nth-child(even) .kind-photo { order: 0; }
  .kind + .kind { margin-top: 100px; }
  .kind-photo { max-width: 300px; }
  .kind .pull { font-size: 26px; }
}

/* event page: the couple's own words in full, a bark band after the photos */
.event-words { background: var(--bark); color: var(--cream); margin: 120px -5vw 0; padding: 110px 5vw; text-align: center; }
.event-words .inner { max-width: 720px; margin: 0 auto; }
.event-words .label { color: var(--cream); opacity: .85; }
.event-words .pull { font-family: var(--serif); font-size: 34px; line-height: 1.25; font-style: italic; margin: 18px 0 10px; }
.event-words p { color: rgba(243, 237, 227, .82); margin-top: 20px; }
.event-words cite { display: block; margin-top: 30px; font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: lowercase; opacity: .85; }
@media (max-width: 900px) {
  .event-words { margin-top: 80px; padding: 80px 7vw; }
  .event-words .pull { font-size: 27px; }
}
.placeholder-note {
  display: inline-block;
  margin-top: 50px;
  font-size: 12px;
  border: 1px dashed currentColor;
  opacity: .7;
  padding: 6px 14px;
}

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 170px 5vw; }
.cta p { color: var(--clay); margin: 22px auto 42px; max-width: 520px; }

/* ---------- footer ---------- */
footer {
  padding: 80px 5vw 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  font-size: 14px;
  background: var(--bark);
  color: rgba(243, 237, 227, .72);
}
footer a:hover { color: var(--cream); }
/* centered footer: logo, tagline, one row of contact links, then the fine print */
footer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 90px 5vw 40px; }
footer .footer-tag { margin-top: 20px; font-size: 12px; letter-spacing: .32em; text-transform: lowercase; color: rgba(243, 237, 227, .7); }
footer .footer-links { margin-top: 36px; font-size: 14px; letter-spacing: .06em; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
footer .footer-links i { font-style: normal; margin: 0 16px; opacity: .45; }
footer .fine { width: 100%; max-width: 1240px; margin-top: 56px; border-top: 1px solid rgba(243, 237, 227, .2); padding-top: 24px; font-size: 12px; letter-spacing: .12em; }
@media (max-width: 600px) {
  footer .footer-links { flex-direction: column; gap: 6px; }
  footer .footer-links i { display: none; }
}

/* ---------- portfolio ---------- */
.page-head { padding: 200px 5vw 60px; }
.page-head .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; }
.page-head p { color: var(--clay); max-width: 460px; }

.filters { display: flex; gap: 30px; margin-bottom: 36px; }
.filters button {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--clay);
  font: inherit;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: lowercase;
  padding-bottom: 4px;
  cursor: pointer;
}
.filters button.on, .filters button:hover { color: var(--soil); border-color: var(--umber); }

.event-card .cover { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; }
.event-card img { transition: transform 1.6s ease; }
.event-card:hover img { transform: scale(1.04); }
.event-card h3 { font-size: 28px; font-style: italic; margin-top: 20px; text-transform: none; }
.event-card .m { font-size: 12px; letter-spacing: .18em; text-transform: lowercase; opacity: .75; }

/* event detail */
.event-hero { position: relative; height: 80vh; min-height: 520px; padding: 0; overflow: hidden; color: var(--cream); }
.event-hero img { position: absolute; inset: 0; }
.event-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(53,44,36,.35), rgba(53,44,36,0) 40%, rgba(53,44,36,.6)); }
.event-hero h1 { text-transform: none; }
.event-info { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8vw; }
.event-info dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 30px; font-size: 14px; }
.event-info dt { font-size: 12px; letter-spacing: .26em; text-transform: lowercase; color: var(--umber); }
.event-info p { color: var(--clay); font-size: 17px; }
/* small vendor credits line at the bottom of an event page */
.vendor-credits { margin-top: 70px; font-size: 13px; color: var(--clay); line-height: 2; }
.vendor-credits .label { display: inline; margin: 0 14px 0 0; font-size: 11px; }
.vendor-credits i { font-style: normal; margin: 0 10px; opacity: .5; }
.vendor-credits a.ig { color: var(--soil); border-bottom: 1px solid rgba(142, 108, 83, .35); transition: border-color .3s; }
.vendor-credits a.ig:hover { border-color: var(--umber); }
.event-nav {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 90px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: lowercase;
  color: var(--clay);
}
.event-nav a:hover { color: var(--soil); }
.event-nav strong { display: block; font-family: var(--serif); font-size: 26px; font-style: italic; letter-spacing: 0; color: var(--soil); font-weight: 300; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(238, 232, 222, .97);
  display: none;
  place-items: center;
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { width: auto; height: auto; max-width: 90vw; max-height: 80vh; object-fit: contain; filter: none; }
.lightbox .lb-cap { margin-top: 18px; text-align: center; font-size: 13px; letter-spacing: .14em; color: var(--clay); }
.lightbox .lb-cap a { color: var(--soil); border-bottom: 1px solid var(--umber); margin-left: 14px; }
.lightbox img { cursor: pointer; user-select: none; }
.lb-count { display: inline-block; margin-right: 16px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--umber); letter-spacing: 0; }
.lb-btn {
  position: fixed;
  width: 56px;
  height: 56px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--soil);
  opacity: .7;
  transition: opacity .3s;
}
.lb-btn:hover { opacity: 1; }
.lb-prev, .lb-next { top: 50%; margin-top: -28px; }
.lb-prev { left: 2vw; }
.lb-next { right: 2vw; }
.lb-close { top: 18px; right: 2vw; }
/* thin line chevrons and a thin x, drawn with borders to match the menu icons */
.lb-prev::before, .lb-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.lb-prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.lb-next::before { transform: translate(-70%, -50%) rotate(135deg); }
.lb-close::before, .lb-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  right: 14px;
  height: 1px;
  background: currentColor;
}
.lb-close::before { transform: rotate(45deg); }
.lb-close::after { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lb-prev { left: 4vw; }
  .lb-next { right: 4vw; }
  .lb-count { display: block; margin: 0 0 4px; }
}

/* ---------- inquire ---------- */
/* photo side: a smaller arch-framed photo on linen (not edge to edge), staying in view while the form scrolls */
.inquire-wrap { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 100vh; }
.inquire-wrap .photo { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 130px 4vw 60px; }
.inquire-wrap .photo img { width: min(100%, 380px); height: auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.inquire-form { padding: 180px 6vw 110px; }
.inquire-form p.lede { color: var(--clay); margin: 22px 0 50px; max-width: 520px; }
/* form side is warm bark brown with cream text; fields are simple cream lines (no boxes),
   section headings are a script numeral + italic serif title with generous space and no rule */
.inquire-form { background: var(--bark); color: var(--cream); }
.inquire-wrap + footer { border-top: 1px solid rgba(243, 237, 227, .15); }
.inquire-form h2 { color: var(--cream); }
.inquire-form p.lede { color: rgba(243, 237, 227, .75); }
.inquire-form .label { color: #d9c3a8; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
form .full { grid-column: 1 / -1; }
form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; } /* two short fields sharing one column (state + zip) */
form .group {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 46px;
  margin-bottom: -6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.2;
}
form .group:first-child { margin-top: 4px; }
form .group span { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .2em; color: #d9c3a8; }
label { font-size: 12px; letter-spacing: .18em; text-transform: lowercase; color: rgba(243, 237, 227, .78); display: block; margin-bottom: 2px; }
label small { letter-spacing: .06em; text-transform: none; font-style: italic; font-family: var(--serif); font-size: 15px; color: rgba(243, 237, 227, .5); margin-left: 6px; }
input, select, textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(243, 237, 227, .35);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 17px; /* 16px+ keeps phones from zooming in on tap */
  padding: 10px 0 8px;
  color: var(--cream);
  outline: none;
  color-scheme: dark; /* light calendar + dropdown icons on the brown */
  transition: border-color .3s;
}
select option { color: var(--soil); background: var(--cream); }
input::placeholder, textarea::placeholder { color: rgba(243, 237, 227, .38); font-style: italic; font-family: var(--serif); font-size: 18px; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--cream); }
textarea { resize: vertical; min-height: 110px; border: 1px solid rgba(243, 237, 227, .35); padding: 12px 14px; margin-top: 6px; }
textarea:focus { border-color: var(--cream); }
/* tappable pill options (checkboxes / radios) */
fieldset.chips { border: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
fieldset.chips legend { padding: 0; margin-bottom: 14px; font-size: 12px; letter-spacing: .18em; text-transform: lowercase; color: rgba(243, 237, 227, .78); }
fieldset.chips .chip-group { flex-basis: 100%; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 18px; color: #d9c3a8; }
fieldset.chips .chip-group:first-of-type { margin-top: 0; }
label.chip { display: inline-block; margin: 0; letter-spacing: .04em; text-transform: none; font-size: 14px; cursor: pointer; }
label.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
label.chip span {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(243, 237, 227, .35);
  border-radius: 999px;
  color: rgba(243, 237, 227, .88);
  transition: background .25s, color .25s, border-color .25s;
}
label.chip span em { font-family: var(--serif); font-size: 15px; opacity: .65; margin-left: 4px; }
label.chip:hover span { border-color: var(--cream); }
label.chip input:checked + span { background: var(--cream); color: var(--bark); border-color: var(--cream); }
label.chip input:focus-visible + span { outline: 2px solid #d9c3a8; outline-offset: 2px; }
fieldset.chips + fieldset.chips { margin-top: 18px; }
form .btn { justify-self: start; margin-top: 22px; cursor: pointer; background: var(--cream); border-color: var(--cream); color: var(--bark); font: inherit; font-size: 13px; letter-spacing: .2em; padding: 14px 40px; }
form .btn:hover { background: transparent; color: var(--cream); }
/* live site (Wix Forms): errors, address parts, thank-you, loading */
form .err, .form-error { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 16px; color: #f0c9b0; }
.form-error { grid-column: 1 / -1; }
form .form-buttons { display: flex; gap: 14px; }
form .btn[disabled] { opacity: .6; cursor: default; }
fieldset.address { border: none; padding: 0; margin: 0; }
fieldset.address legend { padding: 0; margin-bottom: 8px; font-size: 12px; letter-spacing: .18em; text-transform: lowercase; color: rgba(243, 237, 227, .78); }
.address-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; }
.address-parts label { font-size: 11px; opacity: .8; }
.address-parts .addr-addressLine, .address-parts .addr-streetAddress, .address-parts .addr-country { grid-column: 1 / -1; }
.chip-other input { width: 220px; padding: 6px 0; font-size: 15px; }
.form-thanks { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.4; color: var(--cream); max-width: 520px; }
.form-thanks p + p { margin-top: 14px; }
.form-thanks .thanks-next { margin-top: 0; font-family: var(--sans); font-style: normal; font-size: 15px; line-height: 1.7; color: rgba(243, 237, 227, .75); }
.form-thanks .thanks-next a { color: var(--cream); border-bottom: 1px solid rgba(243, 237, 227, .45); }
.form-thanks .thanks-next a:hover { border-bottom-color: var(--cream); }
.form-skeleton { height: 520px; border-radius: 4px; background: linear-gradient(90deg, rgba(243,237,227,.06), rgba(243,237,227,.12), rgba(243,237,227,.06)); }
.field-note { font-size: 14px; opacity: .7; }
@media (max-width: 700px) { .address-parts { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.3s ease, transform 1.3s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .split, .page-head .wrap, .event-info, .inquire-wrap { grid-template-columns: 1fr; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .details { gap: 10px; }
  /* phones: a slim photo band so the form starts right away */
  .inquire-wrap .photo { position: relative; height: auto; padding: 0; margin-top: 70px; }
  .inquire-wrap .photo img { width: 100%; height: 26vh; aspect-ratio: auto; border-radius: 0; }
  footer, form { grid-template-columns: 1fr; }
  section { padding: 100px 6vw; }
}

/* ---------- logo ---------- */
.brand { display: block; position: relative; height: 84px; transition: height .4s, opacity .4s; }
.brand img { height: 100%; width: auto; object-fit: contain; filter: none; }
.brand .on-light { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.brand .on-dark { transition: opacity .4s; }
.site-header.solid .brand { height: 66px; }
.site-header.solid .brand .on-light { opacity: 1; }
.site-header.solid .brand .on-dark { opacity: 0; }
/* home: larger logo over the hero, shrinks once you scroll */
.site-header.home:not(.solid) { align-items: flex-start; padding-top: 28px; }
.site-header.home:not(.solid) .brand { height: 150px; }
.site-header.home:not(.solid) .nav { margin-top: 18px; }
.site-header { padding-top: 18px; padding-bottom: 18px; }
.site-header.solid { padding-top: 10px; padding-bottom: 10px; }

.hero::after { background: linear-gradient(180deg, rgba(53,44,36,.45) 0%, rgba(53,44,36,0) 32%, rgba(53,44,36,0) 55%, rgba(53,44,36,.55) 100%); }

.footer-logo { width: 240px; height: auto; filter: none; }

@media (max-width: 900px) {
  .brand { height: 64px; }
  .site-header.solid .brand { height: 50px; }
}

.signature { font-family: var(--serif); font-style: italic; font-size: 30px; margin-top: 26px; }

/* ---------- movement ---------- */
/* hero: photo settles in slowly, headline rises line by line */
.hero img, .event-hero img { transform: scale(var(--zoom, 1)); animation: settle 2.8s cubic-bezier(.2,.6,.2,1) both; will-change: transform; }
/* --zoom lets a photo stay zoomed in after it settles (set inline, e.g. style="--zoom: 1.25") */
@keyframes settle { from { transform: scale(calc(var(--zoom, 1) * 1.1)); } to { transform: scale(var(--zoom, 1)); } }
.hero-text > * { animation: rise 1.4s cubic-bezier(.2,.6,.2,1) both; }
.hero-text > *:nth-child(1) { animation-delay: .5s; }
.hero-text > *:nth-child(2) { animation-delay: .8s; }
.hero-text > *:nth-child(3) { animation-delay: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* "scroll" cue with a slowly falling line */
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 11vh;
  font-size: 11px;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
  opacity: .8;
  padding-bottom: 70px;
  animation: rise 1.4s 1.5s both;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 56px;
  background: currentColor;
  transform-origin: top;
  animation: fall 2.6s ease-in-out infinite;
}
@keyframes fall { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* photos unfold from the bottom as they scroll into view (class added by site.js) */
/* the frame is observed; the image inside is what gets clipped (a fully clipped
   element never counts as "visible", so clipping the frame itself would never trigger) */
/* how photos appear: --reveal-from is where the clip starts.
   unfold upward (Jenny's choice):      inset(100% 0 0 0)
   open from the center (tried Nov 4, not kept):  inset(50% 50% 50% 50%) */
:root { --reveal-from: inset(100% 0 0 0); }
.unfold img { clip-path: var(--reveal-from); transform: scale(1.15); }
figure.unfold img, .unfold img { transition: clip-path 1.6s cubic-bezier(.6,.05,.2,1), transform 2.2s cubic-bezier(.2,.6,.2,1); transition-delay: inherit; }
.unfold.in img { clip-path: inset(0 0 0 0); transform: scale(1); }
figure.cap.unfold.in:hover img { transform: scale(1.03); }
/* photos past the first two gallery rows: a quick soft fade, no movement */
.softin img { opacity: 0; transition: opacity .7s ease; }
.softin.in img { opacity: 1; }
.details .unfold img { transform: scale(calc(var(--zoom, 1) * 1.18)); }
.details .unfold.in img { transform: scale(calc(var(--zoom, 1) * 1.02)); }
.details .unfold.in:hover img { transform: scale(calc(var(--zoom, 1) * 1.1)); }

/* stagger items that sit side by side */
.grid > :nth-child(3n+2), .details > :nth-child(2), .steps > :nth-child(2), .quotes > :nth-child(2) { transition-delay: .15s; }
.grid > :nth-child(3n), .details > :nth-child(3), .steps > :nth-child(3) { transition-delay: .3s; }
.steps > :nth-child(4) { transition-delay: .45s; }
.steps > div, .quotes > .quote { opacity: 0; transform: translateY(20px); transition: opacity 1.2s ease, transform 1.2s ease; }
.steps.in > div, .quotes.in > .quote { opacity: 1; transform: none; }

/* parallax band (site.js moves the image) */
.band img { top: -12%; height: 124%; will-change: transform; }

/* slow drifting strip of photos; pauses on hover */
.drift-section { padding: 0 0 150px; overflow: hidden; }
.drift { display: flex; gap: 18px; width: max-content; animation: drift 90s linear infinite; }
.drift:hover { animation-play-state: paused; }
.drift figure { width: 280px; aspect-ratio: 4 / 5; flex: none; overflow: hidden; }
.drift figure:nth-child(even) { margin-top: 60px; }
@keyframes drift { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .unfold img { clip-path: none !important; }
  .softin img { opacity: 1 !important; }
  .reveal, .steps > div, .quotes > .quote { opacity: 1; transform: none; }
}

/* ---------- mobile menu (button + overlay are added by site.js) ---------- */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-close span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1px;
  background: currentColor;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--linen);
  color: var(--soil);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10vw;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s, transform .6s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-of-type(2) { transition-delay: .06s; }
.mobile-menu.open a:nth-of-type(3) { transition-delay: .12s; }
.mobile-menu.open a:nth-of-type(4) { transition-delay: .18s; }
.mobile-menu a em { font-style: italic; }
.mobile-menu .contact { margin-top: 40px; font-size: 13px; letter-spacing: .14em; color: var(--clay); line-height: 2; }
.menu-close {
  position: absolute;
  top: 22px;
  right: 5vw;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--soil);
  cursor: pointer;
}
.menu-close span { top: 20px; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { gap: 14px; }
  .nav .btn { padding: 7px 16px; font-size: 12px; }
  .site-header.home:not(.solid) .brand { height: 92px; }
  .site-header.home:not(.solid) .nav { margin-top: 6px; }

  .hero { height: 100svh; min-height: 560px; }
  .hero-text { left: 6vw; right: 6vw; bottom: 9vh; }
  .hero .sub { font-size: 11px; letter-spacing: .16em; }

  section { padding: 90px 6vw; }
  .cta { padding: 110px 6vw; }
  .page-head { padding: 140px 6vw 40px; }
  .page-head .wrap { gap: 24px; }
  .row-head { margin-bottom: 30px; }
  .row-head .btn { display: none; }   /* the cards themselves link through */
  .band { height: 62vh; min-height: 380px; }
  .split { gap: 50px; }
  .steps { gap: 34px; margin-top: 46px; }
  .quotes { gap: 56px; margin-top: 46px; }
  .quote .pull { font-size: 24px; }

  /* swipe rows: detail close-ups + recent work scroll sideways instead of shrinking */
  .details, #recent {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: -6vw;
    margin-right: -6vw;
    padding: 0 6vw;
    scrollbar-width: none;
  }
  .details::-webkit-scrollbar, #recent::-webkit-scrollbar { display: none; }
  .details figure, #recent figure { flex: 0 0 74%; scroll-snap-align: center; }
  .details { margin-top: 46px; }
  /* touch screens can't hover, so captions sit under the swipe-row photos */
  #recent figure.cap { overflow: visible; }
  #recent figure.cap img { aspect-ratio: 4 / 5; height: auto; }
  #recent figure.cap::after { display: none; }
  #recent figure.cap figcaption { position: static; opacity: 1; transform: none; color: inherit; margin-top: 12px; }
  #recent figcaption .t { font-size: 22px; }
  #recent figure { aspect-ratio: auto; }
  /* portfolio tiles on phones: one per row, details under each photo */
  .event-tiles { grid-template-columns: 1fr; gap: 44px; }
  .event-tiles figure.cap { overflow: visible; aspect-ratio: auto; }
  .event-tiles figure.cap img { aspect-ratio: 4 / 5; height: auto; }
  .event-tiles figure.cap::after { display: none; }
  .event-tiles figure.cap figcaption { position: static; opacity: 1; transform: none; color: inherit; margin-top: 14px; }

  .event-hero { height: 70svh; }
  .event-info { gap: 40px; }
  .event-nav { flex-wrap: wrap; gap: 24px; margin-top: 60px; }
  .event-nav a:nth-child(2) { order: 3; width: 100%; text-align: center; }
  .event-nav strong { font-size: 22px; }

  .scroll-cue { display: none; }
  .film-btns { display: none; }   /* phones swipe the filmstrip */
  .film { gap: 10px; margin-right: -6vw; }
  .film figure { flex-basis: 42%; }
  .more-photos { margin-top: 50px; }
  .drift-section { padding-bottom: 90px; }
  .drift { animation-duration: 70s; gap: 12px; }
  .drift figure { width: 190px; }
  .drift figure:nth-child(even) { margin-top: 36px; }

  .inquire-form { padding: 50px 6vw 80px; }
  .lightbox img { max-width: 94vw; max-height: 72vh; }
  .lightbox .lb-cap { padding: 0 6vw; line-height: 1.8; }
  .lightbox .lb-cap a { display: inline-block; margin: 8px 0 0; }
  .footer-logo { width: 200px; }
}
