/* Shutter Media Works — redesign stylesheet */
:root {
  --ink: #111111;
  --ivory: #F4F1EB;
  --white: #FFFFFF;
  --bronze: #A48A70;
  --bronze-text: #7A6249; /* bronze darkened for AA text contrast on light grounds */
  --gray: #777777;
  --gray-text: #5E5E5E; /* readable gray for body text on ivory */
  --line: rgba(17, 17, 17, 0.12);
  --line-light: rgba(255, 255, 255, 0.22);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1400px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(72px, 10vw, 144px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; overflow-wrap: normal; word-break: normal; hyphens: manual; }
h1 { font-size: clamp(40px, 7.2vw, 100px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 22px; }
.on-dark .eyebrow, .hero .eyebrow { color: #D9C6B0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--gray-text); max-width: 40em; }
.on-dark .lede { color: rgba(255, 255, 255, 0.78); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 28px;
  font: 500 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { font: 500 13px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; display: inline-block; }
.textlink:hover { color: var(--bronze-text); }
.on-dark .textlink:hover, .section--ink .textlink:hover { color: #D9C6B0; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease); background: rgba(244, 241, 235, 0.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.brand .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 30px); }
.nav a { font: 500 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-cta { border: 1px solid currentColor; padding: 12px 18px; }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
body.has-hero .site-header:not(.is-solid) { background: transparent; box-shadow: none; color: var(--white); }
body.has-hero .site-header:not(.is-solid) .logo-dark { display: none; }
body.has-hero .site-header:not(.is-solid) .logo-light { display: block; }
body.has-hero .site-header:not(.is-solid) .nav a.nav-cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
body.has-hero .site-header:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0)); pointer-events: none; z-index: -1; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; margin-right: -10px; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23.5px; }
.menu-toggle span:nth-child(3) { top: 30px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ivory); color: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
  .nav a { font-family: var(--serif); font-size: 30px; letter-spacing: 0; text-transform: none; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin-top: 26px; text-align: center; font: 500 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
  body.menu-open .site-header { background: var(--ivory) !important; color: var(--ink) !important; box-shadow: 0 1px 0 var(--line) !important; }
  body.menu-open .site-header::before { display: none; }
  body.menu-open .site-header .logo-dark { display: block !important; }
  body.menu-open .site-header .logo-light { display: none !important; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand img { height: 32px; } }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--white); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: -6% 0 -6% 0; will-change: transform; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.06) 35%, rgba(0,0,0,0.66) 100%); }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); padding-top: calc(var(--nav-h) + 40px); }
.hero h1 { max-width: 13.5em; margin-bottom: 30px; }
.hero .lede { color: rgba(255, 255, 255, 0.85); margin-bottom: 36px; }
.hero--page { min-height: 78vh; min-height: 78svh; }
.hero--page h1 { font-size: clamp(38px, 6vw, 88px); max-width: 15em; }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(56px, 9vh, 110px); font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: rgba(255,255,255,0.55); }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* Page intro (no photo) */
.page-intro { padding: calc(var(--nav-h) + clamp(64px, 9vw, 130px)) 0 clamp(48px, 6vw, 88px); }
.page-intro h1 { font-size: clamp(40px, 6.4vw, 92px); max-width: 14em; margin-bottom: 26px; }

/* Grid helpers */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split > .col-5 { grid-column: span 5; }
.split > .col-6 { grid-column: span 6; }
.split > .col-7 { grid-column: span 7; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split > [class^="col-"] { grid-column: 1 / -1; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { max-width: 14em; }

/* Pathway cards */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.path { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 52vw, 680px); color: var(--white); text-decoration: none; overflow: hidden; background: var(--ink); }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.72) 100%); }
.path:hover img { transform: scale(1.04); }
.path__body { position: relative; z-index: 2; padding: clamp(26px, 3.5vw, 48px); }
.path__body h3 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 14px; }
.path__body p { color: rgba(255,255,255,0.82); max-width: 30em; margin-bottom: 22px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } .path { min-height: 460px; } }

/* Featured work grid */
.featured { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.featured figure { margin: 0; position: relative; overflow: hidden; background: #ddd8cf; }
.featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured figure:hover img { transform: scale(1.03); }
.featured .f-a { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.featured .f-b { grid-column: 8 / span 5; aspect-ratio: auto; }
.featured .f-c { grid-column: 1 / span 4; aspect-ratio: 1 / 1; }
.featured .f-d { grid-column: 5 / span 4; aspect-ratio: 1 / 1; }
.featured .f-e { grid-column: 9 / span 4; aspect-ratio: 1 / 1; }
.featured .f-f { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
figcaption.cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 14px; font: 500 11px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.55)); }
@media (max-width: 760px) {
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured figure { min-width: 0; }
  .featured .f-a, .featured .f-b, .featured .f-e, .featured .f-f { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .featured .f-c, .featured .f-d { width: 100%; align-self: start; aspect-ratio: 1 / 1; }
  .featured .f-c { grid-column: 1; }
  .featured .f-d { grid-column: 2; }
  .featured .cap { padding: 32px 10px 10px; letter-spacing: 0.12em; font-size: 10px; }
}

/* Services grid */
.services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.service { padding: 34px 26px 10px 0; border-right: 1px solid var(--line-light); padding-left: 26px; }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; }
.service .num { font: 500 12px/1 var(--sans); letter-spacing: 0.2em; color: #D9C6B0; display: block; margin-bottom: 26px; }
.service h3 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 14px; }
.service p { color: rgba(255,255,255,0.72); font-size: 15.5px; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service, .service:first-child { padding: 30px 24px 18px 0; border-right: 0; border-bottom: 1px solid var(--line-light); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.review { grid-column: span 2; background: var(--white); padding: clamp(28px, 2.6vw, 40px); display: flex; flex-direction: column; }
.review:nth-child(4) { grid-column: 2 / span 2; }
.review p { font-family: var(--serif); font-size: clamp(20px, 1.6vw, 23px); line-height: 1.4; margin-bottom: 26px; flex: 1; }
.review footer { font: 500 12px/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-text); }
.review footer strong { color: var(--ink); font-weight: 600; display: block; }
.reviews-note { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; color: var(--gray-text); font-size: 15px; }
@media (max-width: 1000px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } .review, .review:nth-child(4) { grid-column: auto; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(38px, 6vw, 84px); max-width: 12em; margin: 0 auto 26px; }
.cta-band .lede { margin: 0 auto 40px; }
.cta-band .btn-row { justify-content: center; }

/* Business offerings */
.offer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--line); }
.offer:first-of-type { border-top: 0; padding-top: 0; }
.offer__media { grid-column: 1 / span 6; overflow: hidden; background: #ddd8cf; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.offer__body { grid-column: 8 / span 5; }
.offer--flip .offer__media { grid-column: 7 / span 6; order: 2; }
.offer--flip .offer__body { grid-column: 1 / span 5; order: 1; }
.offer--text .offer__body { grid-column: 1 / span 6; }
.offer--text .offer__list { grid-column: 8 / span 5; }
.offer h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 22px; }
.offer p { color: var(--gray-text); }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; }
.ticks li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .offer__media, .offer__body, .offer--flip .offer__media, .offer--flip .offer__body, .offer--text .offer__body, .offer--text .offer__list { grid-column: 1 / -1; order: 0; }
}

/* Teaser price rows */
.price-rows { border-top: 1px solid var(--line-light); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.price-row span:first-child { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); }
.price-row span:last-child { font: 500 14px/1.3 var(--sans); letter-spacing: 0.08em; color: #D9C6B0; white-space: nowrap; }
.section--white .price-rows, .section:not(.section--ink) .price-rows { border-top-color: var(--line); }
.section:not(.section--ink) .price-row { border-bottom-color: var(--line); }
.section:not(.section--ink) .price-row span:last-child { color: var(--bronze-text); }

/* Wedding sequence */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.story figure { margin: 0; overflow: hidden; background: #ddd8cf; position: relative; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story .s-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.story .s-l { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.story .s-r { grid-column: 8 / span 5; aspect-ratio: auto; }
.story .s-third { grid-column: span 4; aspect-ratio: 4 / 5; }
.story .s-half { grid-column: span 6; aspect-ratio: 1 / 1; }
.story-chapter { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding: clamp(48px, 6vw, 90px) 0 clamp(20px, 2.4vw, 32px); }
.story-chapter .eyebrow { grid-column: 1 / span 3; margin: 8px 0 0; }
.story-chapter h3 { grid-column: 4 / span 7; font-size: clamp(30px, 3.4vw, 48px); }
@media (max-width: 760px) {
  .story .s-l, .story .s-r, .story .s-half { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .story .s-wide { aspect-ratio: 4 / 3; }
  .story .s-third { grid-column: span 6; }
  .story .s-third:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
  .story-chapter .eyebrow, .story-chapter h3 { grid-column: 1 / -1; }
}

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); counter-reset: step; }
.process li { list-style: none; border-top: 1px solid var(--line); padding-top: 26px; }
.process .num { font: 500 12px/1 var(--sans); letter-spacing: 0.2em; color: var(--bronze-text); display: block; margin-bottom: 20px; }
.process h3 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 10px; }
.process p { color: var(--gray-text); font-size: 15.5px; }
.process { padding: 0; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Pricing */
.price-group { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.price-group:first-of-type { border-top: 0; padding-top: 0; }
.price-group__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(30px, 4vw, 52px); }
.price-group__head .eyebrow { grid-column: 1 / span 3; margin-top: 12px; }
.price-group__head h2 { grid-column: 4 / span 9; font-size: clamp(32px, 3.8vw, 54px); }
.price-group__head p { grid-column: 4 / span 7; color: var(--gray-text); margin: 14px 0 0; }
.cards { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); align-items: stretch; }
.card { background: var(--white); padding: clamp(28px, 2.4vw, 38px); display: flex; flex-direction: column; min-height: 100%; border: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.card:hover { border-color: var(--line); }
.card h3 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 12px; }
.card .price { font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); line-height: 1; margin: 6px 0 18px; font-weight: 500; }
.card .price small { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; color: var(--gray-text); font-weight: 400; margin-left: 4px; }
.card .price .from { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 8px; }
.card p { color: var(--gray-text); font-size: 15.5px; }
.card .ticks { margin: 4px 0 22px; }
.card .ticks li { font-size: 14.5px; padding: 10px 0; }
.card .card__action { margin-top: auto; padding-top: 10px; }
.card .card__action .btn { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 1100px) { .cards { --cols: 2 !important; } }
@media (max-width: 640px) { .cards { --cols: 1 !important; } .price-group__head .eyebrow, .price-group__head h2, .price-group__head p { grid-column: 1 / -1; } }
@media (max-width: 900px) { .price-group__head .eyebrow, .price-group__head h2, .price-group__head p { grid-column: 1 / -1; } }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 52px); }
.filter { font: 500 12.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; min-height: 46px; padding: 0 22px; background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: all 0.25s var(--ease); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.masonry { columns: 3 320px; column-gap: clamp(10px, 1.4vw, 20px); }
.masonry .tile { break-inside: avoid; margin: 0 0 clamp(10px, 1.4vw, 20px); position: relative; display: block; width: 100%; padding: 0; border: 0; background: #ddd8cf; cursor: zoom-in; overflow: hidden; text-align: left; }
.masonry .tile img { width: 100%; height: auto; transition: transform 1s var(--ease), opacity 0.4s var(--ease); }
.masonry .tile:hover img { transform: scale(1.03); }
.masonry .tile .cap { opacity: 0; transition: opacity 0.3s var(--ease); }
.masonry .tile:hover .cap, .masonry .tile:focus-visible .cap { opacity: 1; }
@media (hover: none) { .masonry .tile .cap { opacity: 1; } }
.masonry .tile[hidden] { display: none; }
.tile .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 14px; font: 500 11px/1.35 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.6)); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 12, 12, 0.96); display: none; align-items: center; justify-content: center; padding: 70px 70px 90px; color: var(--white); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; font: 500 12px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.8); padding: 0 80px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,0.35); background: rgba(0,0,0,0.3); color: var(--white); font: 300 26px/1 var(--sans); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: var(--white); color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 70px 10px 110px; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: 14px; } .lb-next { right: 14px; } .lightbox__cap { bottom: 86px; padding: 0 20px; } }

/* About */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.team__person { background: var(--white); padding: clamp(34px, 4vw, 60px); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.team__person .eyebrow { margin-bottom: 14px; }
.team__person h3 { font-size: clamp(32px, 3.4vw, 50px); }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } .team__person { min-height: 200px; } }
.prose { max-width: 38em; }
.prose p { color: var(--gray-text); font-size: 18px; }
.prose h3 { font-size: clamp(26px, 2.4vw, 34px); margin: 40px 0 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-info { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 30px); }
.contact-form { grid-column: 6 / span 7; }
@media (max-width: 960px) { .contact-info, .contact-form { grid-column: 1 / -1; position: static; } }
.info-list { list-style: none; padding: 0; margin: 0 0 40px; }
.info-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list .label { display: block; font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 8px; }
.info-list a, .info-list span.v { font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--bronze-text); }
.social-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.social-bar a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); text-decoration: none; font: 500 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.social-bar a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.social-bar svg { width: 16px; height: 16px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); margin-bottom: 36px; }
.switch button { min-height: 54px; border: 0; background: transparent; font: 500 12.5px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); cursor: pointer; padding: 10px 14px; }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--white); }

/* Forms */
.wform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.wform .field { grid-column: 1 / -1; display: flex; flex-direction: column; min-width: 0; }
.wform .field--half { grid-column: span 1; }
@media (max-width: 560px) { .wform .field--half { grid-column: 1 / -1; } }
.wform label, .wform legend { font: 500 12px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 9px; color: var(--ink); padding: 0; }
.wform .req { color: var(--bronze-text); margin-left: 3px; }
.wform input[type="text"], .wform input[type="email"], .wform input[type="tel"], .wform input[type="url"], .wform input[type="number"], .wform input[type="date"], .wform input[type="time"], .wform input[type="datetime-local"], .wform select, .wform textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid rgba(17,17,17,0.22); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.wform select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.wform textarea { min-height: 150px; resize: vertical; }
.wform input:focus, .wform select:focus, .wform textarea:focus { border-color: var(--ink); outline: 2px solid var(--bronze); outline-offset: 1px; }
.wform [aria-invalid="true"] { border-color: #9B2C2C; }
.wform .err { color: #9B2C2C; font-size: 14px; margin: 8px 0 0; }
.wform .help { color: var(--gray-text); font-size: 14px; margin: 6px 0 0; }
.wform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wform .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.wform .choice { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid rgba(17,17,17,0.22); background: var(--white); cursor: pointer; font: 400 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; margin: 0; }
.wform .choice input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.wform .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.wform .form-error { grid-column: 1 / -1; color: #9B2C2C; margin: 0; }
.form-status { color: var(--gray-text); }
.form-done { background: var(--white); padding: clamp(30px, 4vw, 52px); }
.form-done h3 { margin-bottom: 14px; }
.form-done p { color: var(--gray-text); margin: 0 0 0.6em; }
.form-fallback { color: var(--gray-text); font-size: 15px; margin-top: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: clamp(64px, 8vw, 110px) 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 26px; }
.footer-brand p { max-width: 26em; }
.footer-col { grid-column: span 2; }
.footer-col--wide { grid-column: span 3; }
.footer-col h2 { font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #D9C6B0; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.55); }
@media (max-width: 900px) { .footer-brand { grid-column: 1 / -1; } .footer-col, .footer-col--wide { grid-column: span 4; } }
@media (max-width: 600px) { .footer-col, .footer-col--wide { grid-column: 1 / -1; } }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media { transform: none !important; }
}
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small screens: collapse 12-column grids so gutters never exceed the viewport */
@media (max-width: 900px) {
  .split, .footer-top, .contact-grid, .offer, .price-group__head, .story-chapter { grid-template-columns: minmax(0, 1fr); }
  .split > *, .footer-top > *, .contact-grid > *, .offer > *, .price-group__head > *, .story-chapter > * { grid-column: 1 / -1 !important; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1 !important; }
  .footer-col, .footer-col--wide { grid-column: auto !important; }
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; line-height: 1.3; } .btn-row .btn { flex: 1 1 100%; } }
/* Tiles fill their grid cell; the paired tile follows its neighbour's height */
.featured figure img, .story figure img { position: absolute; inset: 0; }
.featured figure, .story figure { min-height: 160px; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.42) 45%, rgba(0,0,0,0.72) 100%); }
  .hero h1, .hero p { text-shadow: 0 1px 18px rgba(0,0,0,0.35); }
}
