/* Lale Çiçek Evi — the florist's album. Ground: margin paper (kenar suyu) in the season's colour, gold-flecked by
   js/paper.js. Content on burnished panels (ahar) framed by gold rules (cetvel). Gold marks only the active thing. */

@font-face { font-family: "Imbue"; src: url(../fonts/imbue-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Imbue"; src: url(../fonts/imbue-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ysabeau Office"; src: url(../fonts/ysabeau-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ysabeau Office"; src: url(../fonts/ysabeau-latin.woff2) format("woff2"); font-weight: 100 900; 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ysabeau Office"; src: url(../fonts/ysabeau-italic-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ysabeau Office"; src: url(../fonts/ysabeau-italic-latin.woff2) format("woff2"); font-weight: 100 900; 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #2a1b16; --ink-soft: #5b463a; --gold: #c9a04b; --gold-fill: #d6af58; --gold-hover: #e3c173; --gold-ink: #6c4f12;
  --margin: #6a2234; --panel: #f5e8e5; --line: #5a1a2a; --on-margin: #fbeee6; --on-margin-soft: #ecc9c7; --focus-m: #f0c86a;
  --display: "Imbue", "Bodoni 72", Didot, Georgia, serif;
  --text: "Ysabeau Office", "Segoe UI", system-ui, sans-serif;
  --bar: 64px; --gut: clamp(16px, 4vw, 56px); --space: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html[data-season="ilkbahar"] { --margin: #a5302a; --panel: #f8ece4; --line: #7c1f1b; --on-margin: #fbefe6; --on-margin-soft: #f6dcd0; --focus-m: #f6d27a; }
html[data-season="yaz"] { --margin: #d39a22; --panel: #f7efd8; --line: #6e4a08; --on-margin: #24170a; --on-margin-soft: #3a280f; --focus-m: #24170a; }
html[data-season="sonbahar"] { --margin: #6a2234; --panel: #f5e8e5; --line: #5a1a2a; --on-margin: #fbeee6; --on-margin-soft: #ecc9c7; --focus-m: #f0c86a; }
html[data-season="kis"] { --margin: #1f2c57; --panel: #eceef4; --line: #1a2448; --on-margin: #eef1f8; --on-margin-soft: #c9d1e6; --focus-m: #e6c56f; }

* { box-sizing: border-box; }
html { background: var(--margin); color: var(--on-margin); transition: background-color .9s var(--ease); scroll-padding-top: calc(var(--bar) + 16px);
  scrollbar-color: var(--gold) var(--margin); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; font-variant-numeric: lining-nums; overflow-x: clip; }
::selection { background: var(--gold-fill); color: var(--ink); }
input, textarea, select { caret-color: var(--line); }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus-m); outline-offset: 3px; }
.folio :focus-visible, .summary :focus-visible { outline-color: var(--line); }
h1, h2, h3 { font-family: var(--display); font-weight: 520; line-height: 1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin-bottom: .35em; }
h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--gold-fill); color: var(--ink); padding: .6em 1em; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
section { position: relative; }
main > section { padding-block: calc(var(--space) * .5); }
.sec-lede { font-size: 1.12rem; max-width: 62ch; }
.on-margin { color: var(--on-margin); }
.fine-print { font-size: .9rem; color: var(--ink-soft); max-width: 70ch; }

/* paper canvas behind everything */
#paper { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: none; }
html.gl #paper { display: block; }

/* ---------- the folio: ahar panel in gold cetvel ---------- */
.folio { position: relative; background: var(--panel); color: var(--ink); border: 3px solid var(--gold);
  box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 1px var(--ink); outline: 1px solid var(--gold); outline-offset: 5px;
  padding: clamp(22px, 3vw, 40px); transition: background-color .9s var(--ease); }
.folio::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); opacity: .35; pointer-events: none; }
.folio .fine-print { color: var(--ink-soft); }
.folio-wide { margin-top: 8px; }
html.anim .folio.draw-in::after { content: ""; position: absolute; inset: -3px; border: 3px solid var(--gold-hover); pointer-events: none;
  clip-path: inset(0 100% 100% 0); animation: none; }
html.anim .folio.draw-in.drawn::after { animation: cetvel 1.4s var(--ease) forwards; }
@keyframes cetvel { 0% { clip-path: inset(0 100% 100% 0); opacity: 1; } 55% { clip-path: inset(0 0 100% 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }

/* ---------- buttons and controls ---------- */
.gold, .btn-line, .tool { font: 600 1rem/1.2 var(--text); letter-spacing: .01em; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .5em; }
.gold { background: var(--gold-fill); color: #22170c; border: 1px solid var(--ink); padding: .85em 1.5em; min-height: 46px;
  box-shadow: inset 0 0 0 3px var(--gold-fill), inset 0 0 0 4px rgba(34, 23, 12, .55); transition: background-color .25s var(--ease); }
.gold:hover { background: var(--gold-hover); box-shadow: inset 0 0 0 3px var(--gold-hover), inset 0 0 0 4px rgba(34, 23, 12, .55); }
.btn-line { background: transparent; color: inherit; border: 1px solid currentColor; padding: .75em 1.2em; min-height: 44px; transition: background-color .25s var(--ease); }
.btn-line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.tool { background: transparent; color: var(--on-margin); border: 1px solid color-mix(in srgb, var(--on-margin) 55%, transparent); padding: .45em .8em; min-height: 38px; font-size: .92rem; }
.tool[aria-pressed="false"] { opacity: .8; text-decoration: line-through; }
.text-link { color: inherit; font-weight: 600; }
.cta-big { font-size: 1.1rem; padding: 1em 1.8em; }

.dk-label { font: 600 .82rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .6em; padding: 0; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: .4em .9em; border: 1px solid currentColor; font-weight: 600; font-size: .95rem; transition: background-color .2s var(--ease); }
.seg input:checked + span { background: var(--gold-fill); color: #22170c; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--focus-m); outline-offset: 2px; }
.folio .seg input:focus-visible + span { outline-color: var(--line); }
.seg label:hover span { background: color-mix(in srgb, currentColor 10%, transparent); }
.seg input:checked:hover + span { background: var(--gold-hover); }

/* stepper */
.step { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.step button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.step button:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.step button:disabled { opacity: .35; cursor: default; }
.step svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.step output { min-width: 2.2em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.step.has output { background: var(--gold-fill); align-self: stretch; display: grid; place-items: center; }
.on-margin-step .step, .derkenar .step { border-color: currentColor; }
.derkenar .step button { color: inherit; }
.derkenar .step.has output { color: #22170c; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 30; height: var(--bar); display: flex; align-items: center; gap: 20px; padding: 0 var(--gut);
  background: var(--margin); border-bottom: 1px solid var(--gold); box-shadow: 0 1px 0 0 var(--ink); transition: background-color .9s var(--ease); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-margin); flex: none; }
.brand-mark { width: 26px; height: 32px; }
.bm-stem { stroke: var(--gold); stroke-width: 1.6; fill: none; }
.bm-leaf { fill: var(--gold); }
.bm-head { fill: var(--on-margin); stroke: var(--gold); stroke-width: .8; }
.brand-word { display: flex; align-items: baseline; gap: .4em; }
.bw-1 { font-family: var(--display); font-size: 2rem; line-height: 1; font-weight: 560; }
.bw-2 { font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: clamp(10px, 1.4vw, 22px); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; padding: .3em 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.bar-tools { display: flex; gap: 8px; align-items: center; }
.bar-cta { min-height: 40px; padding: .55em 1.1em; }
@media (max-width: 1180px) { .nav { display: none; } .bar-tools { margin-left: auto; } }
@media (max-width: 560px) { .bw-2 { display: none; } .bar { gap: 10px; } .bar-tools .tool { padding: .4em .55em; } .bar-cta { padding: .5em .8em; font-size: .92rem; } }

/* ---------- hero ---------- */
.hero { padding-block: 22px 40px !important; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 480px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px);
  align-items: center; padding: 0 var(--gut); max-width: 1500px; margin: 0 auto; min-height: calc(100svh - var(--bar) - 62px); }
.hero-folio { padding: 26px 30px 18px; text-align: center; }
.hero-folio h1 { font-size: clamp(2.5rem, 3.7vw, 3.6rem); line-height: .94; font-weight: 540; }
.hero-folio h1 span { display: block; }
.lede { font-size: 1rem; line-height: 1.5; margin: .8em auto .2em; max-width: 40ch; color: var(--ink-soft); }
.painting { margin: 0; }
.hero-painting canvas { width: 100%; height: clamp(340px, calc(100svh - 400px), 540px); }
.entry { font-size: .98rem; font-weight: 600; margin: .3em 0 0; min-height: 1.6em; font-variant-numeric: tabular-nums; }
.entry q, .stage-name q { font-family: var(--display); font-size: 1.3em; font-weight: 520; quotes: "«" "»"; }
.derkenar { color: var(--on-margin); display: flex; flex-direction: column; gap: 26px; }
.d-left { align-items: flex-end; text-align: right; }
.d-left .dk-label { transform: rotate(-4deg); transform-origin: right center; }
.d-right .dk-label { transform: rotate(4deg); transform-origin: left center; }
.d-right { align-items: flex-start; }
.dk-note { font-size: .95rem; color: var(--on-margin-soft); max-width: 32ch; margin: 0; }
.quick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.quick-item { display: grid; grid-template-columns: auto 44px auto; gap: 12px; align-items: center; justify-content: end; }
.quick-item canvas { width: 44px; height: 62px; }
.quick-name { font-weight: 700; line-height: 1.2; }
.quick-name small { display: block; font-weight: 500; color: var(--on-margin-soft); font-size: .82rem; }
.price-note { max-width: 30ch; }
.price-note p:last-child { color: var(--on-margin-soft); margin: 0; font-size: .95rem; }
.d-right .seg span { color: var(--on-margin); }

/* ---------- workshop ---------- */
.atolye-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.atolye-stage { position: sticky; top: calc(var(--bar) + 20px); }
.stage-folio { text-align: center; padding-top: 22px; }
.stage-name { font-weight: 600; margin: 0; min-height: 2em; }
.stage-painting canvas { width: 100%; height: min(600px, calc(100svh - var(--bar) - 190px)); }
.atolye-controls h2 { color: var(--on-margin); }
.atolye-controls > .sec-lede { color: var(--on-margin); }
.filters { margin: 26px 0 16px; display: grid; gap: 12px; }
.filter-row { display: flex; gap: 12px; align-items: flex-start; }
.f-label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; min-width: 5.5em; padding-top: .55em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .92rem/1 var(--text); color: var(--on-margin); background: transparent; border: 1px solid currentColor; min-height: 36px; padding: .45em .8em; cursor: pointer; display: inline-flex; align-items: center; gap: .45em; }
.chip[aria-pressed="true"] { background: var(--gold-fill); color: #22170c; border-color: var(--ink); }
.chip i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .55); display: inline-block; }
.filter-count { font-size: .9rem; margin: 0; color: var(--on-margin-soft); }
.stem-list { list-style: none; margin: 0 0 30px; padding: 6px 22px; background: var(--panel); color: var(--ink); border: 3px solid var(--gold); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 1px var(--ink); transition: background-color .9s var(--ease); }
.stem-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "pic name step" "pic sw step"; gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.stem-row:last-child { border-bottom: 0; }
.stem-row[hidden] { display: none; }
.stem-row canvas { grid-area: pic; width: 52px; height: 74px; }
.sr-name { grid-area: name; line-height: 1.25; }
.sr-name b { font-size: 1.05rem; }
.sr-name i { color: var(--ink-soft); font-size: .88rem; margin-left: .35em; }
.sr-name small { display: block; color: var(--ink-soft); font-size: .86rem; }
.sr-name .off { color: var(--line); font-weight: 700; }
.sr-sw { grid-area: sw; display: flex; flex-wrap: wrap; gap: 6px; }
.sw { position: relative; width: 26px; height: 26px; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw span { display: block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ink); box-shadow: inset 0 0 0 2px var(--panel); }
.sw input:checked + span { box-shadow: inset 0 0 0 2px var(--panel), 0 0 0 2px var(--gold), 0 0 0 3px var(--ink); }
.sw input:focus-visible + span { outline: 3px solid var(--line); outline-offset: 3px; }
.stem-row .step { grid-area: step; }
.at-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 26px; color: var(--on-margin); }
.at-row .seg span { color: var(--on-margin); }
.at-text { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field small { font-weight: 500; font-size: .86rem; opacity: .9; }
.field input, .field textarea, .field select { font: 500 1rem/1.4 var(--text); color: var(--ink); background: var(--panel); border: 1px solid var(--ink); padding: .7em .8em; border-radius: 0; width: 100%; min-height: 46px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus-m); outline-offset: 1px; }
.folio .field input:focus-visible, .folio .field textarea:focus-visible, .folio .field select:focus-visible { outline-color: var(--gold-ink); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
.field [aria-invalid="true"] { border-color: #a1121f; box-shadow: inset 0 0 0 1px #a1121f; }
.err { color: #9a0f1c; font-size: .88rem; font-weight: 600; }
.record { background: var(--panel); color: var(--ink); border: 3px solid var(--gold); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 1px var(--ink); padding: 24px 26px; transition: background-color .9s var(--ease); }
.record h3 { margin-bottom: .4em; }
.record-list { margin: 0 0 14px; padding-left: 1.3em; columns: 2 220px; font-variant-numeric: tabular-nums; }
.record-list li { break-inside: avoid; }
.record-warn { color: var(--line); font-weight: 600; }
.record-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 12px; }

/* ---------- seasons ---------- */
.seasons { padding-block: 0 !important; }
.seasons-head { padding-block: calc(var(--space) * .4) 20px; }
.seasons-head h2, .seasons-head .sec-lede { color: var(--on-margin); }
.season-folios { position: relative; }
.sfolio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 40px var(--gut); color: var(--sf-on, var(--on-margin)); }
html:not(.anim) .sfolio { background: var(--sf-margin); }
[data-sfolio="ilkbahar"] { --sf-margin: #a5302a; --sf-on: #fbefe6; --sf-panel: #f8ece4; }
[data-sfolio="yaz"] { --sf-margin: #d39a22; --sf-on: #24170a; --sf-panel: #f7efd8; }
[data-sfolio="sonbahar"] { --sf-margin: #6a2234; --sf-on: #fbeee6; --sf-panel: #f5e8e5; }
[data-sfolio="kis"] { --sf-margin: #1f2c57; --sf-on: #eef1f8; --sf-panel: #eceef4; }
html:not(.anim) .season-folios { display: grid; gap: 0; }
html:not(.anim) .sfolio { max-width: none; padding: 56px max(var(--gut), calc((100% - 1240px) / 2 + var(--gut))); }
.sf-paint { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; background: var(--sf-panel, var(--panel)); color: var(--ink);
  border: 3px solid var(--gold); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 1px var(--ink); padding: 22px; transition: background-color .9s var(--ease); }
.sf-paint figure { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.sf-paint canvas { width: 100%; height: 190px; }
.sf-paint .sf-anchor { grid-row: span 2; border-right: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); padding-right: 14px; }
.sf-paint .sf-anchor canvas { height: 420px; }
.sf-paint figcaption { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.sf-paint figcaption i { display: block; font-weight: 500; font-size: .82rem; color: var(--ink-soft); }
.sf-text h3 { font-size: clamp(3rem, 6vw, 5.6rem); }
.sf-months { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; margin-top: .6em; font-variant-numeric: tabular-nums; }
.sf-text p { max-width: 42ch; }
html.anim .seasons-pin { height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
html.anim .seasons-head { padding-block: 26px 0; }
html.anim .seasons-head .sec-lede { margin-bottom: 0; }
html.anim .season-folios { flex: 1; }
html.anim .sfolio { position: absolute; inset: 0; opacity: 0; pointer-events: none; padding-block: 16px 30px; }
html.anim .sfolio.on { opacity: 1; pointer-events: auto; }
html.anim .sfolio .sf-anchor canvas { height: min(420px, calc(100svh - 330px)); }
html.anim .sfolio .sf-paint canvas:not(.sf-anchor canvas) { height: min(190px, calc((100svh - 400px) / 2)); }

/* ---------- calendar ---------- */
.table-scroll { overflow-x: auto; margin-top: 18px; }
.cal { border-collapse: collapse; width: 100%; min-width: 820px; font-variant-numeric: tabular-nums; }
.cal caption, .vase caption { text-align: left; font-size: .9rem; color: var(--ink-soft); padding-bottom: 10px; }
.cal th, .cal td { padding: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.cal thead th { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 2px; text-align: center; }
.cal tbody th { text-align: left; font-weight: 700; padding: 7px 14px 7px 0; white-space: nowrap; font-size: .98rem; }
.cal tbody th i { font-weight: 500; color: var(--ink-soft); font-size: .84rem; margin-left: .4em; }
.cal td { height: 34px; position: relative; }
.cal td.on::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; bottom: 9px; background: var(--line); opacity: .85; }
.cal td.on.start::before { left: 4px; } .cal td.on.end::before { right: 4px; }
.cal .now { box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.cal thead .now { color: var(--gold-ink); }

/* ---------- flower book ---------- */
.defter-head h2 { color: var(--on-margin); }
.defter-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; max-width: 1240px; margin: 20px auto 0; padding: 0 var(--gut); }
.plate { display: flex; flex-direction: column; padding: 18px 20px 20px; }
.plate canvas { width: 100%; height: 260px; margin-bottom: 10px; }
.plate h3 { font-size: 1.9rem; }
.plate .p-latin { font-style: italic; color: var(--ink-soft); margin: .1em 0 .4em; font-size: .92rem; }
.plate .p-months { font-weight: 700; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: var(--line); margin-bottom: .5em; }
.plate .p-line { font-size: .98rem; flex: 1; }
.plate .btn-line { align-self: flex-start; }
html.anim .defter-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
html.anim .defter-track { display: flex; width: max-content; max-width: none; margin: 18px 0 0; gap: 30px; }
html.anim .plate { width: 290px; flex: none; }
html.anim .plate canvas { height: min(260px, calc(100svh - 520px)); min-height: 150px; }
@media (max-width: 860px) {
  html.anim .defter-pin { height: auto; overflow: visible; display: block; }
  html.anim .defter-track, .defter-track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: auto; gap: 14px; margin: 16px 0 0; }
  html.anim .plate, .plate { width: auto; padding: 14px; }
  html.anim .plate canvas, .plate canvas { height: 170px; min-height: 0; }
  .plate h3 { font-size: 1.45rem; }
}

/* ---------- occasions ---------- */
.gunler-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gunler-anchor { position: sticky; top: calc(var(--bar) + 30px); }
.gunler-anchor h2 { color: var(--on-margin); }
.anchor-folio { margin: 18px 0 0; max-width: 300px; text-align: center; padding: 18px; }
.anchor-folio canvas { width: 100%; height: 330px; }
.anchor-folio figcaption { font-weight: 600; font-size: .95rem; }
.anchor-folio figcaption i { display: block; font-weight: 500; font-size: .84rem; color: var(--ink-soft); }
.occasions { list-style: none; margin: 0; padding: 8px 30px; background: var(--panel); color: var(--ink); border: 3px solid var(--gold); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 1px var(--ink); transition: background-color .9s var(--ease); }
.occ { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h b" "d b" "p b"; column-gap: 24px; padding: 22px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.occ:last-child { border-bottom: 0; }
.occ h3 { grid-area: h; }
.occ .occ-date { grid-area: d; font-weight: 700; color: var(--line); margin: .3em 0 0; font-size: .95rem; }
.occ p:not(.occ-date) { grid-area: p; margin: .5em 0 0; max-width: 54ch; }
.occ .btn-line { grid-area: b; align-self: center; }

/* ---------- hand-tie ---------- */
.baglama-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.baglama-text h2 { color: var(--on-margin); }
html.anim .baglama-pin { min-height: calc(100svh - var(--bar)); }
.tie-steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; color: var(--on-margin); }
.tie-steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: baseline; max-width: 50ch; transition: opacity .4s var(--ease); }
.tie-steps li::before { content: counter(st); font-family: var(--display); font-size: 1.9rem; line-height: 1; text-align: center; color: var(--on-margin); }
html.anim .tie-steps li { opacity: .74; }
html.anim .tie-steps li.cur { opacity: 1; }
html.anim .tie-steps li.cur::before { color: var(--focus-m); }
.tie-folio { margin: 0; text-align: center; padding: 18px 24px; }
.tie-folio canvas { width: 100%; height: min(620px, calc(100svh - var(--bar) - 130px)); }
.tie-count { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- size and wrap ---------- */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 20px 0 30px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.size-fig { margin: 0; text-align: center; }
.size-fig canvas { width: 100%; height: 420px; }
.size-fig figcaption { padding: 12px 0 16px; font-variant-numeric: tabular-nums; }
.size-fig b { font-family: var(--display); font-weight: 520; font-size: 1.7rem; display: block; line-height: 1.1; }
.wraps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.wraps canvas { width: 100%; height: 210px; margin-bottom: 8px; }
.wraps h3 { font-size: 1.6rem; margin-bottom: .3em; }
.wraps p { margin: 0; font-size: .98rem; }

/* ---------- care ---------- */
.bakim h2, .bakim > .wrap > .sec-lede { color: var(--on-margin); }
.vase { border-collapse: collapse; width: 100%; min-width: 760px; font-variant-numeric: tabular-nums; }
.vase th, .vase td { border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.vase thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 4px; font-weight: 700; }
.vase thead th:first-child { text-align: left; }
.vase tbody th { text-align: left; font-weight: 600; padding: 12px 16px 12px 0; max-width: 340px; line-height: 1.35; }
.vase td { position: relative; width: 8%; }
.vase td.on::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; background: var(--line); transform: translate(-50%, -50%) rotate(45deg); }
.vase tbody tr:last-child td.on::before { width: auto; height: 12px; left: 0; right: 0; transform: translateY(-50%); }
.care-notes { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 26px; margin-top: 34px; }
.care-note h3 { margin-bottom: .45em; }
.care-note p { margin: 0; }

/* ---------- delivery ---------- */
.dayscale { margin: 22px 0 10px; display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.ds-hours { position: relative; height: 24px; margin-left: 290px; }
.ds-hours span { position: absolute; transform: translateX(-50%); font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.ds-row { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: center; }
.ds-label { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.ds-track { position: relative; height: 34px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.ds-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--ink) 28%, transparent); }
.ds-band { position: absolute; top: 6px; bottom: 6px; left: calc((var(--a) - 8) / 13 * 100%); width: calc((var(--b) - var(--a)) / 13 * 100% - 3px); background: var(--line); }
.ds-band.alt { background: var(--margin); border: 1px solid var(--ink); }
.ds-band.thin { top: 13px; bottom: 13px; background: var(--ink-soft); }
.ds-mark { position: absolute; top: -4px; bottom: -4px; left: calc((var(--a) - 8) / 13 * 100%); width: 4px; margin-left: -2px; background: var(--gold); box-shadow: 0 0 0 1px var(--ink); }
.ds-text { margin-top: 14px; }
.areas { margin-top: 30px; }
.areas h3 { margin-bottom: .5em; }
.area-table { border-collapse: collapse; width: 100%; max-width: 760px; margin-bottom: 12px; }
.area-table th, .area-table td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.area-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- corporate ---------- */
.split-folio { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sf-side { position: sticky; top: calc(var(--bar) + 30px); }
.module-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 10px 30px; }
.module-list > div { padding: 22px 26px 22px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.module-list > div:nth-child(odd) { border-right: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.module-list > div:nth-child(even) { padding-left: 22px; }
.module-list > div:nth-last-child(-n+2) { border-bottom: 0; }
.module-list dt { font-family: var(--display); font-size: 1.7rem; line-height: 1.05; margin-bottom: .4em; }
.module-list dd { margin: 0; }

/* ---------- weddings ---------- */
.dugun-head { max-width: 760px; }
.dugun-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); margin: 18px 0 28px; }
.dugun-items { list-style: none; margin: 0; padding: 0; }
.dugun-items li { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.dugun-items h3, .dugun-steps h3 { font-size: 1.55rem; margin-bottom: .2em; }
.dugun-items p, .dugun-steps p { margin: 0; }
.dugun-steps { margin: 0; padding: 0; list-style: none; counter-reset: ds; border-left: 1px solid var(--ink); }
.dugun-steps li { counter-increment: ds; position: relative; padding: 14px 0 14px 34px; }
.dugun-steps li::before { content: counter(ds); position: absolute; left: -15px; top: 14px; width: 30px; height: 30px; background: var(--panel); border: 1px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ---------- the name ---------- */
.devri-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.devri-text p { font-size: 1.15rem; max-width: 46ch; }
.devri-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.devri-plates figure { margin: 0; text-align: center; padding: 18px; }
.devri-plates canvas { width: 100%; height: 420px; }
.devri-plates figcaption { font-weight: 600; font-size: .95rem; }

/* ---------- shop ---------- */
.dukkan-folio { max-width: 760px; margin: 0 auto; }
.shop-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 10px 0 18px; }
.shop-dl > div { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.shop-dl dt { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.shop-dl dd { margin: 0; font-weight: 600; }

/* ---------- questions ---------- */
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--line); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { max-width: 68ch; padding-bottom: 8px; }

/* ---------- order ---------- */
.order { display: grid; gap: 22px; margin-top: 18px; }
.order .seg span { color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field-wide { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2em; accent-color: var(--line); flex: none; }
.order-bouquet { border: 1px solid var(--ink); padding: 14px 18px; }
.order-bouquet .ob-entry { margin: 0 0 6px; font-weight: 600; }
.form-status { margin: 0; font-weight: 600; color: #9a0f1c; min-height: 1.2em; }
.form-status.ok { color: var(--ink); }
.order [hidden] { display: none !important; }
.summary { margin-top: 26px; border: 1px solid var(--ink); padding: 22px 24px; }
.summary-text { font: 500 1rem/1.6 var(--text); white-space: pre-wrap; margin: 10px 0 0; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.foot { padding-block: 70px 60px; border-top: 1px solid var(--gold); box-shadow: inset 0 1px 0 0 var(--ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 40px; }
.foot-brand { font-family: var(--display); font-size: 2.6rem; line-height: 1; margin-bottom: .4em; }
.foot-brand span { font-family: var(--text); font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.foot-grid p { max-width: 60ch; color: var(--on-margin-soft); }
.foot-nav { display: grid; gap: 6px; align-content: start; }
.foot-nav a { font-weight: 600; }
.foot-tools { display: flex; gap: 8px; align-items: flex-start; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); }
  .d-left { grid-column: 1; grid-row: 1; }
  .hero-folio { grid-column: 2; grid-row: 1 / span 2; }
  .d-right { grid-column: 1; grid-row: 2; align-items: flex-end; text-align: right; }
  .d-right .dk-label { transform: rotate(-4deg); transform-origin: right center; }
  .wraps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-notes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --bar: 58px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0 var(--gut); }
  .hero-folio { grid-column: 1; grid-row: 1; padding: 22px 18px 14px; }
  .d-left, .d-right { grid-column: 1; grid-row: auto; align-items: stretch; text-align: left; }
  .d-left .dk-label, .d-right .dk-label { transform: none; }
  .quick-item { justify-content: start; grid-template-columns: 44px 1fr auto; }
  .quick-item canvas { order: -1; }
  .hero-painting canvas { height: min(440px, 92vw); }
  .atolye-grid, .gunler-grid, .baglama-pin, .split-folio, .devri-grid, .dugun-grid, .foot-grid, .sfolio { grid-template-columns: minmax(0, 1fr); }
  .atolye-stage, .gunler-anchor, .sf-side { position: static; }
  .stage-painting canvas { height: min(460px, 100vw); }
  .at-row, .grid2, .module-list, .shop-dl { grid-template-columns: minmax(0, 1fr); }
  .module-list > div, .module-list > div:nth-child(even) { padding: 18px 10px 18px 0; border-right: 0 !important; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent) !important; }
  .module-list > div:last-child { border-bottom: 0 !important; }
  .stem-list { padding: 4px 14px; }
  .stem-row { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "pic name" "pic sw" "pic step"; }
  .stem-row canvas { width: 44px; height: 64px; }
  .stem-row .step { justify-self: start; margin-top: 4px; }
  .filter-row { flex-direction: column; gap: 6px; }
  .f-label { padding-top: 0; }
  .sf-paint { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto; padding: 14px; }
  .sf-paint .sf-anchor { grid-row: span 3; }
  .sf-paint canvas { height: 150px; }
  .sf-paint .sf-anchor canvas { height: 360px; }
  html.anim .seasons-pin { height: auto; overflow: visible; display: block; }
  html.anim .sfolio { position: relative; inset: auto; opacity: 1; pointer-events: auto; background: var(--sf-margin); }
  html.anim .sfolio .sf-anchor canvas { height: 360px; }
  html.anim .sfolio .sf-paint canvas:not(.sf-anchor canvas) { height: 150px; }
  .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .size-fig canvas { height: 220px; }
  .size-fig b { font-size: 1.25rem; }
  .size-fig figcaption { font-size: .85rem; }
  .wraps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .wraps canvas { height: 150px; }
  .wraps h3 { font-size: 1.3rem; }
  .ds-hours { margin-left: 0; }
  .ds-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ds-hours span:nth-child(even) { display: none; }
  .occ { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "d" "p" "b"; }
  .occ .btn-line { justify-self: start; margin-top: 14px; }
  .occasions { padding: 4px 18px; }
  .devri-plates canvas { height: 300px; }
  .tie-folio canvas { height: min(480px, 110vw); }
  .anchor-folio { max-width: none; }
  .anchor-folio canvas { height: 260px; }
  .foot-tools { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .folio { padding: 20px 16px; }
  .hero-folio h1 { font-size: 2.35rem; }
  h2 { font-size: 2.45rem; }
  .sf-text h3 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) { html { transition: none; } * { scroll-behavior: auto !important; } }
