/*
Theme Name: TOUTOKI
Theme URI: https://gallery-toutoki.com/
Author: Office Atom
Description: Gallery TOUTOKIの見学・制作体験・物販をつなぐ専用テーマ。
Version: 0.9.4
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: toutoki
*/

:root {
  color-scheme: light;
  --tt-ink: #30343a;
  --tt-paper: #e9e9e5;
  --tt-surface: #fafaf7;
  --tt-surface-deep: #e9e9e5;
  --tt-copper: #c83232;
  --tt-copper-bright: #c83232;
  --tt-steel: #30343a;
  --tt-line: rgba(48, 52, 58, .25);
  --tt-muted: rgba(48, 52, 58, .72);
  --tt-on-dark: #fafaf7;
  --tt-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --tt-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --tt-display: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --tt-ease: cubic-bezier(.16, 1, .3, 1);
  --tt-header: 72px;
  --tt-shell: min(1280px, calc(100% - 96px));
  --tt-shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tt-ink);
  background: var(--tt-paper);
  font-family: var(--tt-sans);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
body, button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, video { display: block; width: 100%; }
main { overflow: clip; }
section { scroll-margin-top: calc(var(--tt-header) + 16px); }
h1, h2, h3, p { line-break: strict; overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--tt-copper-bright); outline-offset: 5px; }
::selection { color: var(--tt-on-dark); background: var(--tt-copper); }
.tt-skip { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 12px 16px; color: var(--tt-paper); background: var(--tt-ink); transform: translateY(-150%); }
.tt-skip:focus { transform: none; }

.tt-shell { width: var(--tt-shell); margin-inline: auto; }
.tt-label {
  margin: 0;
  color: var(--tt-copper);
  font: 700 10px/1.5 var(--tt-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tt-button {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tt-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color .3s var(--tt-ease), background .3s var(--tt-ease), transform .3s var(--tt-ease);
}
.tt-button:hover { color: var(--tt-paper); background: var(--tt-ink); }
.tt-button:active { transform: translateY(1px); }
.tt-button--dark { color: var(--tt-paper); background: var(--tt-ink); }
.tt-button--dark:hover { color: var(--tt-ink); background: transparent; }
.tt-text-link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--tt-line);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.tt-text-link::after { content: "↓"; color: var(--tt-copper); font-size: 16px; }

.tt-header {
  height: var(--tt-header);
  padding: 0 4.5vw;
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--tt-line);
  background: color-mix(in srgb, var(--tt-paper) 88%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}
.admin-bar .tt-header { top: 32px; }
.tt-wordmark { display: flex; flex-direction: column; font: 700 21px/1 var(--tt-sans); letter-spacing: .32em; }
.tt-wordmark small { margin-top: 7px; font: 500 8px/1 var(--tt-sans); letter-spacing: .42em; }
.tt-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); font-size: 12px; font-weight: 600; }
.tt-nav a { padding: 12px 0; border-bottom: 1px solid transparent; }
.tt-nav a:hover, .tt-nav a:focus-visible { border-color: currentColor; }
.tt-nav .tt-language { min-width: 58px; color: var(--tt-copper); font-weight: 800; letter-spacing: .04em; text-align: center; }
.tt-nav .tt-nav-book { padding: 12px 20px; color: var(--tt-paper); background: var(--tt-ink); border: 1px solid var(--tt-ink); }
.tt-menu { display: none; }

html[lang="en"] .tt-hero h1,
html[lang="en"] .tt-insight h2,
html[lang="en"] .tt-people h2,
html[lang="en"] .tt-journey h2,
html[lang="en"] .tt-courses h2,
html[lang="en"] .tt-inspection h2,
html[lang="en"] .tt-visit h2 { letter-spacing: -.025em; }
html[lang="en"] .tt-hero h1 { font-size: clamp(38px, 3.2vw, 52px); }
html[lang="en"] .tt-actions { flex-wrap: wrap; }
html[lang="en"] .tt-actions .tt-text-link { flex-basis: 100%; }

.tt-hero {
  min-height: 100dvh;
  padding-top: var(--tt-header);
  display: grid;
  grid-template-columns: minmax(500px, 44%) 1fr;
  grid-template-rows: minmax(610px, 1fr) auto;
  border-bottom: 1px solid var(--tt-line);
}
.admin-bar .tt-hero { padding-top: calc(var(--tt-header) + 32px); }
.tt-hero-copy {
  padding: clamp(76px, 8vh, 112px) clamp(52px, 6vw, 100px) 64px max(48px, 8vw);
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tt-hero-copy::before {
  content: "";
  width: 52px;
  height: 3px;
  position: absolute;
  left: max(48px, 8vw);
  top: clamp(54px, 7vh, 90px);
  background: var(--tt-copper);
}
.tt-hero h1 {
  margin: 28px 0 0;
  max-width: 720px;
  font: 600 clamp(40px, 3.35vw, 56px)/1.42 var(--tt-display);
  letter-spacing: .01em;
}
.tt-hero h1 span { display: block; }
.tt-hero-lead { max-width: 470px; margin: 32px 0 0; color: var(--tt-muted); font-size: 13px; line-height: 2.05; }
.tt-actions { margin-top: 36px; display: flex; align-items: center; gap: 22px; }
.tt-hero-image {
  min-height: 610px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--tt-paper);
}
.tt-hero-image::after { content: none; }
.tt-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  filter: none;
  transform: scale(1.012);
  transition: transform 1.8s var(--tt-ease);
}
.tt-hero:hover .tt-hero-image img { transform: scale(1.035); }
.tt-hero-image figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: var(--tt-on-dark);
  text-align: right;
  font-size: 10px;
  letter-spacing: .12em;
}
.tt-hero-image figcaption span:last-child { color: rgba(240, 241, 236, .68); letter-spacing: .08em; }
.tt-hero-info {
  grid-column: 1/-1;
  min-height: 96px;
  margin: 0;
  padding: 0 max(48px, 8vw);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  background: var(--tt-surface);
  border-top: 1px solid var(--tt-line);
}
.tt-hero-info div { padding: 24px 28px 20px 0; display: grid; grid-template-columns: 82px 1fr; align-items: center; border-right: 1px solid var(--tt-line); }
.tt-hero-info div + div { padding-left: 30px; }
.tt-hero-info div:last-child { border-right: 0; }
.tt-hero-info dt { color: var(--tt-copper); font-size: 11px; font-weight: 700; }
.tt-hero-info dd { margin: 0; font-size: 13px; }

.tt-insight { padding: clamp(100px, 11vw, 160px) 0 110px; background: var(--tt-surface); }
.tt-insight-head { max-width: 920px; }
.tt-insight h2, .tt-people h2, .tt-journey h2, .tt-visit h2 {
  margin: 0;
  font: 600 clamp(34px, 3.6vw, 54px)/1.55 var(--tt-display);
  letter-spacing: .005em;
}
.tt-insight h2 span, .tt-people h2 span, .tt-journey h2 span { display: block; }
.tt-people h2 { font-size: clamp(26px, 2.25vw, 36px); }
.tt-insight-head > p:last-child { max-width: 610px; margin: 30px 0 0; color: var(--tt-muted); font-size: 13px; line-height: 2.15; }
.tt-transform { margin-top: 84px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr); gap: clamp(52px, 7vw, 110px); }
.tt-transform-stage { height: min(72vh, 760px); position: sticky; top: calc(var(--tt-header) + 28px); overflow: hidden; background: #111312; box-shadow: var(--tt-shadow); }
.admin-bar .tt-transform-stage { top: calc(var(--tt-header) + 60px); }
.tt-transform-stage::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tt-transform-stage figure { margin: 0; position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--tt-ease), transform 1.1s var(--tt-ease); }
.tt-transform-stage figure.is-active { opacity: 1; transform: scale(1); }
.tt-transform-stage img { height: 100%; object-fit: cover; filter: contrast(1.15) saturate(.72); }
.tt-transform-stage figcaption { position: absolute; inset: auto 0 0; padding: 20px 30px; color: var(--tt-on-dark); background: var(--tt-ink); font: 500 14px/1.8 var(--tt-sans); }
.tt-transform-steps article { min-height: 48vh; padding: 42px 0; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--tt-line); opacity: .4; transition: opacity .5s var(--tt-ease), transform .5s var(--tt-ease); }
.tt-transform-steps article:last-child { border-bottom: 1px solid var(--tt-line); }
.tt-transform-steps article.is-active { opacity: 1; transform: translateX(-12px); }
.tt-transform-steps h3 { margin: 0; font: 600 28px/1.6 var(--tt-display); }
.tt-transform-steps p { margin: 17px 0 0; color: var(--tt-muted); font-size: 13px; line-height: 2; }

.tt-people { display: grid; grid-template-columns: 54% 46%; color: var(--tt-on-dark); background: #151817; }
.tt-people-media { min-height: 720px; position: relative; overflow: hidden; background: #0f1110; }
.tt-people-media::after { content: none; }
.tt-people-media img, .tt-people-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.18) contrast(1.16); opacity: .96; }
.tt-sound { position: absolute; left: 30px; bottom: 30px; z-index: 1; min-height: 48px; padding: 0 18px; color: var(--tt-on-dark); background: rgba(15, 17, 16, .76); border: 1px solid rgba(240, 241, 236, .5); cursor: pointer; font-size: 10px; }
.tt-people-copy { padding: 100px clamp(48px, 8vw, 126px) 96px clamp(48px, 7vw, 112px); align-self: center; }
.tt-people-copy .tt-label { color: #d98664; }
.tt-people h2 { margin-top: 28px; }
.tt-quote { margin: 42px 0 0; padding-left: 26px; border-left: 2px solid #d98664; font: 500 17px/2.05 var(--tt-sans); }
.tt-people-copy > p:last-of-type { margin: 28px 0 0; color: rgba(240, 241, 236, .7); font-size: 12px; line-height: 2.1; }
.tt-people .tt-button { color: var(--tt-on-dark); border-color: rgba(240, 241, 236, .62); }
.tt-people .tt-button:hover { color: #151817; background: var(--tt-on-dark); }
.tt-company-bridge { margin-top: 48px; padding-top: 25px; border-top: 1px solid rgba(240, 241, 236, .24); }
.tt-company-bridge p { max-width: 520px; margin: 0; color: rgba(240, 241, 236, .62); font-size: 11px; line-height: 2; }
.tt-company-bridge a { margin-top: 13px; display: inline-flex; gap: 8px; align-items: center; color: var(--tt-on-dark); font-size: 11px; font-weight: 700; border-bottom: 1px solid rgba(240, 241, 236, .34); }
.tt-company-bridge a:hover { border-color: currentColor; }

.tt-journey { padding: clamp(100px, 11vw, 150px) 0; background: var(--tt-paper); }
.tt-journey-head { max-width: 800px; }
.tt-journey-figure { margin: 58px 0 0; position: relative; }
.tt-journey-figure img { height: clamp(260px, 34vw, 430px); object-fit: cover; object-position: center 62%; filter: contrast(1.04) saturate(.9); }
.tt-journey-figure figcaption {
  position: absolute;
  left: 26px;
  bottom: 20px;
  padding: 10px 16px;
  color: var(--tt-on-dark);
  background: rgba(10, 12, 11, .68);
  font-size: 11px;
  letter-spacing: .06em;
}
.tt-journey-list { counter-reset: journey; margin: 76px 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); list-style: none; }
.tt-journey-list li { counter-increment: journey; min-height: 230px; padding: 30px 26px; position: relative; border-top: 1px solid var(--tt-line); opacity: .28; transform: translateY(22px); transition: opacity .7s var(--tt-ease), transform .7s var(--tt-ease), background .7s var(--tt-ease); }
.tt-journey-list li::before { content: ""; width: 9px; height: 9px; position: absolute; top: -5px; left: 26px; border: 2px solid var(--tt-copper); background: var(--tt-paper); }
.tt-journey-list li:nth-child(1) { grid-column: 1/4; }
.tt-journey-list li:nth-child(2) { grid-column: 4/7; margin-top: 78px; }
.tt-journey-list li:nth-child(3) { grid-column: 7/10; }
.tt-journey-list li:nth-child(4) { grid-column: 10/13; margin-top: 78px; }
.tt-journey-list li:nth-child(5) { grid-column: 7/10; margin-top: -18px; }
.tt-journey-list li.is-visible { opacity: 1; transform: none; }
.tt-journey-list h3 { margin: 20px 0 16px; font: 600 20px/1.6 var(--tt-display); }
.tt-journey-list h3::before {
  content: counter(journey, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--tt-copper);
  font: 700 11px/1 var(--tt-sans);
  letter-spacing: .16em;
}
.tt-journey-list p { margin: 0; color: var(--tt-muted); font-size: 13px; line-height: 1.95; }

.tt-courses { padding: clamp(100px, 11vw, 150px) 0; background: var(--tt-surface-deep); }
.tt-courses-head { max-width: 940px; }
.tt-courses-head h2 { margin: 0; font: 600 clamp(34px, 3.6vw, 54px)/1.55 var(--tt-display); }
.tt-courses-head h2 span { display: block; }
.tt-course-ui { margin-top: 70px; display: grid; grid-template-columns: minmax(260px, 31%) 1fr; box-shadow: var(--tt-shadow); }
.tt-course-tabs { display: flex; flex-direction: column; background: var(--tt-paper); }
.tt-course-tab { flex: 1; min-height: 102px; padding: 22px 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--tt-line); cursor: pointer; transition: color .3s var(--tt-ease), background .3s var(--tt-ease), padding .3s var(--tt-ease); }
.tt-course-tab:last-child { border-bottom: 0; }
.tt-course-tab small { color: var(--tt-copper); font-size: 9px; font-weight: 700; }
.tt-course-tab strong { font: 600 14px/1.55 var(--tt-display); }
.tt-course-tab[aria-selected="true"] { padding-left: 38px; color: var(--tt-paper); background: var(--tt-ink); }
.tt-course-tab[aria-selected="true"] small { color: var(--tt-copper-bright); }
.tt-course-panels { display: grid; background: var(--tt-surface); }
.tt-course-panel { min-height: 560px; padding: 70px clamp(48px, 7vw, 108px); grid-area: 1/1; align-content: center; background: var(--tt-surface); }
.tt-course-panel[hidden] { display: none; }
.tt-course-panel > small { color: var(--tt-copper); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.tt-course-panel h3 { max-width: 720px; margin: 18px 0; font: 600 clamp(28px, 2.8vw, 42px)/1.55 var(--tt-display); }
.tt-course-panel p { max-width: 620px; color: var(--tt-muted); font-size: 12px; line-height: 2.05; }
.tt-course-meta { margin: 30px 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--tt-line); font-size: 10px; }

.tt-inspection { padding: clamp(100px, 11vw, 150px) 0; color: var(--tt-on-dark); background: #151817; }
.tt-inspection-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(64px, 9vw, 150px); align-items: start; }
.tt-inspection h2 { margin: 28px 0 0; font: 600 clamp(34px, 3.6vw, 54px)/1.55 var(--tt-display); }
.tt-inspection h2 span { display: block; }
.tt-inspection .tt-label { color: #d98664; }
.tt-inspection-copy { padding-top: 12px; }
.tt-inspection-audience { margin: 0 0 30px; color: #d98664; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.tt-inspection-copy > p:not(.tt-inspection-audience) { max-width: 600px; margin: 0; color: rgba(240, 241, 236, .76); font-size: 13px; line-height: 2.1; }
.tt-inspection-copy .tt-inspection-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(240, 241, 236, .24); color: rgba(240, 241, 236, .56); font-size: 11px; }
.tt-inspection .tt-button { margin-top: 34px; color: var(--tt-on-dark); border-color: rgba(240, 241, 236, .62); }
.tt-inspection .tt-button:hover { color: #151817; background: var(--tt-on-dark); }

.tt-news { padding: clamp(92px, 10vw, 136px) 0; background: var(--tt-surface); }
.tt-news-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.tt-news-head h2 { margin: 18px 0 0; font: 600 clamp(30px, 3vw, 46px)/1.55 var(--tt-display); }
.tt-news-list { margin-top: 52px; border-top: 1px solid var(--tt-ink); }
.tt-news-list article { min-height: 112px; padding: 26px 0; display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; border-bottom: 1px solid var(--tt-line); }
.tt-news-list time { color: var(--tt-copper); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.tt-news-list h3 { margin: 0; font: 600 16px/1.75 var(--tt-display); }
.tt-news-list h3 a:hover { color: var(--tt-copper); }
.tt-news-more { font-size: 10px; font-weight: 700; border-bottom: 1px solid var(--tt-line); }

.tt-visit { padding: clamp(100px, 11vw, 150px) 0; background: var(--tt-paper); }
.tt-visit h2 span { display: block; }
.tt-visit-grid { margin-top: 64px; display: grid; grid-template-columns: .85fr 1.15fr; border-top: 1px solid var(--tt-ink); }
.tt-visit dl { margin: 0; padding-right: clamp(34px, 5vw, 80px); }
.tt-visit dl div { min-height: 78px; padding: 18px 0; display: grid; grid-template-columns: 100px 1fr; align-items: center; border-bottom: 1px solid var(--tt-line); }
.tt-visit dt { color: var(--tt-copper); font-size: 11px; font-weight: 700; }
.tt-visit dd { margin: 0; font-size: 13px; line-height: 1.75; }
.tt-visit-actions { display: grid; grid-template-rows: 1.2fr .8fr; border-left: 1px solid var(--tt-ink); }
.tt-visit-actions a { padding: 38px clamp(36px, 5vw, 78px); display: flex; flex-direction: column; justify-content: center; background: var(--tt-surface); transition: color .35s var(--tt-ease), background .35s var(--tt-ease), padding .35s var(--tt-ease); }
.tt-visit-actions a + a { border-top: 1px solid var(--tt-ink); }
.tt-visit-actions a:hover { padding-left: clamp(46px, 6vw, 92px); color: var(--tt-paper); background: var(--tt-ink); }
.tt-visit-actions small { color: var(--tt-copper); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.tt-visit-actions strong { margin-top: 14px; font: 600 clamp(22px, 2.2vw, 32px)/1.55 var(--tt-display); }
.tt-visit-actions span { margin-top: 9px; color: var(--tt-muted); font-size: 11px; }
.tt-visit-actions a:hover span { color: currentColor; }

.tt-footer { min-height: 280px; padding: 70px 8vw; display: flex; align-items: flex-end; justify-content: space-between; color: var(--tt-on-dark); background: #111312; }
.tt-footer p { margin: 4px 0; color: rgba(240, 241, 236, .58); font-size: 11px; }
.tt-footer p a { border-bottom: 1px solid rgba(240, 241, 236, .2); }
.tt-footer p a:hover { color: var(--tt-on-dark); border-color: currentColor; }
.tt-footer-nav { margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 11px; }
.tt-footer-nav a { padding-block: 8px; border-bottom: 1px solid rgba(240, 241, 236, .28); }

.tt-document { min-height: 72vh; padding: clamp(140px, 15vw, 210px) 0 clamp(90px, 10vw, 140px); }
.tt-document-head { max-width: 840px; padding-bottom: 34px; border-bottom: 1px solid var(--tt-line); }
.tt-document-head h1 { margin: 18px 0 0; font: 600 clamp(34px, 5vw, 64px)/1.45 var(--tt-display); }
.tt-document-body { max-width: 780px; margin-top: 50px; color: var(--tt-muted); font-size: 14px; line-height: 2; }
.tt-document-body h2, .tt-document-body h3 { margin: 2.2em 0 .8em; color: var(--tt-ink); font-family: var(--tt-display); font-weight: 600; line-height: 1.6; }
.tt-document-body a { color: var(--tt-copper); text-decoration: underline; text-underline-offset: .18em; }
.tt-document-body img { height: auto; }

@media (max-width: 1080px) {
  :root { --tt-shell: min(100% - 64px, 1280px); }
  .tt-nav { gap: 14px; font-size: 10px; }
  .tt-hero { grid-template-columns: 48% 52%; }
  .tt-hero-copy { padding-inline: 48px; }
  .tt-hero-copy::before { left: 48px; }
  .tt-hero-info { padding-inline: 48px; }
  .tt-hero-info div { grid-template-columns: 72px 1fr; }
}

@media (max-width: 900px) {
  :root { --tt-header: 66px; --tt-shell: min(100% - 48px, 1280px); }
  .admin-bar .tt-header { top: 46px; }
  .tt-header { padding: 0 22px; }
  .tt-wordmark { font-size: 18px; }
  .tt-menu { padding: 12px 0; display: block; background: none; border: 0; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
  .tt-nav { position: absolute; top: var(--tt-header); inset-inline: 0; padding: 18px 24px 26px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--tt-surface); border-bottom: 1px solid var(--tt-ink); }
  .tt-nav.is-open { display: flex; }
  .tt-nav a { padding: 14px 0; border-bottom: 1px solid var(--tt-line); }
  .tt-nav .tt-nav-book { margin-top: 12px; text-align: center; }
  .tt-hero { min-height: 0; padding-top: var(--tt-header); display: flex; flex-direction: column; }
  .admin-bar .tt-hero { padding-top: calc(var(--tt-header) + 46px); }
  .tt-hero-copy { min-height: 0; padding: 94px 24px 44px; }
  .tt-hero-copy::before { left: 24px; top: 68px; }
  .tt-hero h1 { font-size: clamp(37px, 10.2vw, 47px); line-height: 1.42; }
  .tt-hero h1 span { white-space: normal; }
  .tt-hero-lead { margin-top: 26px; font-size: 12px; line-height: 2; }
  .tt-actions { margin-top: 30px; align-items: stretch; flex-direction: column; gap: 12px; }
  .tt-text-link { justify-content: center; }
  .tt-hero-image { min-height: 430px; }
  .tt-hero-image img { object-position: 56% center; }
  .tt-hero-image figcaption { right: 20px; bottom: 18px; }
  .tt-hero-info { padding: 0 24px; grid-template-columns: 1fr; }
  .tt-hero-info div, .tt-hero-info div + div { min-height: 68px; padding: 15px 0; grid-template-columns: 76px 1fr; border-right: 0; border-bottom: 1px solid var(--tt-line); }
  .tt-insight, .tt-journey, .tt-courses, .tt-inspection, .tt-news, .tt-visit { padding: 86px 0; }
  .tt-insight h2, .tt-people h2, .tt-journey h2, .tt-inspection h2, .tt-visit h2 { font-size: clamp(29px, 8vw, 38px); line-height: 1.65; }
  .tt-transform { margin-top: 58px; display: flex; flex-direction: column; }
  .tt-transform-stage,
  .tt-transform-steps { display: contents; }
  .tt-transform-stage::before { content: none; }
  .tt-transform-stage figure,
  .tt-transform-stage figure.is-active {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    transition: none;
    overflow: hidden;
    background: var(--tt-ink);
  }
  .tt-transform-stage img { height: clamp(260px, 78vw, 360px); }
  .tt-transform-stage figcaption { inset: auto 0 0; width: auto; padding: 16px 20px; }
  .tt-transform-stage [data-frame="0"] { order: 1; }
  .tt-transform-steps [data-step="0"] { order: 2; }
  .tt-transform-stage [data-frame="1"] { order: 3; }
  .tt-transform-steps [data-step="1"] { order: 4; }
  .tt-transform-stage [data-frame="2"] { order: 5; }
  .tt-transform-steps [data-step="2"] { order: 6; }
  .tt-transform-stage [data-frame="3"] { order: 7; }
  .tt-transform-steps [data-step="3"] { order: 8; }
  .tt-transform-steps article,
  .tt-transform-steps article.is-active { min-height: 0; margin: 0 0 32px; padding: 28px 22px 32px; color: var(--tt-on-dark); border-color: rgba(250, 250, 247, .28); background: var(--tt-ink); opacity: 1; transform: none; transition: none; }
  .tt-transform-steps p { color: rgba(240, 241, 236, .72); }
  .tt-people { display: flex; flex-direction: column; }
  .tt-people-media { min-height: 480px; }
  .tt-people-copy { padding: 78px 24px 84px; }
  .tt-quote { font-size: 17px; }
  .tt-visit h2 { font-size: clamp(23px, 6.4vw, 31px); }
  .tt-journey-figure { margin-top: 40px; }
  .tt-journey-figure figcaption { left: 0; right: 0; bottom: 0; }
  .tt-journey-list { margin-top: 44px; display: block; }
  .tt-journey-list li, .tt-journey-list li:nth-child(n) { min-height: 0; margin: 0; padding: 30px 0 32px 32px; }
  .tt-journey-list li::before { left: 0; }
  .tt-journey-list h3 { margin-top: 0; }
  .tt-courses-head h2 { font-size: clamp(29px, 7.5vw, 38px); line-height: 1.65; }
  .tt-course-ui { margin-top: 54px; display: block; }
  .tt-course-tabs { padding: 0; display: grid; grid-template-columns: repeat(4, minmax(156px, 1fr)); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
  .tt-course-tab { min-height: 96px; padding: 15px; border-right: 1px solid var(--tt-line); border-bottom: 0; scroll-snap-align: start; }
  .tt-course-tab[aria-selected="true"] { padding-left: 20px; }
  .tt-course-panel { min-height: 0; padding: 52px 24px 60px; }
  .tt-inspection-grid { grid-template-columns: 1fr; gap: 52px; }
  .tt-inspection-copy { padding-top: 0; }
  .tt-news-list article { grid-template-columns: 1fr auto; gap: 10px 24px; }
  .tt-news-list time { grid-column: 1/-1; }
  .tt-visit h2 span { white-space: normal; }
  .tt-visit-grid { grid-template-columns: 1fr; }
  .tt-visit dl { padding-right: 0; }
  .tt-visit dl div { grid-template-columns: 90px 1fr; }
  .tt-visit-actions { border-top: 1px solid var(--tt-ink); border-left: 0; }
  .tt-visit-actions a { min-height: 170px; padding: 32px 24px; }
  .tt-visit-actions a:hover { padding-left: 34px; }
  .tt-footer { min-height: 300px; padding: 58px 24px; display: block; }
  .tt-footer > div { margin-top: 64px; }
}

@media (max-width: 420px) {
  :root { --tt-shell: calc(100% - 40px); }
  .tt-hero-copy { padding-inline: 20px; }
  .tt-hero-copy::before { left: 20px; }
  .tt-hero-image { min-height: 370px; }
  .tt-transform-stage img { height: min(82vw, 320px); }
}

@media (prefers-reduced-transparency: reduce) {
  .tt-header { background: var(--tt-paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .tt-hero-image img { transform: none; }
  .tt-transform-stage figure { opacity: 0; transform: none; }
  .tt-transform-stage figure.is-active { opacity: 1; }
  .tt-transform-steps article, .tt-journey-list li { opacity: 1; transform: none; }
}

/* Mono-color editorial system */
body {
  background-color: var(--tt-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' seed='29'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

.tt-header {
  border-color: var(--tt-ink);
  background: var(--tt-paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.tt-wordmark,
.tt-label,
.tt-nav,
.tt-hero-info,
.tt-course-meta,
.tt-visit dt,
.tt-news-list time {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.tt-label {
  padding-left: 10px;
  color: var(--tt-ink);
  border-left: 3px solid var(--tt-copper);
}

.tt-button,
.tt-course-tab,
.tt-visit-actions a,
.tt-header,
.tt-transform-stage,
.tt-course-ui {
  box-shadow: none;
}

.tt-button {
  border-width: 1px;
  text-transform: uppercase;
}

.tt-button--dark,
.tt-nav .tt-nav-book,
.tt-course-tab[aria-selected="true"] {
  color: var(--tt-surface);
  background: var(--tt-ink);
}

.tt-hero {
  min-height: 100dvh;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(650px, calc(100dvh - 96px)) auto;
}

.tt-hero-copy,
.tt-hero-image {
  grid-area: 1 / 1;
}

.tt-hero-copy {
  width: min(49%, 720px);
  padding: clamp(104px, 12vh, 150px) 3vw 72px max(48px, 7vw);
  z-index: 2;
  justify-content: center;
}

.tt-hero-copy::before {
  width: 64px;
  height: 2px;
  left: max(48px, 7vw);
  top: clamp(82px, 10vh, 116px);
}

.tt-hero h1 {
  max-width: 610px;
  font-size: clamp(48px, 5.4vw, 84px);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -.045em;
}

.tt-hero h1 span:last-child {
  margin-left: clamp(18px, 3vw, 52px);
}

.tt-hero-lead {
  max-width: 430px;
  color: var(--tt-ink);
  line-height: 2;
}

.tt-hero-image {
  min-height: 650px;
  background: var(--tt-paper);
}

.tt-hero-image img {
  object-position: center;
  transform: none;
}

.tt-hero:hover .tt-hero-image img { transform: none; }

.tt-hero-image figcaption {
  right: 3vw;
  bottom: 3vw;
  color: var(--tt-ink);
}

.tt-hero-image figcaption span:last-child { color: var(--tt-copper); }

.tt-hero-info {
  position: relative;
  z-index: 3;
  border-color: var(--tt-ink);
  background: var(--tt-surface);
}

.tt-insight,
.tt-news { background: var(--tt-surface); }

.tt-insight,
.tt-journey,
.tt-courses,
.tt-inspection,
.tt-news,
.tt-visit { border-top: 1px solid var(--tt-ink); }

.tt-insight-head,
.tt-journey-head,
.tt-courses-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  max-width: none;
}

.tt-insight-head > p:last-child {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--tt-ink);
}

.tt-insight h2,
.tt-journey h2,
.tt-courses-head h2,
.tt-inspection h2,
.tt-visit h2 {
  letter-spacing: -.04em;
}

.tt-transform-stage {
  border: 1px solid var(--tt-ink);
  background: var(--tt-ink);
}

.tt-transform-stage img,
.tt-people-media img,
.tt-people-media video,
.tt-journey-figure img {
  filter: grayscale(.2) contrast(1.08) brightness(1.08);
  mix-blend-mode: normal;
}

.tt-transform-stage::before {
  box-shadow: none;
  background-image: radial-gradient(circle, rgba(250, 250, 247, .24) 0 1px, transparent 1.3px);
  background-size: 5px 5px;
  mix-blend-mode: screen;
  opacity: .42;
}

.tt-transform-stage figcaption {
  right: auto;
  width: min(520px, 78%);
  border-top: 1px solid var(--tt-surface);
}

.tt-people,
.tt-inspection,
.tt-footer {
  color: var(--tt-on-dark);
  background: var(--tt-ink);
}

.tt-people-media,
.tt-transform-stage { background: var(--tt-ink); }

.tt-people-copy .tt-label,
.tt-inspection .tt-label,
.tt-inspection-audience,
.tt-quote,
.tt-company-bridge a { color: var(--tt-on-dark); }

.tt-quote,
.tt-inspection-audience { border-left: 3px solid var(--tt-copper); }
.tt-inspection-audience { padding-left: 14px; }
.tt-company-bridge a { border-bottom-color: var(--tt-copper); }
.tt-course-tab small,
.tt-visit dt { color: var(--tt-ink); }
.tt-course-tab[aria-selected="true"] small { color: var(--tt-on-dark); }

.tt-people-copy > p:last-of-type,
.tt-company-bridge p,
.tt-inspection-copy > p:not(.tt-inspection-audience),
.tt-inspection-copy .tt-inspection-note,
.tt-footer p { color: rgba(250, 250, 247, .72); }

.tt-journey-figure {
  border: 1px solid var(--tt-ink);
  background: var(--tt-paper);
}

.tt-journey-figure figcaption {
  color: var(--tt-surface);
  background: var(--tt-ink);
}

.tt-journey-list li::before {
  border-color: var(--tt-copper);
  background: var(--tt-paper);
}

.tt-courses { background: var(--tt-paper); }
.tt-course-ui { border: 1px solid var(--tt-ink); }
.tt-course-panel { background: var(--tt-surface); }

.tt-news-list { border-color: var(--tt-ink); }

.tt-visit-actions a { background: var(--tt-surface); }

@media (max-width: 900px) {
  .tt-hero {
    display: flex;
    min-height: 0;
  }

  .tt-hero-copy {
    width: auto;
    min-height: 520px;
    padding: 104px 24px 44px;
    background: var(--tt-paper);
  }

  .tt-hero-copy::before { left: 24px; top: 76px; }

  .tt-hero h1 {
    max-width: 360px;
    font-size: clamp(44px, 13vw, 58px);
    line-height: 1.26;
  }

  .tt-hero h1 span:last-child { margin-left: 18px; }

  .tt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tt-actions .tt-text-link { grid-column: 1 / -1; }

  .tt-hero-image {
    min-height: 330px;
    aspect-ratio: 16 / 10;
  }

  .tt-hero-image img { object-position: 65% center; }

  .tt-hero-image figcaption {
    right: 18px;
    bottom: 16px;
    color: var(--tt-surface);
  }

  .tt-insight-head,
  .tt-journey-head,
  .tt-courses-head { display: block; }

  .tt-insight-head > p:last-child { margin-top: 28px; }

  .tt-transform-stage::before { background-size: 4px 4px; }
}

@media (max-width: 420px) {
  .tt-hero-copy { min-height: 500px; padding-inline: 20px; }
  .tt-hero-copy::before { left: 20px; }
  .tt-actions { gap: 8px; }
  .tt-button { padding-inline: 12px; font-size: 10px; }
}
