:root {
  --paper: #fbfaf6;
  --stone: #f0ede5;
  --mortar: #8f9188;
  --ink: #151514;
  --muted: #65655e;
  --rust: #9a654a;
  --line: rgba(21, 21, 20, 0.18);
  --gutter: clamp(18px, 4vw, 56px);
  --section: clamp(72px, 11vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
}

.brand,
.nav a,
.header-tel,
.button,
.text-link,
.section-kicker {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.brand,
.nav a,
.header-tel {
  text-decoration: none;
}

.brand {
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
}

.header-tel {
  justify-self: end;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - var(--gutter) * 2));
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 clamp(82px, 12vh, 140px) var(--gutter);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--rust);
  font-weight: 700;
}

.hero .eyebrow {
  color: #f2d5c2;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 10vw, 8.4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(2.5rem, 8vw, 7.8rem);
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-actions,
.contact-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 700;
}

.button-light {
  color: #fff;
}

.button-dark {
  color: var(--ink);
  background: var(--paper);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font-weight: 700;
}

.text-link.light {
  color: #fff;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 30px;
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 5.8vw, 6rem);
  line-height: 1;
}

.section-pad {
  padding: var(--section) var(--gutter);
}

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

.statement-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(280px, 1.4fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 4vw, 70px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.statement-grid p:last-child,
.craft-copy p,
.tf-panel p {
  margin: 0;
  color: var(--muted);
}

.material-index {
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(21, 21, 20, 0.08) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--stone);
}

.section-head {
  max-width: 1060px;
  margin: 0 auto clamp(42px, 7vw, 90px);
}

.material-row {
  display: grid;
  grid-template-columns: 80px minmax(260px, 0.9fr) minmax(240px, 0.7fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 74px) 0;
  border-top: 1px solid var(--line);
}

.material-row p {
  margin: 0 0 10px;
  max-width: 520px;
  color: var(--muted);
}

.material-num {
  align-self: start;
  color: var(--rust);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.material-row-image {
  grid-template-columns: 80px minmax(260px, 0.8fr) minmax(260px, 0.7fr);
}

.material-row-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 50%;
}

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

.works-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: end;
}

.works figure {
  margin: 0;
  overflow: hidden;
}

.works img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works figcaption {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
}

.work-large {
  grid-column: 1 / span 7;
}

.work-large img {
  aspect-ratio: 16 / 10;
}

.work-tall {
  grid-column: 9 / span 4;
}

.work-tall img {
  aspect-ratio: 4 / 5;
  object-position: 34% 50%;
}

.work-wide {
  grid-column: 4 / span 8;
  margin-top: 34px;
}

.work-wide img {
  aspect-ratio: 16 / 6;
  object-position: 70% 44%;
}

.craft {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(26px, 6vw, 90px);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
}

.craft-copy {
  max-width: 620px;
}

.craft-copy p {
  color: rgba(251, 250, 246, 0.72);
}

.craft-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(251, 250, 246, 0.28);
  border-left: 1px solid rgba(251, 250, 246, 0.28);
}

.craft-strip span {
  min-height: clamp(90px, 14vw, 180px);
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(251, 250, 246, 0.28);
  border-bottom: 1px solid rgba(251, 250, 246, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.8vw, 2.4rem);
}

.tf {
  background: var(--stone);
}

.tf-panel {
  max-width: 860px;
  margin-left: auto;
  padding: clamp(32px, 6vw, 74px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about {
  background: var(--ink);
  color: var(--paper);
}

.about-title {
  max-width: 940px;
  margin-bottom: clamp(38px, 6vw, 80px);
}

.data-grid {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(251, 250, 246, 0.22);
}

.data-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(240px, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(251, 250, 246, 0.22);
}

.data-row span {
  color: rgba(251, 250, 246, 0.58);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.data-row strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
}

.contact-band {
  max-width: 1180px;
  margin: clamp(34px, 5vw, 70px) auto 0;
  padding-top: 28px;
}

.contact-band p {
  margin: 0 auto 0 0;
  color: rgba(251, 250, 246, 0.7);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px var(--gutter);
  background: #0d0d0c;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.82rem;
}

.footer p {
  margin: 0;
}

.not-found {
  min-height: 100vh;
  background: var(--stone);
}

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

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .header-tel {
    grid-column: 2;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    min-height: 88vh;
    padding: 130px var(--gutter) 120px;
    width: 100%;
  }

  .hero-index {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 28px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .statement-grid,
  .material-row,
  .material-row-image,
  .craft,
  .data-row {
    grid-template-columns: 1fr;
  }

  .material-row-image img {
    aspect-ratio: 16 / 10;
  }

  .works-grid {
    display: block;
  }

  .works figure + figure {
    margin-top: 22px;
  }

  .work-large img,
  .work-tall img,
  .work-wide img {
    aspect-ratio: auto;
    min-height: 260px;
  }

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

  .craft-strip span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .hero-image {
    object-position: 62% 50%;
  }

  .hero-index {
    font-size: clamp(1.42rem, 11vw, 3.2rem);
  }

  h1 {
    font-size: clamp(2.82rem, 17vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  h3 {
    font-size: clamp(2.3rem, 15vw, 4rem);
  }

  .hero-actions,
  .contact-band {
    align-items: stretch;
  }

  .button,
  .text-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
