/* Soontek front page. Loaded before soontek-palkki.css (the bar and the footer).
   Motion rules as on the product pages: the base style is the end state, hiding only under html.js. */
@font-face { font-family: "Montserrat"; font-weight: 300 900; font-display: swap;
  src: url(/g/static/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format("woff2"); }

:root {
  --ground: #000; --ink: #fff; --ink-2: #b9bbba; --ink-3: #808483;
  --panel: #0a0b0d; --panel-2: #101215;
  --line: rgba(255,255,255,.13); --line-2: rgba(255,255,255,.07);
  --accent: #ff6a1f; --glow: rgba(255,106,31,.34);
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wide: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); overflow-x: clip;
  font: 400 1.05rem/1.7 "Montserrat", "Helvetica Neue", Arial, sans-serif; }
img, svg { max-width: 100%; display: block; } img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 900; text-transform: uppercase; line-height: 1.08; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2rem; }
em { font-style: normal; color: var(--accent); }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 6.5rem 0; position: relative; }
section.black { background: #000; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { font: 400 .78rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; }
.sechead { max-width: 46rem; margin-bottom: 3.2rem; }
.sechead p:not(.eyebrow) { color: var(--ink-2); font-size: 1.12rem; margin: 0; }
.button { display: inline-flex; gap: .6rem; align-items: center; background: var(--accent); color: #000; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; padding: 1rem 1.6rem; border: 0; cursor: pointer;
  font-family: inherit; transition: box-shadow .3s, transform .3s var(--ease); }
.button:hover { box-shadow: 0 0 40px var(--glow); transform: translateY(-2px); }

/* Drawn pictures. Lines draw themselves when their block is revealed. */
.ill { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .o { stroke: var(--accent); } .ill .f { fill: var(--accent); stroke: none; } .ill .dim { stroke: rgba(255,255,255,.28); }
.ill .fw { fill: rgba(255,255,255,.62); stroke: none; }
.ill text { font: 8px var(--mono); letter-spacing: .12em; fill: var(--ink-3); stroke: none; }
.ill [pathLength] { stroke-dasharray: 1; }
.js [data-reveal] .ill [pathLength] { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + var(--i, 0) * .12s); }
.js [data-reveal].is-in .ill [pathLength] { stroke-dashoffset: 0; }

/* ---- progress wire (the bar is tyyli/soontek-palkki.css) ---- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 12px var(--glow);
  transform: scaleX(var(--scroll, 0)); transform-origin: 0 50%; }

/* ---- pinned photo bands (works on iOS, unlike background-attachment) ----- */
.band { position: relative; clip-path: inset(0); }
.band__img { position: fixed; inset: 0; z-index: -1; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__img::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,var(--dim, .3)); }

/* ---- hero: the trademark stays ------------------------------------------ */
.hero { min-height: min(100svh, 62rem); padding: 0; display: grid; grid-template-rows: 1fr auto; text-align: center; }
.hero__mid { display: grid; place-content: center; justify-items: center; padding: 7rem 1.5rem 3rem; }
.js .hero .band__img img { animation: breathe 26s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.1); } }
.plate { background: #000; padding: 1.6rem clamp(1.5rem, 6vw, 5.5rem); width: min(100%, 60rem); }
.plate img { width: 100%; }
.js .plate { animation: open 1.3s var(--ease) .15s both; }
@keyframes open { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0); } }
.hero h1 { margin: 2rem 0 0; font-size: clamp(.8rem, 1.6vw, 1.05rem); font-weight: 400; letter-spacing: .5em; text-indent: .5em; }
.js .hero h1 { animation: fade 1s var(--ease) 1.1s both; }
@keyframes fade { from { opacity: 0; transform: translateY(1rem); } }
/* Doors along the bottom edge of the opening view: the way forward is visible at once. */
.rail { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: left; }
.js .rail { animation: fade 1s var(--ease) 1.4s both; }
.rail a { padding: 1.15rem 1.4rem 1.25rem; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.rail a:last-child { border-right: 0; }
.rail a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.rail a:hover { background: rgba(255,106,31,.09); } .rail a:hover::before { transform: scaleX(1); }
.rail small { display: block; font: .68rem var(--mono); letter-spacing: .16em; color: var(--ink-3); margin-bottom: .35rem; }
.rail small b { color: var(--accent); font-weight: 400; }
.rail span { font-weight: 800; font-size: .95rem; text-transform: uppercase; line-height: 1.2; display: flex; justify-content: space-between; gap: .5rem; }
.rail span i { font-style: normal; color: var(--accent); transition: transform .35s var(--ease); }
.rail a:hover span i { transform: translateX(.35rem); }

/* ---- ticker ---------------------------------------------------------------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: #000; position: relative; }
.ticker div { display: flex; width: max-content; gap: 3rem; animation: slide 40s linear infinite;
  font: .8rem/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.ticker:hover div { animation-play-state: paused; }
.ticker span::after { content: "/"; color: var(--accent); margin-left: 3rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- solutions ------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.tile { position: relative; padding: 2.3rem 2.2rem 2.1rem; min-height: 19rem; display: flex; flex-direction: column;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.tile:nth-child(2n) { border-right: 0; } .tile:nth-last-child(-n+2) { border-bottom: 0; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgba(255,106,31,.16), transparent 65%); }
.tile:hover::before { opacity: 1; }
.tile .no { font: .74rem var(--mono); letter-spacing: .18em; color: var(--ink-3); margin-bottom: 1.4rem; }
.tile .no b { color: var(--accent); font-weight: 400; }
.tile h3 { max-width: 14rem; }
.tile p { color: var(--ink-2); font-size: .98rem; max-width: 17.5rem; }
.tile .ill { position: absolute; right: 1.6rem; top: 1.8rem; width: 12rem; height: auto; transition: transform .6s var(--ease); }
.tile:hover .ill { transform: translateY(-4px); }
.tile .go { margin-top: auto; font-weight: 700; font-size: .88rem; letter-spacing: .04em; display: inline-flex; gap: .6rem; }
.tile .go i { font-style: normal; color: var(--accent); transition: transform .35s var(--ease); }
.tile:hover .go i { transform: translateX(.5rem); }
.tile .tag { align-self: flex-start; font: .64rem var(--mono); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--accent); color: var(--accent); padding: .28rem .5rem; margin: -.4rem 0 1rem; }

/* ---- the future now: long text, given structure --------------------------- */
.future { background: var(--panel); border-block: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 4rem; padding: 3.5rem 0; border-top: 1px solid var(--line); }
.pillar:last-child { padding-bottom: 0; }
.pillar__side { position: sticky; top: 6.5rem; align-self: start; }
.pillar__no { font: 900 5.5rem/1 "Montserrat", sans-serif; color: #000; -webkit-text-stroke: 2.5px var(--accent); paint-order: stroke fill; margin-bottom: .6rem; }
.future .pillar__no { color: var(--panel); }
.pillar h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.6rem; }
.pillar .ill { width: 100%; max-width: 19rem; height: auto; }
.pillar__text p { color: var(--ink-2); max-width: 41rem; }
.pillar__text p.lead { color: #fff; font-size: 1.3rem; font-weight: 300; line-height: 1.55; margin-bottom: 1.6rem; }
.pillar__text p.close { color: #fff; font-weight: 700; border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 1.8rem 0 0; }

/* ---- details ---------------------------------------------------------------- */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.box { padding: 2.2rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.box:nth-child(3n) { border-right: 0; } .box:nth-last-child(-n+3) { border-bottom: 0; }
.box:hover { background: var(--panel); }
.box .ill { width: 3.4rem; height: 3.4rem; margin-bottom: 1.4rem; stroke-width: 1.3; }
.box h3 { font-size: 1.1rem; } .box p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---- statement band ----------------------------------------------------------- */
.statement { padding: 9rem 0; --dim: .62; }
.statement h2 { font-size: clamp(2.1rem, 6vw, 5rem); max-width: 16ch; line-height: 1.02; margin: 0; }
.statement h2 span { color: transparent; -webkit-text-stroke: 0; color: var(--accent); }

/* ---- about -------------------------------------------------------------------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
.about__side { position: sticky; top: 6.5rem; }
.about h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.about p { color: var(--ink-2); max-width: 41rem; }
.about p.lead { color: #fff; font-size: 1.3rem; font-weight: 300; line-height: 1.55; }
.about p.close { color: #fff; font-weight: 700; border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 1.8rem 0 2.2rem; }
.facts { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts b { font-size: 1.7rem; font-weight: 900; line-height: 1; } .facts span { color: var(--ink-2); font-size: .9rem; }

/* ---- products + shop ------------------------------------------------------------ */
.products { background: var(--panel); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { border: 1px solid var(--line); background: #000; display: flex; flex-direction: column; }
.card figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card div { padding: 1.5rem 1.5rem 1.7rem; } .card p { color: var(--ink-2); font-size: .93rem; margin: 0 0 .5rem; }
.shopbar { margin-top: 1.5rem; border: 1px solid var(--accent); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 1.8rem 2rem;
  background: linear-gradient(90deg, rgba(255,106,31,.14), transparent 70%); transition: background .4s; }
.shopbar:hover { background: linear-gradient(90deg, rgba(255,106,31,.26), rgba(255,106,31,.05)); }
.shopbar h3 { margin: 0 0 .3rem; font-size: 1.6rem; } .shopbar p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---- contact (the footer is tyyli/soontek-palkki.css) ------------------------------ */
.contact { --dim: .8; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact .mail { display: inline-block; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 900; margin: .4rem 0 1.6rem; border-bottom: 2px solid var(--accent); }
.contact address { font-style: normal; color: var(--ink-2); }
form { display: grid; gap: .9rem; }
form label { font: .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: grid; gap: .4rem; }
form input[type=text], form input[type=email], form textarea { background: rgba(0,0,0,.6); border: 1px solid var(--line); color: #fff; padding: .85rem 1rem; font: 400 1rem "Montserrat", sans-serif; transition: border-color .3s; }
form input:focus, form textarea:focus { outline: 0; border-color: var(--accent); }
form .check { display: flex; gap: .7rem; align-items: center; font: 400 .85rem "Montserrat", sans-serif; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
form .check a { text-decoration: underline; } form .button { justify-self: start; }
/* Honeypot for bots: people never see it, lomake/laheta.php drops a message that fills it. */
form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* laheta.php sends the browser back to /#sent or /#failed: the note shows without a script. */
form .note { display: none; margin: 0; padding: .9rem 1.1rem; border-left: 3px solid var(--accent);
  background: rgba(0,0,0,.7); color: #fff; font-size: .95rem; }
form .note:target { display: block; } form .note.bad { border-left-color: #e5484d; }
form .note a { text-decoration: underline; }

.js [data-reveal] { opacity: 0; transform: translateY(1.6rem);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 975px) {
  section { padding: 4.5rem 0; }
  .pillar, .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .pillar__side, .about__side { position: static; } .pillar .ill { max-width: 15rem; }
  .pillar__no { font-size: 4rem; }
  .cards, .boxes { grid-template-columns: 1fr 1fr; }
  .box:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .box:nth-child(2n) { border-right: 0; } .box:nth-last-child(-n+2) { border-bottom: 0; }
  .rail { grid-template-columns: repeat(5, minmax(11rem, 1fr)); overflow-x: auto; scrollbar-width: none; } .rail::-webkit-scrollbar { display: none; }
  .tile .ill { width: 9.5rem; opacity: .8; }
}
@media (max-width: 575px) {
  .tiles, .cards, .boxes { grid-template-columns: 1fr; }
  .tile { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .tile:last-child { border-bottom: 0 !important; }
  .tile .ill { position: static; margin: 0 0 1rem; width: 11rem; }
  .box:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); } .box:last-child { border-bottom: 0; }
  .shopbar { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; } .js [data-reveal] .ill [pathLength] { stroke-dashoffset: 0; }
}
