:root {
  color: #101010;
  background: #f7f5f1;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --paper: #f7f5f1;
  --paper-soft: #f1eee9;
  --ink: #101010;
  --muted: #68645e;
  --brand-red: #d90014;
  --line: rgba(16, 16, 16, 0.18);
  --serif: "Didot", "Bodoni 72", "Bodoni 72 Smallcaps", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0%;
  height: 2px;
  background: var(--ink);
  transform-origin: left;
  transition: width 120ms linear;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 28px 48px 18px;
  color: var(--ink);
  transition: padding 260ms ease, background 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  padding-top: 18px;
  background: rgba(247, 245, 241, 0.96);
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  backdrop-filter: blur(18px);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  padding-top: 14px;
}

.nav-right {
  justify-content: flex-end;
}

.nav-left a,
.nav-right a,
.menu-button,
.eyebrow,
.section-kicker,
.text-link,
.hero-index,
.category-actions button,
.category-card span,
.process-tabs button,
.inquiry-form span,
.submit-button,
.consult-button {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-left a,
.nav-right a {
  position: relative;
}

.nav-left a::after,
.nav-right a::after,
.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.nav-left a:hover::after,
.nav-right a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 210px;
  text-align: center;
}

.logo-brand img {
  width: clamp(150px, 16vw, 218px);
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

.brand span {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.86;
  letter-spacing: 0.14em;
}

.brand small {
  font-size: 10px;
  letter-spacing: 0.54em;
  text-indent: 0.54em;
}

.menu-button {
  display: none;
  justify-self: end;
  padding: 10px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 72px 16px auto 16px;
  z-index: 60;
  display: none;
  padding: 28px;
  background: rgba(247, 245, 241, 0.96);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: grid;
  gap: 18px;
}

.mobile-menu a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper-soft);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04) translateY(calc(var(--hero-y, 0) * 1px));
  transition: transform 500ms ease, opacity 500ms ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 241, 0.12);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 44px));
  padding: 29svh 0 0 13.2vw;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.04;
}

.hero-copy p:not(.eyebrow) {
  max-width: 330px;
  margin: 26px 0 28px;
  color: #4e4b45;
  font-size: 13px;
  line-height: 1.85;
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  color: var(--muted);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.side-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.side-label.left {
  left: 48px;
  transform: translateY(-50%) rotate(180deg);
}

.side-label.right {
  right: 48px;
  transform: translateY(-50%);
}

.hero-control {
  position: absolute;
  z-index: 3;
  top: 68%;
  padding: 12px 0;
  color: transparent;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero-control::before {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0;
}

.hero-control.prev {
  left: 46px;
}

.hero-control.next {
  right: 46px;
}

.hero-control.prev::before {
  content: "Prev";
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-control.next::before {
  content: "Next";
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-index {
  position: absolute;
  z-index: 2;
  left: 52px;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.index-line {
  position: relative;
  display: block;
  width: 130px;
  height: 1px;
  background: rgba(16, 16, 16, 0.22);
}

.index-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.33%;
  background: var(--ink);
  transition: width 360ms ease;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1.2fr;
  gap: clamp(28px, 5vw, 90px);
  padding: clamp(80px, 11vw, 160px) clamp(28px, 4vw, 54px);
}

.section-title h2,
.categories-intro h2,
.quality-panel h2,
.sustainability-copy h2,
.inquiry-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.06;
}

.section-copy p,
.quality-panel p,
.sustainability-copy p,
.inquiry-copy p,
.process-detail,
.category-note {
  margin: 0;
  color: #514d47;
  font-size: 14px;
  line-height: 1.85;
}

.capability-list {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.capability-list span {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.categories {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(42px, 6vw, 110px);
  padding: clamp(70px, 9vw, 130px) clamp(28px, 4vw, 54px);
  background: #fbfaf7;
}

.category-stage {
  min-width: 0;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  min-height: 370px;
  overflow: hidden;
}

.category-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  cursor: pointer;
  border-left: 1px solid rgba(247, 245, 241, 0.8);
}

.category-card img {
  width: 610%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter 650ms ease;
}

.category-card:nth-child(1) img { transform: translateX(0%); }
.category-card:nth-child(2) img { transform: translateX(-16.66%); }
.category-card:nth-child(3) img { transform: translateX(-33.33%); }
.category-card:nth-child(4) img { transform: translateX(-50%); }
.category-card:nth-child(5) img { transform: translateX(-66.66%); }
.category-card:nth-child(6) img { transform: translateX(-83.33%); }

.category-card::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: rgba(0, 0, 0, 0.26);
  opacity: 0.64;
  transition: opacity 300ms ease;
}

.category-card:hover img,
.category-card.is-active img {
  filter: contrast(1.06);
}

.category-card:hover::after,
.category-card.is-active::after {
  opacity: 0.28;
}

.category-card span {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 24px;
  color: #fff;
  max-width: calc(100% - 28px);
  line-height: 1.35;
}

.category-actions {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 28px;
}

.category-actions button,
.process-tabs button,
.accordion button,
.submit-button,
.consult-button {
  cursor: pointer;
}

.category-actions button {
  padding: 12px 0;
  background: transparent;
  border: 0;
  color: var(--ink);
}

.category-note {
  width: min(520px, 100%);
  margin: 12px 0 0 auto;
  text-align: right;
}

.process {
  background: var(--paper);
}

.process-rail {
  align-self: center;
}

.rail-line {
  position: relative;
  height: 1px;
  margin: 14px 0 34px;
  background: var(--line);
}

.rail-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--ink);
  transition: width 340ms ease;
}

.process-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.process-tabs button {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 0;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  transition: color 220ms ease;
}

.process-tabs button::before {
  content: "";
  position: absolute;
  top: -39px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.process-tabs button.is-active {
  color: var(--ink);
}

.process-tabs button.is-active::before {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.15);
}

.process-tabs span {
  color: inherit;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.process-detail {
  max-width: 620px;
  min-height: 54px;
  margin-top: 28px;
}

.quality {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fbfaf7;
}

.quality-image img,
.sustainability img,
.studio-image {
  height: 100%;
  object-fit: cover;
}

.quality-panel {
  padding: clamp(54px, 7vw, 110px) clamp(32px, 7vw, 120px);
}

.quality-panel p {
  margin: 22px 0 36px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

.accordion button span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accordion-content {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.accordion-content.is-open {
  display: block;
}

.sustainability {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 460px;
}

.sustainability-copy {
  padding: clamp(54px, 7vw, 108px) clamp(28px, 4vw, 54px);
}

.sustainability-copy p {
  max-width: 360px;
  margin: 24px 0 28px;
}

.inquiry {
  display: grid;
  grid-template-columns: 0.78fr 1fr 0.5fr;
  gap: clamp(32px, 5vw, 86px);
  padding: clamp(70px, 9vw, 120px) clamp(28px, 4vw, 54px);
  background: #fbfaf7;
}

.inquiry-copy p {
  max-width: 290px;
  margin-top: 26px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-lines span {
  color: #4f4b45;
  font-size: 12px;
  line-height: 1.55;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 38px;
  align-self: start;
}

.inquiry-form label {
  display: grid;
  gap: 10px;
}

.inquiry-form .wide {
  grid-column: 1 / -1;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-bottom-color: var(--ink);
}

.submit-button,
.consult-button {
  min-height: 58px;
  border: 1px solid var(--ink);
}

.submit-button {
  color: #fff;
  background: var(--ink);
}

.consult-button {
  color: var(--ink);
  background: transparent;
}

.studio-image {
  min-height: 330px;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  max-width: 340px;
  padding: 16px 18px;
  color: #fff;
  background: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
  font-size: 13px;
  line-height: 1.5;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 18px 22px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .brand {
    justify-self: center;
    min-width: 0;
  }

  .logo-brand img {
    width: 132px;
    max-height: 58px;
  }

  .brand span {
    font-size: 32px;
  }

  .brand small {
    font-size: 8px;
    letter-spacing: 0.38em;
    text-indent: 0.38em;
  }

  .menu-button {
    display: block;
  }

  .hero-copy {
    padding: 30svh 22px 0;
  }

  .side-label,
  .hero-control,
  .hero-index {
    display: none;
  }

  .section-grid,
  .categories,
  .quality,
  .sustainability,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .category-strip {
    grid-template-columns: repeat(6, 210px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .category-card {
    scroll-snap-align: start;
  }

  .process-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .process-tabs button::before,
  .rail-line {
    display: none;
  }

  .quality-image img,
  .sustainability img {
    min-height: 360px;
  }

  .studio-image {
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 92svh;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .section-grid,
  .categories,
  .quality-panel,
  .sustainability-copy,
  .inquiry {
    padding-left: 22px;
    padding-right: 22px;
  }

  .category-actions,
  .category-note {
    justify-content: flex-start;
    text-align: left;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }
}
