/* KOMILFO — a contemporary gift boutique. One type scale, deliberate space. */
:root {
  --cream:#f7f2e9; --paper:#fffaf3; --wine:#55212e; --wine-dark:#3f1722;
  --muted:#79675f; --line:#d9ccbc; --line-soft:#e5dace; --gold:#aa8051;
  --gold-light:#ead6b8; --side:clamp(20px,5vw,90px); --nav-height:84px;
}
body { font-size:15px; line-height:1.7; }
.scroll-progress > span { width:100%; background:var(--wine); transform:scaleX(0); }
.topline { min-height:28px; padding:5px var(--side); background:var(--cream); color:var(--muted); border-bottom:1px solid var(--line-soft); font-size:10px; letter-spacing:.09em; }
.header, .header.is-solid { background:rgba(247,242,233,.97); height:var(--nav-height); border-bottom-color:var(--line); backdrop-filter:blur(14px); }
.brand-word { font-size:34px; letter-spacing:-.035em; }
.brand small { font-size:9px; letter-spacing:.16em; }
.header-nav { gap:28px; }
.header-nav a { font-size:13px; opacity:1; padding:11px 0; }
.bag-toggle { font-size:12px; min-height:44px; }
.bag-count { width:26px; height:26px; font-size:11px; }
.eyebrow { font-size:11px; letter-spacing:.13em; line-height:1.6; }
.button { min-height:54px; font-size:13px; padding:16px 25px; gap:30px; font-weight:500; }
.text-link { min-height:44px; align-items:center; font-size:12px; }

/* A single enduring message beside a framed film. */
.atelier-hero { height:calc(min(760px, 100svh - 84px) + 48vh); min-height:850px; background:var(--cream); }
.atelier-hero .story-stage {
  height:min(760px, calc(100svh - 84px)); min-height:570px; top:var(--nav-height);
  display:grid; grid-template-columns:1fr 1.02fr; grid-template-rows:1fr auto;
  column-gap:5%; padding:34px var(--side) 22px;
  color:var(--wine); background:var(--cream); overflow:hidden; isolation:auto;
}
.hero-copy { position:relative; z-index:2; align-self:center; padding:12px 0 30px; }
.hero-eyebrow { color:var(--wine); margin-bottom:24px; }
.hero-copy h1 { font-size:clamp(74px,8.5vw,142px); line-height:.9; letter-spacing:-.055em; }
.hero-copy h1 > span, .hero-copy h1 > em { display:block; }
.hero-copy h1 > em { white-space:nowrap; font-weight:400; }
.hero-description { max-width:345px; font-size:14px; line-height:1.85; margin:30px 0 26px; color:var(--muted); }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px 22px; }
.hero-primary { min-width:205px; }
.hero-signature { display:flex; align-items:center; gap:18px; margin-top:42px; }
.hero-signature > span { font-size:48px; line-height:1; color:var(--gold); font-weight:300; }
.hero-signature p { font-family:var(--serif); font-size:22px; line-height:1.05; color:var(--muted); }
.hero-film-wrap { position:relative; align-self:stretch; min-width:0; overflow:hidden; background:var(--olive-deep); margin-bottom:18px; }
.atelier-hero .story-media { inset:0; z-index:0; background:var(--olive-deep); }
.atelier-hero .story-poster, .atelier-hero .story-media video {
  object-fit:cover; object-position:80% center; transform:none;
  filter:none; width:100%; height:100%; transition:opacity .55s ease;
}
.film-corner { position:absolute; top:20px; right:24px; color:var(--cream); font-family:var(--serif); font-size:38px; font-style:italic; line-height:1; }
.hero-film-caption {
  position:absolute; z-index:2; left:0; right:0; bottom:0;
  padding:36px 22px 15px; display:flex; align-items:center; justify-content:space-between; gap:12px;
  color:var(--cream); background:linear-gradient(transparent,rgba(20,20,12,.78)); font-size:12px;
}
#film-toggle { min-height:44px; padding:9px 0 9px 12px; color:var(--cream); white-space:nowrap; font-size:12px; }
#film-toggle:focus-visible { outline-color:var(--cream); }
.hero-film-wrap .story-progress { z-index:3; height:2px; background:rgba(247,242,233,.2); }
.hero-film-wrap .story-progress > span { background:var(--gold-light); }
.hero-bottom { grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top:8px; font-size:10px; letter-spacing:.08em; color:var(--muted); }
.hero-bottom > span { text-transform:uppercase; }
.hero-bottom a { min-height:38px; display:flex; align-items:center; gap:18px; }
.hero-bottom a span { font-size:20px; }
.is-ready .hero-copy { animation:atelier-intro 850ms var(--ease-out) both; }
@keyframes atelier-intro { from {opacity:0;transform:translateY(16px)} to {opacity:1;transform:none} }

/* The ribbon is a quiet transition, not a competing animated headline. */
.marquee { color:var(--wine); background:var(--cream); padding:15px 0; border-color:var(--line); }
.marquee-track { font-size:24px; gap:42px; animation:none; justify-content:center; min-width:100%; }
.marquee-track i { color:var(--gold); font-size:16px; opacity:1; }

/* Four collections — an editorial rhythm on wide screens, a clear grid on phones. */
.collection-entry { padding-top:96px; padding-bottom:104px; border:0; }
.collection-entry-heading { margin-bottom:44px; }
.collection-entry-heading h2 { font-size:clamp(48px,5.3vw,80px); line-height:1; letter-spacing:-.04em; }
.collection-entry-heading .eyebrow { margin-bottom:18px; }
.collection-entry-grid { grid-template-columns:1.15fr repeat(3,1fr); gap:26px; align-items:start; }
.collection-card:nth-child(even) { margin-top:40px; }
.collection-card-media { height:clamp(230px,25vw,360px); background:var(--photo-backdrop); }
.collection-card-media img { object-fit:contain; }
.collection-card-index { top:16px; left:16px; color:var(--wine); font-size:11px; }
.collection-card-copy { padding-top:20px; gap:10px; }
.collection-card-name { font-size:clamp(28px,3vw,43px); }
.collection-card-count { font-size:12px; letter-spacing:0; color:var(--muted); }
.collection-card-arrow { width:42px; height:42px; flex-basis:42px; font-size:20px; }

/* The gift spread gives the item and its price equal importance to the story. */
.gifts { grid-template-columns:1.14fr 1fr; margin:0 var(--side); scroll-margin-top:100px; }
.gift-image-panel { min-height:650px; }
.gift-image-panel > img { padding:42px 12px 20px; transition:opacity .3s ease; will-change:auto; }
.gift-image-panel:hover > img { transform:none; }
.gift-photo-label { font-size:10px; letter-spacing:.09em; top:24px; left:24px; right:24px; }
.gifts-copy { padding:48px 10%; }
.gifts-copy .eyebrow { color:var(--gold-light); font-size:11px; margin-bottom:26px; }
.gifts h2 { font-size:clamp(44px,4.7vw,72px); line-height:.98; letter-spacing:-.04em; }
.gifts-copy > p:not(.eyebrow) { color:#e2cfd0; font-size:14px; line-height:1.8; margin:24px 0; }
.gift-sizes { gap:14px; margin-bottom:0; order:0; }
.gift-size { padding:10px 0 13px; gap:10px; }
.gift-size > span { font-size:34px; }
.gift-size small { font-size:11px; min-height:31px; line-height:1.4; color:#e2cfd0; }
.gift-size:hover { background:none; }
.gift-size.is-selected { background:none; }
.gift-selection { padding-top:24px; min-height:106px; }
.gift-selection h3 { font-size:27px; line-height:1.15; }
.gift-selection p { font-size:21px; line-height:1.5; margin-top:10px; color:var(--cream); }
.gift-actions { gap:20px; margin-top:20px; }
.gift-actions .button { padding:15px 22px; margin-top:0; font-size:12px; }
.gift-all-link { font-size:12px; min-height:44px; display:flex; align-items:center; padding:0; }

/* A quiet, useful end to the visit. */
.about { padding-top:108px; padding-bottom:112px; gap:10%; }
.about h2 { font-size:clamp(48px,5.5vw,78px); }
.about-heading > p:not(.eyebrow) { font-size:14px; line-height:1.85; max-width:350px; }
.contact-row { padding:27px 0; gap:20px; }
.contact-number { font-size:11px; }
.contact-row small { font-size:11px; letter-spacing:.08em; }
.contact-row p { font-size:clamp(30px,3vw,42px); }
.contact-row div > span { font-size:12px; }
.contact-row:hover { padding-left:0; }
footer { background:var(--wine); color:var(--cream); border:0; padding-bottom:28px; overflow:hidden; }
.footer-top { padding-top:45px; }
.footer-top p { font-size:clamp(30px,3.5vw,48px); }
.footer-top p em { color:var(--gold-light); }
.footer-top a { font-size:13px; border-color:var(--gold-light); min-height:44px; align-items:center; }
.footer-wordmark { font-size:clamp(80px,18.7vw,350px); line-height:1; padding:40px 0 24px; letter-spacing:-.055em; color:var(--cream); opacity:1; }
.footer-wordmark span { color:var(--gold-light); }
.footer-bottom { border-color:rgba(247,242,233,.3); color:#e2cfd0; font-size:11px; }
footer :focus-visible { outline-color:var(--cream); }

.atelier-entering { animation:atelier-reveal 650ms var(--ease-out) both; }
@keyframes atelier-reveal { from {opacity:.35;transform:translateY(16px)} to {opacity:1;transform:translateY(0)} }
@media (max-width:1100px) {
  .header-nav { gap:20px; }
  .atelier-hero .story-stage { column-gap:4%; }
  .hero-copy h1 { font-size:clamp(68px,8.5vw,96px); }
  .hero-actions { gap:14px; }
  .hero-signature { margin-top:26px; }
  .hero-film-caption > span { max-width:130px; line-height:1.4; }
  .collection-entry-grid { gap:20px; }
  .collection-card-media { height:250px; }
  .gifts-copy { padding:40px 8%; }
  .gift-size small { font-size:10px; }
  .gift-selection h3 { font-size:25px; }
}
@media (max-width:860px) and (min-width:761px) {
  .header-nav { display:flex; gap:16px; }
  .header-nav a { font-size:12px; }
  .header-nav a[href='#collections'] { display:none; }
  .bag-label { display:none; }
  .gifts { grid-template-columns:1fr 1fr; }
  .gift-image-panel { aspect-ratio:auto; }
  .gifts-copy { padding:36px 24px; }
  .gifts h2 { font-size:42px; }
  .gift-selection h3 { font-size:24px; }
  .gift-size small { font-size:10px; }
}
@media (max-width:760px) {
  :root { --nav-height:96px; --side:22px; }
  html { scroll-padding-top:110px; }
  .topline { font-size:9px; justify-content:center; min-height:26px; padding:4px 15px; }
  .topline-note { display:none; }
  .header { display:grid; grid-template-columns:1fr auto; grid-template-rows:57px 38px; gap:0 16px; padding:0 var(--side); height:96px; }
  .brand-word { font-size:29px; }
  .brand small { display:none; }
  .bag-toggle { grid-column:2; grid-row:1; gap:9px; padding:0; }
  .bag-label { display:none; }
  .header-nav { display:flex; grid-row:2; grid-column:1 / -1; width:100%; margin:0; gap:0; justify-content:space-between; border-top:1px solid var(--line-soft); }
  .header-nav a { font-size:12px; padding:7px 0; min-height:37px; }
  .atelier-hero { height:auto; min-height:0; }
  .atelier-hero .story-stage { position:relative; top:auto; display:flex; flex-direction:column; height:auto; min-height:0; padding:32px var(--side) 18px; gap:0; }
  .hero-copy { padding:0; align-self:stretch; }
  .hero-eyebrow { font-size:10px; margin-bottom:16px; }
  .hero-copy h1 { font-size:clamp(58px,13vw,94px); line-height:.9; }
  .hero-description { margin:20px 0; max-width:430px; font-size:14px; line-height:1.7; }
  .hero-actions { gap:12px 20px; }
  .hero-primary { min-width:190px; padding:14px 20px; min-height:50px; font-size:12px; }
  .hero-actions .text-link { font-size:12px; }
  .hero-signature { display:none; }
  .hero-film-wrap { height:auto; aspect-ratio:1.32; width:100%; margin:30px 0 10px; }
  .atelier-hero .story-poster, .atelier-hero .story-media video { object-position:70% center; }
  .hero-film-caption { padding:25px 15px 8px; font-size:10px; }
  .hero-film-caption > span { max-width:120px; }
  #film-toggle { font-size:10px; }
  .film-corner { top:16px; right:17px; font-size:28px; }
  .hero-bottom { font-size:10px; padding-top:0; }
  .hero-bottom > span { display:none; }
  .hero-bottom a { width:100%; justify-content:space-between; }
  .marquee { padding:12px 0; }
  .marquee-track { font-size:21px; gap:26px; justify-content:flex-start; }
  .collection-entry { padding-top:64px; padding-bottom:64px; }
  .collection-entry-heading { gap:18px; align-items:flex-end; margin-bottom:28px; }
  .collection-entry-heading h2 { font-size:clamp(40px,8vw,60px); max-width:none; }
  .collection-entry-heading .eyebrow { max-width:none; margin-bottom:12px; font-size:10px; }
  .collection-entry-heading .text-link { font-size:11px; margin:0; }
  .collection-entry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 16px; }
  .collection-card:nth-child(even) { margin-top:0; }
  .collection-card-media { height:auto; aspect-ratio:1; }
  .collection-card-copy { padding-top:13px; gap:7px; }
  .collection-card-name { font-size:29px; }
  .collection-card-count { font-size:11px; margin-top:7px; }
  .collection-card-arrow { width:31px; height:31px; flex-basis:31px; font-size:17px; }
  .collection-card-index { top:11px; left:11px; font-size:10px; }
  .gifts { grid-template-columns:1fr; }
  .gift-image-panel { min-height:0; aspect-ratio:1; }
  .gift-image-panel > img { position:absolute; inset:0; padding:38px 8px 8px; }
  .gift-photo-label { top:17px; left:18px; right:18px; font-size:9px; }
  .gifts-copy { padding:28px 24px 36px; }
  .gift-sizes { order:-3; margin-bottom:0; gap:14px; }
  .gift-size small { font-size:11px; min-height:31px; }
  .gift-selection { order:-2; padding:22px 0; min-height:0; }
  .gift-selection h3 { font-size:27px; max-width:none; }
  .gift-selection p { font-size:21px; }
  .gift-actions { order:-1; margin-top:0; margin-bottom:32px; gap:18px; }
  .gifts-copy .eyebrow { margin-bottom:16px; font-size:10px; }
  .gifts-copy h2 { font-size:clamp(39px,10vw,60px); }
  .gifts-copy > p:not(.eyebrow) { margin:18px 0 0; font-size:13px; }
  .about { grid-template-columns:1fr; padding:68px var(--side); gap:36px; }
  .about h2 { font-size:52px; }
  .about-heading > p:not(.eyebrow) { max-width:440px; font-size:14px; }
  .contact-row { padding:23px 0; }
  .contact-row p { font-size:32px; }
  .contact-row small { font-size:11px; }
  .contact-row div > span { font-size:12px; }
  .footer-top { align-items:flex-start; padding-top:34px; gap:24px; }
  .footer-top p { font-size:35px; }
  .footer-top a { font-size:12px; }
  .footer-wordmark { font-size:18vw; padding:32px 0 22px; }
  .footer-bottom { font-size:10px; gap:12px; }
}
@media (max-width:380px) {
  :root { --side:17px; }
  .hero-copy h1 { font-size:58px; }
  .hero-actions { gap:8px 16px; }
  .hero-primary { min-width:180px; }
  .hero-actions .text-link { font-size:11px; }
  .collection-entry-heading { align-items:flex-start; gap:8px; }
  .collection-card-name { font-size:26px; }
  .collection-card-arrow { width:27px; height:27px; flex-basis:27px; }
  .gifts-copy { padding:26px 19px 32px; }
  .gift-size small { font-size:10px; }
  .gift-actions { gap:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .atelier-hero { height:auto; min-height:0; }
  .atelier-hero .story-stage { position:relative; top:0; }
  .is-ready .hero-copy, .atelier-entering { animation:none; }
  .story-poster { transform:none; }
}
