/* Antonenko Anna — Côte d'Azur. Light editorial base, wine as the single accent. */
:root{
  --mast:clamp(104px,13vh,132px);
  --bg:#f3f2f0;
  --paper:#fbfaf9;
  --ink:#171716;
  --muted:#736e68;
  --wine:#6d1522;
  --line:rgba(23,23,22,.14);
  --pad:clamp(20px,5vw,72px);
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Jost",system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-weight:300;font-size:16px;line-height:1.75;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}

/* ---------- type ---------- */
.kicker{
  font-size:11px;letter-spacing:.34em;text-transform:uppercase;
  color:var(--muted);font-weight:400;
}
.display{
  font-family:var(--serif);font-weight:300;line-height:1.04;
  letter-spacing:.01em;margin:0;
}
h1.display{font-size:clamp(38px,6.4vw,86px)}
h2.display{font-size:clamp(30px,4.4vw,58px)}
h3{font-family:var(--serif);font-weight:400;font-size:clamp(21px,2.2vw,29px);line-height:1.2;margin:0}
p{margin:0 0 1.1em}
.lead{font-size:clamp(16px,1.35vw,19px);color:#3a3835;max-width:62ch}
.muted{color:var(--muted)}

/* ---------- shell ---------- */
.wrap{max-width:1440px;margin:0 auto;padding-inline:var(--pad)}
section{position:relative}
.rule{height:1px;background:var(--line);border:0;margin:0}

/* ---------- header ---------- */
header{
  position:absolute;inset:0 0 auto;z-index:20;
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding:26px var(--pad);
}
header .logo img{width:clamp(132px,15vw,186px)}
.on-dark .logo img{filter:invert(1)}
nav{display:flex;gap:clamp(18px,2.4vw,38px);align-items:center}
nav a{font-size:11px;letter-spacing:.24em;text-transform:uppercase;padding-block:6px;position:relative}
nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:0;height:1px;
  background:currentColor;transition:right .35s cubic-bezier(.2,.7,.2,1);
}
nav a:hover::after,nav a[aria-current]::after{right:0}
/* trailing letter-spacing pushes the last link past the padding edge */
nav a:last-child{margin-right:-.24em}
.on-dark header{color:#fff}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer;color:inherit}
.burger span{display:block;width:24px;height:1px;background:currentColor;margin:5px 0}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;font-size:11px;letter-spacing:.26em;text-transform:uppercase;
  padding:16px 34px;border:1px solid currentColor;color:var(--wine);background:none;
  cursor:pointer;font-family:var(--sans);font-weight:400;
  transition:background .35s,color .35s;
}
.btn:hover{background:var(--wine);color:#fff}
.btn-light{color:#fff}
.btn-light:hover{background:#fff;color:var(--ink)}
.link-arrow{
  font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--wine);
  display:inline-flex;align-items:center;gap:10px;
}
.link-arrow span{display:inline-block;width:34px;height:1px;background:currentColor;transition:width .35s}
.link-arrow:hover span{width:56px}

/* ---------- hero ---------- */
.hero{min-height:100svh;display:flex;align-items:flex-end;position:relative;overflow:hidden}
.hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(10,10,10,.42) 0%,rgba(10,10,10,0) 34%,rgba(10,10,10,.06) 55%,rgba(10,10,10,.62) 100%);
}
.hero .inner{position:relative;z-index:2;color:#fff;padding-bottom:clamp(38px,7vh,86px);width:100%;text-shadow:0 1px 22px rgba(0,0,0,.34)}
.hero .kicker{color:rgba(255,255,255,.82)}
.hero h1{margin:.24em 0 .5em;max-width:14ch}
.hero .sub{max-width:44ch;color:rgba(255,255,255,.9);margin-bottom:2em}
.hero-foot{
  display:flex;flex-wrap:wrap;gap:18px 46px;align-items:center;justify-content:space-between;
  border-top:1px solid rgba(255,255,255,.26);padding-top:22px;
}
.hero-foot .places{font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:rgba(255,255,255,.78)}

/* ---------- editorial grid ---------- */
.split{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,88px);align-items:center;
  padding-block:clamp(64px,10vw,150px);
}
.split.narrow{align-items:center}
.split .body{max-width:52ch}
.split figure{margin:0;position:relative}
.split figure figcaption{
  position:absolute;left:0;bottom:-30px;font-size:10px;letter-spacing:.28em;
  text-transform:uppercase;color:var(--muted);
}
/* photo bleeds past the container edge — asymmetry, not a card grid */
.bleed-right figure{margin-right:calc(var(--pad) * -1)}
.bleed-left figure{margin-left:calc(var(--pad) * -1)}

.numbered{display:flex;gap:clamp(16px,3vw,44px);align-items:baseline}
.numbered .num{
  font-family:var(--serif);font-size:clamp(30px,4vw,54px);color:var(--wine);
  line-height:1;opacity:.5;min-width:1.6em;
}

/* ---------- services ---------- */
.services{padding-block:clamp(56px,8vw,120px);background:var(--paper)}
.services .head{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:end;margin-bottom:clamp(34px,5vw,64px)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.6vw,40px)}
.card{display:block;position:relative}
.card .ph{overflow:hidden;aspect-ratio:3/4}
.card img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.card:hover img{transform:scale(1.045)}
.card h3{margin:22px 0 8px}
.card p{color:var(--muted);font-size:15px;margin-bottom:14px}
/* the middle card sits lower — breaks the row into a rhythm */
.cards .card:nth-child(2){margin-top:clamp(24px,5vw,74px)}

/* ---------- steps ---------- */
.steps{padding-block:clamp(56px,8vw,120px)}
.steps ol{list-style:none;margin:clamp(30px,4vw,58px) 0 0;padding:0;display:grid;gap:0}
.steps li{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(18px,4vw,66px);
  padding:clamp(22px,3vw,38px) 0;border-top:1px solid var(--line);align-items:start;
}
.steps li:last-child{border-bottom:1px solid var(--line)}
.steps .num{font-family:var(--serif);font-size:clamp(24px,3vw,38px);color:var(--wine);opacity:.55;line-height:1}
.steps h3{margin-bottom:8px}
.steps p{margin:0;color:var(--muted);max-width:58ch}

/* ---------- gallery ---------- */
.gallery{padding-block:clamp(48px,7vw,110px);background:var(--paper)}
.gallery .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:clamp(8px,1.2vw,18px)}
.gallery img{width:100%;height:100%;object-fit:cover}
.g-a{grid-column:span 5;aspect-ratio:3/4}
.g-b{grid-column:span 7;aspect-ratio:16/11}
.g-c{grid-column:span 4;aspect-ratio:3/4}
.g-d{grid-column:span 4;aspect-ratio:3/4;align-self:end}
.g-e{grid-column:span 4;aspect-ratio:3/4}

/* ---------- list of niches ---------- */
.niches{padding-block:clamp(46px,6vw,92px);text-align:center}
.niches .items{
  font-family:var(--serif);font-size:clamp(19px,2.2vw,31px);line-height:1.3;
  max-width:26ch;margin:26px auto 0;
  display:flex;flex-wrap:wrap;justify-content:center;gap:.35em 1.1em;
}
.niches .items span{white-space:nowrap}
.niches .items i{display:none}

/* ---------- packages ---------- */
.packages{padding-block:clamp(56px,8vw,120px)}
.pack{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);
  gap:clamp(18px,4vw,72px);padding:clamp(26px,4vw,52px) 0;border-top:1px solid var(--line);
}
.packages .pack:last-of-type{border-bottom:1px solid var(--line)}
.pack ul{list-style:none;margin:0 0 1em;padding:0}
.pack li{padding:9px 0 9px 26px;position:relative;border-bottom:1px solid rgba(23,23,22,.07)}
.pack li::before{content:"";position:absolute;left:0;top:19px;width:12px;height:1px;background:var(--wine)}
.pack .tag{color:var(--wine)}

/* ---------- faq ---------- */
.faq{padding-block:clamp(56px,8vw,120px);background:var(--paper)}
.faq details{border-top:1px solid var(--line)}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{
  cursor:pointer;list-style:none;padding:clamp(18px,2.4vw,28px) 46px clamp(18px,2.4vw,28px) 0;
  font-family:var(--serif);font-size:clamp(19px,2vw,26px);position:relative;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:8px;top:50%;width:13px;height:1px;background:var(--ink);
}
.faq summary::before{
  content:"";position:absolute;right:14px;top:50%;width:1px;height:13px;background:var(--ink);
  transform:translateY(-50%);transition:opacity .3s;
}
.faq details[open] summary::before{opacity:0}
.faq details p{max-width:70ch;color:var(--muted);padding-bottom:clamp(14px,2vw,24px)}

/* ---------- cta ---------- */
.cta{position:relative;overflow:hidden;color:#fff;text-align:center}
.cta img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%}
.cta::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(14,12,12,.74) 0%,rgba(14,12,12,.58) 38%,rgba(14,12,12,.18) 72%,rgba(14,12,12,.1) 100%),
    linear-gradient(180deg,rgba(14,12,12,.22),rgba(14,12,12,.34));
}
.cta .inner{position:relative;z-index:2;padding-block:clamp(76px,12vw,168px);text-shadow:0 1px 20px rgba(0,0,0,.3);text-align:left}
.cta h2{margin:.3em 0 .5em;max-width:15ch}
.cta p{max-width:46ch;margin-inline:0;color:rgba(255,255,255,.88)}
.cta .kicker{color:rgba(255,255,255,.72);max-width:34ch}

/* ---------- page hero (inner pages) ---------- */
.phero{min-height:72svh;display:flex;align-items:flex-end;position:relative;overflow:hidden}
.phero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.phero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,10,.42) 0,rgba(10,10,10,0) 38%,rgba(10,10,10,.58) 100%)}
.phero .inner{position:relative;z-index:2;color:#fff;padding-bottom:clamp(34px,6vh,72px);width:100%;text-shadow:0 1px 22px rgba(0,0,0,.34)}
.phero h1{margin:.24em 0 0;max-width:16ch}

/* ---------- prose block ---------- */
.prose{padding-block:clamp(52px,8vw,110px)}
.prose .cols{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:clamp(20px,5vw,80px)}
.prose h2{margin-bottom:.4em}
.prose h3{margin:2.2em 0 .5em}
.prose h3:first-child{margin-top:0}
.prose p{max-width:68ch;color:#3a3835}

/* ---------- footer ---------- */
footer{background:var(--ink);color:#e8e5e1;padding-block:clamp(48px,7vw,92px)}
footer .top{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:38px;align-items:start}
footer img{width:180px;filter:invert(1)}
footer h4{font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:#8d8781;margin:0 0 16px;font-weight:400}
footer ul{list-style:none;margin:0;padding:0}
footer li{margin-bottom:10px}
footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
footer .bottom{
  margin-top:clamp(34px,5vw,64px);padding-top:22px;border-top:1px solid rgba(255,255,255,.14);
  display:flex;flex-wrap:wrap;gap:12px 30px;justify-content:space-between;
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8d8781;
}

/* ---------- dialog ---------- */
dialog{
  border:0;padding:0;max-width:min(560px,92vw);width:100%;background:var(--paper);color:var(--ink);
}
dialog::backdrop{background:rgba(12,11,10,.62)}
.dlg{padding:clamp(26px,5vw,52px)}
.dlg h2{margin-bottom:.4em}
.dlg form{display:grid;gap:16px;margin-top:26px}
.dlg label{display:grid;gap:7px;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--muted)}
.dlg input,.dlg textarea{
  font-family:var(--sans);font-size:16px;font-weight:300;color:var(--ink);
  border:0;border-bottom:1px solid var(--line);background:none;padding:10px 0;
}
.dlg input:focus,.dlg textarea:focus{outline:0;border-bottom-color:var(--wine)}
.dlg textarea{resize:vertical;min-height:82px}
.dlg .close{position:absolute;top:14px;right:16px;background:none;border:0;font-size:24px;cursor:pointer;line-height:1;color:var(--muted)}
.dlg .thanks{display:none}
.dlg.sent form,.dlg.sent .intro{display:none}
.dlg.sent .thanks{display:block}

/* ---------- floating cta (mobile) ---------- */
.fab{
  display:none;position:fixed;left:50%;bottom:18px;z-index:40;
  background:var(--wine);color:#fff;border:0;padding:15px 34px;
  font:400 11px/1 var(--sans);letter-spacing:.26em;text-transform:uppercase;
  transform:translate(-50%,140%);transition:transform .4s cubic-bezier(.2,.7,.2,1);
}
.fab.show{transform:translate(-50%,0)}

/* ---------- reveal ---------- */
.rv{opacity:0;transform:translateY(18px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .cards{grid-template-columns:1fr;gap:38px}
  .cards .card:nth-child(2){margin-top:0}
  .prose .cols{grid-template-columns:1fr}
  footer .top{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  nav{display:none}
  nav.open{
    display:flex;flex-direction:column;position:fixed;inset:0;background:var(--paper);
    color:var(--ink);align-items:center;justify-content:center;gap:26px;z-index:60;
  }
  nav.open a{font-size:14px}
  .burger{display:block;z-index:70}
  .split{grid-template-columns:1fr;padding-block:clamp(46px,10vw,80px)}
  .bleed-right figure,.bleed-left figure{margin-inline:calc(var(--pad) * -1)}
  .split figure figcaption{position:static;margin-top:10px;display:block}
  .pack{grid-template-columns:1fr;gap:14px}
  .gallery .grid{grid-template-columns:repeat(6,1fr)}
  .g-a,.g-b,.g-c,.g-d,.g-e{grid-column:span 6}
  .g-b{aspect-ratio:16/11}
  .hero h1{max-width:none}
  .fab{display:block}
  footer .top{grid-template-columns:1fr;gap:30px}
  footer .bottom{padding-bottom:64px}
}

/* open mobile menu turns the header dark-on-light */
header:has(nav.open) .burger{color:var(--ink)}
header:has(nav.open) .logo img{filter:none}

/* ============================================================
   FOUR SECTIONS OF ONE MAGAZINE
   Each inner page opens in its own editorial register — cover
   story, still life, photo essay, profile — on one grid, one
   palette, one type system. Concept: ChatGPT, 26.08.2026.
   ============================================================ */

.on-light header{color:var(--ink)}
.on-light .logo img{filter:none}

/* shared marks: the small wine numeral and the journal caption */
.folio{
  font-family:var(--serif);font-size:clamp(13px,1.1vw,15px);
  letter-spacing:.22em;color:var(--wine);
}
.caption{
  font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:var(--muted);
}

/* ---------- 01 · Proposals — cinematic cover ---------- */
.h-cover{
  min-height:100svh;display:grid;grid-template-columns:38fr 62fr;
  align-items:center;background:var(--bg);padding-top:var(--mast);
}
.h-cover>*{min-width:0}
.h-cover .txt{padding:0 0 clamp(30px,5vh,56px) var(--pad);position:relative;z-index:2}
.h-cover h1{
  margin:.3em 0 0;font-size:clamp(40px,5.6vw,80px);
  width:152%;position:relative;
}
.h-cover .rule-w{width:64px;height:1px;background:var(--wine);margin:clamp(26px,4vh,44px) 0 18px}
.h-cover figure{margin:0;height:calc(100svh - var(--mast));position:relative}
.h-cover figure img{width:100%;height:100%;object-fit:cover}
/* the headline crosses onto the photo — this keeps it readable there */
.h-cover figure::before{
  content:"";position:absolute;inset:0 auto 0 0;width:42%;z-index:1;
  background:linear-gradient(90deg,var(--bg) 0%,rgba(243,242,240,.72) 42%,rgba(243,242,240,0) 100%);
}
.h-cover .foot{display:flex;gap:26px;align-items:baseline;margin-top:clamp(24px,4vh,40px)}

/* ---------- 02 · Flowers — luxury still life ---------- */
.h-still{
  min-height:100svh;background:var(--bg);display:grid;align-items:center;
  padding-block:calc(var(--mast) + clamp(20px,3vh,40px)) clamp(40px,6vh,64px);
}
.h-still .stage{
  position:relative;display:flex;align-items:center;justify-content:center;
  gap:clamp(26px,4vw,64px);
}
.h-still figure{margin:0;flex:0 0 auto;width:min(31%,400px)}
.h-still figure img{width:100%;height:auto}
.h-still h1{
  position:static;flex:0 1 auto;max-width:min(46%,540px);
  font-size:clamp(30px,4.4vw,62px);line-height:1.06;
}
.h-still .folio{position:absolute;left:0;bottom:-34px}
.h-still .caption{position:absolute;right:0;bottom:-34px;text-align:right}

/* ---------- 03 · Celebrations — editorial collage ---------- */
.h-essay{
  min-height:100svh;background:var(--bg);display:grid;align-content:center;
  padding-block:calc(var(--mast) + clamp(8px,1.4vh,20px)) clamp(24px,3vh,40px);
}
.h-essay .plate{
  display:grid;grid-template-columns:repeat(12,1fr);
  grid-template-rows:auto auto;gap:clamp(12px,2vw,28px);align-items:start;
}
/* figure has UA margins 1em 40px — without this reset the collage drifts apart */
.h-essay figure{margin:0}
.h-essay .wide{grid-column:1/8;grid-row:1;aspect-ratio:16/10;max-height:40svh;overflow:hidden}
.h-essay .tall{grid-column:9/13;grid-row:1/3;aspect-ratio:5/7;max-height:63svh;overflow:hidden;margin-top:0}
.h-essay .detail{grid-column:1/3;grid-row:2;aspect-ratio:1/1;max-height:23svh;overflow:hidden;margin-top:clamp(10px,1.4vw,18px)}
.h-essay img{width:100%;height:100%;object-fit:cover}
.h-essay .title{grid-column:3/9;grid-row:2;align-self:start;padding:clamp(14px,2.4vh,32px) 0 0 clamp(18px,3vw,52px)}
.h-essay h1{font-size:clamp(34px,4.6vw,66px);margin:.28em 0 0}
.h-essay .title .caption{display:block;margin-top:clamp(14px,2.2vh,24px);max-width:none;line-height:1.9}

/* ---------- 04 · About — profile feature ---------- */
.h-profile{min-height:100svh;display:grid;grid-template-columns:53fr 47fr;background:var(--bg);padding-top:var(--mast)}
.h-profile figure{margin:0;height:calc(100svh - var(--mast))}
.h-profile figure img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.h-profile .txt{
  display:flex;flex-direction:column;justify-content:center;
  padding:0 var(--pad) clamp(30px,5vh,56px) clamp(30px,5vw,80px);
}
.h-profile h1{margin:.3em 0 .6em;font-size:clamp(38px,5vw,74px)}
.h-profile .intro{max-width:38ch;color:#3a3835}
.h-profile .sig{
  font-family:var(--serif);font-style:italic;font-size:clamp(16px,1.5vw,20px);
  color:var(--muted);margin-top:clamp(26px,4vh,44px);
}

/* ---------- mobile: each register re-thought, not squeezed ---------- */
@media (max-width:860px){
  /* the burger has to be reachable wherever you are on the page */
  header{position:fixed;background:var(--bg);z-index:50}
  .on-dark header{background:transparent}
  body{padding-top:0}

  .h-cover{grid-template-columns:1fr;min-height:0}
  .h-cover figure{height:44svh;order:-1}
  .h-cover figure img{object-position:50% 8%}
  .h-cover figure::before{display:none}
  .h-cover .txt{padding:clamp(28px,5vw,40px) var(--pad) clamp(40px,7vw,56px)}
  .h-cover h1{width:auto;font-size:clamp(36px,10vw,52px)}

  .h-still{min-height:0;padding-block:clamp(104px,17vh,140px) clamp(40px,8vw,60px)}
  .h-still .stage{flex-direction:column;align-items:center;gap:0}
  .h-still figure{width:min(70%,320px)}
  .h-still h1{
    position:static;transform:none;text-align:center;max-width:100%;
    font-size:clamp(32px,9vw,48px);margin-top:clamp(24px,5vw,38px);
  }
  .h-still .folio,.h-still .caption{position:static;text-align:center;margin-top:16px}

  .h-essay{min-height:0;padding-block:clamp(104px,17vh,140px) clamp(36px,7vw,54px)}
  /* на телефоні три кадри мали різну ширину й різні відступи — читалось як розкидані.
     Тепер спільні краї: широкий кадр на всю ширину, під ним два однакових */
  .h-essay .plate{grid-template-columns:repeat(6,1fr);grid-template-rows:auto;align-items:start}
  .h-essay .title{grid-column:1/7;grid-row:1;padding:0}
  .h-essay .wide{grid-column:1/7;grid-row:2;aspect-ratio:16/10;max-height:none;margin-top:0}
  .h-essay .tall{grid-column:1/4;grid-row:3;aspect-ratio:4/5;max-height:none;margin-top:0}
  .h-essay .detail{grid-column:4/7;grid-row:3;aspect-ratio:4/5;max-height:none;margin-top:0}

  .h-profile{grid-template-columns:1fr;min-height:0}
  .h-profile figure{height:37svh}
  .h-profile figure img{object-position:50% 15%}
  .h-profile .txt{padding:clamp(28px,5vw,40px) var(--pad) clamp(40px,7vw,56px)}
}

/* a hairline under the masthead ties the four registers together */
.on-light header{height:var(--mast);padding-block:0}
.on-light header::after{
  content:"";position:absolute;left:var(--pad);right:var(--pad);bottom:0;
  height:1px;background:var(--line);
}
.on-light nav a[aria-current]{color:var(--wine)}

/* on the inner covers the headline itself carries the accent */
.h-cover h1,.h-still h1,.h-essay h1,.h-profile h1{color:var(--wine)}
.h-cover .kicker,.h-still .folio,.h-essay .folio,.h-profile .kicker,.h-profile .folio,
.h-cover .folio,.h-essay .title .caption,.h-still .caption{color:var(--wine)}
.h-cover .caption{color:var(--muted)}

/* ---------- the front page: same cover register, but it is the issue cover ---------- */
.h-cover.front{grid-template-columns:44fr 56fr}
.h-cover.front h1{color:var(--ink);width:auto;max-width:14ch}
.h-cover.front .kicker{color:var(--muted)}
.h-cover.front figure::before{display:none}
.h-cover.front .sub{max-width:40ch;color:#3a3835;margin:clamp(20px,3vh,30px) 0 clamp(24px,3.5vh,36px)}
.h-cover.front .btn{margin-bottom:clamp(26px,4vh,46px)}
.h-cover.front .foot{
  display:flex;gap:24px;align-items:center;justify-content:space-between;
  border-top:1px solid var(--line);padding-top:20px;
  max-width:min(100%,520px);margin-top:0;
}
@media (max-width:860px){
  .h-cover.front{grid-template-columns:1fr}
  .h-cover.front figure{height:30svh}
  .h-cover.front h1{font-size:clamp(30px,8.4vw,42px)}
  .h-cover.front .foot{display:none}
  .h-cover.front h1{width:auto}
  .h-cover.front .foot{max-width:none;flex-wrap:wrap;gap:14px}
}

/* ---------- the film: second block on the front page ---------- */
.film{padding-block:clamp(48px,7vw,96px) clamp(40px,6vw,80px);background:var(--paper)}
.player{
  position:relative;width:100%;margin:clamp(16px,2.2vw,26px) 0 0;
  aspect-ratio:1600/690;background:#0d0c0c;overflow:hidden;
}
.player video{width:100%;height:100%;object-fit:cover;display:block}
.play{
  position:absolute;inset:0;margin:auto;width:84px;height:84px;
  border:1px solid rgba(255,255,255,.75);border-radius:50%;
  background:rgba(14,12,12,.18);cursor:pointer;
  transition:background .35s,border-color .35s,transform .35s;
}
.play::before{
  content:"";position:absolute;top:50%;left:calc(50% + 3px);
  transform:translate(-50%,-50%);
  border-left:15px solid #fff;border-top:9px solid transparent;border-bottom:9px solid transparent;
}
.play:hover{background:rgba(109,21,34,.72);border-color:transparent;transform:scale(1.06)}
.player.playing .play{display:none}
.film-foot{
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:clamp(12px,1.8vw,18px);
}
@media (max-width:760px){
  /* 2.32:1 collapses to a 144px strip on a phone — crop the sides instead */
  .player{aspect-ratio:16/10}
  .play{width:62px;height:62px}
  .play::before{border-left-width:12px;border-top-width:7px;border-bottom-width:7px}
}

/* ---------- front page: accent block, photoshoot strip ---------- */
.accent{background:var(--paper)}
.accent .split{margin:0}
.services .head a.link-arrow{align-self:end;padding-bottom:6px}
.shoots{padding-block:clamp(56px,8vw,110px)}
.shoots .head{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:end;margin-bottom:clamp(28px,4vw,52px)}
.shoots .strip{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(8px,1.2vw,16px)}
.shoots .strip img{width:100%;aspect-ratio:3/4;object-fit:cover}
@media (max-width:760px){
  .shoots .strip{grid-template-columns:repeat(2,1fr)}
}

/* ---------- carousel: her 'all photos through a slider' ---------- */
.carousel{position:relative;margin-top:clamp(18px,2.6vw,32px)}
.track{
  display:flex;gap:clamp(8px,1.2vw,16px);overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;
}
.track::-webkit-scrollbar{display:none}
.track img{
  flex:0 0 clamp(260px,30vw,420px);width:clamp(260px,30vw,420px);
  aspect-ratio:3/4;object-fit:cover;scroll-snap-align:start;
}
.car-nav{display:flex;gap:10px;margin-top:clamp(14px,2vw,20px);justify-content:flex-end}
.car-nav button{
  width:46px;height:46px;border:1px solid var(--line);background:none;cursor:pointer;
  color:var(--ink);transition:background .3s,color .3s,border-color .3s;
  display:grid;place-items:center;font:300 18px/1 var(--sans);
}
.car-nav button:hover{background:var(--wine);color:#fff;border-color:transparent}
@media (max-width:760px){
  .track img{flex-basis:78vw;width:78vw}
  .car-nav{justify-content:center}
}

@media (max-width:760px){
  .cta img.bg{object-position:82% 50%}
  .cta::after{background:linear-gradient(180deg,rgba(14,12,12,.5),rgba(14,12,12,.72))}
}

/* ---------- request channels in the dialog ---------- */
.channels{display:flex;gap:12px;margin-top:clamp(24px,4vw,34px);flex-wrap:wrap}
.channels .btn{flex:1 1 auto;text-align:center;min-width:140px}
.dlg .kicker{display:block}

/* ---------- client reviews ---------- */
.reviews{padding-block:clamp(56px,8vw,110px);background:var(--paper)}
.quotes{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:clamp(20px,3vw,44px);margin-top:clamp(28px,4vw,52px);
}
.quotes figure{margin:0;padding-top:clamp(18px,2.4vw,28px);border-top:1px solid var(--line)}
.quotes blockquote{
  margin:0;font-family:var(--serif);font-weight:300;
  font-size:clamp(19px,1.9vw,26px);line-height:1.42;color:var(--ink);
}
.quotes blockquote::before{content:"\201C";color:var(--wine);margin-right:.08em}
.quotes blockquote::after{content:"\201D";color:var(--wine)}
@media (max-width:760px){
  .quotes{grid-template-columns:1fr;gap:26px}
}

/* ---------- vertical iPhone film on the proposals page ---------- */
.clip{padding-block:clamp(48px,7vw,96px);background:var(--paper)}
.vplayer{
  position:relative;margin:clamp(18px,2.6vw,30px) auto 0;
  width:min(360px,82vw);aspect-ratio:9/16;background:#0d0c0c;overflow:hidden;
}
.vplayer video{width:100%;height:100%;object-fit:cover;display:block}
.vplayer.playing .play{display:none}


/* Заголовок головної на телефоні. Базове .h-cover.front h1 вище тримає max-width:14ch —
   це 62% ширини колонки, звідси рвані рядки. Блок мусить стояти ПІСЛЯ нього,
   інакше не спрацює: медіазапит не додає специфічності, вирішує порядок у файлі. */
@media (max-width:860px){
  .h-cover.front h1{max-width:none;font-size:clamp(38px,11vw,64px);text-wrap:balance}
}
/* ---------- locations: town by town ---------- */
.places{padding-block:clamp(20px,3vw,40px) clamp(56px,8vw,110px)}
.place{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(20px,4vw,56px);align-items:center;
  padding-block:clamp(26px,4vw,50px);border-top:1px solid var(--line);
}
.places .place:last-child{border-bottom:1px solid var(--line)}
.place .ph{overflow:hidden;aspect-ratio:4/3}
.place .ph img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.place:hover .ph img{transform:scale(1.04)}
.place h2{font-family:var(--serif);font-weight:300;font-size:clamp(24px,3vw,38px);margin:0 0 .45em}
.place .body{max-width:56ch}
.place:nth-child(even) .ph{order:2}
@media (max-width:760px){
  .place{grid-template-columns:1fr;gap:18px}
  .place:nth-child(even) .ph{order:0}
}

/* ---------- inline editor (only visible in ?admin=1) ---------- */
#adminbar{
  position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:9999;
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;
  background:var(--ink);color:#f3f2f0;padding:12px 18px;
  font:300 13px/1 var(--sans);box-shadow:0 -8px 30px rgba(0,0,0,.18);
  max-width:100vw;
}
#adminbar button{
  font:400 11px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;
  padding:11px 16px;border:1px solid rgba(255,255,255,.35);background:none;color:inherit;cursor:pointer;
}
#adminbar button:hover{background:rgba(255,255,255,.12)}
#adminbar button.primary{background:var(--wine);border-color:var(--wine)}
#adminbar .ab-hint{opacity:.6;font-size:12px}
#adminbar.busy{opacity:.6;pointer-events:none}
body.admin .ab-edit:hover{outline:1px dashed rgba(109,21,34,.5);outline-offset:3px}
body.admin .ab-edit:focus{outline:2px solid var(--wine);outline-offset:3px}
body.admin .ab-photo{cursor:pointer}
body.admin .ab-photo:hover{outline:2px dashed rgba(109,21,34,.6);outline-offset:-2px}
body.admin .ab-picked{outline:3px solid var(--wine);outline-offset:-3px}
body.admin{padding-bottom:64px}
@media (max-width:760px){
  #adminbar .ab-hint{display:none}
}
