/* ============================================================
   W CLUB — EDITORIAL · Fraunces + Newsreader + Hanken Grotesk
   Private hair lounge, Etu-Töölö. Warm paper & ink. Light only.
   No third-party requests.
   ============================================================ */

@font-face {
  font-family: "Fraunces"; src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2018-201F,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Fraunces"; src: url("/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2018-201F,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Newsreader"; src: url("/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2018-201F,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Hanken"; src: url("/fonts/hanken-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2018-201F,U+FEFF,U+FFFD;
}

:root {
  color-scheme: only light;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-label: "Hanken", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* fluid type — dramatic editorial scale */
  --fs-display: clamp(3rem, 0.93rem + 9.6vw, 9.5rem);
  --fs-h1:      clamp(2.1rem, 1.19rem + 4.24vw, 5.25rem);
  --fs-h2:      clamp(1.7rem, 1.28rem + 1.95vw, 3.1rem);
  --fs-h3:      clamp(1.3rem, 1.12rem + 0.84vw, 1.9rem);
  --fs-quote:   clamp(1.6rem, 1.12rem + 2.23vw, 3.25rem);
  --fs-body:    clamp(1.06rem, 1.0rem + 0.28vw, 1.25rem);
  --fs-small:   clamp(0.9rem, 0.87rem + 0.14vw, 0.97rem);
  --fs-label:   clamp(0.69rem, 0.66rem + 0.14vw, 0.78rem);

  --lh-display: 0.98;
  --lh-h1: 1.03;
  --lh-h2: 1.1;
  --lh-h3: 1.22;
  --lh-quote: 1.16;
  --lh-body: 1.66;

  --ls-display: -0.02em;
  --ls-h1: -0.018em;
  --ls-h2: -0.012em;
  --ls-h3: -0.006em;
  --ls-quote: -0.014em;
  --ls-label: 0.22em;

  --measure: 60ch;
  --measure-tight: 42ch;
  --margin-page: clamp(1.4rem, -0.9rem + 9.8vw, 8.5rem);
  --section-pad: clamp(6rem, 3.7rem + 9.8vw, 13rem);
  --gutter: clamp(1.25rem, 0.4rem + 3.6vw, 2.75rem);
  --sticky-offset: 6rem;

  --bone:        #ECE9E1;   /* cool plaster — off the cream */
  --paper:       #F3F0E9;
  --bone-deep:   #E1DDD2;
  --ink:         #18171B;   /* cool near-black */
  --ink-muted:   #524D42;   /* AA on bone */
  --ink-faint:   #77715F;   /* ≥14px only */
  --rule:        #D2CABB;
  --rule-strong: #7E766A;
  --accent:      #7A2E2E;   /* oxblood — the signature, used sparingly */
  --accent-ink:  #6A2727;
  --focus:       #6A2727;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(66px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { max-width: var(--measure); text-wrap: pretty; margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 380; margin: 0;
  text-wrap: balance; hyphens: none; overflow-wrap: normal;
  padding-block: 0.06em; overflow: visible; font-variation-settings: "opsz" 144;
}
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: 340; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); font-weight: 360; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); font-weight: 440; }

.lead, blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--fs-quote); line-height: var(--lh-quote); letter-spacing: var(--ls-quote);
  margin: 0; max-width: 20ch;
}

.label {
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 500;
  line-height: 1.2; letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--ink-muted); margin: 0;
}
.label--accent { color: var(--accent-ink); }

.caption { font-family: var(--font-label); font-size: var(--fs-small); line-height: 1.55; color: var(--ink-faint); max-width: var(--measure-tight); margin: 0; }

.data, .price, .duration { font-family: var(--font-label); font-variant-numeric: tabular-nums lining-nums; }

hr, .rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

a { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); transition: border-color .2s var(--ease), color .2s var(--ease); }
a:hover { border-bottom-color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--bone); padding: 12px 20px; font-family: var(--font-label); font-size: var(--fs-small); }
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- layout ---- */
.wrap { max-width: 1560px; margin-inline: auto; padding-inline: var(--margin-page); }
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * .58); }
@media (min-width: 768px) { .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } }

.bleed { margin-inline: calc(50% - 50vw); width: 100vw; padding-inline: max(var(--margin-page), calc(50vw - 780px + var(--margin-page))); }
.band-deep { background: var(--bone-deep); }
.block-ink { background: var(--ink); color: var(--bone); }
.block-ink .label { color: rgba(236,233,225,.6); }
.block-ink a { color: var(--bone); border-bottom-color: rgba(236,233,225,.4); }

/* section head: numbered kicker on a hairline */
.head { display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--rule); padding-top: 15px; margin-bottom: clamp(2.4rem, 1.4rem + 3vw, 4.5rem); }
.head__no { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--accent); font-weight: 600; }

/* ---- header ---- */
.hdr { position: relative; z-index: 40; height: 66px; display: flex; align-items: center; gap: 20px; }
@media (min-width: 768px) { .hdr { height: 92px; } }
.hdr__mark { border: 0; display: block; flex: none; }
.hdr__mark svg { display: block; height: 13px; width: auto; color: var(--ink); }
@media (min-width: 768px) { .hdr__mark svg { height: 15px; } }
.hdr__nav { display: none; }
@media (min-width: 768px) { .hdr__nav { display: flex; align-items: center; gap: 34px; } }
.hdr__nav a, .lang a { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-muted); border: 0; }
.hdr__nav a:hover, .lang a:hover { color: var(--ink); }
.lang { font-family: var(--font-label); display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--rule-strong); }
.lang b { font-weight: 600; color: var(--ink); }
.hdr__book { color: var(--ink) !important; border-bottom: 1px solid var(--rule-strong) !important; padding-bottom: 3px; }
.hdr--pin { position: fixed; inset: 0 0 auto 0; background: var(--bone); transform: translateY(-100%); height: 72px; border-bottom: 1px solid var(--rule); padding-inline: var(--margin-page); z-index: 45; display: none; }
@media (min-width: 768px) { .hdr--pin { display: flex; align-items: center; gap: 20px; transition: transform .3s var(--ease); } .hdr--pin.is-on { transform: translateY(0); } }

/* ---- CTA ---- */
.cta { display: inline-block; position: relative; font-family: var(--font-label); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border: 0; padding: 17px 0; min-height: 48px; background: none; cursor: pointer; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transition: height .24s var(--ease); }
.cta:hover::after, .cta:focus-visible::after, .cta:active::after { height: 3px; }
.cta__note { font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink-faint); margin: 13px 0 0; }
.cta--box { border: 1px solid rgba(236,233,225,.5); color: var(--bone); min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 44px; width: min(340px,100%); transition: background-color .24s var(--ease), border-color .24s var(--ease); }
.cta--box::after { display: none; }
.cta--box:hover, .cta--box:focus-visible { background: rgba(236,233,225,.07); border-color: var(--bone); }

/* ---- hero ---- */
.hero { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.hero__inner { flex: 1 1 auto; display: flex; flex-direction: column; }
.hero__eyebrow { border-top: 1px solid var(--rule); padding-top: 15px; margin-top: clamp(1.6rem, 4vh, 3.5rem); }
.hero__title { margin-top: clamp(1.1rem, 3vh, 2rem); }
.hero__title--top { margin-top: 0; border-top: 1px solid var(--rule); padding-top: clamp(1.4rem, 3vh, 2.4rem); }
.hero__title em { font-style: italic; font-weight: 400; }
.hero__sub { font-family: var(--font-body); margin-top: clamp(1.4rem, 3vh, 2rem); color: var(--ink-muted); max-width: var(--measure-tight); }
.hero__cta { margin-top: clamp(1.6rem, 3vh, 2.4rem); }
.hero__fig { margin: clamp(2rem, 4vh, 3rem) 0 0; flex: 1 1 auto; min-height: 200px; overflow: hidden; }
.hero__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
/* video hero */
.hero__fig--video { position: relative; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__poster { z-index: 0; }
.hero__video { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.cue { display: none; }
@media (min-width: 768px) {
  .hero { min-height: calc(100vh - 92px); min-height: calc(100dvh - 92px); }
  .hero__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; padding-block: clamp(2rem, 6vh, 5rem); }
  .hero__text { grid-column: 1 / span 6; }
  .hero__fig { grid-column: 8 / span 5; margin: 0; min-height: 0; overflow: hidden; }
  .hero__fig img { aspect-ratio: 3 / 2; }
  .hero__fig--video { aspect-ratio: 4 / 5; }
  .cue { display: block; margin-top: 42px; }
  .cue__line { width: 1px; height: 58px; background: var(--rule-strong); transform-origin: top; transform: scaleY(0); }
  .js .cue__line { transition: transform .9s var(--ease); }
  .cue.is-drawn .cue__line { transform: scaleY(1); }
  .cue__txt { font-family: var(--font-label); font-size: 11px; color: var(--ink-faint); margin-top: 12px; letter-spacing: var(--ls-label); text-transform: uppercase; }
  .cue.is-gone { opacity: 0; transition: opacity .4s var(--ease); }
}
.fig__credit { font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink-faint); margin: 12px 0 0; }

/* hero conversion extras */
.hero__consult { display: inline-block; margin-top: 15px; font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink-muted); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.hero__consult:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.hero__essentials { margin-top: 26px; border-top: 1px solid var(--rule); padding-top: 15px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.hero__essentials .rating { border: 0; color: var(--accent-ink); font-weight: 600; }
.hero__essentials .rating:hover { color: var(--accent); }

/* reassurance strip (hero → 01) */
.reassure { padding-block: 0; }
.reassure ul { display: flex; flex-wrap: wrap; gap: 12px clamp(28px, 5vw, 72px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.reassure li { font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink); position: relative; padding-left: 20px; max-width: 42ch; }
.reassure li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- kasityo (thesis) ---- */
@media (min-width: 768px) { .kasityo__body { grid-column: 3 / span 7; } }
.kasityo__body p { font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.5rem); line-height: 1.5; max-width: 30ch; color: var(--ink); }
.kasityo__body p + p { margin-top: 1.2em; color: var(--ink-muted); font-size: var(--fs-body); line-height: var(--lh-body); max-width: var(--measure-tight); }

/* ---- ote (centrepiece image + quote) ---- */
.ote { padding-block: 0; }
.ote__fig { width: 100%; }
.ote__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ote__q { padding-block: clamp(3.5rem, 7vw, 7rem); text-align: center; display: flex; flex-direction: column; align-items: center; }
.ote__q blockquote { max-width: 24ch; }
.ote__q cite { display: block; font-family: var(--font-label); font-style: normal; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-faint); margin-top: 26px; }

/* ---- työt (gallery) ---- */
.plates { margin-top: clamp(3rem, 6vw, 5rem); }
.plate + .plate { margin-top: 88px; }
@media (min-width: 768px) {
  /* 2-up editorial gallery — halves the single-column height */
  .plates { column-count: 2; column-gap: clamp(28px, 4vw, 72px); }
  .plate { break-inside: avoid; display: inline-block; width: 100%; }
  .plate + .plate { margin-top: 0; }
  .plate { margin: 0 0 clamp(56px, 6vw, 120px); }
  .plate:nth-child(4) { margin-top: clamp(64px, 9vw, 150px); } /* stagger the right column down */
}
.plate__frame { overflow: hidden; }
.plate__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.plate__label { margin-top: 22px; }
.plate__service { font-family: var(--font-body); font-size: 1.05rem; color: var(--ink); margin: 8px 0 0; }
.plate__meta { font-family: var(--font-label); font-size: 13px; color: var(--ink-faint); margin: 5px 0 0; letter-spacing: .02em; }

/* ---- leikkaus ---- */
@media (min-width: 768px) { .cut__fig { grid-column: 1 / span 7; } .cut__text { grid-column: 9 / span 4; align-self: end; padding-bottom: 6vh; } }
.cut__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cut__text { margin-top: 2.5rem; }
@media (min-width: 768px) { .cut__text { margin-top: 0; } }
.cut__text p { margin-top: 1.4rem; color: var(--ink-muted); max-width: var(--measure-tight); }

/* ---- käynti (staircase) ---- */
.step { border-top: 1px solid var(--rule); padding: 40px 0; position: relative; padding-left: 46px; }
.step__n { position: absolute; left: 0; top: 40px; font-family: var(--font-display); font-weight: 340; font-size: var(--fs-h3); color: var(--accent); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-muted); max-width: var(--measure-tight); }
@media (min-width: 768px) {
  .step { padding: 60px 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding-left: 0; }
  .step__n { position: static; grid-column: 1 / span 1; font-size: var(--fs-h2); }
  .step__body { grid-column: 2 / span 6; }
  .step:nth-child(2) .step__body { grid-column: 3 / span 6; }
  .step:nth-child(3) .step__body { grid-column: 4 / span 6; }
  .step:nth-child(4) .step__body { grid-column: 5 / span 6; }
}
.kaynti__cta { margin-top: 3rem; }

/* ---- hinnasto ---- */
.pricing { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pgroup + .pgroup { margin-top: 88px; }
@media (min-width: 768px) { .pgroup + .pgroup { margin-top: 130px; } }
.pgroup__head { border-top: 1px solid var(--rule-strong); padding-top: 15px; margin-bottom: 6px; }
.pgroup__head h2 { margin-top: 8px; }
.prow { display: block; border-top: 1px solid var(--rule); padding: 26px 0 24px; color: inherit; }
.prow__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.prow__name { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); }
.prow__meta { display: flex; align-items: baseline; gap: 20px; flex: none; }
.prow__dur { font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink-muted); }
.prow__price { font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink); }
.prow__desc { font-size: var(--fs-body); color: var(--ink-muted); max-width: var(--measure-tight); margin: 10px 0 0; }
.prow__book { display: block; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-top: 12px; }
@media (min-width: 768px) {
  .prow { display: grid; grid-template-columns: 1fr 130px 170px; gap: var(--gutter); padding: 40px 0 38px; align-items: start; }
  .prow__top, .prow__meta { display: contents; }
  .prow__name { grid-column: 1; grid-row: 1; }
  .prow__desc { grid-column: 1; grid-row: 2; margin-top: 12px; }
  .prow__dur { grid-column: 2; grid-row: 1; text-align: right; }
  .prow__price { grid-column: 3; grid-row: 1; text-align: right; }
  .prow__book { grid-column: 3; grid-row: 2; text-align: right; margin-top: 12px; opacity: 0; transition: opacity .2s ease-out; }
  .prow:hover .prow__book, .prow:focus-visible .prow__book { opacity: 1; }
  .prow:hover { border-top-color: var(--rule-strong); transition: border-color .2s ease-out; }
}
.pricing__foot { border-top: 1px solid var(--rule-strong); padding-top: 20px; margin-top: 46px; font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink-muted); max-width: var(--measure); line-height: 1.6; }

/* ---- joni ---- */
@media (min-width: 768px) { .joni__fig { grid-column: 1 / span 6; } .joni__text { grid-column: 8 / span 5; align-self: end; padding-bottom: 4vh; } }
.joni__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.joni__text { margin-top: 2.5rem; }
@media (min-width: 768px) { .joni__text { margin-top: 0; } }
.joni__text p { color: var(--ink-muted); max-width: var(--measure-tight); }
.joni__quote { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.joni__quote cite { display: block; font-family: var(--font-label); font-style: normal; font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 14px; }
.portrait-pending { aspect-ratio: 4 / 5; background: var(--bone-deep); border: 1px dashed var(--rule-strong); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }

/* ---- tila ---- */
@media (min-width: 768px) { .tila__fig { grid-column: 1 / span 8; } }
.tila__fig img { width: 100%; }
.tila__h { margin-top: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.tila__p { margin-top: 1.4rem; color: var(--ink-muted); max-width: var(--measure-tight); }
.tila__cols { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 0; }
@media (min-width: 768px) { .tila__cols { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
.tcol { border-top: 1px solid var(--rule); padding: 22px 0; }
.tcol h3 { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-muted); }
.tcol li { font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink); margin-top: 7px; line-height: 1.5; }
.tcol li:first-of-type { margin-top: 14px; }
.tcol a { font-family: var(--font-label); font-size: var(--fs-small); }

/* ---- käytännöt ---- */
.practical { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 768px) { .practical { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); } }
.pcol h3 { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-muted); border-top: 1px solid var(--rule-strong); padding-top: 15px; }
.pcol li { font-size: var(--fs-small); line-height: 1.62; color: var(--ink-muted); border-top: 1px solid var(--rule); padding: 16px 0; }
.pcol li:first-of-type { margin-top: 18px; }
.pcol strong { color: var(--ink); font-weight: 400; font-family: var(--font-body); }
.pcol__links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--font-label); font-size: var(--fs-small); }

/* ---- varaa ---- */
.varaa { min-height: 72vh; min-height: 72dvh; display: flex; align-items: center; justify-content: center; text-align: center; }
.varaa__in { display: flex; flex-direction: column; align-items: center; }
.varaa__hair { width: 120px; height: 1px; background: rgba(236,233,225,.25); }
.varaa .label { margin-top: 28px; }
.varaa h2 { margin-top: 22px; font-size: var(--fs-h1); line-height: var(--lh-h1); max-width: 15ch; }
.varaa .cta { margin-top: 38px; color: var(--bone); }
.varaa .cta::after { background: rgba(236,233,225,.5); }
.varaa__note { font-family: var(--font-label); font-size: var(--fs-small); color: rgba(236,233,225,.7); margin-top: 22px; max-width: 44ch; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--rule); padding-top: 42px; padding-bottom: 58px; font-family: var(--font-label); font-size: var(--fs-small); line-height: 1.6; }
.foot__cols { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot__cols { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); } }
.foot h3 { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-faint); margin-bottom: 13px; }
.foot li { color: var(--ink-muted); }
.foot a { color: var(--ink-muted); border-bottom-color: var(--rule); }
.foot a:hover { color: var(--ink); }
.foot__bottom { border-top: 1px solid var(--rule); margin-top: 42px; padding-top: 20px; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---- sticky bar ---- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(66px + env(safe-area-inset-bottom)); padding: 0 var(--margin-page) env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--rule-strong); display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink); border-bottom: 0; transform: translateY(100%); opacity: 0; }
.js .bar { transition: transform .32s var(--ease), opacity .32s var(--ease); }
.bar.is-on { transform: translateY(0); opacity: 1; }
.bar__cta { font-family: var(--font-label); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bar__mark { display: flex; align-items: center; }
.bar__mark svg { height: 11px; width: auto; color: var(--ink); display: block; }
@media (min-width: 768px) { .bar { display: none; } }

/* ---- doc pages ---- */
.doc { max-width: 66ch; }
.doc h1 { margin-bottom: 2.5rem; }
.doc h2 { font-size: var(--fs-h3); margin-top: 2.6rem; margin-bottom: .7rem; }
.doc p { color: var(--ink-muted); }
.doc__back { margin-top: 4rem; display: inline-block; font-family: var(--font-label); font-size: var(--fs-small); }

/* ---- motion ---- */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv--d.is-in { transition-delay: .12s; }
.js .hairline { transform: scaleX(0); transform-origin: left; }
.js .hairline.is-in { transform: scaleX(1); transition: transform .9s var(--ease); }
@media (hover: hover) {
  .plate__frame img, .cut__fig img, .tila__fig img, .ote__fig img { transition: transform .7s var(--ease); }
  .cut__fig:hover img, .tila__fig:hover img { transform: scale(1.025); transition-duration: .9s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .js .hairline { transform: none !important; }
  .cue__line { transform: scaleY(1) !important; }
}

/* ---- mobile image system: full-bleed statement images + tight 2-up gallery ---- */
@media (max-width: 767px) {
  :root { --section-pad: 4.75rem; }
  /* statement images edge-to-edge (text stays inset) */
  .hero__fig, .cut__fig, .tila__fig { margin-inline: calc(50% - 50vw); width: 100vw; }
  .cut__fig img, .tila__fig img { aspect-ratio: 3 / 4; }
  /* gallery: tight 2-column contact-sheet, full width */
  .plates { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-inline: calc(50% - 50vw); width: 100vw; }
  .plate, .plate + .plate { margin: 0; }
  .plate__frame img { aspect-ratio: 4 / 5; }
  /* craft interstitial: give it a touch more height on mobile */
  .ote__fig img { aspect-ratio: 4 / 5; }
}

/* ---- preview gate (password: rok) ---- */
html:not(.unlocked) { overflow: hidden; }
#gate { position: fixed; inset: 0; z-index: 9999; background: var(--bone); display: flex; align-items: center; justify-content: center; padding: var(--margin-page); }
.unlocked #gate { display: none; }
.gate__in { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gate__mark svg { height: 20px; width: auto; color: var(--ink); display: block; }
.gate__label { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--accent-ink); margin: 30px 0 0; }
.gate__form { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 38px; }
.gate__input { font-family: var(--font-body); font-size: 1.05rem; text-align: center; padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule-strong); color: var(--ink); border-radius: 0; -webkit-appearance: none; }
.gate__input::placeholder { color: var(--ink-faint); }
.gate__input:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--accent); }
.gate__btn { font-family: var(--font-label); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 16px; min-height: 52px; background: var(--ink); color: var(--bone); border: 0; cursor: pointer; transition: background-color .2s var(--ease); }
.gate__btn:hover, .gate__btn:focus-visible { background: var(--accent); }
.gate__hint { font-family: var(--font-label); font-size: var(--fs-small); color: var(--ink-faint); margin: 24px 0 0; }
.gate--err .gate__input { border-color: var(--accent); animation: gateShake .4s var(--ease); }
@keyframes gateShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 60% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .gate--err .gate__input { animation: none; } }

/* ---- placeholder review mode: ?tarkista ---- */
.check [data-ph] { background: rgba(124,78,48,.16); box-shadow: 0 0 0 2px rgba(124,78,48,.16); }
