:root {
  --ink: #171513;
  --ink-soft: #2d2925;
  --paper: #f6f1e9;
  --paper-soft: #fbf8f2;
  --wood: #8d5f32;
  --amber: #bd832b;
  --amber-light: #d9a84b;
  --gray: #7b776f;
  --line: rgba(23, 21, 19, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 13px clamp(22px, 4vw, 62px);
  color: var(--white);
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-logo {
  width: 188px;
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 30px);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  min-height: 820px;
  color: var(--white);
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.22) 58%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 180px clamp(28px, 6vw, 104px) 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.18;
  font-weight: 600;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 700px;
  margin-bottom: 36px;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.button.primary {
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--ink);
  border-color: transparent;
}

.button.secondary {
  color: var(--white);
}

.button.wide {
  width: 100%;
}

.hero-notes {
  margin: 40px 0 0;
}

.hero-notes div {
  min-width: 164px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-notes dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.hero-notes dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: clamp(74px, 9vw, 120px) clamp(20px, 5vw, 76px);
}

.section-heading {
  max-width: 1080px;
  margin: 0 auto 42px;
}

.section-heading.narrow {
  max-width: 780px;
  text-align: center;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto 32px;
}

.about-copy {
  color: rgba(255, 255, 255, 0.76);
}

.about-photo {
  margin: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-photo figcaption {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.concept-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.concept-cards article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.concept-cards span {
  color: var(--amber-light);
  font-family: Georgia, "Times New Roman", serif;
}

.service {
  background: var(--paper-soft);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.service-main {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 14px;
}

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

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

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

.works figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
}

.works img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.works img.contain-image {
  object-fit: contain;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.works figcaption {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.caption-note {
  max-width: 1120px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

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

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--amber);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.contact {
  background:
    linear-gradient(rgba(23, 21, 19, 0.88), rgba(23, 21, 19, 0.88)),
    url("public/images/generated/hero-interior-work.jpg") center / cover;
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 40px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-box {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-box p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-box a:not(.button) {
  color: var(--white);
}

.contact-box span,
.contact-box a:not(.button) {
  text-align: right;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.pending-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.footer {
  padding: 38px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.78);
  background: #070605;
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 14px;
  }

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

  .hero {
    min-height: 760px;
  }

  h1 span {
    white-space: normal;
  }

  .about-grid,
  .service-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .concept-cards,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .about-photo img {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: block;
  }

  .brand-logo {
    width: 156px;
    margin-bottom: 14px;
  }

  .nav {
    justify-content: flex-start;
    font-size: 11px;
  }

  .hero-content {
    padding-top: 168px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-notes div {
    width: 100%;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .social-links {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box p {
    display: block;
  }

  .contact-box span,
  .contact-box a:not(.button) {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}
