/* ============================================================================
   POHJA: VANKKA (B) — MODERNI RAKENTAJA (v3)
   Tyyli: vaalea, ilmava, minimalistinen. Vaalean harmaa pohja + hiilenmusta otsikot
   + yksi varma oranssi aksentti (rakentaminen/trades, mutta monikäyttöinen).
   Pehmeästi pyöristetyt kortit, hillityt varjot, EI caps-lock-otsikoita, EI liukuväriä.
   Matala kuvabanneri-hero tummalla filtterillä. Samat osio-luokat kuin muissa demoissa.
   ----------------------------------------------------------------------------
   TEEMA VAIHDETAAN VAIN TÄSTÄ :root-lohkosta.
   ============================================================================ */

:root {
  /* ---- VÄRIT (valkoinen pohja + tumma sininen + tumma vihreä) ---- */
  --c-bg:        #FFFFFF;   /* puhdas valkoinen */
  --c-surface:   #FFFFFF;
  --c-surface-2: #F1F5F5;   /* vaalea viileä tint */
  --c-text:      #414E54;
  --c-heading:   #0E2833;   /* tumma sinimusta */
  --c-muted:     #66757D;
  --c-border:    #DCE4E5;
  --c-primary:   #0E4A6E;   /* tumma sininen — pääaksentti */
  --c-primary-2: #0A3752;
  --c-accent:    #1F6B4A;   /* tumma vihreä — tukiaksentti */
  --c-on-primary:#FFFFFF;
  --c-dark:      #0C2733;   /* tumma sinipetrooli (footer) */
  --c-on-dark:   #DCE5E8;

  /* ---- EI LIUKUVÄRIÄ — yhdenmukainen solid-aksentti (jätetty muuttuja yhteensopivuuden vuoksi) ---- */
  --grad: var(--c-primary);

  /* ---- MUODOT (terävät kulmat → arkkitehtoninen, erottuu demo1/demo3:sta) ---- */
  --r-sm: 0;
  --r:    0;
  --r-lg: 0;
  --r-pill: 0;

  /* ---- VARJOT (pehmeät, neutraalit) ---- */
  --shadow-sm: 0 1px 3px rgba(16,18,24,.06);
  --shadow:    0 14px 36px -16px rgba(16,18,24,.20);
  --shadow-lg: 0 28px 64px -22px rgba(16,18,24,.28);

  /* ---- TYPOGRAFIA (moderni, monikäyttöinen — ei kapea/maskuliininen, ei caps lock) ---- */
  --font-display: 'Archivo', 'Archivo Fallback', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;

  /* ---- MITAT ---- */
  --container: 1180px;
  --pad-x: clamp(18px, 5vw, 40px);
  --gap: clamp(18px, 2.4vw, 26px);
  --section-y: clamp(60px, 8vw, 108px);
}

/* =====================  VÄRI-PRESETIT  ============================
   TUMMA (arkkitehti):
     --c-bg:#14161B; --c-surface:#1C1F26; --c-surface-2:#0F1115;
     --c-text:#C7CAD2; --c-heading:#FFFFFF; --c-muted:#8B909B;
     --c-border:#2A2E37; --c-primary:#FF6A3D; --c-primary-2:#FF824F;
     --c-on-primary:#14161B; --c-dark:#0B0C10; --c-on-dark:#E6E9F0;

   SLATE-SININEN (aksentti):
     --c-primary:#2F6FED; --c-primary-2:#1E54C0; --c-dark:#141A24;

   VIHREÄ (kestävä rakentaminen):
     --c-primary:#2E9E6B; --c-primary-2:#1F7E53; --c-dark:#13201A;

   Toimialapaletit: ks. ../../CLAUDE.md
   ================================================================== */

/* ===========================  RESET / BASE  ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; overflow-x: clip;
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-heading); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); font-weight: 700; }
p { margin: 0 0 1rem; max-width: 66ch; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--c-primary); color: var(--c-on-primary); padding: 10px 18px; font-weight: 700; border-radius: var(--r); }
.skip-link:focus { left: 14px; }

/* ===========================  LAYOUT  ============================ */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-surface-2); }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--c-primary); }
.section--dark .eyebrow { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: var(--c-muted); }
.sec-head { max-width: 840px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head .lead { max-width: 60ch; }
.sec-head--center { margin-inline: auto; text-align: center; max-width: 880px; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }

/* ===========================  PAINIKKEET (pyöristetyt, solid aksentti)  ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  border: 1.5px solid transparent; transition: transform .16s ease, background .2s, box-shadow .2s, color .2s, border-color .2s;
  min-height: 50px;
}
.btn-primary {
  background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--c-primary) 70%, transparent);
}
.btn-ghost { background: transparent; color: var(--c-heading); border-color: var(--c-border); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn .arr { transition: transform .2s; font-weight: 700; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--c-primary-2); border-color: var(--c-primary-2); transform: translateY(-2px); box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--c-primary) 75%, transparent); }
  .btn-ghost:hover { border-color: var(--c-heading); background: var(--c-heading); color: var(--c-surface); }
  .btn-ghost.on-dark:hover { background: #fff; color: var(--c-dark); border-color: #fff; }
  .btn:hover .arr { transform: translateX(4px); }
}
.btn-primary:active { transform: translateY(0); }
.tlink { color: var(--c-primary); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 7px; align-items: center; }
@media (hover: hover) { .tlink:hover .arr { transform: translateX(4px); } }

/* ===========================  HERO (matala kuvabanneri + tumma filtteri)  ============================ */
.hero { position: relative; min-height: clamp(460px, 66vh, 620px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* hidas, hienovarainen Ken Burns -zoomi */
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 45%; animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.01); } to { transform: scale(1.09); } }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,16,20,.42) 0%, rgba(15,16,20,.55) 45%, rgba(15,16,20,.82) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 84px); color: #fff; text-align: center; max-width: 880px; margin-inline: auto; }
.hero-inner .eyebrow { color: #fff; justify-content: center; }
.hero-inner h1 { color: #fff; max-width: 20ch; margin-inline: auto; letter-spacing: -.025em; }
.hero-inner h1 .accent { color: var(--c-primary); }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.36rem); color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; justify-content: center; }
.hero-meta { display: flex; gap: 0; margin-top: 38px; flex-wrap: wrap; justify-content: center; border-top: 1px solid rgba(255,255,255,.22); }
.hero-meta .m { padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.22); }
.hero-meta .m:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-meta .m b { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: #fff; display: block; line-height: 1; letter-spacing: -.02em; }
.hero-meta .m span { font-size: .82rem; color: rgba(255,255,255,.72); }

/* ===========================  TRUST (vaalea, ilmava)  ============================ */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust-in { display: flex; align-items: center; gap: clamp(18px, 4vw, 50px); padding-block: 22px; flex-wrap: wrap; justify-content: center; }
.trust-in .t { display: flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 600; font-size: .95rem; }
.trust-in .t svg { color: var(--c-primary); flex: none; }

/* ===========================  PALVELUT (pehmeät kortit — 2×2, ei numeroita)  ============================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px 30px;
  transition: transform .2s ease, box-shadow .26s ease, border-color .2s; position: relative;
  display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--c-muted); margin-bottom: 18px; font-size: .97rem; }
.card .ico { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c-primary) 12%, var(--c-surface)); color: var(--c-primary); }
.card .tlink { justify-content: flex-start; margin-top: auto; }
@media (hover: hover) { .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.tori-cta { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 38px); }

/* ===========================  MEISTÄ + LUVUT  ============================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r-lg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.stat { padding: 0; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--c-heading); display: block; line-height: 1; letter-spacing: -.02em; }
.stat span { font-size: .86rem; color: var(--c-muted); }

/* ===========================  PROSESSI  ============================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--c-border); }
.step::before { content: counter(step); counter-increment: step;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--c-primary);
  width: 38px; height: 38px; display: grid; place-items: center; line-height: 1; margin-bottom: 14px;
  background: color-mix(in srgb, var(--c-primary) 12%, var(--c-surface)); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: .95rem; }

/* ===========================  GALLERIA (yhtenäinen 3-grid, pyöristetty, staattinen)  ============================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .g { margin: 0; overflow: hidden; display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) { .gallery .g:hover img { transform: scale(1.05); } }
.gallery .g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(15,16,20,.8)); font-weight: 600; font-size: .92rem; }

/* ===========================  REFERENSSIT (ei tähtiä)  ============================ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.quote { margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; }
.quote p { font-size: 1.06rem; color: var(--c-heading); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .av { width: 46px; height: 46px; object-fit: cover; border-radius: var(--r-pill); }
.quote .who b { display: block; font-size: .96rem; }
.quote .who span { font-size: .85rem; color: var(--c-muted); }

/* ===========================  HINNASTO  ============================ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: var(--gap); }
.plan { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: var(--c-dark); color: var(--c-on-dark); border-color: var(--c-dark); position: relative; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .tag { position: absolute; top: 18px; right: 18px; background: var(--c-primary); color: var(--c-on-primary); font-size: .72rem; font-weight: 700; padding: 6px 13px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .05em; }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--c-heading); line-height: 1; margin: 10px 0; letter-spacing: -.02em; }
.plan .price small { font-size: .9rem; color: var(--c-muted); font-family: var(--font-body); font-weight: 500; }
.plan.featured .price small { color: rgba(255,255,255,.6); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: .96rem; }
.plan.featured li { color: rgba(255,255,255,.85); }
.plan li svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ===========================  FAQ  ============================ */
.faq { max-width: 840px; margin-inline: auto; }
.faq details { border: 1px solid var(--c-border); border-radius: var(--r); margin-bottom: 12px; background: var(--c-surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 24px; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--c-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--c-primary); transition: rotate .2s; line-height: 1; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details[open] summary { color: var(--c-primary); }
.faq .a { padding: 0 24px 22px; color: var(--c-muted); }
.faq .a p { margin: 0; }

/* ===========================  CTA  ============================ */
.cta-band { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 76px); background: var(--c-dark); color: var(--c-on-dark); border-radius: var(--r-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 150% at 100% 0%, color-mix(in srgb, var(--c-primary) 24%, transparent), transparent 58%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .hero-cta { margin-top: 26px; }

/* ===========================  YHTEYS + LOMAKE  ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.contact-info .row svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.contact-info .row b { display: block; font-size: .95rem; }
.contact-info .row span { color: var(--c-muted); }
.contact-info .map { margin-top: 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-border); }
.contact-info .map iframe { width: 100%; height: 220px; border: 0; display: block; }

.form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 38px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 15px; border: 1.5px solid var(--c-border); border-radius: var(--r); background: var(--c-bg); color: var(--c-text); font: inherit; font-size: 16px; transition: border-color .16s, box-shadow .16s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 20%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--c-muted); margin-top: 4px; }
.form-msg { margin-top: 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; color: #1f9d55; }
.form-msg.err { display: block; color: #d64545; }

/* ===========================  REVEAL POISTETTU  ============================
   Scroll-reveal pois — häiritsi lukemista. Sisältö staattisesti.
   Ainoa liike: hero-kuvan hienovarainen zoomi + kevyt galleria-hover. */
.reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }

/* ===========================  RESPONSIIVISUUS  ============================ */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 44px; }
  .stats { gap: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-meta .m { border-right: 0; padding-right: 0; margin-right: 20px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta .btn, .cta-band .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===========================================================================
   NEMYPRESSUT — asiakaskohtaiset lisäykset
   Palvelukortit: kuva otsikon yläpuolella (korvaa pohjan ikonilaatikon).
   =========================================================================== */
.card .thumb { display: block; margin: -32px -30px 22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
@media (hover: hover) { .card:hover .thumb img { transform: scale(1.04); } }

/* Vihreä tukiaksentti: luottamusrivin merkit ja prosessin numerot */
.trust-in .t svg { color: var(--c-accent); }
.mitat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .mitat { grid-template-columns: 1fr; } }
.field select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r);
  background: var(--c-surface); color: var(--c-text); font: inherit; font-size: .97rem; }
.field select:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 1px; }
.field .hint { display: block; margin-top: 5px; font-size: .82rem; color: var(--c-muted); }

/* Hero-korostus vaaleampana: tumma sininen ei erotu valokuvan päältä. */
.hero-inner h1 .accent { color: #79BFE3; }

/* --- Palaute 12.8.2026: silmämerkit olivat liian pieniä ja huonosti erottuvia --- */

/* Kaikki osiomerkit isommalla; viiva samassa suhteessa. */
.eyebrow { font-size: .95rem; letter-spacing: .12em; margin-bottom: 18px; }
.eyebrow::before { width: 30px; height: 3px; }

/* Hero-merkki vielä astetta isompi + valkoinen viiva (tumma sininen katosi kuvaan). */
.hero-inner .eyebrow { font-size: 1.08rem; margin-bottom: 20px; }
.hero-inner .eyebrow::before { background: #fff; width: 34px; }

/* CTA-palkki on tumma: merkki ja viiva valkoisina, muuten ne eivät erotu. */
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #fff; }

/* Yksi tietoinen poikkeus kulmikkuuteen: CTA-palkki oli liian jyrkkä laatikko. */
.cta-band { border-radius: 14px; }

/* --- Palaute 12.8.2026 (2): leipäteksti korteissa ja vaiheissa oli liian pientä --- */
.step p        { font-size: 1.02rem; line-height: 1.6; }
.step h3       { font-size: 1.24rem; }
.card p        { font-size: 1.03rem; line-height: 1.6; }
.trust-in .t   { font-size: 1.02rem; }
.contact-info .row b { font-size: 1rem; }
.faq .a        { font-size: 1.03rem; }
.field label   { font-size: .97rem; }
.field select  { font-size: 16px; }   /* sama kuin inputeissa — alle 16px zoomaa iOS:ssä */
.form-note     { font-size: .92rem; }
.field .hint   { font-size: .9rem; }

/* "Muuta valikoimasta" ei ole vaiheittainen prosessi, joten numerointi pois:
   1–4 antoi vaikutelman järjestyksestä jota ei ole. */
.steps--plain { counter-reset: none; }
.steps--plain .step::before { display: none; }
.steps--plain .step { padding-top: 22px; }

/* --- 13.8.2026: hero on venekuva (Pekan toive: venekuva enemmän esille) ---
   Venepeite on kuvassa alhaalla keskellä, eli täsmälleen siinä kohdassa jossa vanha
   asettelu piti tekstiä ja gradientin tummaa päätä. Teksti nostetaan yläreunaan ja
   overlay käännetään: tumma ylhäällä tekstin takana, kirkas alhaalla veneen kohdalla.
   (14.8. kokeiltiin uima-allaskuvaa herona — palautettu venekuvaan, allas meni
   mittatilaus-osioon.) */
.hero { min-height: clamp(560px, 78vh, 720px); align-items: flex-start; }
.hero-inner { padding-block: clamp(38px, 5vw, 62px) 0; }
.hero-overlay {
  background: linear-gradient(180deg,
    rgba(15,16,20,.60) 0%,
    rgba(15,16,20,.52) 34%,
    rgba(15,16,20,.24) 64%,
    rgba(15,16,20,.14) 82%,
    rgba(15,16,20,.34) 100%); }
/* Zoomi kohdistuu veneeseen, ei taivaaseen. */
.hero-bg img { transform-origin: 50% 72%; }

@media (max-width: 640px) {
  /* Kapealla ruudulla teksti vie enemmän tilaa: hero pidemmäksi, jotta vene mahtuu alle. */
  .hero { min-height: min(680px, 88vh); }
}
/* Kuva on nyt kirkkaampi, joten teksti tarvitsee oman kontrastinsa: pehmeä varjo
   pitää sen luettavana myös veneen vaalean pinnan päällä ilman kuvan tummentamista. */
.hero-inner .eyebrow,
.hero-inner h1,
.hero-inner .hero-sub { text-shadow: 0 2px 20px rgba(10,12,16,.6), 0 1px 3px rgba(10,12,16,.45); }

/* --- 18.8.2026: venekuva myös mittatilaus-osioon (Pekan toive) ---
   Sama kuva kuin bannerissa, mutta ilman tummaa overlaytä eli alkuperäisillä
   väreillä. Kahden kuvan pino tarvitsee oman välinsä, ja panoraama säilyttää
   oman 3:1-suhteensa (osion oletus 5/4 rajaisi veneen pois). */
.about-media { display: grid; gap: 18px; }
.about-media img.wide { aspect-ratio: 3 / 1; }
