/* Rockcon — components & layout. Colours come from tokens.css only. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.fine { font-size: .85rem; color: var(--ink-soft); }
.note { background: var(--dark-2); padding: 12px 16px; border-radius: var(--r-md); }

.draft-note { margin: 0; background: #fdc645; color: #1b1b1b; text-align: center; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-bottom: 4px solid; border-image: repeating-linear-gradient(45deg, #1b1b1b 0 10px, #fdc645 10px 20px) 4; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(253, 198, 69, .3); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 0; color: inherit; cursor: pointer; }
.icon-btn:not([hidden]) { display: inline-grid; }
.chip { border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 999px; padding: .35em .9em; font: 500 .85rem var(--font-body); cursor: pointer; min-height: 36px; }
.chip:hover { border-color: var(--brand); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(22, 22, 22, .92); color: var(--on-dark); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .9; font-family: var(--font-display); }
.wm-top { color: var(--seed-yellow); font-weight: 900; font-size: 1.45rem; letter-spacing: .01em; }
.wm-sub { color: var(--seed-grey); font-weight: 800; font-size: .62rem; letter-spacing: .14em; margin-top: 2px; }
.wordmark-sm .wm-top { font-size: 1.2rem; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: var(--on-dark-soft); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: .92rem; }
.nav a:hover, .nav a.is-active { color: var(--seed-yellow); }
.header-actions { display: flex; align-items: center; gap: 6px; }
@media (max-width: 1020px) {
  .js .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; background: #161616; padding: 12px var(--gutter) 20px; transform: translateY(calc(-100% - 80px)); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; margin: 0; box-shadow: var(--shadow); }
  .js .nav.is-open { transform: none; visibility: visible; }
  .js .nav a { padding: 12px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .header-actions { margin-inline-start: auto; }
  .hide-sm { display: none; }
  html:not(.js) .nav { flex-wrap: wrap; }
}
@media (min-width: 1021px) { .menu-btn { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 70% 30%, #2a2618 0%, #161616 55%) , #161616; color: var(--on-dark); overflow: hidden; }
.hero-grain { position: absolute; inset: 0; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: clamp(40px, 8vw, 96px) 28px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 1fr; } }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--accent-text); margin-bottom: .8em; }
.hero .eyebrow { color: var(--seed-yellow); }
.hero-title { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 900; line-height: .98; margin-bottom: .4em; }
.ht-line { display: block; opacity: 0; transform: translateY(24px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--d) * .18s + .1s); }
.ht-accent { color: var(--seed-yellow); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-lead { color: var(--on-dark-soft); font-size: 1.1rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-machine { position: relative; margin: 0; animation: rise 1s .4s var(--ease) both; }
.hero-machine img { width: 100%; mix-blend-mode: lighten; mask-image: radial-gradient(ellipse 62% 75% at 52% 52%, #000 45%, transparent 92%); -webkit-mask-image: radial-gradient(ellipse 62% 75% at 52% 52%, #000 45%, transparent 92%); }
@media (min-width: 900px) { .hero-machine { scale: 1.45; transform-origin: 25% 55%; } }
.beam { position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,230,.95) 0%, rgba(255,240,180,.35) 35%, transparent 70%); animation: flicker 3.2s ease-in-out infinite; pointer-events: none; }
.beam-1 { left: 44%; top: 46%; }
.beam-2 { left: 57%; top: 70%; animation-delay: .6s; }
@keyframes flicker { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
.ticker { position: relative; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; background: rgba(0,0,0,.25); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span { padding: 12px 22px; white-space: nowrap; color: var(--on-dark-soft); font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.ticker-track span:nth-child(9n+1) { color: var(--seed-yellow); text-transform: uppercase; font-size: .75rem; letter-spacing: .16em; align-self: center; }
.ticker-track span:not(:nth-child(9n+1))::before { content: "▲"; color: var(--seed-yellow); font-size: .6em; margin-inline-end: 10px; vertical-align: middle; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 9vw, 110px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #161616; color: var(--on-dark); }
.section-dark .kicker { color: var(--seed-yellow); }
.section-dark .fine { color: var(--on-dark-soft); }
.section-dark a { color: var(--seed-yellow); }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 40em; }
.section-dark .section-lead { color: var(--on-dark-soft); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* services */
.cards { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.card p { color: var(--ink-soft); margin: 0; }
.card-ico { width: 44px; height: 44px; color: var(--accent-text); margin-bottom: 14px; }
.cards .card:nth-child(2) { transition-delay: .06s; } .cards .card:nth-child(3) { transition-delay: .12s; }
.cards .card:nth-child(4) { transition-delay: .18s; } .cards .card:nth-child(5) { transition-delay: .24s; } .cards .card:nth-child(6) { transition-delay: .3s; }

/* ---------- planner ---------- */
.planner { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 900px) { .planner { grid-template-columns: 1fr 1fr; align-items: start; } }
html:not(.js) .planner { display: none; }
.planner-controls, .planner-out { background: #1f1f1f; border: 1px solid #2e2e2e; border-radius: var(--r-lg); padding: clamp(16px, 3vw, 28px); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; background: #121212; padding: 4px; border-radius: 999px; margin-bottom: 18px; }
.seg-btn { flex: 1 1 auto; background: transparent; color: var(--on-dark-soft); border: 0; border-radius: 999px; padding: 10px 12px; font: 600 .9rem var(--font-body); cursor: pointer; min-height: 42px; }
.seg-btn[aria-selected="true"] { background: var(--seed-yellow); color: #1b1b1b; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.presets[hidden] { display: none; }
.presets-label { font-size: .85rem; color: var(--on-dark-soft); }
.presets .chip { border-color: #3a3a3a; color: var(--on-dark); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.fields[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 500; }
.inp { display: flex; align-items: center; background: #121212; border: 1px solid #383838; border-radius: var(--r-md); padding-right: 12px; }
.inp:focus-within { border-color: var(--seed-yellow); }
.inp input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--on-dark); font: 600 1.15rem var(--font-body); padding: 12px; outline: none; }
.inp em { font-style: normal; color: var(--on-dark-soft); font-size: .85rem; }
.waste { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .9rem; }
.waste legend { width: 100%; margin-bottom: 6px; color: var(--on-dark-soft); font-size: .85rem; }
.waste label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.waste input { accent-color: var(--seed-yellow); width: 18px; height: 18px; }
.iso { width: 100%; height: auto; display: block; margin-bottom: 8px; }
.readout .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 7vw, 3.6rem); color: var(--seed-yellow); line-height: 1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.readout .big small { font: 600 1rem var(--font-body); color: var(--on-dark-soft); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.mini div { background: #121212; border-radius: var(--r-md); padding: 10px 12px; }
.mini dt { font-size: .75rem; color: var(--on-dark-soft); }
.mini dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.trucks { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; margin-bottom: 8px; }
.truck { width: 46px; height: 28px; color: var(--seed-yellow); animation: drive .5s var(--ease) both; }
.truck.part { opacity: .45; }
@keyframes drive { from { opacity: 0; transform: translateX(-20px); } }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }

/* ---------- stepper ---------- */
.stepper { display: grid; gap: 32px; margin-top: 32px; }
.stepper-media { display: none; }
@media (min-width: 900px) {
  .stepper { grid-template-columns: 1fr 1fr; gap: 56px; }
  .js .stepper-media { display: block; }
  .stepper-frame { position: sticky; top: 100px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); box-shadow: var(--shadow); }
  .stepper-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
  .stepper-frame img.is-on { opacity: 1; transform: none; }
  .js .step-img-sm { display: none; }
  .js .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .4s; }
  .js .step.is-on { opacity: 1; }
}
.stepper-progress { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 6px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; }
.stepper-progress span { display: block; height: 100%; width: 25%; background: var(--seed-yellow); transition: width .5s var(--ease); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step-n { font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--accent-text); opacity: .9; line-height: 1; }
.step h3 { font-size: 1.5rem; margin-top: .3em; }
.step p { color: var(--ink-soft); font-size: 1.05rem; max-width: 30em; }
.step-img-sm { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- finish explorer ---------- */
.finish { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 900px) { .finish { grid-template-columns: 1.4fr 1fr; grid-template-areas: "tabs tabs" "stage info"; } .finish-tabs { grid-area: tabs; } .finish-stage { grid-area: stage; } .finish-info { grid-area: info; } }
.finish-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.finish-tab { border: 2px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 600 .95rem var(--font-body); cursor: pointer; min-height: 44px; }
.finish-tab[aria-selected="true"] { border-color: var(--seed-yellow); background: var(--seed-yellow); color: #1b1b1b; }
.finish-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #888; }
.finish-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 720 / 440; transition: opacity .25s; }
.finish-tag { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.swatches { position: absolute; inset-inline-end: 12px; bottom: 12px; display: flex; gap: 8px; background: rgba(0,0,0,.45); padding: 8px; border-radius: 999px; }
.swatches[hidden] { display: none; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; background: var(--c); cursor: pointer; }
.sw[aria-pressed="true"] { outline: 3px solid var(--seed-yellow); }
.finish-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.meters { display: grid; gap: 10px; margin: 16px 0; }
.meters div { display: grid; grid-template-columns: 9em 1fr; align-items: center; gap: 10px; }
.meters dt { font-size: .9rem; color: var(--ink-soft); }
.meters dd { margin: 0; }
.meters meter { width: 100%; height: 12px; }
meter::-webkit-meter-bar { background: var(--line); border: 0; border-radius: 6px; height: 12px; }
meter::-webkit-meter-optimum-value, meter::-webkit-meter-suboptimum-value, meter::-webkit-meter-even-less-good-value { background: var(--seed-yellow); border-radius: 6px; transition: width .4s var(--ease); }
meter::-moz-meter-bar { background: var(--seed-yellow); border-radius: 6px; }

/* ---------- gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.g-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--dark); aspect-ratio: 4 / 5; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item span { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: .85rem; font-weight: 600; text-align: start; }
.clips-h { margin: 40px 0 0; font-size: 1.15rem; }
.clips { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 16px; }
@media (max-width: 640px) { .clips { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .clips li { scroll-snap-align: start; } }
.clips figure { margin: 0; }
.clips video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-md); background: var(--dark); }
.clips figcaption { margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: var(--r-md); }
.lb-close { position: fixed; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--seed-yellow); font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* ---------- supplies ---------- */
.supplies { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .supplies { grid-template-columns: 1.1fr 1fr; } }
.tick-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.tick-list li { padding-inline-start: 26px; position: relative; font-weight: 500; }
.tick-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 14px; height: 14px; background: var(--seed-yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.supplies-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.supplies-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- area ---------- */
.area { display: grid; gap: 32px; }
@media (min-width: 900px) { .area { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.suburbs { list-style: none; padding: 0; margin: 16px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; transition: background .3s, color .3s, transform .3s; }
.suburbs li.is-hit { background: var(--seed-yellow); color: #1b1b1b; transform: scale(1.08); }
.checker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.checker-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.checker-row input { flex: 1 1 180px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); padding: 0 18px; font: 500 1rem var(--font-body); background: var(--bg); color: var(--ink); }
.checker-out { margin: 12px 0 0; min-height: 1.6em; font-weight: 600; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.person { display: flex; align-items: center; gap: 14px; background: #1f1f1f; border: 1px solid #2e2e2e; border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 12px; }
.person div { display: flex; flex-direction: column; flex: 1; }
.person a:not(.btn) { color: var(--on-dark-soft); text-decoration: none; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--seed-yellow); color: #1b1b1b; font: 900 1.3rem var(--font-display); flex: none; }
.mail { margin-top: 18px; font-size: 1.1rem; font-weight: 600; }
.quote { background: #1f1f1f; border: 1px solid #2e2e2e; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.quote h3 { margin: 0; }
.quote input, .quote select, .quote textarea { width: 100%; background: #121212; border: 1px solid #383838; border-radius: var(--r-md); color: var(--on-dark); font: 500 1rem var(--font-body); padding: 12px; min-height: 48px; }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--seed-yellow); outline: none; }
.quote-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.quote-send { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-err { color: #ff9b8a; margin: 0; min-height: 1.2em; font-weight: 600; }
.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px var(--seed-yellow); } }

/* ---------- footer & action bar ---------- */
.site-footer { background: #0f0f0f; color: var(--on-dark-soft); padding: 40px 0 96px; }
.footer-inner { display: grid; gap: 20px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto auto; align-items: center; } .site-footer { padding-bottom: 40px; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--on-dark); }
.site-footer p { margin: 6px 0 0; }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: #161616; border-top: 2px solid var(--seed-yellow); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { color: var(--on-dark); text-decoration: none; text-align: center; padding: 14px 4px; font-weight: 700; }
.action-bar a:first-child { background: var(--seed-yellow); color: #1b1b1b; }
@media (min-width: 800px) { .action-bar { display: none; } }

/* ---------- simple pages ---------- */
.page { padding-block: 56px 80px; max-width: 760px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.page h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* ---------- language switcher (works without JS: <details>) ---------- */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 999px; cursor: pointer; color: var(--on-dark); font-weight: 600; font-size: .85rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { background: rgba(255,255,255,.08); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #1f1f1f; border: 1px solid #333; border-radius: var(--r-md); box-shadow: var(--shadow); min-width: 180px; z-index: 70; }
.lang a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--on-dark); text-decoration: none; }
.lang a:hover { background: rgba(255,255,255,.08); }
.lang a[aria-current] { color: var(--seed-yellow); font-weight: 700; }

/* ---------- how a quote works ---------- */
.how-quote { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border: 2px solid var(--seed-yellow); border-radius: var(--r-lg); overflow: hidden; }
.how-quote li { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.how-quote li + li { border-inline-start: 1px solid var(--line); }
.how-quote strong { font-family: var(--font-display); }
.how-quote span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- guides ---------- */
.guide-cards { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.guide-card:hover { transform: translateY(-4px); border-color: var(--seed-yellow); box-shadow: var(--shadow); }
.guide-card strong { font-family: var(--font-display); font-size: 1.2rem; }
.guide-card span:last-child { color: var(--ink-soft); }
.gc-n { font-family: var(--font-display); font-weight: 900; color: var(--accent-text); font-size: 1.6rem; }

.page-hero { position: relative; background: radial-gradient(900px 400px at 80% 0%, #2a2618 0%, #161616 60%), #161616; color: var(--on-dark); padding-block: clamp(40px, 7vw, 80px); overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 900; max-width: 18em; }
.page-hero .eyebrow a { color: var(--seed-yellow); }
.page-grid { display: grid; gap: 40px; padding-block: 48px 80px; }
@media (min-width: 960px) { .page-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.prose { max-width: 46em; font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .6em; }
.prose table.who { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.who th, .who td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.who th { background: var(--bg-alt); font-family: var(--font-display); }
.checklist { list-style: none; counter-reset: c; padding: 0; }
.checklist li { counter-increment: c; position: relative; padding-block: 14px; padding-inline: 58px 16px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.checklist li::before { content: counter(c); position: absolute; inset-inline-start: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--seed-yellow); color: #1b1b1b; font: 800 .95rem var(--font-display); }
.page-side { display: grid; gap: 20px; }
@media (min-width: 960px) { .page-side { position: sticky; top: 90px; } }
.side-cta { background: #161616; color: var(--on-dark); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.side-cta h2 { font-size: 1.3rem; margin: 0; }
.side-cta p { color: var(--on-dark-soft); margin: 0; }
.side-guides { display: grid; gap: 6px; }
.side-guides h2 { font-size: 1rem; margin: 0 0 6px; }
.side-guides a { padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.side-guides a:hover, .side-guides a[aria-current] { border-color: var(--seed-yellow); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font: 800 1.4rem/1 var(--font-display); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); max-width: 46em; padding-bottom: 12px; }

/* ---------- scripts that need their own type ---------- */
html[lang="ar"] { --font-body: "Noto Sans Arabic", system-ui, sans-serif; --font-display: "Noto Sans Arabic", "Arial Black", sans-serif; }
html[lang="pa"] { --font-body: "Noto Sans Gurmukhi", system-ui, sans-serif; --font-display: "Noto Sans Gurmukhi", "Arial Black", sans-serif; }
html[lang="hi"] { --font-body: "Noto Sans Devanagari", system-ui, sans-serif; --font-display: "Noto Sans Devanagari", "Arial Black", sans-serif; }
html[lang="zh-Hans"] { --font-body: "Noto Sans SC", system-ui, sans-serif; --font-display: "Noto Sans SC", sans-serif; }
html[lang="ar"] .hero-title, html[lang="pa"] .hero-title, html[lang="hi"] .hero-title { line-height: 1.3; }
[dir="rtl"] .ticker-track { animation-direction: reverse; }

/* ---------- split tiles (K-012, unused since K-015 — kept for a possible later use) ----------
   Fair by design: both tiles are the same size at rest; the one under the pointer
   widens, the other gives way. The current section carries a "you are here" tag. */
.split { background: var(--dark); padding: 0 var(--gutter) 28px; }
.split-grid { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 760px) { .split-grid { flex-direction: row; } }
.split-tile { position: relative; flex: 1 1 0; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; display: flex; align-items: flex-end; outline-offset: 3px; transition: flex-grow .55s var(--ease), box-shadow .3s; }
@media (min-width: 760px) { .split-tile { min-height: 440px; } .split-grid:hover .split-tile { flex-grow: .8; } .split-grid .split-tile:hover, .split-grid .split-tile:focus-visible { flex-grow: 1.35; } }
.split-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease), filter .5s; filter: saturate(.85) brightness(.9); }
.split-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.9) 100%); }
.split-tile::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: inherit; transition: border-color .3s; pointer-events: none; }
.split-tile:hover img, .split-tile:focus-visible img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.split-tile:hover::after, .split-tile:focus-visible::after { border-color: var(--seed-yellow); }
.split-body { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 3vw, 32px); max-width: 34em; }
.split-k { color: var(--seed-yellow); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.split-t { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.split-p { color: rgba(255,255,255,.88); }
.split-who { color: rgba(255,255,255,.72); font-size: .92rem; }
.split-go { margin-top: 6px; align-self: flex-start; background: var(--seed-yellow); color: #1b1b1b; font-weight: 700; padding: 9px 16px; border-radius: 999px; font-size: .92rem; transition: transform .3s var(--ease); }
.split-tile:hover .split-go { transform: translateX(4px); }
[dir="rtl"] .split-tile:hover .split-go { transform: translateX(-4px); }
.split-here { display: none; position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(0,0,0,.6); color: var(--seed-yellow); border: 1px solid var(--seed-yellow); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.split-tile[aria-current] .split-here { display: block; }
.split-tile[aria-current] .split-go { background: transparent; color: var(--seed-yellow); border: 1px solid var(--seed-yellow); }

/* Foundations page hero carries the photo the tile morphs into */
.page-hero.has-photo { min-height: clamp(380px, 56vh, 560px); display: flex; align-items: flex-end; }
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,14,.92) 0%, rgba(14,14,14,.7) 45%, rgba(14,14,14,.25) 100%); }
[dir="rtl"] .page-hero.has-photo::after { background: linear-gradient(270deg, rgba(14,14,14,.92) 0%, rgba(14,14,14,.7) 45%, rgba(14,14,14,.25) 100%); }
.page-hero.has-photo .wrap { z-index: 1; }

/* Cross-page morph (Chrome/Edge/Safari 18+); other browsers simply navigate */
@view-transition { navigation: auto; }
::view-transition-group(fnd-photo), ::view-transition-group(pave-photo) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.section-dark .btn-brand { color: var(--brand-ink); }
.fnd-svc { display: grid; gap: 16px; margin-top: 32px; }
.fnd-svc .cards { margin: 0; }
@media (min-width: 1000px) { .fnd-svc { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .fnd-svc .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fnd-photo { margin: 0; position: sticky; top: 90px; }
.fnd-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-lg); }
.fnd-photo figcaption { font-size: .75rem; color: var(--ink-soft); margin-top: 6px; }
.fnd-photo figcaption a { color: inherit; }
.person small { color: var(--seed-yellow); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.person .btn + .btn { margin-inline-start: 2px; }
.person-link { color: var(--on-dark); text-decoration: none; transition: border-color .25s; }
.person-link:hover { border-color: var(--seed-yellow); }
.avatar-alt { background: transparent; color: var(--seed-yellow); border: 2px solid var(--seed-yellow); font-size: .85rem; }
.div-other { align-self: start; }
.div-other .kicker { color: var(--seed-yellow); margin: 0; }
.page-hero .hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- logo + logo card (K-013) ----------
   Vector redraw of the WhatsApp card (20.10). Letters are black with a yellow edge, so the
   same drawing reads on the dark header and on the white card. */
.logo-svg { display: block; height: 46px; width: auto; }
.wordmark-sm .logo-svg { height: 40px; }
.logo-card { background: #fff; color: #111; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); box-shadow: 0 18px 50px rgba(0,0,0,.45); max-width: 460px; width: 100%; justify-self: center; animation: rise 1s .3s var(--ease) both; }
.logo-card .logo-svg { height: auto; width: 100%; }
/* Paving logosu (K1, A): koyu zemin varsayılan — başlık ve koyu kart */
.lp-ink { fill: #f2f2f2; } .lp-sub { fill: #a6a6a6; } .lp-acc { fill: #fdc645; }
.logo-card-koyu { background: #161616; color: #f2f2f2; border: 1px solid rgba(255,255,255,.08); }
.logo-card-koyu .lc-k { color: #fdc645 !important; }
.logo-card-koyu a, .logo-card-koyu a:visited { color: #f2f2f2 !important; }
.logo-card p { margin: 0; font-family: var(--font-display); font-weight: 800; text-align: center; letter-spacing: .01em; }
.logo-card a { color: inherit; text-decoration: none; }
.logo-card a:hover { text-decoration: underline; text-decoration-color: var(--seed-yellow); text-decoration-thickness: 3px; }
.lc-tel { font-size: clamp(1.1rem, 2.6vw, 1.45rem); margin-top: 14px !important; }
.lc-mail { font-size: clamp(.95rem, 2.2vw, 1.2rem); }
.hero-split { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.2fr minmax(300px, 400px); } }
.lc-tel a { white-space: nowrap; }
.hero-cards { display: grid; gap: 14px; justify-items: center; }
.logo-card-sm { max-width: 300px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.logo-card-sm .lc-tel { font-size: 1.05rem; margin-top: 8px !important; }
.logo-card-sm .lc-mail { font-size: .9rem; }
.lc-k { display: block; text-align: center; font: 700 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #6b5a14 !important; margin-bottom: 8px; }
