:root {
  --ink: #15130f;
  --paper: #f7f3ec;
  --plaster: #fffaf1;
  --wood: #9b6338;
  --cedar: #5f3a24;
  --moss: #58624b;
  --blue: #7897a6;
  --line: rgba(21, 19, 15, 0.14);
  --shadow: 0 24px 70px rgba(30, 24, 18, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: white;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(247, 243, 236, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(21, 19, 15, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  min-width: 178px;
}

.brand-mark {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  border: 1px solid currentColor;
  padding: 9px 16px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  opacity: 0.82;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(16, 12, 8, 0.88) 0%, rgba(16, 12, 8, 0.48) 48%, rgba(16, 12, 8, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 36px));
  margin: 0 0 clamp(86px, 13vh, 150px) clamp(18px, 7vw, 92px);
  color: white;
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.hero .button.primary {
  background: var(--plaster);
  color: var(--ink);
  border-color: var(--plaster);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 34px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
}

.hero-panel span {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
  padding: 8px 11px;
  font-size: 12px;
  background: rgba(21, 19, 15, 0.22);
}

section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 64px);
}

.intro-band {
  background: var(--plaster);
}

.section-grid,
.feature-case,
.profile-inner,
.contact {
  max-width: var(--max);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.lead-copy {
  display: grid;
  gap: 18px;
  font-size: 17px;
}

.feature-case {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 74px);
  align-items: center;
}

.feature-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-text {
  display: grid;
  gap: 22px;
}

.feature-text p:not(.eyebrow) {
  font-size: 17px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec-list div {
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  color: var(--moss);
}

.spec-list dd {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.strength {
  background: #e8e1d3;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 42px;
}

.reason-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(21, 19, 15, 0.18);
  border-left: 1px solid rgba(21, 19, 15, 0.18);
}

.reason {
  min-height: 270px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid rgba(21, 19, 15, 0.18);
  border-bottom: 1px solid rgba(21, 19, 15, 0.18);
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.reason span {
  color: var(--wood);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

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

.works-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.filter.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.work-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.work-card {
  background: var(--plaster);
  border: 1px solid var(--line);
  transition: transform 180ms ease, opacity 180ms ease;
}

.work-card.is-hidden {
  display: none;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card img {
  height: 260px;
  object-fit: cover;
}

.work-card div {
  padding: 18px;
}

.work-card p {
  margin-bottom: 8px;
  color: var(--moss);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card span {
  display: block;
  margin-top: 10px;
  color: rgba(21, 19, 15, 0.68);
  font-size: 13px;
}

.gallery-band {
  padding: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 1fr;
}

.gallery-band img {
  height: 440px;
  object-fit: cover;
}

.profile {
  background: var(--ink);
  color: white;
}

.profile-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 8vw, 90px);
  align-items: center;
}

.profile-copy {
  display: grid;
  gap: 20px;
}

.profile-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.quote-box {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 250, 241, 0.06);
}

.quote-box p {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.45;
}

.quote-box span {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.flow {
  background: var(--plaster);
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  background: var(--moss);
  color: white;
  border-radius: 50%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

details {
  background: var(--plaster);
  border: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
}

details p {
  padding: 0 24px 22px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 80px);
  align-items: start;
  background: transparent;
}

.contact-copy {
  display: grid;
  gap: 20px;
}

address {
  font-style: normal;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--plaster);
  border: 1px solid var(--line);
}

label {
  display: grid;
  gap: 7px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 19, 15, 0.22);
  background: white;
  padding: 13px 12px;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.5em;
  color: var(--moss);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px) 90px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 9;
  display: flex;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.fixed-cta a {
  min-width: 138px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  background: rgba(21, 19, 15, 0.94);
  color: white;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.fixed-cta a + a {
  background: var(--wood);
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 76px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--plaster);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: block;
  }

  .section-grid,
  .feature-case,
  .profile-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .reason-layout,
  .work-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-band img {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    font-size: 25px;
  }

  .brand-sub {
    max-width: 92px;
    font-size: 10px;
    line-height: 1.35;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(16, 12, 8, 0.32) 0%, rgba(16, 12, 8, 0.86) 68%, rgba(16, 12, 8, 0.92) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 170px;
  }

  .hero h1 {
    font-size: clamp(29px, 7.7vw, 31px);
  }

  .hero-actions,
  .works-head,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .hero .button {
    width: 100%;
  }

  .hero-panel {
    left: 16px;
    right: 16px;
    bottom: 58px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-panel span {
    text-align: center;
  }

  section {
    padding: 62px 16px;
  }

  h2 {
    font-size: 30px;
  }

  .spec-list,
  .reason-layout,
  .work-grid,
  .timeline,
  .gallery-band {
    grid-template-columns: 1fr;
  }

  .feature-media img {
    aspect-ratio: 1 / 1.15;
  }

  .work-card img,
  .gallery-band img {
    height: 260px;
  }

  .reason {
    min-height: 210px;
  }

  .fixed-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: none;
  }

  .fixed-cta a {
    min-width: 0;
    flex: 1;
  }
}
