:root {
  color-scheme: light;
  --ink: #25221f;
  --soft-ink: #6f6861;
  --paper: #f4f1ec;
  --paper-strong: #f8f7f4;
  --work-paper: #f1f0ec;
  --line: #d8d1c8;
  --wood: #8b6a4e;
  --dark: #161310;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Serif JP", sans-serif;
  line-height: 1.8;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.home-page {
  background: var(--paper-strong);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.home {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 34px clamp(24px, 5vw, 76px);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s;
}

.site-header.page {
  width: 100vw;
  margin: -34px calc(50% - 50vw) 0;
  padding: 24px max(24px, calc((100vw - 1180px) / 2 + 24px));
  background: #050505;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.site-logo {
  width: clamp(128px, 14vw, 190px);
  height: auto;
  flex: 0 0 auto;
}

.site-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}

.site-menu-button {
  width: 44px;
  height: 32px;
  display: none;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-menu-button span {
  display: block;
  height: 1px;
  background: currentColor;
}

.site-footer {
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 24px;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  text-align: center;
  background: var(--paper);
}

.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image: url("../media/hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, .34)),
    linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 42%);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100% - 48px));
  margin: 0 0 clamp(105px, 13vh, 170px) clamp(24px, 6vw, 92px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s ease, visibility 0s linear 1s;
}

.home-hero-copy h1 {
  font-size: clamp(2.15rem, 5.4vw, 5.2rem);
  line-height: 1.45;
  text-shadow: 0 12px 35px rgba(0, 0, 0, .35);
}

.home-hero-copy p {
  margin-top: 34px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(.98rem, 1.4vw, 1.18rem);
  line-height: 2.15;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .45);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 92px);
  bottom: 34px;
  padding-left: 18px;
  border-left: 1px solid currentColor;
  font-family: "Noto Serif JP", serif;
  font-size: .74rem;
  letter-spacing: .35em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease .2s, visibility 0s linear 1.2s;
}

.hero-played .site-header.home,
.hero-played .home-hero-copy,
.hero-played .scroll-cue {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.split-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1380px;
  margin: 0 auto;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.split-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 132px;
  padding: 34px clamp(28px, 8vw, 132px);
}

.split-link + .split-link {
  border-left: 1px solid var(--line);
}

.split-link span,
.section-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Serif JP", serif;
  font-size: .76rem;
  letter-spacing: .36em;
  color: var(--soft-ink);
}

.split-link strong {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 400;
}

.split-link em {
  font-style: normal;
  font-size: 1.8rem;
  transition: transform .25s ease;
}

.split-link:hover em,
.work-copy a:hover span,
.text-link:hover span {
  transform: translateX(8px);
}

.works-section {
  max-width: 1380px;
  margin: 54px auto 0;
  padding: 0 clamp(32px, 3.4vw, 48px);
  background: var(--paper-strong);
}

.work-row {
  display: grid;
  grid-template-columns: 1.52fr .86fr;
  min-height: 390px;
  background: var(--work-paper);
}

.work-row + .work-row {
  margin-top: 0;
}

.work-row.image-right {
  grid-template-columns: .86fr 1.52fr;
}

.work-row.image-right .work-photo {
  order: 2;
}

.work-photo {
  min-height: 390px;
  overflow: hidden;
  background: #d8d2c8;
}

.work-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.work-row:hover .work-photo img {
  transform: scale(1.035);
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 84px);
  background: var(--work-paper);
}

.work-number {
  margin-bottom: 30px;
  font-family: "Noto Serif JP", serif;
  font-size: .86rem;
  letter-spacing: .22em;
  color: #3f3a35;
}

.work-number::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 10px;
  background: var(--soft-ink);
}

.work-copy h2 {
  margin-bottom: 28px;
  color: #302c28;
  font-size: clamp(1.72rem, 2.55vw, 2.25rem);
  line-height: 1.55;
}

.work-copy p:not(.work-number) {
  max-width: 340px;
  color: #5f5953;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
}

.work-copy a,
.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  width: fit-content;
  margin-top: 34px;
  font-family: "Noto Serif JP", serif;
  color: #413c37;
}

.work-copy a span,
.text-link span {
  display: inline-block;
  transition: transform .25s ease;
}

.choice-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(32px, 8vw, 92px) 0;
  background: var(--paper-strong);
}

.choice-heading {
  display: grid;
  grid-template-columns: minmax(140px, .38fr) 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.choice-heading h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.45;
}

.choice-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.material-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.item-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card {
  min-height: 292px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--work-paper);
}

.choice-swatch {
  height: 118px;
  margin-bottom: 28px;
  background: #d7d0c6;
}

.choice-leather {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18), transparent 26%),
    linear-gradient(135deg, #5c4538 0%, #221914 100%);
}

.choice-wood {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .1), transparent 18%, rgba(0, 0, 0, .08) 38%, transparent 58%),
    linear-gradient(135deg, #b28661 0%, #6e4c34 46%, #2f2118 100%);
}

.choice-stone {
  background:
    linear-gradient(130deg, transparent 0 36%, rgba(116, 104, 92, .26) 37% 39%, transparent 40% 100%),
    linear-gradient(180deg, #e2dfd8 0%, #bfb8ad 100%);
}

.choice-name {
  margin-bottom: 12px;
  font-family: "Noto Serif JP", serif;
  font-size: .76rem;
  letter-spacing: .28em;
  color: #6b635b;
}

.choice-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.45;
}

.choice-card p:not(.choice-name) {
  color: #5f5953;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
}

.item-choice-card {
  min-height: 252px;
}

.item-choice-card a {
  display: inline-flex;
  gap: 16px;
  margin-top: 26px;
  font-family: "Noto Serif JP", serif;
  color: #413c37;
}

.preview-configurator {
  max-width: 1380px;
  margin: clamp(58px, 8vw, 104px) auto 0;
  background: #f7f5f1;
}

.preview-visual {
  position: relative;
  min-height: clamp(480px, 62vw, 760px);
  overflow: hidden;
  color: #fff;
  background: #171411;
}

.preview-visual img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.72) saturate(.82);
}

.preview-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .1) 58%, rgba(0, 0, 0, .34)),
    linear-gradient(0deg, rgba(0, 0, 0, .34), transparent 44%);
}

.preview-copy {
  position: relative;
  z-index: 1;
  padding: clamp(84px, 10vw, 140px) clamp(32px, 6vw, 74px);
}

.preview-copy p {
  margin-bottom: 24px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(.9rem, 1.4vw, 1.18rem);
  letter-spacing: .42em;
}

.preview-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1.45;
}

.preview-copy span {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: .08em;
}

.preview-panel {
  padding: clamp(44px, 6vw, 68px) clamp(28px, 6vw, 72px) clamp(56px, 7vw, 76px);
  background:
    radial-gradient(circle at 50% 15%, rgba(120, 107, 91, .16), transparent 38%),
    #f7f5f1;
}

.preview-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.preview-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.4;
}

.preview-heading p {
  margin-top: 18px;
  color: #7c746b;
  font-family: "Inter", sans-serif;
  font-size: .86rem;
  letter-spacing: .42em;
}

.preview-heading span {
  margin-top: 16px;
  color: #6a625a;
  font-family: "Noto Serif JP", serif;
  font-size: .95rem;
  letter-spacing: .06em;
}

.preview-heading::after {
  content: "";
  width: 1px;
  height: 22px;
  margin-top: 10px;
  background: #6e6860;
}

.material-select-panel {
  padding-top: clamp(52px, 7vw, 82px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .32), transparent 28%),
    #f5f1ea;
}

.material-select-panel .preview-heading {
  margin-bottom: clamp(28px, 4vw, 42px);
}

.material-select-panel .preview-heading::after {
  order: 1;
  width: 88px;
  height: 1px;
  margin-top: 18px;
}

.material-select-panel .preview-heading p {
  order: 2;
}

.material-select-panel .preview-heading span {
  order: 3;
}

.material-scene {
  width: min(1120px, 100%);
  margin: 0 auto 36px;
  overflow: hidden;
  border-radius: 7px;
  background: #d8d2c8;
}

.material-scene img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.material-picker {
  width: min(1120px, 100%);
  margin: 0 auto clamp(34px, 5vw, 54px);
  border: 1px solid rgba(130, 120, 108, .34);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, .36);
}

.material-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(130, 120, 108, .28);
}

.material-tabs button {
  position: relative;
  min-height: 72px;
  border: 0;
  border-left: 1px solid rgba(130, 120, 108, .22);
  background: transparent;
  color: #5f574f;
  font: 400 clamp(1rem, 1.6vw, 1.25rem) / 1.2 "Noto Serif JP", serif;
  cursor: pointer;
}

.material-tabs button:first-child {
  border-left: 0;
}

.material-tabs button::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.material-tabs button.active {
  color: #8a6337;
}

.material-tabs button.active::after {
  background: #b4874a;
}

.material-panel {
  padding: clamp(24px, 4vw, 38px) clamp(22px, 4vw, 42px) clamp(28px, 4vw, 44px);
}

.material-panel[hidden] {
  display: none;
}

.material-detail {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  margin-bottom: 34px;
}

.material-large-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 28px rgba(46, 38, 30, .18);
}

.material-detail-copy h3 {
  color: #665b50;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.25;
}

.material-en {
  width: fit-content;
  margin: 8px 0 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid #a69684;
  color: #7c746b;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  letter-spacing: .2em;
}

.material-detail-copy p:not(.material-en) {
  max-width: 520px;
  color: #5f5953;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
}

.material-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(18px, 4vw, 54px);
}

.material-option {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5f574f;
  font: 400 .95rem / 1.4 "Noto Serif JP", serif;
  cursor: pointer;
}

.material-option-swatch {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  border-radius: 5px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 14px rgba(46, 38, 30, .18);
}

.material-option.active .material-option-swatch {
  outline: 2px solid #b4874a;
  outline-offset: 5px;
}

.preview-cta {
  width: min(880px, 100%);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 9vw, 132px);
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #342b25, #17120f);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: .12em;
}

.preview-cta em {
  font-style: normal;
  font-size: 1.8rem;
}

.home-contact {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 8vw, 132px);
  background: var(--paper);
}

.home-contact h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.7;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 56px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: "Noto Serif JP", serif;
}

.eyebrow,
.overline {
  margin-bottom: 6px;
  font-size: .72rem;
  letter-spacing: .24em;
  color: var(--soft-ink);
  text-transform: uppercase;
}

.brand h1 {
  font-size: 1.35rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-link {
  color: var(--soft-ink);
  font-size: .92rem;
}

.nav-link.active {
  color: var(--ink);
}

.page-header {
  max-width: 830px;
  margin: 64px 0 48px;
}

.page-header h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.45;
}

.page-header p {
  color: var(--soft-ink);
}

.section {
  padding: 42px 0;
}

.about-lead-section {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-top: 12px;
}

.about-lead-photo {
  overflow: hidden;
  min-height: 380px;
  background: #d8d2c8;
}

.about-lead-photo img {
  height: 100%;
  object-fit: cover;
}

.about-lead-copy {
  padding: clamp(24px, 4vw, 42px) 0;
}

.about-lead-copy h2,
.page-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.55;
}

.about-lead-copy p:not(.section-label),
.case-copy p,
.material-page-card span {
  color: var(--soft-ink);
  font-family: "Noto Serif JP", serif;
}

.case-row {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.case-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.case-row:nth-child(even) .case-photo {
  order: 2;
}

.case-photo {
  min-height: clamp(260px, 34vw, 420px);
  overflow: hidden;
  background: #d8d2c8;
}

.case-photo img {
  height: 100%;
  object-fit: cover;
}

.case-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.45;
}

.case-number {
  margin-bottom: 14px;
  color: var(--wood);
  font-family: "Inter", sans-serif;
  font-size: .78rem;
  letter-spacing: .22em;
}

.case-category {
  margin-bottom: 8px;
  color: var(--soft-ink);
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  letter-spacing: .24em;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.case-tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft-ink);
  background: rgba(248, 247, 244, .62);
  font-size: .82rem;
}

.material-page-section {
  border-top: 1px solid var(--line);
}

.material-page-section:first-child {
  border-top: 0;
  padding-top: 12px;
}

.material-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.material-page-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-strong);
}

.material-page-card img {
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.material-page-card div {
  padding: 22px;
}

.material-page-card p {
  margin-bottom: 8px;
  color: var(--wood);
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
}

.material-page-card h4,
.process-card h4 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.material-page-card span {
  display: block;
  line-height: 1.85;
}

.page-cta {
  margin-top: 18px;
  padding: clamp(36px, 6vw, 62px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 244, .48);
}

.section-header {
  margin-bottom: 28px;
}

.section-header h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.about-grid,
.featured-grid,
.process-grid,
.order-grid,
.cards-grid {
  display: grid;
  gap: 20px;
}

.about-grid,
.featured-grid,
.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-grid {
  grid-template-columns: 1.55fr .9fr;
  align-items: start;
}

.about-card,
.featured-card,
.process-card,
.order-card,
.order-summary-card,
.thank-card,
.card,
.info-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.about-card p,
.featured-card p,
.process-card p,
.order-card p,
.order-summary-card,
.thank-card p,
.card p,
.info-panel p {
  color: var(--soft-ink);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper-strong);
  background: var(--ink);
  font: inherit;
  cursor: pointer;
}

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

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.success-banner,
.error-banner {
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.error-banner {
  border-color: #b86f67;
}

.footer {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  text-align: center;
}

.admin-page {
  min-height: 100vh;
  padding: 36px 24px 64px;
  background: var(--paper);
}

.admin-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  gap: 24px;
  align-items: start;
}

.admin-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.admin-card h2 {
  margin-bottom: 20px;
  font-size: 1.55rem;
}

.admin-empty {
  color: var(--soft-ink);
}

.admin-post-list {
  display: grid;
  gap: 16px;
}

.admin-post {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-post img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--line);
}

.admin-post p {
  color: var(--soft-ink);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-post h3 {
  margin: 4px 0 12px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.admin-post .button {
  min-width: 0;
  padding: 8px 16px;
}

@media (max-width: 900px) {
  .split-links,
  .work-row,
  .work-row.image-right,
  .about-lead-section,
  .case-row,
  .about-grid,
  .featured-grid,
  .process-grid,
  .order-grid,
  .cards-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .split-link + .split-link {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .work-row.image-right .work-photo {
    order: 0;
  }

  .case-row:nth-child(even) .case-photo {
    order: 0;
  }

  .material-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header.home {
    padding: 24px 20px;
  }

  .admin-page {
    padding: 24px 18px 46px;
  }

  .admin-card {
    padding: 22px;
  }

  .admin-post {
    grid-template-columns: minmax(96px, 36%) minmax(0, 1fr);
  }

  .site-menu-button {
    display: grid;
    position: relative;
    z-index: 31;
  }

  .site-nav {
    position: absolute;
    z-index: 30;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    margin-left: 0;
    padding: 8px 0;
    border: 1px solid rgba(37, 34, 31, .14);
    border-radius: var(--radius);
    background: rgba(248, 247, 244, .96);
    color: var(--ink);
    box-shadow: 0 18px 38px rgba(22, 19, 16, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }

  .site-nav .nav-link {
    display: block;
    padding: 13px 18px;
    color: var(--ink);
  }

  .site-nav .nav-link + .nav-link {
    border-top: 1px solid rgba(37, 34, 31, .1);
  }

  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-logo {
    width: clamp(112px, 34vw, 148px);
  }

  .home-hero {
    min-height: 86vh;
    background-position: 54% center;
  }

  .home-hero-copy {
    width: calc(100% - 40px);
    margin: 0 0 104px 20px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
    line-height: 1.55;
  }

  .home-hero-copy p {
    margin-top: 26px;
    font-size: .9rem;
    line-height: 2;
  }

  .scroll-cue {
    left: 20px;
    bottom: 28px;
  }

  .split-link {
    grid-template-rows: auto auto;
    align-content: center;
    min-height: 106px;
    padding: 22px 20px;
    column-gap: 12px;
  }

  .split-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-link + .split-link {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .split-link span {
    grid-column: 1 / -1;
    margin-bottom: 10px;
    font-size: .62rem;
    letter-spacing: .32em;
  }

  .split-link strong {
    grid-column: 1;
    font-size: .9rem;
    line-height: 1.75;
  }

  .split-link em {
    grid-column: 2;
    justify-self: end;
    font-size: 1.25rem;
  }

  .works-section {
    margin-top: 28px;
    padding: 0 16px;
    background: var(--paper-strong);
  }

  .work-row,
  .work-row.image-right {
    grid-template-columns: 1.5fr .86fr;
    height: 132px;
    min-height: 0;
    overflow: hidden;
  }

  .work-row.image-right {
    grid-template-columns: .86fr 1.5fr;
  }

  .work-row.image-right .work-photo {
    order: 2;
  }

  .work-copy {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    justify-content: stretch;
    align-content: stretch;
    height: 132px;
    padding: 12px 12px 10px;
    min-height: 0;
    overflow: hidden;
  }

  .work-photo {
    height: 132px;
    min-height: 0;
  }

  .work-photo img {
    height: 132px;
  }

  .work-number {
    margin-bottom: 5px;
    font-size: .58rem;
    line-height: 1.25;
  }

  .work-number::after {
    width: 17px;
    margin-top: 3px;
  }

  .work-copy h2 {
    margin-bottom: 5px;
    font-size: clamp(.84rem, 3.55vw, .94rem);
    line-height: 1.48;
  }

  .work-copy p:not(.work-number) {
    font-size: .58rem;
    line-height: 1.55;
    max-height: 3.2em;
    overflow: hidden;
  }

  .work-copy a {
    align-self: end;
    gap: 9px;
    margin-top: 4px;
    font-size: .58rem;
    line-height: 1.3;
  }

  .home-contact {
    padding: 54px 24px;
  }

  .choice-section {
    padding: 46px 16px 0;
  }

  .choice-heading {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 20px;
  }

  .choice-heading h2 {
    font-size: 1.55rem;
  }

  .material-choice-grid,
  .item-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-card {
    min-height: 184px;
    padding: 18px;
  }

  .choice-swatch {
    height: 74px;
    margin-bottom: 16px;
  }

  .choice-name {
    margin-bottom: 8px;
    font-size: .58rem;
  }

  .choice-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .choice-card p:not(.choice-name) {
    font-size: .68rem;
    line-height: 1.65;
  }

  .item-choice-card {
    min-height: 178px;
  }

  .item-choice-card a {
    margin-top: 14px;
    font-size: .68rem;
  }

  .preview-visual {
    min-height: 520px;
  }

  .preview-visual img {
    object-position: center;
  }

  .preview-copy {
    padding: 64px 24px;
  }

  .preview-copy p {
    margin-bottom: 18px;
    font-size: .78rem;
  }

  .preview-copy h2 {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .preview-copy span {
    font-size: .88rem;
    line-height: 1.9;
  }

  .preview-panel {
    padding: 36px 18px 48px;
  }

  .material-scene {
    margin-bottom: 24px;
  }

  .material-scene img {
    aspect-ratio: 4 / 3;
  }

  .material-tabs button {
    min-height: 54px;
    font-size: .92rem;
  }

  .material-panel {
    padding: 24px 18px 30px;
  }

  .material-detail {
    grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 28px;
    align-items: center;
  }

  .material-large-swatch {
    width: 100%;
  }

  .material-detail-copy h3 {
    font-size: clamp(1.18rem, 5vw, 1.52rem);
  }

  .material-detail-copy p:not(.material-en) {
    font-size: .74rem;
    line-height: 1.72;
  }

  .material-en {
    margin: 5px 0 12px;
    padding-bottom: 6px;
    font-size: .66rem;
  }

  .material-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .material-option {
    gap: 9px;
    font-size: .66rem;
  }

  .material-option-swatch {
    aspect-ratio: 1.55 / 1;
  }

  .preview-heading {
    margin-bottom: 20px;
  }

  .preview-heading h2 {
    font-size: 1.45rem;
  }

  .preview-heading p {
    margin-top: 14px;
    font-size: .68rem;
    letter-spacing: .32em;
  }

  .preview-heading span {
    max-width: 18rem;
    font-size: .82rem;
    line-height: 1.9;
  }

  .preview-heading::after {
    height: 18px;
    margin-top: 8px;
  }

  .preview-cta {
    min-height: 62px;
    gap: 28px;
    font-size: .88rem;
  }

  .preview-cta em {
    font-size: 1.35rem;
  }

  .page-shell {
    padding: 24px 18px 42px;
  }

  .site-header.page {
    margin-top: -24px;
    padding: 20px 18px;
  }

  .about-lead-photo,
  .case-photo {
    min-height: 232px;
  }

  .material-page-grid {
    grid-template-columns: 1fr;
  }

  .material-page-card {
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    grid-template-rows: none;
  }

  .material-page-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .material-page-card div {
    padding: 16px;
  }

  .material-page-card h4,
  .process-card h4 {
    font-size: 1.05rem;
  }

  .material-page-card span {
    font-size: .76rem;
    line-height: 1.65;
  }

  .page-cta {
    padding: 28px 0;
    background: transparent;
  }
}
