:root {
  --chihiro-paper: #f7f4ed;
  --chihiro-surface: #fffdf8;
  --chihiro-ink: #202520;
  --chihiro-muted: #62695f;
  --chihiro-line: #d8d9cf;
  --chihiro-accent: #4f6c5a;
  --chihiro-accent-dark: #304b3b;
  --chihiro-soft: #e8eee7;
  --chihiro-white: #fff;
  --ttch-ink: var(--chihiro-ink);
  --ttch-muted: var(--chihiro-muted);
  --ttch-line: var(--chihiro-line);
  --ttch-paper: var(--chihiro-paper);
  --ttch-accent: var(--chihiro-accent);
  --ttch-accent-dark: var(--chihiro-accent-dark);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--chihiro-surface);
  color: var(--chihiro-ink);
  font-family: Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--chihiro-ink);
  color: var(--chihiro-white);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--chihiro-line);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-navigation {
  justify-self: end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--chihiro-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--chihiro-accent-dark);
}

.language-state {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--chihiro-line);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
}

.language-state span {
  min-width: 30px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #90968e;
  text-align: center;
}

.language-state .is-active {
  background: var(--chihiro-accent-dark);
  color: var(--chihiro-white);
}

.nav-toggle {
  display: none;
}

.button,
.ttch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--chihiro-accent-dark);
  border-radius: 2px;
  background: var(--chihiro-accent-dark);
  color: var(--chihiro-white) !important;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.ttch-button:hover,
.ttch-button:focus-visible {
  background: var(--chihiro-accent);
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
}

.button-light {
  border-color: var(--chihiro-white);
  background: var(--chihiro-white);
  color: var(--chihiro-accent-dark) !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chihiro-accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link::after {
  content: "\2192";
}

.site-main {
  min-height: 62vh;
}

.hero {
  padding: clamp(70px, 10vw, 132px) 0 clamp(76px, 10vw, 128px);
  background: var(--chihiro-paper);
}

.hero-grid,
.about-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
}

.eyebrow,
.ttch-kicker {
  margin: 0 0 15px;
  color: var(--chihiro-accent-dark);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--chihiro-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.68;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.image-placeholder {
  display: grid;
  place-content: center;
  min-height: 270px;
  padding: 28px;
  border: 1px solid #bdc5bb;
  background: var(--chihiro-soft);
  color: var(--chihiro-muted);
  text-align: center;
}

.image-placeholder span,
.image-placeholder strong {
  display: block;
}

.image-placeholder span {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-placeholder strong {
  margin-top: 8px;
  color: var(--chihiro-accent-dark);
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.image-placeholder-large {
  min-height: 520px;
  border-radius: 46% 46% 10px 10px;
}

.image-placeholder-tall {
  min-height: 430px;
}

.section {
  padding-block: clamp(76px, 10vw, 128px);
}

.section-muted {
  background: var(--chihiro-paper);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(42px, 7vw, 72px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 64px;
  max-width: none;
}

.split-heading > p {
  margin: 0;
  color: var(--chihiro-muted);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.path-card {
  display: grid;
  align-content: start;
  min-height: 365px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--chihiro-line);
  background: var(--chihiro-surface);
}

.path-card-accent {
  background: var(--chihiro-soft);
}

.path-card p {
  max-width: 500px;
  color: var(--chihiro-muted);
}

.path-card .text-link {
  align-self: end;
  margin-top: 38px;
}

.card-number,
.step-grid > li > span {
  margin-bottom: 48px;
  color: var(--chihiro-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.catalogue-empty {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(300px, 1.3fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--chihiro-line);
  background: var(--chihiro-surface);
}

.catalogue-empty p {
  color: var(--chihiro-muted);
}

.detail-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 60px minmax(180px, 0.55fr) minmax(260px, 1fr);
  align-items: baseline;
  gap: 30px;
  padding: 27px 0;
  border-top: 1px solid var(--chihiro-line);
}

.detail-list li:last-child {
  border-bottom: 1px solid var(--chihiro-line);
}

.detail-list span {
  color: var(--chihiro-accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.detail-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.detail-list p {
  margin: 0;
  color: var(--chihiro-muted);
}

.closing-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-block: clamp(70px, 9vw, 120px);
  padding: clamp(38px, 6vw, 72px);
  background: var(--chihiro-accent-dark);
  color: var(--chihiro-white);
}

.closing-panel .eyebrow {
  color: #cad9ce;
}

.page-hero {
  padding-block: clamp(78px, 10vw, 132px) clamp(55px, 8vw, 96px);
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 90px);
  padding-bottom: 120px;
}

.catalogue-aside {
  align-self: start;
  min-width: 0;
  padding: 24px 0;
  border-top: 2px solid var(--chihiro-ink);
  border-bottom: 1px solid var(--chihiro-line);
}

.catalogue-results {
  min-width: 0;
}

.catalogue-aside ul {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.catalogue-aside ul ul {
  margin: 7px 0 0 17px;
  color: var(--chihiro-muted);
}

.catalogue-aside small {
  display: block;
  color: var(--chihiro-muted);
  line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid var(--chihiro-line);
  background: var(--chihiro-surface);
}

.product-card > a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.product-card-media,
.product-card-media img,
.product-card-media .image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h2 {
  font-size: 1.65rem;
}

.product-card-body p {
  color: var(--chihiro-muted);
}

.catalogue-empty-stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.catalogue-empty-stacked .image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 240px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--chihiro-line);
  list-style: none;
}

.step-grid li {
  padding: clamp(28px, 4vw, 46px);
  background: var(--chihiro-surface);
}

.step-grid p {
  color: var(--chihiro-muted);
}

.note-grid,
.statement-grid,
.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(50px, 9vw, 120px);
}

.check-list {
  display: grid;
  gap: 0;
}

.check-list li {
  position: relative;
  padding: 20px 0 20px 34px;
  border-top: 1px solid var(--chihiro-line);
}

.check-list li::before {
  position: absolute;
  left: 4px;
  content: "\2713";
  color: var(--chihiro-accent-dark);
  font-weight: 900;
}

.about-hero,
.contact-hero {
  align-items: start;
}

.statement-grid .prose p:first-child {
  margin-top: 0;
}

.statement-grid .prose {
  color: var(--chihiro-muted);
  font-size: 1.08rem;
}

.fact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--chihiro-line);
}

.fact-band > div {
  display: grid;
  gap: 8px;
  padding: 35px;
  background: var(--chihiro-surface);
}

.fact-band span,
.fact-band small {
  color: var(--chihiro-muted);
}

.fact-band span {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-band strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.contact-status {
  padding: 28px;
  border: 1px solid var(--chihiro-line);
  background: var(--chihiro-paper);
}

.contact-status p {
  color: var(--chihiro-muted);
}

.status-chip {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--chihiro-line);
  border-radius: 999px;
  color: var(--chihiro-accent-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enquiry-guidance {
  align-self: start;
  padding: 30px;
  background: var(--chihiro-paper);
}

.fineprint {
  color: var(--chihiro-muted);
  font-size: 0.82rem;
}

.enquiry-form-wrap,
.enquiry-form-wrap .ttch-rfq,
.product-content .ttch-rfq {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.enquiry-form-wrap .ttch-rfq,
.product-content .ttch-rfq {
  margin: 0;
  padding: clamp(24px, 5vw, 48px);
}

.enquiry-form-wrap .ttch-rfq h2,
.product-content .ttch-rfq h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.ttch-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.ttch-field input,
.ttch-field textarea {
  border-radius: 0;
}

.site-notice {
  padding: 18px;
  border-left: 4px solid var(--chihiro-accent);
  background: var(--chihiro-paper);
}

.receipt-panel {
  padding-block: 32px;
}

.receipt-panel .ttch-rfq {
  margin: 0;
}

.prose-layout,
.empty-page {
  max-width: 860px;
  padding-block: clamp(80px, 10vw, 140px);
}

.prose-layout h1,
.empty-page h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.entry-content {
  margin-top: 42px;
}

.product-main {
  padding-block: 60px 110px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
  color: var(--chihiro-muted);
  font-size: 0.78rem;
}

.product-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.product-heading h1 {
  font-size: clamp(2.9rem, 6vw, 5.9rem);
}

.product-content {
  max-width: 960px;
}

.product-content .ttch-product-gallery {
  margin: 0 0 45px;
}

.product-content .ttch-product-specs {
  margin-block: 50px;
}

.site-footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--chihiro-line);
  background: var(--chihiro-paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 50px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid p {
  max-width: 390px;
  color: var(--chihiro-muted);
}

.footer-grid a {
  color: var(--chihiro-muted);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 65px;
  padding-top: 22px;
  border-top: 1px solid var(--chihiro-line);
  color: var(--chihiro-muted);
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    padding: 8px 12px;
    border: 1px solid var(--chihiro-line);
    background: transparent;
    color: var(--chihiro-ink);
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
  }

  .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 20px 24px 30px;
    border-bottom: 1px solid var(--chihiro-line);
    background: var(--chihiro-surface);
  }

  .site-navigation.is-open {
    display: block;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--chihiro-line);
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .about-hero,
  .contact-hero,
  .split-heading,
  .note-grid,
  .statement-grid,
  .enquiry-layout {
    grid-template-columns: 1fr;
  }

  .image-placeholder-large {
    min-height: 390px;
  }

  .catalogue-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalogue-aside {
    position: static;
  }

  .step-grid,
  .fact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 30px, 1180px);
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .language-state {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .path-grid,
  .product-grid,
  .catalogue-empty {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-card {
    min-height: 0;
  }

  .detail-list li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .detail-list p {
    grid-column: 2;
  }

  .closing-panel,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .closing-panel .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ttch-two {
    grid-template-columns: 1fr;
  }

  .enquiry-form-wrap .ttch-rfq,
  .product-content .ttch-rfq {
    margin: 0;
    padding: 20px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
