/* ==========================================================================
   TuffStones
   Palette: taken from the TuffStones logo: brand red, bar grey, charcoal.
   Type: Inter throughout, weights and size carry the hierarchy.
   ========================================================================== */

:root {
  --concrete: #e9e9e7;
  --paper: #f6f6f4;
  --plate: #dcdcd9;
  --slate: #1f2123;
  --slate-2: #2a2c2f;
  --ink: #231f20;
  --muted: #5a5a5d;
  --muted-dark: #aeaeb1;
  --red: #b42232;
  --red-deep: #8f1a27;
  --red-bright: #e0505c;
  --bar: #acacaf;
  --line: rgba(35, 31, 32, .15);
  --line-dark: rgba(255, 255, 255, .16);

  --display: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --space: clamp(72px, 10vw, 144px);
  --header-h: 72px;
  --radius: 3px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font: 400 1rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.022em; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- type scale ---------- */
.display-1 { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 700; line-height: .94; letter-spacing: -.022em; }
.display-2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: -.022em; }
.display-3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 600; margin-bottom: 1.5rem; }
.h-small { font-family: var(--text); font-size: .9375rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-bottom: .6rem; color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; max-width: 36em; }
.small { font-size: .875rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8rem 1.35rem;
  font: 600 .9375rem/1 var(--display); letter-spacing: .005em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn--sm { min-height: 40px; padding: .6rem 1rem; font-size: .9375rem; }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--concrete); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--concrete) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.has-dark-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
.has-dark-hero .site-header.is-scrolled { background: rgba(31, 33, 35, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line-dark); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__img { height: 42px; width: auto; }
.brand__img--light { display: none; }
.has-dark-hero .site-header .brand__img--color, .nav-open .site-header .brand__img--color, .site-footer .brand__img--color { display: none; }
.has-dark-hero .site-header .brand__img--light, .nav-open .site-header .brand__img--light, .site-footer .brand__img--light { display: block; }
.site-footer .brand__img { height: 52px; }
@media (max-width: 600px) { .brand__img { height: 34px; } }
.custom-logo-link { margin-right: auto; }
.custom-logo { max-height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: .96875rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { border-bottom-color: var(--red); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform .2s, top .2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { left: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
    padding: var(--gutter); background: var(--slate); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: #fff; }
  .nav__list { flex-direction: column; gap: 14px; }
  .nav__list a { font-family: var(--display); font-weight: 600; font-size: 1.9rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * .55); }
.section--dark { background: var(--slate); color: #fff; }
.section--dark .section-head p, .section--dark p { color: var(--muted-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { margin: 0; max-width: 34em; color: var(--muted); }
.more { margin: 48px 0 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px 80px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- 3D stages (shared) ---------- */
.ts-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(120% 90% at 60% 35%, #3b3e42 0%, var(--slate) 55%, #141516 100%); color: #fff; }
.ts-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.ts-stage.is-ready canvas { opacity: 1; }
[data-from] { will-change: opacity, transform; }

/* no WebGL: stack content like a normal page */
.ts-no-webgl { height: auto !important; }
.ts-no-webgl .ts-stage { position: relative; height: auto; padding: calc(var(--header-h) + 48px) 0 64px; }
.ts-no-webgl .ts-stage canvas, .ts-no-webgl .story__hint, .ts-no-webgl .story__progress, .ts-no-webgl .hero__progress, .ts-no-webgl .swatches { display: none; }
.ts-no-webgl [data-from] { position: relative !important; inset: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important; margin-bottom: 40px; }

/* ---------- home hero ---------- */
.hero { height: 240vh; position: relative; }
.hero__copy { position: absolute; left: 0; right: 0; bottom: clamp(56px, 11vh, 120px); pointer-events: none; }
.hero__copy a, .hero__copy button { pointer-events: auto; }
.hero__title { font-size: clamp(2.7rem, 6vw, 5.5rem); font-weight: 700; line-height: .9; letter-spacing: -.022em; max-width: 9.5em; margin-bottom: 28px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 33em; color: #dfe3e5; margin-bottom: 28px; text-shadow: 0 1px 16px rgba(0, 0, 0, .5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero__big { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: -.022em; max-width: 13em; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero__note { position: absolute; right: var(--gutter); bottom: 96px; max-width: 17em; font-size: .875rem; color: var(--muted-dark); text-align: right; margin: 0; padding-top: 10px; border-top: 2px solid var(--red-bright); }
.hero__progress, .story__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.hero__progress span, .story__progress span { display: block; height: 100%; background: var(--red-bright); transform-origin: 0 50%; transform: scaleX(0); }
.hero .ts-stage::after, .story .ts-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 21, 22, .8) 0%, rgba(20, 21, 22, .35) 38%, transparent 62%),
              linear-gradient(0deg, rgba(20, 21, 22, .55) 0%, transparent 38%);
}
.hero__copy, .hero__note, .chapter, .story__ui, .story__labels, .story__progress, .hero__progress, .story__hint { z-index: 2; }
@media (max-width: 700px) {
  .hero { height: 200vh; }
  .hero__note { display: none; }
}

/* ---------- intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 96px; }
.facts { margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9375rem; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #e9eae6 0%, var(--plate) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.card__media > img { width: 100%; height: 100%; object-fit: cover; }
.ts-thumb { width: 100%; height: 100%; }
.ts-thumb img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .6s ease; }
.ts-thumb.is-drawn img { opacity: 1; transform: none; }
.card__link:hover .ts-thumb img { transform: translateY(-4px); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.3rem; line-height: 1.2; font-weight: 600; margin-bottom: 8px; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.card__text { color: var(--muted); font-size: .96875rem; line-height: 1.5; }
.card__meta { margin: auto 0 0; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.card__swatches { display: inline-flex; gap: 4px; }
.card__swatches i { width: 14px; height: 14px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* ---------- ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.ledger__name { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.25; }
.ledger__place { color: var(--red-bright); font-size: .9375rem; }
.ledger__scope { color: var(--muted-dark); font-size: .96875rem; }
.ledger--light { border-top-color: var(--line); }
.ledger--light .ledger__row { border-bottom-color: var(--line); }
.ledger--light .ledger__place { color: var(--red); }
.ledger--light .ledger__scope { color: var(--muted); }
@media (max-width: 800px) { .ledger__row { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--red); margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .96875rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- quality ---------- */
.quality { background: var(--paper); border-block: 1px solid var(--line); }
.quality__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 96px; }
.quality__list p { font-size: 1.125rem; padding: 20px 0; margin: 0; border-bottom: 1px solid var(--line); }
.quality__list p:first-child { padding-top: 0; }
.quality__list strong { font-weight: 600; }
@media (max-width: 900px) { .quality__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; }
.cta .lede { margin-bottom: 24px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--solid { background: #fff; color: var(--red); }
.cta .btn--solid:hover { background: var(--ink); color: #fff; }
.cta .btn--line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.cta .btn--line:hover { background: #fff; color: var(--red); }
@media (max-width: 800px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- product story ---------- */
.story { height: 700vh; position: relative; }
@media (max-width: 700px) { .story { height: 600vh; } }
.chapter { position: absolute; left: var(--gutter); bottom: clamp(88px, 15vh, 160px); max-width: min(34rem, calc(100% - var(--gutter) * 2)); opacity: 0; visibility: hidden; }
.chapter--first { opacity: 1; visibility: visible; max-width: min(46rem, calc(100% - var(--gutter) * 2)); }
.chapter__kicker { font-size: .9375rem; color: var(--muted-dark); margin-bottom: 14px; }
.chapter__kicker a { text-decoration: none; color: #fff; }
.chapter__kicker a:hover { text-decoration: underline; }
.chapter__count { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--red-bright); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.chapter__title { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; line-height: .98; letter-spacing: -.022em; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, .4); }
.chapter__title--xl { font-size: clamp(2.7rem, 6.2vw, 5.4rem); font-weight: 700; line-height: .9; letter-spacing: -.022em; }
.chapter__text { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; color: #dfe3e5; margin: 0; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.chapter__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.story__ui { position: absolute; right: var(--gutter); bottom: 86px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.swatches { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; background: rgba(20, 21, 22, .6); border: 1px solid var(--line-dark); border-radius: 999px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.swatches__name { font-size: .875rem; color: #dfe3e5; margin-right: 6px; min-width: 7.5em; text-align: right; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: box-shadow .15s; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--slate), 0 0 0 4px var(--red-bright); }
.story__skip { font-size: .875rem; color: var(--muted-dark); }
.story__skip:hover { color: #fff; }
.story__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-size: .8125rem; color: var(--muted-dark); animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

.story__labels { position: absolute; inset: 0; pointer-events: none; }
.ts-label {
  position: absolute; left: 0; top: 0; opacity: 0;
  padding: 6px 10px 6px 30px; font-size: .875rem; color: #fff; white-space: nowrap;
}
.ts-label::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 1px; background: var(--red-bright); }
.ts-label::after { content: ""; position: absolute; left: -3px; top: calc(50% - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); }
.ts-label.is-flipped { translate: calc(-100% - 28px) 0; padding: 6px 30px 6px 10px; }
.ts-label.is-flipped::before { left: auto; right: 0; }
.ts-label.is-flipped::after { left: auto; right: -3px; }

@media (max-width: 700px) {
  .hero .ts-stage::after, .story .ts-stage::after { background: linear-gradient(0deg, rgba(20, 21, 22, .92) 0%, rgba(20, 21, 22, .5) 42%, transparent 64%); }
  .chapter { bottom: 118px; }
  .story__ui { left: var(--gutter); right: var(--gutter); bottom: 18px; flex-direction: row; justify-content: space-between; align-items: center; }
  .swatches__name { display: none; }
  .swatches { padding: 6px; }
  .story__hint { display: none; }
  .ts-label { font-size: .75rem; }
}

/* ---------- data sheet ---------- */
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 96px; }
.sheet__intro .display-2 { margin-bottom: 28px; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 48px; }
.spec th, .spec td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 2px solid var(--ink); }
.spec th { width: 42%; font-weight: 500; color: var(--muted); padding-right: 24px; }
.spec td { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.plain-list { list-style: none; margin: 0 0 14px; padding: 0; }
.plain-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.colour-list li { display: flex; align-items: center; gap: 12px; }
.colour-list i { width: 22px; height: 22px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
@media (max-width: 900px) { .sheet__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sheet__cols { grid-template-columns: 1fr; } }

/* ---------- enquiry ---------- */
.enquire { background: var(--paper); border-top: 1px solid var(--line); }
.enquire__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 96px; align-items: start; }
.enquire .display-2 { margin-bottom: 24px; }
.enquire__direct { margin-top: 28px; color: var(--muted); }
.enquire__direct a { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); display: block; margin-top: 4px; }
@media (max-width: 900px) { .enquire__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: .9375rem; font-weight: 500; }
.field__label em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(27, 33, 38, .28); border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(180, 34, 50, .3); outline-offset: 0; border-color: var(--red); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__note { margin: 0; font-size: .875rem; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; border-left: 4px solid; }
.notice--ok { background: #e6efe3; border-color: #3f7a36; }
.notice--error { background: #f6e5e1; border-color: #a13b28; }

/* ---------- pages ---------- */
.page-hero { padding: calc(var(--space) * .7) 0 calc(var(--space) * .45); border-bottom: 1px solid var(--line); }
.page-hero--tall { min-height: 70vh; display: flex; align-items: center; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; }
.page-hero .lede { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(27, 33, 38, .3); background: transparent; cursor: pointer; font-size: .9375rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--concrete); }
.empty { color: var(--muted); font-size: 1.0625rem; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--red); }
.timeline p { margin: 0; font-size: 1.0625rem; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.principles h3 { font-size: 1.2rem; margin-bottom: 10px; }
.principles p { margin: 0; }
@media (max-width: 620px) { .principles { grid-template-columns: 1fr; } }

.sectors { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.sectors li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
@media (max-width: 560px) { .sectors { columns: 1; } }

.contact-card .h-small { margin-top: 28px; }
.contact-card .h-small:first-child { margin-top: 0; }
.contact-card__big a { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); text-decoration: none; line-height: 1.3; }
.contact-card__big a:hover { color: var(--red); }
.map iframe { width: 100%; height: min(460px, 60vh); border: 0; filter: grayscale(.85) contrast(1.05); }

.prose { max-width: 40rem; }
.prose--wide { max-width: 48rem; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.4rem; margin: 1.4em 0 .5em; }
.prose img { border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--red); font-size: 1.2rem; }

.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list__item a { display: grid; gap: 4px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-list__date { font-size: .875rem; color: var(--muted); }
.post-list__title { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.post-list__excerpt { color: var(--muted); max-width: 40em; }
.post-cover img { width: 100%; border-radius: var(--radius); }
.pagination { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: #fff; padding: 80px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 48px; }
.site-footer__brand p { color: var(--muted-dark); max-width: 26em; margin-top: 18px; }
.site-footer__brand .brand { margin-right: 0; }
.site-footer__h { font-family: var(--text); font-size: .875rem; font-weight: 600; color: var(--muted-dark); margin-bottom: 14px; letter-spacing: 0; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { padding: 3px 0; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer address { color: #dfe3e5; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .875rem; color: var(--muted-dark); }
.site-footer__base p { margin: 0; }
.site-footer__menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  background: #1f8f4e; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.wa svg { width: 22px; height: 22px; }
.wa:hover { background: #197a42; }
.single-ts_product .wa, .home .wa { bottom: 18px; }
@media (max-width: 700px) { .wa span { display: none; } .wa { padding: 12px; } .single-ts_product .wa { bottom: 84px; } }

/* ---------- WordPress core ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .875rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.ts-no-webgl .chapter { margin-inline: var(--gutter); max-width: 46rem; }
.is-moving .story__hint { opacity: 0; animation: none; transition: opacity .3s; }
