/* Fabulator – fabulator.fi */
:root {
  --paper: #FFFFFF;
  --ink: #16161A;
  --muted: #55554F;
  --mist: #EDEDEE;
  --rule: #16161A;
  --red: #D9533B;
  --blue: #2F5DA8;
  --yellow: #E8B83A;
  --on-accent: #FFFFFF;
  --cover-ground: #FFFFFF;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16161A;
    --ink: #F2F1EE;
    --muted: #B4B3AC;
    --mist: #222228;
    --rule: #F2F1EE;
    --cover-ground: #F2F1EE;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] {
  --paper: #16161A;
  --ink: #F2F1EE;
  --muted: #B4B3AC;
  --mist: #222228;
  --rule: #F2F1EE;
  --cover-ground: #F2F1EE;
  color-scheme: dark;
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.logo-dark { display: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* Header */
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; padding-block: 1.75rem;
}
.site-header .brand img { height: 2.1rem; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.75rem; font-size: 1.0625rem; }
.site-nav a { text-decoration: none; padding: 0.6rem 0; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.site-nav .nav-cta { padding: 0.6rem 1.2rem; border: 2px solid var(--ink); }
.site-nav .nav-cta:hover { background: var(--ink); color: var(--paper); text-decoration: none; }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: 3rem; padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem);
}
.hero h1 {
  margin: 0 0 1.75rem; font-weight: 500;
  font-size: clamp(2.6rem, 6.2vw, 5.25rem); line-height: 1.02; letter-spacing: -0.015em;
  max-width: 11ch;
}
.hero p.lede { margin: 0 0 2.5rem; font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; max-width: 32rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: 1.0625rem;
  padding: 0.95rem 1.6rem; border: 2px solid transparent; min-height: 44px;
}
.btn-primary { background: var(--red); color: var(--on-accent); }
.btn-primary:hover { background: #C4452E; }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.hero-mark { justify-self: center; width: min(100%, 460px); }
.hero-mark img { width: 100%; height: auto; }

/* Section heads */
section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 3.5rem; }
h2 { margin: 0; font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--muted); max-width: 32rem; }

/* Services */
.services { border-top: 2px solid var(--rule); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.service svg { width: 56px; height: 56px; display: block; margin-bottom: 1.5rem; }
.service h3 { margin: 0 0 0.75rem; font-weight: 500; font-size: 1.5rem; line-height: 1.25; }
.service p { margin: 0; color: var(--muted); }

/* Statement */
.statement { background: var(--mist); }
.statement blockquote { margin: 0; max-width: 54rem; }
.statement blockquote p {
  margin: 0 0 1.5rem; font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem); line-height: 1.25; letter-spacing: -0.005em;
}
.statement .shapes { display: flex; gap: 0; margin-bottom: 2.5rem; }
.statement .shapes span { display: block; width: 44px; height: 44px; mix-blend-mode: multiply; }
.statement .shapes .c { background: var(--red); border-radius: 50%; }
.statement .shapes .s { background: var(--blue); margin-left: -16px; }
.statement .shapes .n { background: var(--yellow); margin-left: -16px; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.statement cite { font-style: normal; color: var(--muted); font-size: 1.0625rem; }

/* References */
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.ref .cover {
  aspect-ratio: 4 / 5; background: var(--cover-ground); border: 2px solid var(--rule);
  position: relative; overflow: hidden; margin-bottom: 1.25rem; isolation: isolate;
}
.ref .cover span { position: absolute; mix-blend-mode: multiply; }
.ref h3 { margin: 0 0 0.25rem; font-weight: 500; font-size: 1.375rem; }
.ref .meta { margin: 0 0 0.75rem; color: var(--muted); font-size: 1rem; }
.ref p { margin: 0; }
.testimonial { margin: 4rem 0 0; padding-top: 2.5rem; border-top: 2px solid var(--rule); max-width: 50rem; }
.testimonial p { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35; }
.testimonial footer { color: var(--muted); font-size: 1rem; }

/* Process */
.process { border-top: 2px solid var(--rule); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { border-top: 6px solid var(--ink); padding-top: 1.25rem; counter-increment: step; }
.steps li:nth-child(2) { border-top-color: var(--red); }
.steps li:nth-child(3) { border-top-color: var(--blue); }
.steps li:nth-child(4) { border-top-color: var(--yellow); }
.steps h3 { margin: 0 0 0.5rem; font-weight: 500; font-size: 1.3rem; }
.steps h3::before { content: counter(step) ". "; }
.steps p { margin: 0; color: var(--muted); font-size: 1.0625rem; }

/* About */
.about .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; background: var(--mist); border: 2px solid var(--rule);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1rem;
}
.about .role { margin: 0.5rem 0 1.75rem; color: var(--red); font-size: 1.25rem; font-weight: 500; }
.about p { margin: 0 0 1.25rem; max-width: 36rem; }

/* Contact */
.contact { background: var(--blue); color: var(--on-accent); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 2.5rem 4rem; align-items: end; }
.contact h2 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 1.25rem; }
.contact p { margin: 0; font-size: 1.3rem; max-width: 30rem; }
.contact-list { display: grid; gap: 0.75rem; font-size: 1.3rem; }
.contact-list a { color: var(--on-accent); text-underline-offset: 0.25em; padding-block: 0.4rem; }
.contact a:focus-visible { outline-color: var(--on-accent); }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding-block: 2.5rem; color: var(--muted); font-size: 1rem; }
.site-footer img { height: 1.6rem; width: auto; }
.site-footer .info { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; }

@media (max-width: 900px) {
  .hero .wrap, .section-head, .about .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; width: min(70%, 320px); justify-self: start; }
  .service-grid, .ref-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait { max-width: 360px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .site-header .brand img { height: 1.7rem; }
}

/* Awards strip */
.awards { border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); padding-block: 0; }
.award-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.award-list li { padding: 1.75rem 1.5rem 1.75rem 0; display: flex; flex-direction: column; gap: 0.35rem; }
.award-list li + li { padding-left: 1.5rem; border-left: 2px solid var(--rule); }
.award-list strong { font-weight: 500; font-size: 1.125rem; line-height: 1.3; }
.award-list span { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }

/* Featured reference */
.featured { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: 4.5rem; }
.featured img { width: 100%; height: auto; border: 2px solid var(--rule); }
.featured h3 { margin: 0 0 0.35rem; font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.1; }
.featured .meta { margin: 0 0 1.25rem; color: var(--muted); }
.featured p { margin: 0 0 1rem; max-width: 34rem; }
.tag { display: inline-block; margin: 0 0.5rem 0.5rem 0; padding: 0.3rem 0.75rem; border: 2px solid var(--red); color: var(--ink); font-size: 0.9375rem; }

.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; border-top: 2px solid var(--rule); }
.works li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.works .year { font-weight: 500; color: var(--blue); }
.works .title { font-weight: 500; display: block; }
.works .pub { color: var(--muted); font-size: 1rem; }

.clients { margin-top: 4rem; }
.clients h3 { margin: 0 0 1rem; font-weight: 500; font-size: 1.375rem; }
.clients p { margin: 0; max-width: 60rem; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 2px solid var(--rule); }
.quotes blockquote { margin: 0; }
.quotes p { margin: 0 0 1rem; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.4; }
.quotes footer { color: var(--muted); font-size: 1rem; }

/* About photos */
.about-photo { width: 100%; height: auto; border: 2px solid var(--rule); }
.about .facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; max-width: 36rem; }
.about .facts li { padding-left: 1.4rem; position: relative; }
.about .facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; background: var(--blue); }
.recognition { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.recognition img { width: 100%; height: auto; border: 2px solid var(--rule); }
.recognition p { margin: 0 0 1rem; max-width: 34rem; }

@media (max-width: 900px) {
  .award-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .award-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .award-list li:nth-child(n+3) { border-top: 2px solid var(--rule); }
  .featured, .works, .quotes, .recognition { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .award-list { grid-template-columns: minmax(0, 1fr); }
  .award-list li, .award-list li + li { padding-left: 0; border-left: 0; }
  .award-list li + li { border-top: 2px solid var(--rule); }
}

.shelf { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; align-items: flex-end; margin-bottom: 4rem; }
.shelf figure { margin: 0; }
.shelf img { height: 260px; width: auto; max-width: 100%; border: 2px solid var(--rule); }
.shelf figcaption { margin-top: 0.75rem; font-weight: 500; font-size: 1.125rem; }
.shelf figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
@media (max-width: 520px) { .shelf img { height: 220px; } }

.featured.reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.featured.reverse > img { order: 2; }
.press { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 2px solid var(--rule); max-width: 34rem; }
.press p { margin: 0 0 0.4rem; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; }
.press footer { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .featured.reverse { grid-template-columns: minmax(0, 1fr); }
  .featured.reverse > img { order: 0; max-width: 360px; }
  .featured > img { max-width: 360px; }
}

/* Multi-page navigation */
.view[hidden] { display: none; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 2px solid var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.site-header .wrap { padding-block: 1.1rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 2px; }
.site-nav .nav-cta[aria-current="page"] { background: var(--ink); color: var(--paper); text-decoration: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero .wrap { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.awards { border-top: 0; }
.award-list { row-gap: 0; }
.award-list li { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 0; align-content: start; }
.award-list span { margin-top: 0.35rem; }
.award-list li { padding-right: 1rem; }
.award-list strong { font-size: 1.0625rem; }
.section-head h1, .about h1 { margin: 0; font-weight: 500; font-size: clamp(2.5rem, 5.5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.015em; }
.about h1 { margin-bottom: 0.25rem; }
.more { margin: 3rem 0 0; font-size: 1.125rem; }
.more a { font-weight: 500; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.page-contact .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem 5rem; align-items: start; padding-block: clamp(3rem, 7vw, 6rem); }
.page-contact h1 { margin: 0 0 1.5rem; font-weight: 500; font-size: clamp(2.5rem, 5.5vw, 4.2rem); line-height: 1.04; }
.page-contact .lede { margin: 0; font-size: clamp(1.2rem, 1.8vw, 1.4rem); color: var(--muted); max-width: 32rem; }
.contact-details { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--rule); }
.contact-details > div { padding: 1.25rem 0; border-bottom: 2px solid var(--rule); }
.contact-details dt { color: var(--muted); font-size: 1rem; margin-bottom: 0.25rem; }
.contact-details dd { margin: 0; font-size: 1.35rem; font-weight: 500; }
.contact-details a { text-underline-offset: 0.25em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-nav a { text-decoration: none; color: var(--ink); padding: 0.4rem 0; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer { border-top: 2px solid var(--rule); }
@media (max-width: 900px) { .page-contact .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 0.75rem; }
  .site-header.open .site-nav { display: flex; }
  .site-nav a { padding: 0.9rem 0; border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); font-size: 1.15rem; }
  .site-nav .nav-cta { margin-top: 0.75rem; text-align: center; border: 2px solid var(--ink); }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: auto; } }

/* Home teaser */
.teaser h2 { margin-bottom: 2.5rem; }
.teaser-list { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.teaser-list li { display: flex; align-items: center; gap: 1.25rem; font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.teaser-list svg { width: 48px; height: 48px; flex: 0 0 48px; }
/* Lighter references page */
.section-head.stacked { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 4.5rem; }
.section-head.stacked p { font-size: 1.0625rem; max-width: none; }
.references .featured { margin-bottom: 6rem; gap: clamp(2.5rem, 6vw, 5.5rem); }
.references .featured:last-child { margin-bottom: 0; }
.references .shelf { margin-bottom: 6rem; gap: 2.5rem 3rem; }
.references .featured p { line-height: 1.65; }
.ref-band { background: var(--mist); }
.ref-quotes { padding-block: clamp(4rem, 8vw, 6.5rem); }
.subhead { margin: 0 0 2.5rem; font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
.ref-band .works { border-top: 0; column-gap: 4rem; }
.ref-band .works li { padding: 1.5rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.ref-band .works .title { margin-bottom: 0.3rem; }
.ref-band .works .pub { font-size: 0.975rem; line-height: 1.55; }
.ref-band .clients { margin-top: 4.5rem; }
.ref-quotes .quotes { margin-top: 0; padding-top: 0; border-top: 0; gap: 3.5rem; }
.ref-quotes .quotes blockquote { padding-top: 1.5rem; border-top: 2px solid var(--rule); }
@media (max-width: 900px) {
  .teaser-list { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .references .featured, .references .shelf { margin-bottom: 4.5rem; }
}
.home-quote blockquote { margin: 0; max-width: 52rem; }
.home-quote blockquote p { margin: 0 0 1.25rem; font-size: clamp(1.55rem, 3.2vw, 2.4rem); line-height: 1.3; }
.home-quote footer { color: var(--muted); font-size: 1.0625rem; }
.home-quote .more { margin-top: 2.5rem; }

/* Italic quotes */
.press p, .quotes p, .home-quote blockquote p, .testimonial p { font-style: italic; }
.statement blockquote p { margin-bottom: 0; }
/* Dictionary entry */
.dict { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 2px solid var(--rule); max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; }
.dict dt { margin: 0 0 0.75rem; }
.dict .hw { font-weight: 600; font-size: 1.6rem; letter-spacing: 0.08em; }
.dict .syl { font-size: 1.25rem; margin-left: 0.6rem; }
.dict .gram { font-style: italic; color: var(--muted); margin-left: 0.4rem; }
.dict dd { margin: 0; }
.dict ol { margin: 0 0 1rem; padding-left: 1.6rem; }
.dict li { padding-left: 0.3rem; margin-bottom: 0.35rem; }
.dict li::marker { font-weight: 600; }
.dict .ex { font-style: italic; color: var(--muted); }
.dict .ex::before { content: "– "; font-style: normal; }
.dict p { margin: 0 0 0.35rem; }
.dict .lbl { font-variant: small-caps; letter-spacing: 0.04em; color: var(--muted); margin-right: 0.3rem; }
/* Dictionary entry, refined */
.statement .wrap { display: block; }
.statement .dict { margin: 2.75rem 0 0; padding: 1.1rem 0 0; border-top: 2px solid var(--rule); max-width: 30rem; font-size: 0.9375rem; line-height: 1.5; }
.dict p { margin: 0; }
.dict .entry { margin-bottom: 0.5rem; }
.dict .hw { font-weight: 600; font-size: 1rem; letter-spacing: 0.14em; }
.dict .syl { margin-left: 0.5rem; }
.dict .gram { color: var(--muted); margin-left: 0.35rem; }
.dict .sense { padding-left: 1.4rem; text-indent: -1.4rem; margin-bottom: 0.5rem; }
.dict .num { font-weight: 600; display: inline-block; width: 1.4rem; text-indent: 0; }
.dict .etym { padding-left: 1.4rem; color: var(--muted); font-size: 0.875rem; }
.dict .lbl { font-variant: small-caps; letter-spacing: 0.06em; margin-right: 0.4rem; color: var(--ink); }
@media (max-width: 900px) {
  .statement .dict { margin-top: 2.25rem; }
}
/* Cover shelf as an even grid */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.5rem; align-items: start; }
.shelf figure { min-width: 0; }
.shelf img { height: 240px; width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
.shelf figcaption { font-size: 1.0625rem; line-height: 1.35; }
@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .shelf img { width: 100%; height: auto; max-width: 320px; }
}
/* Uppercase subpage titles, smaller credits */
.section-head h1, .about h1, .page-contact h1 { text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; }
.teaser h2, .subhead { text-transform: uppercase; letter-spacing: 0.08em; }
.statement .dict { font-size: 0.8125rem; line-height: 1.5; }
.dict .hw { font-size: 0.875rem; }
.dict .etym { font-size: 0.75rem; }
.quotes footer, .home-quote footer, .press footer, .testimonial footer, .statement cite { font-size: 0.8125rem; letter-spacing: 0.01em; }
@media (max-width: 600px) {
  .section-head h1, .about h1, .page-contact h1 { font-size: 1.85rem; letter-spacing: 0.06em; }
}
/* Mobile optimisation */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 900px) {
  .hero-mark { width: min(42%, 190px); }
  .hero .wrap { gap: 1.75rem; padding-bottom: 3.5rem; }
  .about-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; line-height: 1.55; }
  section { padding-block: 3rem; }
  .section-head { margin-bottom: 2.25rem; }
  .section-head.stacked { margin-bottom: 2.5rem; }
  .section-head.stacked br { display: none; }
  .hero .wrap { padding-top: 1.75rem; }
  .hero h1 { font-size: 2.35rem; max-width: none; margin-bottom: 1.25rem; }
  .hero p.lede { font-size: 1.125rem; margin-bottom: 1.75rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { text-align: center; }
  .award-list li, .award-list li + li { padding-block: 1.1rem; }
  .service svg { width: 44px; height: 44px; margin-bottom: 1rem; }
  .service-grid { gap: 2.25rem; }
  .teaser-list li { font-size: 1.2rem; }
  .teaser-list svg { width: 40px; height: 40px; flex-basis: 40px; }
  .statement blockquote p { font-size: 1.55rem; }
  .references .featured, .references .shelf { margin-bottom: 3.5rem; }
  .featured > img, .featured.reverse > img { max-width: 260px; }
  .featured h3 { font-size: 1.6rem; }
  .press p { font-size: 1.15rem; }
  .shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; align-items: start; }
  .shelf figure { min-width: 0; }
  .shelf img { width: 100%; height: auto; }
  .shelf figcaption { font-size: 0.95rem; line-height: 1.35; white-space: normal !important; }
  .shelf figcaption span { font-size: 0.875rem; margin-top: 0.2rem; }
  .ref-band .works li { grid-template-columns: 4.75rem minmax(0, 1fr); padding-block: 1.1rem; }
  .ref-quotes .quotes { gap: 2.25rem; }
  .quotes p, .home-quote blockquote p { font-size: 1.2rem; }
  .about .wrap { gap: 2rem; }
  .contact h2 { font-size: 2.1rem; }
  .contact p, .contact-list { font-size: 1.125rem; }
  .page-contact h1 { font-size: 1.85rem; }
  .contact-details dd { font-size: 1.15rem; }
  .footer-nav a { padding: 0.6rem 0; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
/* Hero headline: locked two-line pair */
.hero h1 { max-width: none; font-size: clamp(2.1rem, 4.4vw, 3.75rem); line-height: 0.86; }
.hero h1 .hl-2 { display: block; padding-left: 1.5em; color: var(--red); }
@media (max-width: 600px) {
  .hero h1 { font-size: 2.1rem; line-height: 0.88; }
  .hero h1 .hl-2 { padding-left: 0.75em; }
}
/* Red subpage intros */
.section-head.stacked p, .page-contact .lede { color: var(--red); font-weight: 500; font-size: 1.1875rem; line-height: 1.18; padding-left: 0.625rem; margin-top: -0.1rem; }
.section-head.stacked { gap: 0; }
.page-contact h1 { margin-bottom: 0; }
@media (max-width: 600px) {
  .section-head.stacked p, .page-contact .lede { padding-left: 0.3rem; margin-top: 0.15rem; }
}
/* About page: same title + subtitle pairing */
.about h1 { margin-bottom: 0; }
.about .role { margin: -0.1rem 0 1.75rem; padding-left: 0.625rem; font-size: 1.1875rem; line-height: 1.18; font-weight: 500; color: var(--red); }
@media (max-width: 600px) {
  .about .role { margin-top: 0.15rem; padding-left: 0.3rem; }
}
/* Refined title pairs */
.about-title { display: inline-block; margin-bottom: 1.75rem; }
.about-title .role { margin-bottom: 0; padding-left: 0; text-align: left; margin-right: 0; white-space: nowrap; }
.k-spacer { display: inline-block; height: 0; overflow: hidden; vertical-align: top; visibility: hidden; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-right: -0.04em; }
@media (min-width: 601px) {
  .page-referenssit .section-head.stacked p { white-space: nowrap; }
}
@media (max-width: 600px) {
  .about-title { display: block; }
  .about-title .role { text-align: left; margin-right: 0; white-space: normal; padding-left: 0.3rem; }
  .k-spacer { display: none; }
}
/* More space between award tags */
.tag { margin: 0 1rem 0.75rem 0; }
.featured div:has(> .tag) { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.5rem; }
.featured div:has(> .tag) .tag { margin: 0; }
.featured div:has(> .tag) + .press { margin-top: 1.5rem; }
/* Tighter word spacing in large display text */
.statement blockquote p .ct { display: inline-block; width: 0; margin-right: -0.14em; }
/* Photo credit */
.recog-fig { margin: 0; }
.recog-fig figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
/* Black subpage intros (trial) */
.section-head.stacked p, .page-contact .lede { color: var(--ink); }
@media (min-width: 601px) { .page-contact .lede { padding-left: 0; white-space: nowrap; } .page-contact .k-spacer { margin-right: 2.5rem; } }
/* Red marks the key word */
.page-palvelut .section-head h1, .page-referenssit .section-head h1 { color: var(--red); }
/* Scroll cue */
.scroll-cue { position: fixed; left: 50%; bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 15; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.3s ease, visibility 0.3s; animation: cue-bob 2.2s ease-in-out infinite; }
.scroll-cue[hidden] { display: none; }
.scroll-cue.gone { opacity: 0; visibility: hidden; }
.scroll-cue:hover { background: var(--ink); color: var(--paper); }
.scroll-cue:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@keyframes cue-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
.page-etusivu .teaser, .page-palvelut .process { scroll-margin-top: 5.5rem; }
@media (max-width: 600px) { .scroll-cue { width: 44px; height: 44px; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); } }

/* Scroll targets below the sticky header */
.teaser, .process { scroll-margin-top: 5.5rem; }
