/* Solera Creative — shared styles.
   Layout: sticky top bar, full-bleed sections with a centred wrap, generous editorial type. Single committed look (whitewash ground, sherry ink, amber sun). */
:root {
  --oloroso: #3B1A14;
  --oloroso-2: #4A241C;
  --sol: #E8992E;
  --sol-deep: #93540C;
  --rosa: #E58F8A;
  --cal: #FAF7F2;
  --cal-2: #F1EADF;
  --line: #E3D8CA;
  --ink-2: #5A3A30;
  --soft: #6E5048;
  --on-dark: #EADFD3;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --bar: 64px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--cal); color: var(--oloroso); }
body { font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--sol); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* language: both versions live in the markup, one is hidden */
html:not([data-lang="es"]) .es { display: none !important; }
html[data-lang="es"] .en { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: max(16px, 3.2vw); }

/* top bar */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(250, 247, 242, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); color: var(--oloroso);
}
.topbar.dark { background: var(--oloroso); color: var(--cal); border-bottom-color: rgba(250,247,242,.12); }
.bar { height: var(--bar); display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 34px; color: var(--sol); display: block; }
.logo span { font-family: var(--display); font-size: 24px; line-height: 1; }
.links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.links a { text-decoration: none; opacity: .85; padding-block: 6px; border-bottom: 2px solid transparent; }
.links a:hover { opacity: 1; }
.links a[aria-current="page"] { opacity: 1; border-bottom-color: var(--sol); }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.lang button {
  font: 500 12px var(--mono); letter-spacing: .08em; cursor: pointer; background: transparent; color: inherit;
  border: 0; border-radius: 999px; padding: 5px 10px; min-height: 30px;
}
.lang button[aria-pressed="true"] { background: var(--sol); color: var(--oloroso); }
.menu-btn {
  display: none; font: 600 14px var(--body); background: transparent; color: inherit; cursor: pointer;
  border: 1px solid currentColor; border-radius: 999px; padding: 8px 14px; min-height: 40px;
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .links {
    display: none; position: absolute; top: var(--bar); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, 3.2vw) 20px;
    background: inherit; border-bottom: 1px solid var(--line);
  }
  .topbar.dark .links { background: var(--oloroso); }
  .topbar:not(.dark) .links { background: var(--cal); }
  .topbar.open .links { display: flex; }
  .links a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .topbar.dark .links a { border-bottom-color: rgba(250,247,242,.12); }
  .links a[aria-current="page"] { border-bottom-color: var(--sol); }
  .links .btn { margin-top: 14px; justify-content: center; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  background: var(--oloroso); color: var(--cal); border: 0; font: 600 16px var(--body);
  padding: 14px 22px; border-radius: 999px; min-height: 48px; transition: background .15s, color .15s;
}
.btn:hover { background: var(--sol); color: var(--oloroso); }
.btn.sun { background: var(--sol); color: var(--oloroso); }
.btn.sun:hover { background: var(--cal); }
.btn.small { padding: 9px 16px; min-height: 40px; font-size: 14px; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { background: var(--oloroso); color: var(--cal); box-shadow: none; }
.topbar.dark .btn.small { background: var(--sol); color: var(--oloroso); }
.arrow { display: inline-block; transition: transform .15s; }
a:hover .arrow { transform: translateX(4px); }

/* type */
.eyebrow { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--sol-deep); }
.dark .eyebrow, .on-dark .eyebrow { color: var(--sol); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
.h-xl { font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.h-l { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -0.015em; }
.h-m { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.h-s { font-size: 26px; line-height: 1.12; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 0; }
.on-dark .lede { color: var(--on-dark); }
p { margin: 0; }
.muted { color: var(--soft); }

/* sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tint { background: var(--cal-2); }
.section.on-dark { background: var(--oloroso); color: var(--cal); }
.section + .section:not(.tint):not(.on-dark) { border-top: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.head > div { display: grid; gap: 14px; max-width: 760px; }
.head > .chips, .head .chips { display: flex; max-width: none; }
.stack { display: grid; gap: 22px; }

.page-hero { padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 24px; }
.page-hero .h-xl { max-width: 16ch; }

/* grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--sol-deep); }
.card p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
a.card { text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--oloroso); transform: translateY(-2px); }
.more { font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

/* steps */
.step { display: grid; gap: 10px; align-content: start; border-top: 2px solid currentColor; padding-top: 18px; }
.step .n { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--sol-deep); }
.on-dark .step .n { color: var(--sol); }
.step p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.on-dark .step p { color: var(--on-dark); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--cal); padding-block: 22px; }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; }
.marquee span.item { font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span.item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--sol); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; flex-wrap: wrap; width: auto; } }

/* work tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.tile { text-decoration: none; display: grid; gap: 14px; }
.tile .art {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: 10px; overflow: hidden; position: relative;
  display: grid; place-items: center; padding: 24px; transition: transform .25s ease;
}
.tile:hover .art { transform: scale(.985); }
.tile .art .name { font-family: var(--display); font-size: clamp(34px, 4vw, 52px); line-height: .95; text-align: center; position: relative; z-index: 1; }
.tile .art .rings { position: absolute; right: -40px; bottom: -18px; width: 62%; opacity: .25; }
.tile .meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.tile .meta h3 { font-size: 24px; }
.tile .meta .tags { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.tile p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 14px var(--body); cursor: pointer; background: #fff; color: var(--oloroso);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; min-height: 40px;
}
a.chip { text-decoration: none; display: inline-flex; align-items: center; }
a.chip:hover { border-color: var(--oloroso); }
.chip[aria-pressed="true"] { background: var(--oloroso); color: var(--cal); border-color: var(--oloroso); }

/* quote */
.quote { display: grid; gap: 22px; max-width: 900px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; }
.quote cite { font-style: normal; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sol); }

/* packages */
.pkg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; display: grid; gap: 16px; align-content: start; }
.pkg.feature { background: var(--oloroso); color: var(--cal); border-color: var(--oloroso); }
.pkg .price { font-family: var(--display); font-size: 40px; line-height: 1; }
.pkg .price small { font-family: var(--body); font-size: 14px; color: var(--soft); margin-left: 6px; }
.pkg.feature .price small, .pkg.feature li, .pkg.feature p { color: var(--on-dark); }
.pkg ul { margin: 0; padding-left: 18px; line-height: 1.8; color: var(--ink-2); font-size: 15px; }
.pkg .badge { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--sol); color: var(--oloroso); padding: 4px 10px; border-radius: 999px; }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--body); font-size: 28px; color: var(--sol-deep); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--soft); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: 400 16px var(--body); color: var(--oloroso); background: #fff; width: 100%;
  border: 1px solid #CDBFAF; border-radius: 8px; padding: 13px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid #CDBFAF; background: #fff; font-size: 15px; cursor: pointer;
}
.check input:checked + span { background: var(--oloroso); color: var(--cal); border-color: var(--oloroso); }
.check input:focus-visible + span { outline: 2px solid var(--sol); outline-offset: 3px; }
.thanks { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: grid; gap: 12px; }

/* footer */
.footer { background: var(--oloroso); color: var(--cal); padding-block: 72px 36px; }
.footer .top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; }
.footer .big { font-family: var(--display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1; max-width: 14ch; }
.footer h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--sol); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--on-dark); }
.footer a:hover { color: var(--sol); }
.footer .mail { font-family: var(--mono); font-size: 15px; color: var(--cal); user-select: all; }
.footer .news { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .news input { flex: 1 1 180px; min-width: 0; background: transparent; color: var(--cal); border-color: rgba(250,247,242,.35); }
.footer .news input::placeholder { color: #BFA99C; }
.footer .bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(250,247,242,.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: #C9B6AA;
}

/* reveal on scroll: content is visible by default; script only hides what is below the fold */
.reveal.pre { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } .reveal.pre { opacity: 1; transform: none; } }

/* ===== Awwwards-style layer ===== */
/* entry cover: set by the inline head script, cleared by site.js (3s failsafe if script fails) */
html.is-entering body::before { content: ""; position: fixed; inset: 0; background: #3B1A14; z-index: 99; animation: failsafe 0s 3s forwards; }
@keyframes failsafe { to { visibility: hidden; } }
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--oloroso); color: var(--sol); display: grid; place-items: center; transform: translateY(0); }
.curtain .c-in { display: grid; justify-items: center; gap: 14px; }
.curtain svg { width: 84px; overflow: visible; }
.curtain .count { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.curtain.from-below { transform: translateY(100%); }
.curtain.cover { transform: translateY(0); transition: transform .5s cubic-bezier(.76,0,.24,1); }
.curtain.up { transform: translateY(-100%); transition: transform .75s cubic-bezier(.76,0,.24,1); }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--sol); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 110; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* split-word headline reveals */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transition: transform .95s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 45ms); }
.split.hide .wi { transform: translateY(108%); }

/* cursor (fine pointers only, added by script) */
.cur, .cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 120; border-radius: 50%; }
.cur { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--sol); }
.cur-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--sol);
  display: grid; place-items: center; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--oloroso);
  transition: width .25s, height .25s, margin .25s, background-color .25s, opacity .2s;
}
.cur-ring span { opacity: 0; transition: opacity .2s; }
.cur-ring.hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(232,153,46,.16); }
.cur-ring.label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--sol); }
.cur-ring.label span { opacity: 1; }
.cur.hide, .cur-ring.hide { opacity: 0; }

/* magnetic buttons */
.btn { transition: background .15s, color .15s, transform .25s cubic-bezier(.2,.8,.2,1); }

/* horizontal work rail (home) */
.hs-pin { padding-block: clamp(64px, 9vw, 112px); }
.hs-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; max-width: 1180px; margin: 0 auto; padding-inline: max(16px, 3.2vw); }
.hs-intro { display: grid; gap: 16px; align-content: center; }
.hs-intro .hint { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); display: none; }
.hs.on .hs-pin { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--bar)); height: calc(100vh - var(--bar)); height: calc(100svh - var(--bar)); overflow: hidden; display: flex; align-items: center; padding: 0; }
.hs.on .hs-track { display: flex; gap: 36px; max-width: none; margin: 0; will-change: transform; align-items: center; }
.hs.on .hs-track > * { flex: 0 0 clamp(340px, 34vw, 500px); }
.hs.on .hs-intro { flex-basis: clamp(300px, 30vw, 440px); }
.hs.on .hs-intro .hint { display: block; }

/* work list view with hover preview */
.plist { border-top: 1px solid var(--line); }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s cubic-bezier(.2,.8,.2,1); }
.prow:hover { padding-left: 18px; }
.prow .pname { font-family: var(--display); font-size: clamp(32px, 5.4vw, 72px); line-height: 1.02; }
.prow .ptags { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.pprev {
  position: fixed; top: 0; left: 0; width: 320px; aspect-ratio: 4 / 3; border-radius: 10px; pointer-events: none; z-index: 40;
  display: grid; place-items: center; padding: 20px; text-align: center; font-family: var(--display); font-size: 40px; line-height: .95;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.pprev.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }

/* giant footer wordmark */
.giant { font-family: var(--display); font-size: clamp(66px, 20vw, 250px); line-height: .8; letter-spacing: -.03em; color: var(--sol); margin-top: 56px; white-space: nowrap; overflow: hidden; text-align: center; padding-top: .06em; }
.giant .gc { display: inline-block; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.giant.hide .gc { transform: translateY(85%); }

@media (prefers-reduced-motion: reduce) {
  .split.hide .wi, .giant.hide .gc { transform: none; }
  .curtain, .progress { display: none; }
}

/* ===== Solera layers: services stack like the tiers of a solera ===== */
.layers { --tier: 46px; position: relative; padding-bottom: 18vh; }
@media (max-width: 700px) { .layers { --tier: 40px; } }
.layers-head { display: grid; gap: 16px; margin-bottom: 40px; max-width: 760px; }
.tracker { display: flex; gap: 10px; margin-top: 8px; }
.tracker i { width: 22px; height: 13px; border: 2px solid var(--oloroso); border-bottom: 0; border-radius: 22px 22px 0 0; transition: background-color .3s, border-color .3s; }
.tracker i.on { background: var(--sol); border-color: var(--sol-deep); }
.layer {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--bar) + 20px + var(--i) * var(--tier));
  background: var(--bg); color: var(--fg); border-radius: 18px; margin-bottom: 28px;
  padding: 0 clamp(20px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px);
  min-height: min(68vh, 560px); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--tier) 1fr; align-content: start;
  box-shadow: 0 -14px 34px -22px rgba(59, 26, 20, .55); transform-origin: 50% 0; scroll-margin-top: calc(var(--bar) + 20px);
}
.layer > * { min-width: 0; }
.layer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.layer-top .lname { display: flex; gap: 14px; align-items: baseline; min-width: 0; }
.layer-top .lname b { font-weight: 500; opacity: .7; }
.layer-top .lname span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.layer-top svg { width: 34px; flex-shrink: 0; }
.layer-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 48px; align-items: start; padding-top: clamp(16px, 3vw, 36px); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.layer-body > * { min-width: 0; }
.layer h3 { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.015em; }
.layer .ld { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; margin-top: 16px; max-width: 46ch; opacity: .92; }
.layer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.layer li { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 16px; display: flex; gap: 12px; align-items: baseline; }
.layer li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; flex-shrink: 0; transform: translateY(-2px); }
.layer .lmore { display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 600; text-decoration: none; color: inherit; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.layers-end { text-align: center; display: grid; justify-items: center; gap: 18px; padding-top: 24px; }
.layers-end p { font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; max-width: 22ch; }

/* solera diagram (studio) */
.solera-fig { margin: 48px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 3vw, 36px); overflow-x: auto; }
.solera-fig svg { display: block; width: 100%; min-width: 560px; height: auto; }
.solera-fig figcaption { margin-top: 16px; font-size: 15px; color: var(--soft); max-width: 70ch; }

/* partners & certifications */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.badge-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 6px; align-content: start; min-height: 150px; }
.badge-card .who { font-family: var(--body); font-weight: 600; font-size: 28px; letter-spacing: -0.01em; line-height: 1; }
.badge-card .what { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sol-deep); }
.badge-card .yr { font-family: var(--mono); font-size: 12px; color: var(--soft); margin-top: auto; padding-top: 14px; }
.partners-note { margin-top: 18px; font-size: 14px; color: var(--soft); max-width: 70ch; }
.badge-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.badge-card:hover { border-color: var(--oloroso); transform: translateY(-2px); }
.badge-card .bicon { width: 34px; height: 34px; margin-bottom: 10px; }

/* nav logo: the sun sets and rises again, letters lift in a wave */
.logo .lw { display: inline-flex; }
.logo .lw i { font-style: normal; display: inline-block; }
.logo svg path { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .logo:hover svg .r1, .logo:focus-visible svg .r1 { animation: sunrise .9s cubic-bezier(.3,.7,.2,1) 0s; }
  .logo:hover svg .r2, .logo:focus-visible svg .r2 { animation: sunrise .9s cubic-bezier(.3,.7,.2,1) .08s both; }
  .logo:hover svg .r3, .logo:focus-visible svg .r3 { animation: sunrise .9s cubic-bezier(.3,.7,.2,1) .16s both; }
  .logo:hover .lw i, .logo:focus-visible .lw i { animation: lift .55s cubic-bezier(.3,.7,.2,1) calc(var(--d) * 45ms + .2s) both; }
}
@keyframes sunrise {
  0% { transform: translateY(0); }
  35% { transform: translateY(66px); }
  40% { transform: translateY(66px); }
  100% { transform: translateY(0); }
}
@keyframes lift {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
}

/* ===== The Solera method: new techniques blended into proven foundations ===== */
.blend { display: grid; gap: 18px; margin-top: 8px; }
.tier { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 32px); }
@media (max-width: 760px) { .tier { grid-template-columns: minmax(0, 1fr); } }
.tier .tl { display: grid; gap: 6px; }
.tier .tl b { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; }
.tier .tl > span { font-size: 15px; color: var(--soft); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tier li { border-radius: 999px; padding: 10px 16px; font-size: 15px; font-weight: 500; }
.tier.new { background: #FFF8EC; border-color: #F0D6A8; }
.tier.new li { background: #fff; border: 1.5px dashed var(--sol); color: var(--oloroso); }
.tier.found { background: var(--oloroso); border-color: var(--oloroso); color: var(--cal); }
.tier.found .tl > span { color: var(--on-dark); }
.tier.found li { background: rgba(250,247,242,.1); border: 1px solid rgba(250,247,242,.28); color: var(--cal); }
.pour { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--sol-deep); font-weight: 600; font-size: 15px; text-align: center; }
.pour svg { width: 22px; height: 36px; flex-shrink: 0; }
.tier.result { background: var(--sol); border-color: var(--sol); }
.tier.result .tl > span { color: var(--oloroso); }
.tier.result p { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0; }
.principles { margin-top: 40px; }

/* client logos (mono, tinted by currentColor) */
.lm { display: block; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; aspect-ratio: var(--ar, 3); }
.lm.solstead { --src: url(img/logos/solstead.svg); --ar: 4.12; }
.lm.sv { --src: url(img/logos/speaking-volumes.svg); --ar: 2.43; }
.lm.velo-i { --src: url(img/logos/veloseo-icon.svg); --ar: 1.13; }
.velo { display: inline-flex; align-items: center; gap: .32em; font-family: var(--body); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.velo .lm { height: .95em; }
.velo b { font-weight: 800; }
.tile .art .lm { position: relative; z-index: 1; width: min(70%, 300px); }
.tile .art .lm.sv { width: min(52%, 220px); }
.tile .art .velo { position: relative; z-index: 1; font-size: clamp(38px, 4.4vw, 58px); }
.pprev .lm { width: 72%; }
.pprev .lm.sv { width: 56%; }
.pprev .velo { font-size: 46px; }
.trusted .lm { height: 30px; }
.trusted .lm.sv { height: 40px; }
.trusted .velo { font-size: 26px; }

/* concept brand marks */
.cmark { display: grid; justify-items: center; gap: 14px; position: relative; z-index: 1; text-align: center; }
.cmark svg { width: clamp(60px, 7vw, 92px); height: auto; }
.cmark .wm { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.wm-terral { font-family: var(--display); letter-spacing: -.01em; }
.wm-terral small { display: block; font-family: var(--body); font-size: .3em; letter-spacing: .32em; text-transform: uppercase; margin-top: .55em; font-weight: 600; }
.wm-tide { font-family: var(--body); font-weight: 600; letter-spacing: .02em; text-transform: lowercase; }
.wm-tide small { display: block; font-size: .3em; letter-spacing: .34em; text-transform: uppercase; margin-top: .6em; font-weight: 500; }
.wm-kestrel { font-family: var(--body); font-weight: 700; letter-spacing: -.04em; }
.wm-kestrel span { font-weight: 400; opacity: .8; }
.pprev .cmark svg { width: 70px; }
.pprev .cmark .wm { font-size: 34px; }
.concept-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; width: fit-content; }
.concept-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* concept case pages */
.case-hero { padding-block: clamp(64px, 10vw, 120px); }
.case-hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.case-hero .wrap > * { min-width: 0; }
.case-hero .cmark svg { width: clamp(110px, 16vw, 180px); }
.case-hero .cmark .wm { font-size: clamp(44px, 7vw, 84px); }
.note-concept { border: 1px dashed var(--line-2, rgba(59,26,20,.3)); border-radius: 10px; padding: 18px 22px; display: grid; gap: 6px; background: var(--cal-2); }
.note-concept strong { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--oloroso); }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.swatch { border-radius: 10px; aspect-ratio: 1 / 1; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; border: 1px solid rgba(0,0,0,.08); }
.swatch b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.swatch span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.app { border-radius: 12px; aspect-ratio: 4 / 5; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; overflow: hidden; position: relative; min-width: 0; }
.app .al { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.app h4 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; margin: 0; }
.app p { font-size: 15px; line-height: 1.45; margin: 0; }
.app .row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid currentColor; padding-bottom: 8px; font-size: 15px; opacity: .92; }
.app .row:last-child { border-bottom: 0; }
.typespec { display: grid; gap: 10px; }
.typespec .big { font-size: clamp(56px, 9vw, 120px); line-height: .9; }
.target { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sol); }
.case-hero .hero-mark svg { width: clamp(150px, 24vw, 300px); }
.footer .top > * { min-width: 0; }
@media (min-width: 960px) { .footer .top { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); } }
.footer .big { font-size: clamp(34px, 3.6vw, 52px); }
.apps.a-terral h4 { font-family: var(--display); font-weight: 400; }
.apps.a-kestrel h4, .apps.a-tide h4 { font-family: var(--body); font-weight: 700; letter-spacing: -.02em; }

/* concept lockups v2: lettered, not icon + wordmark */
.lk { display: inline-grid; position: relative; z-index: 1; line-height: .82; font-size: clamp(54px, 6vw, 78px); }
.lk-terral { justify-items: start; }
.lk-terral .c { font-family: "Yellowtail", cursive; font-size: .5em; transform: rotate(-9deg); transform-origin: left bottom; margin: 0 0 -.12em .08em; color: var(--lk-accent, currentColor); }
.lk-terral .t { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.025em; }
.lk-terral .s { justify-self: stretch; font-family: var(--body); font-size: .145em; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-top: .9em; padding-top: .75em; border-top: 2px solid currentColor; line-height: 1.2; }
.lk-tide .stamp { width: clamp(150px, 15vw, 200px); height: auto; display: block; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tile:hover .lk-tide .stamp { transform: rotate(-24deg); }
.lk-kestrel { justify-items: start; }
.lk-kestrel .k { font-family: "Bricolage Grotesque", var(--body); font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -.055em; }
.lk-kestrel .k b { color: #F2B23D; }
.lk-kestrel .s { font-family: "Bricolage Grotesque", var(--body); font-weight: 500; font-size: .2em; letter-spacing: .01em; margin-top: .55em; opacity: .75; line-height: 1.2; }
.ic { display: inline-grid; place-items: center; }
.ic-terral { width: 120px; aspect-ratio: 1; border: 3px solid currentColor; border-radius: 50%; font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 50px; letter-spacing: -.04em; }
.ic-tide .wv { width: 120px; height: auto; }
.ic-kestrel { width: 120px; aspect-ratio: 1; border-radius: 26px; background: currentColor; }
.ic-kestrel { font-family: "Bricolage Grotesque", var(--body); font-weight: 800; font-size: 80px; letter-spacing: -.06em; line-height: 1; }
.ic-kestrel { color: inherit; }
.pprev .lk { font-size: 50px; }
.pprev .lk-tide .stamp { width: 150px; }
.case-hero .lk { font-size: clamp(64px, 10vw, 128px); }
.case-hero .lk-tide .stamp { width: clamp(200px, 26vw, 320px); }
.sp-terral { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; }
.sp-tide { font-family: "Big Shoulders Display", sans-serif; font-weight: 800; }
.sp-kestrel { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.05em; }
.apps.a-terral h4 { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; }
.apps.a-tide h4 { font-family: "Big Shoulders Display", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(30px, 3.2vw, 40px); }
.apps.a-kestrel h4 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.035em; }
.ic-kestrel { background: none; border: 5px solid currentColor; }
.lk-terral .c { color: var(--lk-accent, #E8B04A); }
.lk-kestrel .k { letter-spacing: -.03em; }
.ic-kestrel { display: inline-flex; align-items: baseline; justify-content: center; padding-bottom: 12px; }
.ic-kestrel b { color: #F2B23D; }
.sp-kestrel { letter-spacing: -.03em; }

/* back to top */
.totop { position: fixed; right: max(16px, env(safe-area-inset-right, 0px) + 16px); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--oloroso); color: var(--sol); box-shadow: 0 10px 26px -12px rgba(59,26,20,.6); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover, .totop:focus-visible { background: var(--sol); color: var(--oloroso); }
.totop svg { width: 20px; height: 20px; }
.on-dark-zone .totop { background: var(--sol); color: var(--oloroso); }
@media (prefers-reduced-motion: reduce) { .totop { transition: opacity .2s; transform: none; } }
.footer .social { display: flex; gap: 10px; margin-top: 4px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(250,247,242,.3); color: var(--cal); transition: background .2s, color .2s, border-color .2s; }
.footer .social a:hover, .footer .social a:focus-visible { background: var(--sol); border-color: var(--sol); color: var(--oloroso); }
.footer .social svg { width: 19px; height: 19px; }

/* floating pill nav */
:root { --bar: 72px; --pill: 58px; }
.topbar, .topbar.dark { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: calc(env(safe-area-inset-top, 0px) + 10px); pointer-events: none; }
.topbar:not(.home-bar) { margin-bottom: calc(-1 * (var(--pill) + 10px)); }
.topbar + main > :first-child { padding-top: calc(var(--pill) + 10px + clamp(48px, 8vw, 110px)); }
.topbar .bar { pointer-events: auto; position: relative; height: var(--pill); width: min(1180px, calc(100% - 24px)); padding: 0 8px 0 22px; border-radius: 999px; background: rgba(250, 247, 242, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(59, 26, 20, .1); box-shadow: 0 14px 34px -20px rgba(59, 26, 20, .45); }
.topbar.dark .bar { background: rgba(59, 26, 20, .9); border-color: rgba(250, 247, 242, .12); }
.topbar .links .btn.small { min-height: 42px; }
.topbar .lang { flex: none; }
@media (max-width: 900px) {
  .topbar .bar { padding-left: 18px; gap: 10px; }
  .links { top: calc(var(--pill) + 8px) !important; left: 0 !important; right: 0 !important; border: 1px solid rgba(59, 26, 20, .1) !important; border-radius: 26px; box-shadow: 0 18px 40px -20px rgba(59, 26, 20, .5); padding: 8px 20px 20px !important; }
  .topbar.dark .links { border-color: rgba(250, 247, 242, .12) !important; }
}
.totop.alt { background: var(--sol); color: var(--oloroso); }

/* tools we work with */
.tool-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 28px 24px; }
.tool-group { display: grid; gap: 12px; align-content: start; min-width: 0; }
.tg-h { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sol-deep); margin: 0; }
.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; color: var(--oloroso); transition: border-color .2s, transform .2s, box-shadow .2s; }
.tool svg { width: 18px; height: 18px; fill: var(--oloroso); transition: fill .2s; flex: none; }
.tool .tl-init { width: 18px; height: 18px; border-radius: 5px; background: var(--oloroso); color: var(--cal); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; transition: background .2s; }
.tool:hover { border-color: var(--bc); transform: translateY(-2px); box-shadow: 0 8px 20px -14px rgba(59,26,20,.5); }
.tool:hover svg { fill: var(--bc); }
.tool:hover .tl-init { background: var(--bc); }
@media (hover: none) { .tool svg { fill: var(--bc); } }
.real-logo { display: grid; place-items: center; min-height: 200px; }
.real-logo .lm { width: min(100%, 420px); }
.real-logo .lm.sv { width: min(80%, 340px); }
.real-logo .velo { font-size: clamp(56px, 8vw, 104px); }
.bodega { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #2a1c15; }
.bodega img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; transform: scale(1.04); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.bodega:hover img { transform: scale(1); }
.bodega figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 32px); color: var(--cal); font-family: var(--display); font-size: clamp(18px, 2.2vw, 26px); line-height: 1.2; background: linear-gradient(0deg, rgba(20,12,9,.75), rgba(20,12,9,0)); }
@media (max-width: 600px) { .bodega img { aspect-ratio: 4 / 3; } }
.bodega .btest { position: absolute; top: 16px; right: 16px; z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bodega .btest button { color: var(--cal); border-color: rgba(250,247,242,.5); background: rgba(20,12,9,.35); backdrop-filter: blur(6px); }
.bodega .btest button[aria-pressed="true"] { background: var(--sol); color: var(--oloroso); border-color: var(--sol); }
.bodega .btest { display: inline-flex; gap: 6px; }
.bodega .btest button { font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; border: 1px solid rgba(250,247,242,.5); border-radius: 999px; padding: 8px 14px; min-height: 36px; }

/* page transitions: soft fade instead of sliding curtain */
.curtain, .curtain.from-below, .curtain.cover, .curtain.up { transform: none; }
.curtain.from-below { opacity: 0; }
.curtain.cover { opacity: 1; transition: opacity .42s ease; }
.curtain.up { opacity: 0; transition: opacity .7s ease .05s; }
.curtain .c-in { transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.curtain.from-below .c-in { opacity: 0; transform: translateY(8px); }
.curtain.up .c-in { opacity: 0; transform: translateY(-6px); }
.curtain.cover { transition: opacity .22s ease; }
.curtain.up { transition: opacity .38s ease; }
.curtain .c-in { transition: opacity .25s ease, transform .4s cubic-bezier(.2,.8,.2,1); }

/* service pages */
.svc-hero { padding-block: clamp(56px, 9vw, 110px); }
.svc-hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.svc-hero .wrap > * { min-width: 0; }
.svc-hero .h-xl { max-width: 17ch; }
.svc-mark { position: relative; display: grid; place-items: center; opacity: .9; }
.svc-mark svg { width: min(100%, 360px); height: auto; }
.svc-n { position: absolute; bottom: -6px; right: 8%; font-family: var(--display); font-size: clamp(64px, 9vw, 120px); line-height: .8; opacity: .18; }
@media (max-width: 860px) { .svc-mark { display: none; } }
.incs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.inc { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); align-content: start; min-width: 0; }
.inc p { color: var(--ink-2); line-height: 1.55; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.on-dark .step p { color: var(--on-dark); }
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pair { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 26px 28px; border-radius: 999px; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); min-width: 0; }
.pair:hover { transform: translateY(-3px); }
.pair .pn { font-family: var(--display); font-size: 28px; opacity: .6; }
.pair .pt { font-family: var(--display); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.15; }
.pair .arrow { font-size: 22px; }
.layer-more { display: inline-flex; gap: 8px; margin-top: 16px; font-weight: 600; color: inherit; text-underline-offset: 4px; }
.price-note { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.lead-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 24px; padding: clamp(24px, 4vw, 40px); border-radius: 18px; background: var(--sol); color: var(--oloroso); text-decoration: none; transition: transform .25s; }
.lead-band:hover { transform: translateY(-3px); }
.lead-band .eyebrow { grid-column: 1 / -1; color: var(--oloroso); }
.lead-band .h-m { max-width: 30ch; }
.lead-band .arrow { font-size: 34px; }
/* lead gen */
.engine { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; counter-reset: e; }
.eng { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 16px; background: var(--cal-2); text-decoration: none; color: var(--oloroso); transition: transform .25s, background .25s; min-width: 0; }
.eng:hover { transform: translateY(-4px); background: #EBD6B5; }
.eng .en-n { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--sol-deep); }
.eng p { color: var(--ink-2); line-height: 1.55; }
.eng .more { margin-top: 6px; font-weight: 600; }
.leak { display: grid; gap: 12px; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(250,247,242,.18); border-radius: 18px; }
.lk-row { --w: 1; display: flex; align-items: baseline; gap: 14px; width: calc(var(--w) * 100%); min-width: 0; padding: 16px 20px; border-radius: 999px; background: var(--sol); color: var(--oloroso); font-weight: 600; white-space: nowrap; overflow: hidden; }
.lk-row span:first-child { font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 400; }
.lk-row:nth-child(2) { background: #E6B872; }
.lk-row:nth-child(3) { background: #F3EBDD; }
.lk-cap { color: var(--on-dark); font-size: 14px; margin-top: 6px; }
.lk-row { min-width: min(100%, 15.5em); white-space: normal; }
.lead-band .h-m { font-family: var(--display); font-weight: 400; line-height: 1.1; }
.section.lead-sec { padding-block: clamp(32px, 5vw, 56px); border-top: 0; }
.section.lead-sec + .section { border-top: 0; padding-top: clamp(24px, 4vw, 48px); }

/* ===== TYPE: Boldonse for the brand moments, Bricolage Grotesque for everything else ===== */
:root {
  --brand: "Boldonse", "Arial Black", sans-serif;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --mono: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}
body { font-variation-settings: "opsz" 14; }
h1, h2, h3 { font-weight: 600; font-variation-settings: "opsz" 96; letter-spacing: -0.035em; }
.h-xl { line-height: 1; letter-spacing: -0.04em; }
.h-l { line-height: 1.02; letter-spacing: -0.035em; }
.h-m { line-height: 1.06; letter-spacing: -0.03em; }
.h-s { line-height: 1.12; letter-spacing: -0.02em; }
.lead-band .h-m, .pair .pt, .footer .big, .prow .pname, .layers-end p, .quote blockquote, .price-note, .marquee span.item, .tile .art .name, .step .n, .eng .en-n, .pkg .price { font-weight: 600; font-variation-settings: "opsz" 96; letter-spacing: -0.03em; }
.footer .big { line-height: 1.02; }
/* Boldonse only where the brand speaks */
.logo span, .giant { font-family: var(--brand); }
.logo span { font-size: 20px; letter-spacing: -0.01em; font-weight: 400; }
.giant { font-size: clamp(56px, 17vw, 220px); line-height: 1.02; letter-spacing: -.01em; font-weight: 400; }

/* how we work: dealt cards (pinned) */
.deck { position: relative; height: 340vh; background: var(--oloroso); color: var(--cal); }
.deck-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: calc(var(--pill) + 40px) 16px 32px; }
.deck-title { font-family: var(--brand); font-weight: 400; font-size: clamp(34px, 6.4vw, 92px); line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; text-align: center; }
.deck-cards { position: relative; width: min(100%, 1180px); align-self: center; height: min(56vh, 440px); }
.dcard { position: absolute; left: 50%; top: 50%; width: var(--cw, 250px); aspect-ratio: 3 / 4.1; margin: 0; padding: 18px 18px 20px; border-radius: 16px; background: var(--cal); color: var(--oloroso); display: grid; grid-template-rows: auto 1fr auto; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 2px 0 rgba(255,255,255,.4) inset; will-change: transform, opacity, filter; transform-origin: 50% 90%; }
.dcard .dn { font-family: var(--brand); font-size: clamp(20px, 2.2vw, 30px); line-height: 1; color: var(--sol-deep); }
.dcard svg { width: 76%; justify-self: center; align-self: center; fill: none; stroke: var(--oloroso); stroke-width: 1.2; opacity: .55; }
.dcard svg .f { fill: var(--sol); stroke: none; opacity: .9; }
.dcard svg .h { fill: var(--cal); stroke: var(--oloroso); }
.dcard svg .d { stroke-dasharray: 3 4; opacity: .7; }
.dcard h3 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 6px; }
.dcard p { font-size: clamp(12px, 1vw, 14px); line-height: 1.4; color: var(--ink-2); margin: 0; }
.deck-hint { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); opacity: .7; }
@media (prefers-reduced-motion: reduce) {
  .deck { height: auto; } .deck-stage { position: relative; height: auto; }
  .deck-cards { height: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
  .dcard { position: relative; left: auto; top: auto; width: auto; }
}
@media (max-width: 699px) { .deck-cards { height: min(66vh, 560px); } .dcard { padding: 12px 12px 14px; } .dcard p { font-size: 11.5px; } .dcard h3 { font-size: 16px; } .dcard svg { width: 62%; } }

/* Solsort concept (Copenhagen) */
.lk-solsort { justify-items: start; }
.lk-solsort .k { font-family: "Syne", var(--body); font-weight: 800; letter-spacing: -.05em; display: inline-flex; align-items: baseline; }
.lk-solsort .disc, .ic-solsort .disc { display: inline-block; width: .56em; height: .56em; border-radius: 50%; margin: 0 .03em; background: radial-gradient(circle at 50% 50%, #151515 0 44%, #F2A007 46% 100%); box-shadow: inset -.07em -.05em 0 rgba(0,0,0,.18); position: relative; }
.lk-solsort .disc::after, .ic-solsort .disc::after { content: ""; position: absolute; width: 16%; height: 16%; border-radius: 50%; background: #F4F1EA; left: 52%; top: 32%; }
.lk-solsort .s { font-family: var(--body); font-weight: 500; font-size: .19em; letter-spacing: .06em; text-transform: uppercase; margin-top: .7em; opacity: .7; }
.ic-solsort { width: 120px; aspect-ratio: 1; }
.ic-solsort .disc { width: 100%; height: 100%; }
.sp-solsort { font-family: "Syne", sans-serif; font-weight: 800; letter-spacing: -.05em; }
.apps.a-solsort h4 { font-family: "Syne", sans-serif; font-weight: 700; letter-spacing: -.03em; }
.tile .art .lk-solsort, .pprev .lk-solsort { font-size: clamp(38px, 3.9vw, 56px); }
.case-hero .lk-solsort { font-size: clamp(56px, 8vw, 110px); }

/* Halvmåne concept (Copenhagen jewellery, black & white) */
.lk-halv { justify-items: center; text-align: center; }
.lk-halv .k { font-family: "Bodoni Moda", Didot, serif; font-weight: 500; font-variation-settings: "opsz" 96; letter-spacing: .2em; margin-right: -.2em; line-height: 1; white-space: nowrap; font-size: .62em; }
.lk-halv .aa { position: relative; display: inline-block; }
.lk-halv .aa .moon { position: absolute; left: 50%; top: -.36em; transform: translateX(-62%); font-size: .3em; }
.moon { display: inline-block; width: 1em; height: 1em; border-radius: 50%; border: .09em solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-sizing: border-box; vertical-align: middle; }
.lk-halv .s { font-family: var(--body); font-size: .13em; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-top: 1.2em; opacity: .7; margin-right: -.32em; }
.ic-halv .moon { font-size: 110px; }
.case-hero .lk-halv { font-size: clamp(64px, 9vw, 120px); }
.tile .art .lk-halv, .pprev .lk-halv { font-size: clamp(54px, 5.4vw, 74px); }
.sp-halv { font-family: "Bodoni Moda", serif; font-weight: 500; }
.apps.a-halv h4 { font-family: "Bodoni Moda", serif; font-weight: 500; font-style: italic; letter-spacing: -.01em; }
.giftbox { flex: 1; display: grid; place-items: center; }
.giftbox::before { content: ""; grid-area: 1 / 1; width: 64%; aspect-ratio: 1; background: #0E0E0E; border-radius: 6px; box-shadow: 0 24px 40px -24px rgba(0,0,0,.6); }
.giftbox .moon { grid-area: 1 / 1; font-size: 54px; color: #F5F3EF; }
/* business cards */
.mock-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; padding: clamp(28px, 5vw, 64px); border-radius: 18px; background: #D9D7D2; }
.bcard { aspect-ratio: 85 / 55; border-radius: 6px; padding: 8%; display: grid; box-shadow: 0 30px 50px -28px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.08); min-width: 0; }
.bc-front { background: #0E0E0E; color: #F5F3EF; place-items: center; transform: rotate(-3deg); }
.bc-back { background: #F5F3EF; color: #0E0E0E; grid-template-columns: 1fr; align-content: space-between; transform: rotate(2deg) translateY(10px); font-family: var(--body); }
.bc-back .moon.big { font-size: 26px; }
.bc-back b { display: block; font-family: "Bodoni Moda", serif; font-weight: 500; font-size: 22px; letter-spacing: .04em; }
.bc-back span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
.bc-c { font-size: 12px; line-height: 1.6; opacity: .8; }
/* website mockup */
.browser { border-radius: 14px; overflow: hidden; background: #F5F3EF; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); border: 1px solid rgba(0,0,0,.08); }
.bar3 { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #E6E3DE; }
.bar3 i { width: 11px; height: 11px; border-radius: 50%; background: #C9C5BE; }
.bar3 span { margin-left: 14px; font-size: 12px; padding: 4px 14px; border-radius: 999px; background: #F5F3EF; color: #5E5E5E; }
.shop { color: #0E0E0E; font-family: var(--body); }
.shop-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 3vw, 36px); border-bottom: 1px solid rgba(0,0,0,.08); font-size: 13px; flex-wrap: wrap; }
.shop-nav nav { display: flex; gap: 22px; }
.shop-nav .lk-halv .k { font-size: 1em; }
.shop-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: center; gap: 24px; padding: clamp(24px, 5vw, 64px) clamp(16px, 3vw, 36px); background: #0E0E0E; color: #F5F3EF; }
.shop-hero .ey { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; margin: 0 0 14px; }
.shop-hero h4 { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.01em; margin: 0 0 24px; }
.sbtn { display: inline-block; padding: 12px 22px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; letter-spacing: .06em; }
.shop-img { aspect-ratio: 4 / 3; border-radius: 4px; background: radial-gradient(circle at 50% 40%, #2a2a2a, #111 70%); display: grid; place-items: center; }
.shop-img svg { width: 62%; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 18px; padding: clamp(18px, 3vw, 36px); }
.prod { display: grid; gap: 6px; min-width: 0; }
.pimg { aspect-ratio: 1; background: #E9E7E3; border-radius: 4px; display: grid; place-items: center; }
.pimg svg { width: 70%; }
.prod .pn { font-size: 14px; } .prod .pp { font-size: 13px; opacity: .6; }
.shop-img { background: #141414; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pimg { overflow: hidden; background: #E9E7E3; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.prod:hover .pimg img { transform: scale(1.05); }

/* PSR case */
.psr-wm { display: inline-grid; justify-items: start; position: relative; z-index: 1; line-height: 1; font-family: "Bodoni Moda", Georgia, serif; }
.psr-wm b { font-weight: 500; font-size: clamp(54px, 6vw, 84px); letter-spacing: .02em; }
.psr-wm small { font-family: var(--body); font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .3em; text-transform: uppercase; color: #D9A86C; margin-top: .6em; }
.real-logo .psr-wm b { font-size: clamp(80px, 11vw, 150px); }
.pprev .psr-wm b { font-size: 64px; }
.psr-mini .psr-wm b { font-size: 30px; } .psr-mini .psr-wm small { font-size: 8px; color: inherit; } .psr-mini { color: var(--soft); text-decoration: none; }
.shot { margin: 0; } .shot img { display: block; width: 100%; height: auto; }
.psr-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 28px; align-items: center; }
@media (max-width: 860px) { .psr-split { grid-template-columns: minmax(0, 1fr); } }
.phones { display: flex; gap: 16px; justify-content: center; }
.phone { margin: 0; width: min(46%, 220px); border-radius: 30px; padding: 8px; background: #111; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.phone img { display: block; width: 100%; border-radius: 23px; }
.phone:nth-child(2) { transform: translateY(28px); }

/* solera barrels (studio) */
.barrel-run { position: relative; height: 300vh; margin-top: 12px; }
.barrel-pin { position: sticky; top: calc(var(--pill) + 24px); height: calc(100vh - var(--pill) - 48px); height: calc(100svh - var(--pill) - 48px); display: grid; }
.barrel-panel { background: #1E1411; border-radius: 22px; display: grid; place-items: center; padding: clamp(12px, 3vw, 36px); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(30,12,8,.8); }
.barrels { width: 100%; height: 100%; max-height: 100%; }
.barrels .stave { fill: #2B1D18; stroke: #0F0907; stroke-width: 3; }
.barrels .hoop { fill: none; stroke: #0F0907; stroke-width: 6; }
.barrels .chalk { font-family: "Yellowtail", cursive; font-size: 26px; fill: #F2EAD9; opacity: .9; }
.barrels .row-l { font-family: var(--display); font-weight: 600; font-size: 26px; fill: var(--cal); letter-spacing: -.02em; }
.barrels .row-s { font-family: var(--body); font-size: 15px; fill: #C9B8A6; }
.barrels .drip { stroke: #E8A143; stroke-width: 5; stroke-linecap: round; fill: none; }
@media (prefers-reduced-motion: reduce) { .barrel-run { height: auto; } .barrel-pin { position: relative; top: auto; height: 80vh; } }
.barrels .arrow { stroke: #E8A143; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.barrels .arrow-t { font-family: var(--body); font-weight: 600; font-size: 17px; fill: #E8A143; }

/* homepage project rail: swipe slider below 900px */
@media (max-width: 899px) {
  .hs-pin { padding-block: clamp(48px, 9vw, 80px); }
  .hs-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: 16px; scroll-padding-inline: 16px; padding-bottom: 6px; }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-track > * { flex: 0 0 82%; max-width: 380px; scroll-snap-align: start; }
  .hs-track > .hs-intro { flex-basis: 100%; max-width: none; scroll-snap-align: start; }
  .hs-intro .hint { display: block; }
  .hs-track .tile p { font-size: 15px; }
}
@media (max-width: 899px) and (min-width: 600px) { .hs-track > * { flex-basis: 46%; } .hs-track > .hs-intro { flex-basis: 70%; } }
@media (max-width: 899px) {
  .hs-track { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: min(82%, 380px); row-gap: 22px; }
  .hs-track > .hs-intro { grid-row: 1; grid-column: 1 / span 20; position: sticky; left: 0; width: calc(100vw - 32px); max-width: none; scroll-snap-align: none; }
  .hs-track > :not(.hs-intro) { grid-row: 2; max-width: none; }
}
@media (max-width: 899px) and (min-width: 600px) { .hs-track { grid-auto-columns: 46%; } }

/* TALLO concept */
.tallo-wm { display: inline-flex; flex-direction: column; align-items: stretch; font-family: "Jost", "Helvetica Neue", Arial, sans-serif; line-height: 1; position: relative; z-index: 1; }
.tallo-wm b { font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); letter-spacing: .42em; margin-right: -.42em; }
.tallo-wm small { display: flex; justify-content: space-between; font-size: clamp(10px, .9vw, 13px); margin-top: .7em; opacity: .65; }
.tallo-wm small i { font-style: normal; }
.real-logo .tallo-wm b { font-size: clamp(60px, 9vw, 120px); }
.real-logo .tallo-wm small { font-size: clamp(13px, 1.4vw, 20px); }
.pprev .tallo-wm b { font-size: 48px; }
.tallo-mini { color: var(--soft); text-decoration: none; } .tallo-mini .tallo-wm b { font-size: 22px; } .tallo-mini .tallo-wm small { font-size: 7px; margin-top: 4px; }
.igphone { width: min(100%, 380px); justify-self: center; background: #fff; color: #0A0A0A; border-radius: 34px; padding: 18px 12px 14px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.45); border: 8px solid #111; font-family: "Jost", var(--body); }
.ig-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 10px; }
.ig-av { width: 46px; height: 46px; border-radius: 50%; background: #0A0A0A; color: #fff; display: grid; place-items: center; font-weight: 300; letter-spacing: .2em; padding-left: .2em; }
.ig-head b { display: block; font-weight: 500; font-size: 15px; } .ig-head span { font-size: 12px; color: #6E6E6E; }
.ig-stats { display: flex; justify-content: space-around; font-size: 12px; padding: 4px 0 12px; border-bottom: 1px solid #E3E3E3; margin-bottom: 3px; } .ig-stats b { font-weight: 600; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.igc { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.igc svg { width: 82%; height: auto; }
.igt { text-align: center; display: grid; gap: 4px; padding: 8px; }
.igt b { font-weight: 400; letter-spacing: .14em; font-size: 11px; } .igt span { font-size: 9.5px; opacity: .7; line-height: 1.3; }
.ig-logo .tallo-wm b { font-size: 17px; } .ig-logo .tallo-wm small { font-size: 6px; margin-top: 4px; }
.igphone .ig-av { color: #fff !important; font-size: 18px; }

/* real client logos as images */
.tile .art .lmi { position: relative; z-index: 1; width: min(62%, 260px); height: auto; display: block; }
.tile .art .lmi.rl-oceano { width: min(46%, 200px); }
.real-logo .rl { width: min(100%, 380px); height: auto; }
.real-logo .rl-oceano { width: min(80%, 300px); }
.trusted .img-mini img { height: 62px; width: auto; display: block; }
.trusted .img-mini img.tl-oceano { height: 66px; } .trusted .img-mini { display: block; opacity: 1; }
.pprev .rl { width: min(70%, 280px); height: auto; }

/* realistic phone frames */
.phone { position: relative; width: min(46%, 230px); padding: 9px; border-radius: 38px; background: linear-gradient(145deg, #2b2b2e, #0d0d0f 40%, #1c1c1f); box-shadow: 0 0 0 1.5px #3a3a3e, 0 40px 70px -32px rgba(0,0,0,.65); }
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; border-radius: 12px; background: #000; z-index: 2; }
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 12%; border-radius: 0 3px 3px 0; background: #2a2a2d; }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top center; border-radius: 30px; }
.iphone { position: relative; justify-self: center; width: min(100%, 340px); padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2b2b2e, #0d0d0f 40%, #1c1c1f); box-shadow: 0 0 0 1.5px #3a3a3e, 0 50px 90px -40px rgba(0,0,0,.6); color: #0A0A0A; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.iphone::after { content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: #2a2a2d; }
.ip-screen { position: relative; background: #fff; border-radius: 44px; overflow: hidden; aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; }
.ip-screen svg { width: 18px; height: 18px; fill: currentColor; }
.ip-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 6px; font-size: 13px; }
.ip-status b { font-weight: 600; }
.ip-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 16px; background: #000; }
.ip-sig { display: flex; gap: 5px; align-items: center; } .ip-sig svg { width: 14px; height: 14px; }
.ip-bat { width: 22px; height: 11px; border: 1.3px solid #0A0A0A; border-radius: 3px; padding: 1px; display: inline-block; } .ip-bat i { display: block; width: 75%; height: 100%; background: #0A0A0A; border-radius: 1px; }
.ip-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 8px; } .ip-top b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; } .ip-top span { display: flex; gap: 16px; } .ip-top svg { width: 22px; height: 22px; }
.ip-prof { display: grid; grid-template-columns: auto repeat(3, 1fr); align-items: center; gap: 6px; padding: 4px 16px 8px; }
.ip-av { width: 70px; height: 70px; border-radius: 50%; background: #0A0A0A; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #D9D9D9; margin-right: 6px; }
.ip-av .tallo-wm b { font-size: 12px; letter-spacing: .3em; margin-right: -.3em; font-weight: 300; color: #fff; } .ip-av .tallo-wm small { font-size: 4px; margin-top: 3px; color: #fff; }
.ip-st { display: grid; text-align: center; font-size: 11.5px; color: #262626; } .ip-st b { font-size: 15px; font-weight: 700; color: #0A0A0A; }
.ip-bio { display: grid; padding: 0 16px 10px; font-size: 12px; line-height: 1.35; color: #0A0A0A; } .ip-bio b { font-weight: 600; } .ip-cat { color: #737373; } .ip-link { color: #00376B; font-weight: 600; }
.ip-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 16px 12px; } .ip-btns span { text-align: center; font-size: 12px; font-weight: 600; padding: 7px 0; border-radius: 8px; background: #EFEFEF; } .ip-btns .on { background: #0095F6; color: #fff; }
.ip-hls { display: flex; gap: 12px; padding: 0 16px 12px; overflow: hidden; } .ip-hl { display: grid; justify-items: center; gap: 4px; font-size: 10.5px; } .ip-hl i { width: 54px; height: 54px; border-radius: 50%; padding: 2px; box-shadow: 0 0 0 1px #DBDBDB; overflow: hidden; } .ip-hl img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; } .ip-hl em { font-style: normal; }
.ip-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #EFEFEF; } .ip-tabs span { display: grid; place-items: center; padding: 8px 0; color: #8E8E8E; } .ip-tabs .on { color: #0A0A0A; box-shadow: inset 0 -1.5px 0 #0A0A0A; } .ip-tabs svg { fill: none; }
.iphone .ig-grid { flex: 1; min-height: 0; overflow: hidden; align-content: start; gap: 2px; }
.iphone .igc { aspect-ratio: 4 / 5; }
.iphone .igt b { font-size: 9.5px; } .iphone .igt span { font-size: 8px; } .iphone .ig-logo .tallo-wm b { font-size: 13px; }
.ip-nav { display: flex; justify-content: space-around; align-items: center; padding: 10px 10px 26px; border-top: 1px solid #EFEFEF; background: #fff; } .ip-nav svg { width: 22px; height: 22px; } .ip-me { width: 24px; height: 24px; border-radius: 50%; background: #0A0A0A; box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px #0A0A0A; }
.ip-home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 4.5px; border-radius: 3px; background: #0A0A0A; }

/* lead generation band */
.lead-band.lb2 { grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; padding: clamp(28px, 5vw, 56px); }
.lb2 .lb-text { display: grid; gap: 14px; min-width: 0; }
.lb2 .h-l { margin: 0; color: var(--oloroso); }
.lb2 .lb-sub { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; max-width: 48ch; }
.lb2 .lb-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--oloroso); color: var(--cal); border-radius: 999px; padding: 14px 24px; font-weight: 600; white-space: nowrap; transition: transform .25s; }
.lb2 .lb-btn .arrow { font-size: 18px; }
.lb2:hover .lb-btn { transform: translateX(4px); }
@media (max-width: 700px) { .lead-band.lb2 { grid-template-columns: 1fr; } .lb2 .lb-btn { justify-self: start; } }
.iphone .ig-grid { flex: none; grid-auto-rows: auto; }
.iphone .igc { aspect-ratio: 4 / 5; height: auto; }
.ip-nav { position: absolute; left: 0; right: 0; bottom: 0; }
.ip-screen > * { flex-shrink: 0; }
.phone img { box-sizing: border-box; border-top: 34px solid #fff; background: #fff; }

.lb2 .h-l { font-weight: 600; font-variation-settings: "opsz" 96; letter-spacing: -0.035em; line-height: 1; }

/* pills: style only the outer span (fixes double outline), add hover */
.check > span span { all: unset; }
.check > span { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.check:hover > span { border-color: var(--oloroso); transform: translateY(-2px); }
.check:hover input:not(:checked) + span { background: var(--cal-2); }
.need .check:hover input:not(:checked) + span { background: rgba(232,153,46,.16); border-color: var(--sol); color: var(--cal); }
.need .check:hover input:checked + span { background: #F0A94A; }
#start { position: relative; overflow: hidden; }
#start .wrap { position: relative; z-index: 1; }
.need-sun { position: absolute; right: -6%; bottom: -14%; width: min(62vw, 760px); color: var(--sol); opacity: .07; pointer-events: none; }
/* centre button labels */
.btn { justify-content: center; line-height: 1; text-align: center; }
.btn > span { line-height: 1; }
.btn .arrow { display: inline-block; transform: translateY(-.06em); }

/* classic underline form fields */
.form { gap: 30px; }
.field { gap: 4px; }
.field label, .field legend { font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(59,26,20,.3); border-radius: 0; padding: 10px 0 12px; min-height: 0;
  font-size: 19px; color: var(--oloroso); transition: border-color .25s; -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233B1A14' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 12px; padding-right: 26px; cursor: pointer; }
.form textarea { min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom: 1.5px solid var(--sol); }
.form input::placeholder, .form textarea::placeholder { color: #B9A89B; }
.form .check > span { background: transparent; }
.form .check input:checked + span { background: var(--oloroso); }

.form .check, .form .check > span { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: var(--oloroso); }
.form .check input:checked + span { color: var(--cal); }

.ip-av-halv { background: #0E0E0E; position: relative; }
.ip-av-halv .moon { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #F5F3EF; background: linear-gradient(90deg, #F5F3EF 50%, transparent 50%); display: block; }
.iphone .ig-logo .lk-halv { font-size: 30px; color: #F5F3EF; }

/* scrollable phone mockups */
.iphone .igc { aspect-ratio: 4 / 5; }
.iphone-scroll .ip-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 64px; }
.iphone-scroll .ip-scroll::-webkit-scrollbar { display: none; }
.iphone-scroll .ip-scroll .ig-grid { flex: none; overflow: visible; }
.iphone-scroll .ip-nav { position: absolute; z-index: 3; }
.iphone-scroll { cursor: ns-resize; }
.ip-hint { position: absolute; z-index: 4; right: 14px; bottom: 78px; font-size: 11px; font-weight: 600; letter-spacing: .06em; background: rgba(10,10,10,.75); color: #fff; padding: 6px 10px; border-radius: 999px; transition: opacity .3s; pointer-events: none; }
.iphone-scroll:hover .ip-hint, .iphone-scroll.scrolled .ip-hint { opacity: 0; }
.ip-av-sol { background: #F5F0E7; } .ip-av-sol .lm.solstead { width: 54px; height: 14px; }
.sol-t { display: grid; align-content: space-between; padding: 9px; text-align: left; font-family: "Jost", "Helvetica Neue", Arial, sans-serif; }
.sol-t .st-eb { font-size: 6.5px; letter-spacing: .16em; opacity: .75; }
.sol-t b { font-weight: 300; font-size: 15px; line-height: 1.05; letter-spacing: -.01em; }
.sol-t .st-sm { font-size: 7px; line-height: 1.3; opacity: .8; }

.ip-av-sol { color: #2B5A63; } .ip-av-sol .lm.solstead { width: 56px; height: 20px; background-color: currentColor; }
.iphone .ig-logo .lk-halv { font-size: 21px; }

/* ---------- cookie consent ---------- */
.ck-bar { position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 22px; padding: 18px 22px; border-radius: 22px; background: var(--cal); color: var(--oloroso); border: 1px solid rgba(59,26,20,.12); box-shadow: 0 30px 60px -28px rgba(59,26,20,.55); transform: translateY(140%); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.ck-bar.show { transform: none; opacity: 1; }
.ck-biscuit { width: 56px; height: 56px; flex: none; }
.ck-bar.show .ck-biscuit { animation: ck-wobble 1.2s .8s cubic-bezier(.3,.7,.3,1) both; }
@keyframes ck-wobble { 0% { transform: rotate(-30deg) scale(.6); } 60% { transform: rotate(10deg) scale(1.06); } 100% { transform: none; } }
.ck-txt b { display: block; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.ck-txt p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--soft, #6E5048); }
.ck-txt a { color: var(--sol-deep); }
.ck-btns, .ck-mb { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ck-b { font: 600 14px var(--body); border-radius: 999px; padding: 12px 18px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.ck-b.ghost { background: transparent; color: var(--oloroso); border: 1px solid rgba(59,26,20,.28); }
.ck-b.ghost:hover { border-color: var(--oloroso); background: rgba(59,26,20,.05); }
.ck-b.solid { background: var(--oloroso); color: var(--cal); border: 1px solid var(--oloroso); }
.ck-b.solid:hover { background: var(--sol); border-color: var(--sol); color: var(--oloroso); }
.ck-b:focus-visible, .ck-x:focus-visible { outline: 2px solid var(--sol); outline-offset: 2px; }
.ck-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(30,12,8,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ck-card { position: relative; width: min(100%, 560px); max-height: calc(100vh - 32px); overflow: auto; background: var(--cal); color: var(--oloroso); border-radius: 26px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.ck-card .ck-biscuit { width: 44px; height: 44px; }
.ck-card h2 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.ck-lede { margin: 0 0 6px; color: var(--soft, #6E5048); font-size: 15px; }
.ck-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(59,26,20,.2); background: transparent; color: var(--oloroso); font-size: 22px; cursor: pointer; }
.ck-row { position: relative; display: grid; gap: 6px; padding: 14px 72px 14px 16px; border: 1px solid rgba(59,26,20,.14); border-radius: 16px; background: #fff; cursor: pointer; }
.ck-rt { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .ck-rt b { font-weight: 600; font-size: 15px; }
.ck-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-deep); border: 1px solid rgba(147,84,12,.35); border-radius: 999px; padding: 3px 8px; }
.ck-rb { font-size: 13.5px; line-height: 1.5; color: var(--soft, #6E5048); }
.ck-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-sw { position: absolute; right: 16px; top: 16px; width: 42px; height: 24px; border-radius: 999px; background: #D9CDBE; transition: background .2s; }
.ck-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.ck-row input:checked + .ck-sw, .ck-sw.on { background: var(--sol); }
.ck-row input:checked + .ck-sw::after, .ck-sw.on::after { transform: translateX(18px); }
.ck-sw.locked { opacity: .55; }
.ck-row input:focus-visible + .ck-sw { outline: 2px solid var(--sol); outline-offset: 2px; }
.ck-mb { margin-top: 8px; justify-content: stretch; } .ck-mb .ck-b { flex: 1 1 140px; }
html.ck-lock { overflow: hidden; }
@media (max-width: 820px) { .ck-bar { grid-template-columns: auto minmax(0, 1fr); } .ck-btns { grid-column: 1 / -1; justify-content: stretch; } .ck-btns .ck-b { flex: 1 1 auto; } .ck-biscuit { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .ck-bar, .ck-bar.show .ck-biscuit { transition: none; animation: none; } }

/* cookie bar: bounce in and out */
.ck-bar { transition: none; transform: translateY(140%); opacity: 0; }
.ck-bar.show { animation: ck-in .9s cubic-bezier(.34,1.56,.64,1) both; }
.ck-bar.show.out { animation: ck-out .6s cubic-bezier(.36,-0.6,.6,1) both; }
@keyframes ck-in { 0% { transform: translateY(140%); opacity: 0; } 55% { transform: translateY(-14px); opacity: 1; } 75% { transform: translateY(5px); } 90% { transform: translateY(-2px); } 100% { transform: none; opacity: 1; } }
@keyframes ck-out { 0% { transform: none; opacity: 1; } 30% { transform: translateY(-14px); opacity: 1; } 100% { transform: translateY(140%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ck-bar.show, .ck-bar.show.out { animation-duration: .01s; } }

/* legal pages */
.legal { max-width: 760px; display: grid; gap: 14px; }
.legal h2 { margin-top: 18px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--soft); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal b { color: var(--oloroso); font-weight: 600; }
.legal a { color: var(--sol-deep); }
mark.ph { background: rgba(232,153,46,.25); color: var(--oloroso); padding: 0 4px; border-radius: 4px; }

/* journal articles */
.art-hero .wrap { display: grid; gap: 18px; max-width: 860px; }
.art-h1 { text-wrap: balance; }
.art-by { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--soft); }
.art-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.art-by span { display: grid; } .art-by b { color: var(--oloroso); font-weight: 600; }
.art-body { max-width: 720px; display: grid; gap: 18px; }
.art-body h2 { margin-top: 22px; }
.art-body p, .art-body li { font-size: 18px; line-height: 1.7; color: var(--oloroso); }
.art-body ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.art-body li::marker { color: var(--sol); }
.art-cta { margin-top: 28px; border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; justify-items: start; }
.art-cta p { font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: inherit !important; }
.art-card { text-decoration: none; color: inherit; display: grid; gap: 10px; align-content: start; transition: transform .25s, box-shadow .25s; }
.art-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(59,26,20,.5); }
.art-card p { color: var(--soft); font-size: 15px; }
.art-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: center; text-decoration: none; color: inherit; }
.art-feat-img { aspect-ratio: 16 / 10; max-width: 100%; border-radius: 14px; display: grid; place-items: center; padding: 28px; text-align: center; transition: transform .4s; }
.art-feat:hover .art-feat-img { transform: scale(.985); }

/* ---------- Location pages ---------- */
.loc-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #FFF8EE; overflow: hidden; }
.loc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,16,10,.15) 0%, rgba(40,16,10,.25) 40%, rgba(40,16,10,.78) 100%); }
.loc-hero-in { position: relative; z-index: 1; display: grid; gap: 20px; padding-top: 160px; padding-bottom: clamp(48px, 8vw, 96px); }
.loc-hero .eyebrow, .loc-hero .lede { color: rgba(255,248,238,.88); }
.loc-hero h1 { max-width: 15ch; }
.loc-hero .lede { max-width: 58ch; }
.loc-ghost { color: #FFF8EE !important; border-color: rgba(255,248,238,.7) !important; }
.loc-copy p { font-size: 18px; line-height: 1.65; color: var(--muted, inherit); }
.loc-copy p + p { margin-top: 14px; }
.loc-inc { text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.loc-inc:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(59,26,20,.08); }
.loc-work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.loc-card { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.loc-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; border-radius: 16px; transition: transform .4s; }
.loc-card:hover img { transform: scale(1.02); }
.loc-tag { font-size: 13px; font-weight: 600; color: #A8641B; margin-top: 6px; }
.loc-areas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin-top: 18px; }
.loc-areas li { border: 1px solid rgba(59,26,20,.22); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.faq .a a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .loc-work { grid-template-columns: 1fr; } }

/* Footer fixes: button no longer stretches; text optically centred; full wordmark */
.footer .btn, .stack > .btn { align-self: start; }
.btn { padding-block: 15px; }
.giant { padding-bottom: .16em; line-height: 1.1; }
.giant { padding-top: .24em; cursor: default; }
@keyframes giant-lift { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-.12em); } 70% { transform: translateY(.02em); } }
.art-cta p .lt { display: block; margin-top: 4px; font-weight: 400; opacity: .82; }
/* Footer wordmark hover: letters bounce as the mouse passes over them */
.giant .gc.bump { animation: giant-bump .6s cubic-bezier(.3,.7,.2,1) both !important; }
.giant.wave .gc { animation: giant-lift .7s cubic-bezier(.3,.7,.2,1) calc(var(--i, 0) * 55ms) both; }
@keyframes giant-bump { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-.14em); } 65% { transform: translateY(.03em); } 82% { transform: translateY(-.02em); } }

/* Pills: inner language spans must never become pills themselves (Safari fix) */
.checks .check > span > span { display: inline; padding: 0; border: 0; min-height: 0; background: none; font: inherit; color: inherit; }
.check > span { justify-content: center; text-align: center; }
/* Buttons never wrap; footer button is full width on phones */
.btn { white-space: nowrap; }
@media (max-width: 640px) {
  .footer .btn { width: 100%; justify-self: stretch; padding: 18px 28px; min-height: 58px; font-size: 17px; }
}
/* Hidden wordmark letters sit fully out of view (no sliver peeking under the text) */
.giant .gc { transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .5s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.giant.hide .gc { transform: translateY(140%); opacity: 0; }
/* Homepage work rail: closing "see all" card */
.tile-more .art { display: grid; place-items: center; }
.tm-in { display: grid; justify-items: center; gap: 10px; text-align: center; }
.tm-n { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 8vw, 120px); line-height: .9; letter-spacing: -.04em; }
.tm-t { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.tm-a { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--oloroso); color: var(--sol); font-size: 22px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.tile-more:hover .tm-a { transform: translateX(8px); }
.tm-t { font-size: clamp(30px, 3.6vw, 48px); }

/* Loading screen: horizon draws, then the sun rings rise one by one */
.curtain svg path, .curtain svg rect { transform-box: view-box; }
.curtain svg path { transform-origin: 60px 59px; animation: c-ring .62s cubic-bezier(.3,1.5,.5,1) both; }
.curtain svg path:nth-of-type(3) { animation-delay: .12s; }
.curtain svg path:nth-of-type(2) { animation-delay: .24s; }
.curtain svg path:nth-of-type(1) { animation-delay: .36s; }
.curtain svg rect { transform-origin: 60px 65px; animation: c-line .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes c-ring { 0% { transform: translateY(14px) scale(.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes c-line { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* Form sent: animated tick */
.thanks .tick { width: 64px; height: 64px; margin-bottom: 4px; overflow: visible; }
.tick-c { fill: var(--sol); transform-origin: 32px 32px; transform-box: view-box; animation: tick-pop .55s cubic-bezier(.3,1.6,.5,1) both; }
.tick-p { fill: none; stroke: var(--oloroso); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: tick-draw .45s cubic-bezier(.6,0,.3,1) .35s forwards; }
.thanks:not([hidden]) > :not(.tick) { animation: tick-up .6s cubic-bezier(.2,.8,.2,1) both; }
.thanks:not([hidden]) > h2 { animation-delay: .45s; }
.thanks:not([hidden]) > p { animation-delay: .55s; }
@keyframes tick-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
@keyframes tick-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tick-c, .tick-p, .thanks > * { animation: none !important; } .tick-p { stroke-dashoffset: 0; } }

/* Contact form sending */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.send-row { display: grid; gap: 14px; justify-items: start; }
.form-note { font-size: 14px; color: var(--muted, #6b5a52); }
.form-note a, .form-error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-error { font-size: 15px; color: #A3361F; background: rgba(163,54,31,.08); border-radius: 10px; padding: 12px 16px; }
.btn.sending { opacity: .6; pointer-events: none; }

/* ---------- Services mega menu ---------- */
.nav-mega { display: flex; align-items: center; }
.nav-mega > a { display: inline-flex; align-items: center; gap: 4px; }
.mega-chev { width: 12px; height: 12px; transition: transform .25s; }
.mega { display: none; }
@media (min-width: 901px) {
  .mega { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 14px 36px; position: absolute; top: calc(100% + 12px); left: 0; right: 0; padding: 30px 32px 22px; border-radius: 28px; background: #FAF7F2; color: var(--oloroso); border: 1px solid rgba(59, 26, 20, .1); box-shadow: 0 30px 60px -30px rgba(59, 26, 20, .45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; z-index: 50; }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav-mega:hover .mega, .nav-mega:focus-within .mega, .nav-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .nav-mega:hover .mega-chev, .nav-mega:focus-within .mega-chev { transform: rotate(180deg); }
  .mega a { opacity: 1; border-bottom: 0; padding: 0; text-decoration: none; color: inherit; }
  .mega-side { display: grid; align-content: start; gap: 14px; }
  .mega-side .eyebrow { color: #A8641B; }
  .mega-h { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
  .mega a.mega-lead { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--sol); color: var(--oloroso); border-radius: 18px; padding: 16px 18px; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s; }
  .mega-lead b { font-family: var(--display); font-size: 18px; letter-spacing: -.01em; grid-column: 1; }
  .mega-lead > span:not(.arrow) { grid-column: 1; font-size: 14px; line-height: 1.4; }
  .mega-lead .arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 20px; transition: transform .25s; }
  .mega a.mega-lead:hover { transform: translateY(-2px); background: #F0A94A; }
  .mega a.mega-lead:hover .arrow { transform: translateX(4px); }
  .mega a.mega-all { font-weight: 600; font-size: 15px; }
  .mega a.mega-all:hover { color: #A8641B; }
  .mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .mega a.mega-item { display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px; padding: 14px 16px; border-radius: 16px; transition: background .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
  .mega a.mega-item:hover, .mega a.mega-item:focus-visible { background: #F1E7D8; transform: translateX(3px); }
  .mi-n { grid-row: 1 / span 2; font-family: var(--mono); font-size: 12px; color: #A8641B; padding-top: 4px; }
  .mi-t { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
  .mi-d { font-size: 14px; line-height: 1.4; color: rgba(59, 26, 20, .7); }
  .mega a.mega-foot { grid-column: 1 / -1; border-top: 1px solid rgba(59, 26, 20, .1); padding-top: 14px; font-size: 14px; color: rgba(59, 26, 20, .7); }
  .mega a.mega-foot:hover { color: var(--oloroso); }
}
@media (max-width: 900px) { .mega-chev { display: none; } .nav-mega { display: block; } .nav-mega > a { display: flex; } }
/* Mega menu on phones: Services opens an accordion inside the menu */
@media (max-width: 900px) {
  .mega-chev { display: inline-block !important; width: 16px; height: 16px; margin-left: auto; transition: transform .25s; }
  .nav-mega > a { justify-content: space-between; }
  .nav-mega.open .mega-chev { transform: rotate(180deg); }
  .nav-mega.open .mega { display: grid; gap: 2px; padding: 6px 0 12px; }
  .mega-side .eyebrow, .mega-h, .mega-foot, .mi-d, .mi-n { display: none; }
  .mega-side { display: contents; }
  .mega-grid { display: grid; order: 1; }
  .links .mega a { border-bottom: 0 !important; padding: 9px 0 9px 14px !important; font-size: 16px !important; opacity: .85; }
  .links .mega a.mega-lead { order: 2; color: var(--sol); font-weight: 600; opacity: 1; }
  .mega-lead > span:not(.arrow), .mega-lead .arrow { display: none; }
  .links .mega a.mega-all { order: 3; font-weight: 600; opacity: 1; }
  .mi-t { font: inherit; }
}

/* Typed title with a hand-written script word (single pen line) */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.type-title .tt-script { display: inline-block; position: relative; }
.tt-svg { display: inline-block; height: 1.42em; width: auto; vertical-align: -0.56em; margin: 0 .08em 0 .02em; overflow: visible; }
.tt-svg path { fill: none; stroke: #C46F16; stroke-width: 54; stroke-linecap: round; stroke-linejoin: round; }
.type-title.typing .tt-svg path { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); }
.type-title.typing .tt-script.draw .tt-svg path { animation: tt-stroke var(--dur, .2s) linear var(--delay, 0s) forwards; }
@keyframes tt-stroke { to { stroke-dashoffset: 0; } }
.type-title .caret { display: inline-block; width: .06em; height: .9em; margin-left: .04em; background: var(--sol); vertical-align: -0.08em; animation: tt-blink .8s steps(1) infinite; }
@keyframes tt-blink { 50% { opacity: 0; } }
