:root {
  --ink: #11130f;
  --paper: #f3f0e8;
  --celadon: #cde2d2;
  --sand: #dccfaf;
  --white: #faf9f5;
  --gray: #858a83;
  --header-height: 100px;
  --gutter: clamp(20px, 4vw, 56px);
  --display: clamp(3.4rem, 8vw, 8.5rem);
  --section-space: clamp(88px, 12vw, 176px);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
img, video { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 4px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--celadon);
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  color: var(--white);
  background: rgba(17, 19, 15, .96);
  border-bottom: 1px solid rgba(250, 249, 245, .08);
  transition: transform .35s ease, background-color .35s ease;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.desktop-nav a, .header-cta, .footer-nav a, .footer-bottom a {
  font-family: var(--mono);
  font-size: .78rem;
  text-decoration: none;
}
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.45em;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.wordmark, .footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-style: italic;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
}
.header-cta {
  justify-self: end;
  min-width: 152px;
  padding: 12px 22px;
  color: var(--ink);
  text-align: center;
  background: var(--celadon);
  border-radius: 999px;
  transition: background-color .2s ease, transform .2s ease;
}
.header-cta:hover { background: var(--sand); transform: translateY(-2px); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.section-dark { color: var(--white); background: var(--ink); }
.section-paper { color: var(--ink); background: var(--paper); }
.section-accent { color: var(--ink); background: var(--celadon); }
.section-pad { padding: var(--section-space) var(--gutter); }
.content-wide { width: min(100%, 1440px); margin-inline: auto; }
.content-narrow { width: min(100%, 840px); margin-inline: auto; }
.eyebrow {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.display-title, .page-hero h1, .section-heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}
.display-title { font-size: var(--display); }
.section-heading { font-size: clamp(3rem, 6vw, 6.5rem); }
.page-hero h1 { max-width: 1200px; font-size: clamp(4.2rem, 10vw, 10rem); }
.display-title em, .section-heading em, .page-hero h1 em { font-weight: 400; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 30px;
  font-size: .88rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--paper); }
.button-accent { color: var(--ink); background: var(--celadon); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 60px) var(--gutter) 80px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-media, .hero-video, .hero-poster, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video, .hero-poster { object-fit: cover; }
.hero-poster { display: none; }
.hero-overlay { background: linear-gradient(180deg, rgba(17,19,15,.36), rgba(17,19,15,.62)); }
.hero-content { position: relative; z-index: 1; width: min(100%, 1080px); text-align: center; }
.hero h1 {
  margin: 0;
  color: #edf2cc;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 8rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.05em;
}
.hero-copy { max-width: 650px; margin: 32px auto 28px; line-height: 1.9; }

.brand-statement { text-align: center; }
.brand-statement .section-heading { max-width: 1030px; margin: 0 auto; color: #e9efc5; }
.brand-statement-copy { max-width: 760px; margin: 42px auto; }
.brand-statement-copy p { margin: 0 0 18px; }

.services-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(56px, 8vw, 130px); }
.services-intro { position: sticky; top: calc(var(--header-height) + 50px); align-self: start; }
.services-intro .section-heading { margin-bottom: 42px; }
.accordion { border-top: 1px solid rgba(17,19,15,.6); }
.accordion-item { border-bottom: 1px solid rgba(17,19,15,.6); }
.accordion-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 84px;
  padding: 20px 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.accordion-icon { position: relative; width: 18px; height: 18px; }
.accordion-icon::before, .accordion-icon::after { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; content: ""; background: currentColor; }
.accordion-icon::after { transform: rotate(90deg); transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(0); }
.accordion-panel { padding: 0 58px 28px 0; color: #434740; }

.featured-business { overflow: hidden; }
.featured-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 60px; }
.featured-stage { position: relative; }
.featured-slide { display: none; }
.featured-slide.is-active { display: block; }
.featured-slide img { aspect-ratio: 16 / 7; object-fit: cover; border: 1px solid rgba(250,249,245,.12); }
.featured-caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 20px; }
.featured-caption h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-button {
  width: 48px;
  height: 48px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.proof-ticker { padding: 32px 0; overflow: hidden; background: var(--celadon); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span { padding-right: .28em; font-family: var(--serif); font-size: clamp(3rem, 7vw, 7rem); line-height: 1; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

.trust-heading { margin-bottom: 54px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card { display: flex; flex-direction: column; min-height: 440px; padding: clamp(28px, 4vw, 54px); background: var(--celadon); border: 1px solid rgba(17,19,15,.55); border-radius: 18px; }
.trust-card h3 { margin: auto 0 22px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 400; line-height: 1.08; }
.trust-card p:last-child { margin-bottom: 0; }
.strengths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.strength-card { min-height: 310px; padding: clamp(28px, 4vw, 48px); background: var(--celadon); border: 1px solid rgba(17,19,15,.55); border-radius: 18px; }
.strength-card h3 { margin: 76px 0 18px; font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 3rem); font-weight: 400; line-height: 1.08; }
.strength-card p:last-child { margin-bottom: 0; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid rgba(17,19,15,.55); }
.proof-stat { padding: 28px; border-right: 1px solid rgba(17,19,15,.55); }
.proof-stat:last-child { border-right: 0; }
.proof-stat strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.5rem); font-weight: 400; line-height: 1; }

.category-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.category-image img { height: 100%; object-fit: cover; }
.category-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--section-space) clamp(30px, 8vw, 120px); }
.category-copy .section-heading { color: #e9efc5; }
.category-copy p { max-width: 560px; margin: 36px 0; }
.text-link { display: block; width: max-content; margin-top: 14px; text-decoration: none; border-bottom: 1px solid currentColor; }

.flow-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; margin-bottom: 60px; }
.flow-head p { max-width: 530px; }
.flow-scroll { display: grid; grid-template-columns: repeat(5, minmax(280px, 1fr)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.flow-scroll::-webkit-scrollbar { display: none; }
.flow-card { min-height: 400px; padding: 28px; color: var(--white); background: #1b1e19; border: 1px solid rgba(250,249,245,.16); scroll-snap-align: start; }
.flow-card h3 { margin: 120px 0 24px; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; line-height: 1.15; }
.flow-mobile-controls { display: none; }

.contact-marquee { padding: 100px 0 86px; overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee-left 24s linear infinite; }
.marquee-track-offset { animation-name: marquee-right; }
.marquee-track span { font-family: var(--serif); font-size: clamp(3rem, 7vw, 7.4rem); line-height: 1.06; white-space: nowrap; }
.marquee-action { margin-top: 56px; padding: 0 var(--gutter); text-align: center; }
@keyframes marquee-left { to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.site-footer { padding: 90px var(--gutter) 30px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: .8fr 2fr .8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.footer-brand p { margin-top: 24px; color: #b8bbb5; font-size: .78rem; line-height: 1.7; }
.footer-media { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.footer-media-tile { margin: 0; overflow: hidden; aspect-ratio: 1; background: #242720; }
.footer-media-tile img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.footer-media-tile:hover img { transform: scale(1.04); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.footer-nav div { display: flex; flex-direction: column; gap: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding-top: 22px; color: #a7aaa4; border-top: 1px solid rgba(250,249,245,.2); }
.footer-bottom p { margin: 0; font-family: var(--mono); font-size: .7rem; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: inherit; }

.page-hero { padding: calc(var(--header-height) + 100px) var(--gutter) 80px; }
.page-hero .intro { max-width: 740px; margin: 42px 0 0 auto; }
.editorial-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 150px); }
.editorial-copy p { margin-top: 0; margin-bottom: 24px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(17,19,15,.28); }
.story-card { min-height: 390px; padding: 36px; background: var(--paper); }
.story-card h3 { margin: 130px 0 20px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.company-table { border-top: 1px solid currentColor; }
.company-row { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid currentColor; }
.company-row dt { font-size: .82rem; }
.company-row dd { margin: 0; }
.flow-detail-row { padding: 54px 0; border-top: 1px solid rgba(17,19,15,.55); }
.flow-detail-row:last-child { border-bottom: 1px solid rgba(17,19,15,.55); }

.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px 18px; }
.archive-grid.products-grid { grid-template-columns: repeat(3, 1fr); }
.archive-card { color: inherit; text-decoration: none; }
.archive-card figure { margin: 0; overflow: hidden; background: #d7d4ca; }
.archive-card img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.archive-card:hover img { transform: scale(1.025); }
.archive-card h2, .archive-card h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 400; line-height: 1.05; }
.products-grid .archive-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.6rem); }
.archive-card p { margin: 0; color: #565a53; }

.detail-hero { padding: calc(var(--header-height) + 90px) var(--gutter) 70px; }
.detail-title { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 9vw, 9rem); font-weight: 400; line-height: .96; letter-spacing: -.05em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { padding: 6px 12px; font-family: var(--mono); font-size: .7rem; border: 1px solid currentColor; border-radius: 999px; }
.detail-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.detail-intro h2 { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.5rem); font-weight: 400; line-height: 1.08; }
.detail-gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 70px; }
.detail-gallery figure { margin: 0; overflow: hidden; background: #d7d4ca; }
.detail-gallery figure:first-child { grid-row: span 2; }
.detail-gallery img { height: 100%; object-fit: cover; }
.next-entry { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; text-decoration: none; }

.simple-page { min-height: 70vh; padding: calc(var(--header-height) + 100px) var(--gutter) var(--section-space); }
.simple-page h1 { margin: 0 0 48px; font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 8rem); font-weight: 400; line-height: .98; }
.entry-content > *:first-child { margin-top: 0; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 10vw, 150px); }
.contact-copy { position: sticky; top: calc(var(--header-height) + 40px); align-self: start; }
.contact-form { display: grid; gap: 24px; }
.form-field { display: grid; gap: 9px; }
.form-field label, .form-legend { font-size: .82rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.form-option { display: flex; gap: 10px; align-items: center; }
.form-option input { width: 18px; height: 18px; }
.form-status { padding: 16px 18px; background: var(--celadon); border: 1px solid var(--ink); }
.form-status.is-error { background: #f1cdc7; }
.honeypot { position: absolute; left: -10000px; }

@media (max-width: 960px) {
  :root { --header-height: 72px; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .wordmark { justify-self: start; }
  .menu-toggle {
    display: grid;
    justify-self: end;
    gap: 8px;
    width: 48px;
    height: 48px;
    padding: 13px 8px;
    color: var(--white);
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .menu-line { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] .menu-line:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-line:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    z-index: 900;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px var(--gutter) 40px;
    color: #edf2cc;
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .mobile-menu nav a { font-family: var(--mono); font-size: clamp(1.8rem, 8vw, 3rem); text-decoration: none; }
  .mobile-contact { width: min(100%, 260px); margin: auto auto 0; }
  .services-layout, .editorial-grid, .contact-layout { grid-template-columns: 1fr; }
  .services-intro, .contact-copy { position: static; }
  .trust-grid, .strengths-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 330px; }
  .category-split { grid-template-columns: 1fr; }
  .category-image { min-height: 520px; }
  .flow-head { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-media { order: 3; }
  .footer-bottom { flex-direction: column; }
  .archive-grid.products-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-intro { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { line-height: 1.75; }
  .hero { place-items: end center; min-height: 100svh; padding-bottom: 70px; }
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 5.6rem); }
  .hero-copy { margin: 26px 0; }
  .brand-statement { text-align: left; }
  .services-intro .section-heading { font-size: 3.5rem; }
  .featured-head { align-items: start; flex-direction: column; gap: 28px; }
  .featured-slide img { aspect-ratio: 4 / 5; }
  .featured-caption { align-items: start; flex-direction: column; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stat { border-right: 0; border-bottom: 1px solid rgba(17,19,15,.55); }
  .proof-stat:last-child { border-bottom: 0; }
  .category-image { min-height: 420px; }
  .flow-scroll { grid-template-columns: repeat(5, calc(88vw - 20px)); }
  .flow-mobile-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
  .contact-marquee { padding-top: 70px; }
  .footer-media { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom nav { flex-direction: column; gap: 10px; }
  .page-hero { padding-top: calc(var(--header-height) + 70px); }
  .page-hero h1 { font-size: clamp(3.8rem, 20vw, 6.4rem); }
  .story-grid, .archive-grid, .archive-grid.products-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 320px; }
  .company-row { grid-template-columns: 1fr; gap: 8px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery figure:first-child { grid-row: auto; }
  .form-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-video { display: none; }
  .hero-poster { display: block; }
  [data-reveal] { opacity: 1; transform: none; }
}
