:root {
  --ink: #382522;
  --brown: #65443e;
  --cocoa: #7a5147;
  --cream: #f7f0e6;
  --paper: #fffaf3;
  --blush: #ead5ce;
  --sage: #89917b;
  --brand-pink: #c92f73;
  --line: rgba(56, 37, 34, 0.17);
  --display: "Bodoni MT", Didot, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.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; top: 8px; left: 8px; z-index: 999; padding: 10px 16px;
  transform: translateY(-150%); background: white; border-radius: 2px;
}
.skip-link:focus { transform: translateY(0); }
.section-pad { padding-left: clamp(24px, 5.5vw, 88px); padding-right: clamp(24px, 5.5vw, 88px); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 92px; padding: 0 clamp(24px, 4.5vw, 72px);
  display: flex; align-items: center; justify-content: space-between; color: white;
  transition: height .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  height: 76px; color: var(--ink); background: rgba(255, 250, 243, .94);
  box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; position: relative; z-index: 102; }
.brand-logo {
  width: 54px; height: 54px; display: block; object-fit: cover; border-radius: 50%;
  background: white; box-shadow: 0 5px 20px rgba(56, 37, 34, .14);
}
.brand-copy { display: grid; gap: 4px; text-transform: uppercase; }
.brand-copy strong { font: 21px var(--display); letter-spacing: .08em; text-transform: none; }
.brand-copy small { font-size: 8px; letter-spacing: .36em; padding-left: 2px; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 52px); font-size: 12px; letter-spacing: .08em; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -7px; background: currentColor; transition: right .3s ease;
}
.site-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { border: 1px solid currentColor; padding: 12px 18px; display: flex; align-items: center; gap: 22px; }
.menu-toggle { display: none; }

.hero { min-height: 780px; height: 100svh; position: relative; display: grid; align-items: center; overflow: hidden; color: white; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image {
  background-image: url("assets/images/hero-san-sebastian.webp"); background-size: cover; background-position: center;
  animation: hero-in 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.hero-overlay { background: linear-gradient(90deg, rgba(38, 23, 20, .67) 0%, rgba(38, 23, 20, .31) 42%, rgba(38, 23, 20, .02) 72%); }
.hero-content { position: relative; z-index: 2; width: min(670px, 75vw); margin-left: clamp(24px, 8vw, 132px); padding-top: 58px; }
.eyebrow { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .24em; font-size: 10px; font-weight: 600; }
.hero h1, .intro h2, .section-heading h2, .story h2, .instagram h2, .order h2 {
  margin: 0; font: clamp(58px, 6.6vw, 104px)/.94 var(--display); letter-spacing: -.035em; font-weight: 400;
}
h1 em, h2 em { font-weight: 400; }
.hero h1 em { color: #edd7ce; }
.hero-intro { max-width: 530px; margin: 32px 0 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.75; color: rgba(255,255,255,.84); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 34px; }
.button {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 24px; min-height: 52px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.hero .button-primary { background: #f8efe5; color: var(--ink); }
.hero .button-primary:hover { background: white; }
.text-link { font-size: 12px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.5); }
.text-link span { margin-left: 12px; transition: margin .2s ease; }
.text-link:hover span { margin-left: 18px; }
.hero-note {
  position: absolute; right: clamp(24px, 4vw, 66px); bottom: 34px; z-index: 2; display: flex; gap: 20px;
  text-transform: uppercase; letter-spacing: .18em; font-size: 8px;
}
.hero-note span + span::before { content: "·"; margin-right: 20px; }
.scroll-cue {
  position: absolute; z-index: 2; bottom: 30px; left: clamp(24px, 3.5vw, 56px); display: grid; justify-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .22em; font-size: 8px; writing-mode: vertical-rl;
}
.scroll-cue i { display: block; width: 1px; height: 38px; background: rgba(255,255,255,.6); }

.intro {
  min-height: 630px; max-width: var(--max); margin: auto; display: grid; grid-template-columns: .65fr 1.8fr .55fr;
  gap: clamp(30px, 5vw, 90px); align-items: center;
}
.intro-kicker { align-self: end; margin-bottom: 110px; display: flex; align-items: flex-start; gap: 16px; }
.intro-kicker .flourish { color: var(--cocoa); font-size: 18px; }
.intro-kicker p { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; line-height: 1.7; }
.intro-copy { max-width: 780px; }
.intro h2 { font-size: clamp(54px, 6vw, 88px); }
.intro h2 em, .section-heading h2 em, .story h2 em, .instagram h2 em, .order h2 em { color: var(--cocoa); }
.intro-copy > p { max-width: 610px; margin: 32px 0 0; color: #74605b; font-size: 15px; line-height: 1.9; }
.intro-stamp {
  width: 142px; height: 142px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-content: center; text-align: center;
  text-transform: uppercase; letter-spacing: .16em; font-size: 8px; transform: rotate(7deg);
}
.intro-stamp strong { display: block; margin: 4px 0; font: 32px var(--display); letter-spacing: 0; }

.collection { padding-top: 100px; padding-bottom: 120px; background: var(--cream); }
.section-heading { max-width: var(--max); margin: 0 auto 64px; display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.section-heading h2 { font-size: clamp(52px, 5.3vw, 80px); }
.section-heading > p { width: min(420px, 35vw); margin: 0 0 8px; color: #78635e; font-size: 14px; line-height: 1.8; }
.product-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card { height: 580px; overflow: hidden; position: relative; background: #d5c8bb; }
.product-card-wide { grid-column: span 2; height: 650px; }
.product-card a { display: block; height: 100%; position: relative; color: white; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.product-card:hover img { transform: scale(1.035); }
.product-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(36,22,19,.72) 100%); }
.product-copy { position: absolute; left: clamp(26px, 3vw, 46px); right: 82px; bottom: 34px; }
.product-copy p { margin: 0 0 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.76); }
.product-copy h3 { margin: 0; font: clamp(38px, 4vw, 62px)/1 var(--display); letter-spacing: -.025em; font-weight: 400; }
.product-copy span { display: block; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.76); }
.card-action {
  position: absolute; right: 28px; bottom: 30px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; transition: background .25s ease, color .25s ease, transform .25s ease;
}
.product-card:hover .card-action { background: white; color: var(--ink); transform: rotate(8deg); }

.kids-gallery {
  max-width: var(--max); margin: auto; min-height: 760px; padding-top: 120px; padding-bottom: 120px;
  display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 120px); align-items: center;
}
.kids-heading h2 { margin: 0; font: clamp(52px, 5vw, 78px)/.98 var(--display); letter-spacing: -.035em; font-weight: 400; }
.kids-heading h2 em { color: var(--brand-pink); font-weight: 400; }
.kids-heading > p:not(.eyebrow) { max-width: 500px; margin: 28px 0; color: #78635e; font-size: 14px; line-height: 1.85; }
.text-link-dark { color: var(--ink); border-bottom-color: var(--line); display: inline-flex; gap: 8px; }
.kids-images { min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.kids-images figure { margin: 0; position: relative; overflow: hidden; }
.kids-images figure:nth-child(2) { margin-top: 70px; }
.kids-images img { width: 100%; height: 500px; object-fit: cover; transition: transform .7s ease; }
.kids-images figure:hover img { transform: scale(1.025); }
.kids-images figcaption {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; background: rgba(255,250,243,.92);
  color: var(--ink); font: 16px var(--display); backdrop-filter: blur(8px);
}

.story { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 820px; background: var(--paper); }
.story-image { min-height: 720px; position: relative; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-badge {
  position: absolute; top: 58px; right: 54px; width: 112px; height: 112px; display: grid; place-content: center; text-align: center;
  background: var(--paper); color: var(--ink); border-radius: 50%; font: 20px/1.15 var(--display); text-transform: uppercase; letter-spacing: .09em;
}
.story-copy { display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 90px; }
.story h2 { font-size: clamp(52px, 5vw, 78px); }
.story-lead { margin: 36px 0 18px; max-width: 570px; font: 22px/1.55 var(--display); }
.story-copy > p:not(.eyebrow):not(.story-lead) { max-width: 570px; color: #78635e; font-size: 14px; line-height: 1.85; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 58px; padding-top: 26px; border-top: 1px solid var(--line); }
.values div { display: flex; gap: 16px; align-items: flex-start; }
.values strong { font-size: 9px; color: var(--cocoa); }
.values span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; line-height: 1.6; }

.instagram { min-height: 660px; position: relative; overflow: hidden; background: var(--blush); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
.instagram-symbol { position: absolute; top: -115px; left: -55px; font: 420px/1 var(--display); color: rgba(255,255,255,.32); }
.instagram-copy { position: relative; z-index: 1; max-width: 650px; }
.instagram h2 { font-size: clamp(52px, 5vw, 76px); }
.instagram-copy > p:not(.eyebrow) { max-width: 480px; margin: 28px 0; color: #705953; }
.instagram-handle { display: inline-flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 5px; font-size: 14px; font-weight: 600; }
.instagram-tiles { height: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform: rotate(2deg); }
.instagram-tiles img { width: 100%; height: 100%; object-fit: cover; }
.instagram-tiles img:first-child { grid-row: span 2; }

.order { padding-top: 120px; padding-bottom: 120px; max-width: var(--max); margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 150px); }
.order h2 { font-size: clamp(52px, 5vw, 78px); }
.order-intro > p:not(.eyebrow) { max-width: 520px; margin: 30px 0; color: #78635e; }
.direct-contact { margin-top: 54px; display: grid; gap: 10px; font-size: 12px; }
.direct-contact > span { text-transform: uppercase; letter-spacing: .15em; font-size: 9px; color: #8d7872; margin-bottom: 4px; }
.direct-contact a { width: fit-content; border-bottom: 1px solid var(--line); }
.order-form { align-self: center; padding: 42px; background: var(--cream); border-top: 3px solid var(--cocoa); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.order-form label { display: grid; gap: 8px; margin-bottom: 23px; }
.order-form label > span { font-size: 9px; text-transform: uppercase; letter-spacing: .17em; font-weight: 600; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(56,37,34,.28); border-radius: 0; padding: 10px 0 12px;
  background: transparent; color: var(--ink); outline: 0; resize: vertical;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-bottom-color: var(--cocoa); box-shadow: 0 1px 0 var(--cocoa); }
.order-form ::placeholder { color: #a3938d; }
.form-submit { width: 100%; gap: 20px; margin-top: 4px; }
.form-note { margin: 12px 0 0; text-align: center; color: #897771; font-size: 10px; }

.footer { padding-top: 80px; padding-bottom: 30px; background: var(--ink); color: #f4eae0; }
.footer-top { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 1.5fr .8fr; align-items: center; gap: 40px; padding-bottom: 70px; }
.footer-top > p { margin: 0; font: clamp(24px, 2.3vw, 36px)/1.35 var(--display); max-width: 520px; }
.footer-order { justify-self: end; display: flex; gap: 30px; align-items: center; border: 1px solid rgba(255,255,255,.35); padding: 16px 20px; font-size: 11px; }
.footer-bottom { max-width: var(--max); margin: auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 1.1fr 1.5fr .7fr 1fr; gap: 30px; }
.footer-bottom > div { display: grid; align-content: start; gap: 8px; }
.footer-bottom span { text-transform: uppercase; letter-spacing: .18em; color: #cdbab2; font-size: 8px; }
.footer-bottom p, .footer-bottom a { margin: 0; font-size: 11px; color: rgba(255,255,255,.78); }
.footer-bottom small { color: rgba(255,255,255,.46); }
.footer-legal { text-align: right; }
.floating-order {
  position: fixed; z-index: 90; right: 26px; bottom: 24px; width: 84px; height: 84px; border-radius: 50%; background: var(--brand-pink); color: white;
  display: grid; place-content: center; text-align: center; box-shadow: 0 10px 32px rgba(56,37,34,.24); transition: transform .25s ease, opacity .25s ease;
}
.floating-order:hover { transform: translateY(-4px) rotate(3deg); }
.floating-order span { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; line-height: 1.5; }
.floating-order i { font-style: normal; line-height: 1; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-in { from { transform: scale(1.04); opacity: .7; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 980px) {
  .site-header { height: 78px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; background: transparent; border: 0; z-index: 102; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; padding: 120px 28px 50px; background: var(--ink); color: white; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 28px; font: 38px var(--display); opacity: 0; visibility: hidden; transform: translateY(-16px); transition: .3s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav .nav-cta { font: 11px var(--sans); margin-top: 18px; }
  .site-header.menu-active { color: white; background: transparent; box-shadow: none; }
  .hero { min-height: 720px; }
  .hero-content { width: min(640px, 84vw); margin-left: 8vw; }
  .hero-note { display: none; }
  .intro { grid-template-columns: .35fr 1.65fr; min-height: 560px; }
  .intro-stamp { display: none; }
  .section-heading { align-items: flex-start; }
  .story { grid-template-columns: 1fr; }
  .kids-gallery { grid-template-columns: 1fr; }
  .kids-heading { max-width: 720px; }
  .story-image { min-height: 650px; }
  .instagram { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 90px; }
  .instagram-copy { max-width: 720px; }
  .instagram-tiles { height: 390px; }
  .order { grid-template-columns: 1fr; }
  .order-intro { max-width: 720px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-order { grid-column: 2; justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr 1.5fr 1fr; }
  .footer-legal { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; text-align: left; margin-top: 20px; }
}

@media (max-width: 680px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 18px; }
  .hero { min-height: 680px; height: 92svh; align-items: end; padding-bottom: 110px; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(38,23,20,.84) 0%, rgba(38,23,20,.25) 72%); }
  .hero-content { width: auto; margin: 0 24px; padding-top: 0; }
  .hero h1 { font-size: clamp(49px, 14vw, 67px); }
  .hero-intro { margin-top: 22px; font-size: 14px; }
  .hero-actions { margin-top: 28px; gap: 20px; flex-wrap: wrap; }
  .hero .button-primary { min-height: 48px; }
  .scroll-cue { display: none; }
  .intro { min-height: auto; padding-top: 100px; padding-bottom: 100px; grid-template-columns: 1fr; gap: 30px; }
  .intro-kicker { margin: 0; }
  .intro h2, .section-heading h2, .story h2, .instagram h2, .order h2 { font-size: clamp(45px, 13vw, 60px); }
  .collection { padding-top: 80px; padding-bottom: 80px; }
  .section-heading { display: grid; gap: 28px; margin-bottom: 40px; }
  .section-heading > p { width: auto; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card, .product-card-wide { grid-column: auto; height: 500px; }
  .product-copy { left: 24px; bottom: 24px; }
  .product-copy h3 { font-size: 42px; }
  .card-action { right: 20px; bottom: 22px; }
  .story-image { min-height: 480px; }
  .kids-gallery { min-height: auto; padding-top: 85px; padding-bottom: 90px; gap: 48px; }
  .kids-heading h2 { font-size: clamp(45px, 13vw, 60px); }
  .kids-images { min-height: 0; grid-template-columns: 1fr; gap: 12px; }
  .kids-images figure:nth-child(2) { margin-top: 0; }
  .kids-images img { height: 430px; }
  .story-badge { top: 26px; right: 24px; width: 86px; height: 86px; font-size: 15px; }
  .story-copy { padding-top: 80px; padding-bottom: 80px; }
  .story-lead { font-size: 20px; }
  .values { grid-template-columns: 1fr; gap: 18px; }
  .values div { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .instagram { gap: 48px; }
  .instagram-symbol { font-size: 300px; }
  .instagram-tiles { height: 330px; margin: 0 -24px; transform: none; }
  .instagram-tiles img:nth-child(3) { display: none; }
  .order { padding-top: 90px; padding-bottom: 90px; gap: 55px; }
  .order-form { padding: 28px 22px; margin: 0 -8px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer { padding-top: 64px; padding-bottom: 100px; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 50px; }
  .footer-order { grid-column: auto; justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr; gap: 26px; }
  .footer-legal { grid-column: auto; grid-auto-flow: row; justify-content: start; }
  .floating-order { width: 72px; height: 72px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
