:root {
  --bg: #111111;
  --bg-soft: #171514;
  --panel: #201c19;
  --paper: #f1ece2;
  --paper-deep: #d9ccbb;
  --text: #f5f2ec;
  --muted: rgba(245, 242, 236, 0.72);
  --ink: #26211d;
  --ink-soft: rgba(38, 33, 29, 0.72);
  --line: rgba(219, 191, 143, 0.25);
  --accent: #c89d58;
  --accent-strong: #ddb87c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  --content-width: min(1160px, calc(100vw - 48px));
  --section-space: clamp(80px, 9vw, 136px);
  --header-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(200, 157, 88, 0.12), transparent 30%),
    linear-gradient(180deg, #0a0a0a 0%, #13110f 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

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

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

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

.site-shell {
  position: relative;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--content-width);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 16px 0;
  transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px -20px;
  z-index: -1;
  border: 1px solid transparent;
  background: rgba(13, 12, 11, 0.2);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled::before {
  background: rgba(14, 13, 12, 0.82);
  backdrop-filter: blur(18px);
  border-color: rgba(219, 191, 143, 0.12);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
}

.brand__name {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.brand__sub {
  font-size: 0.8rem;
  color: var(--muted);
}

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

.site-nav a:not(.button) {
  color: var(--muted);
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
}

.menu-toggle span:not(.menu-toggle__label) {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.menu-toggle__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid rgba(219, 191, 143, 0.45);
  background: linear-gradient(180deg, rgba(200, 157, 88, 0.28), rgba(200, 157, 88, 0.18));
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(219, 191, 143, 0.85);
}

.button--ghost {
  background: transparent;
}

.section {
  width: var(--content-width);
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section--dark {
  position: relative;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(33, 28, 24, 0.98), rgba(14, 13, 12, 0.98));
  border-top: 1px solid rgba(219, 191, 143, 0.08);
  border-bottom: 1px solid rgba(219, 191, 143, 0.08);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  line-height: 1.18;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 12px;
}

p {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100svh - 30px);
  padding-top: calc(var(--header-height) + 12px);
}

.hero__copy {
  max-width: 520px;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__visual {
  position: relative;
  min-height: clamp(520px, 72vh, 820px);
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -32px 12% 22% -12%;
  background: radial-gradient(circle, rgba(200, 157, 88, 0.28), transparent 60%);
  filter: blur(30px);
}

.hero__visual img {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.intro {
  padding-inline: clamp(24px, 5vw, 52px);
}

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

.value-card {
  padding: 28px;
  min-height: 220px;
  border: 1px solid rgba(219, 191, 143, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    rgba(255, 255, 255, 0.01);
}

.value-card__number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-family: "Zen Old Mincho", serif;
}

.works {
  color: var(--ink);
  padding-inline: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 236, 226, 0.98));
  box-shadow: var(--shadow);
}

.works-toolbar {
  margin-bottom: 30px;
}

.filter-set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(38, 33, 29, 0.18);
  background: #f7f2ea;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.filter-chip.is-active {
  border-color: rgba(38, 33, 29, 0.82);
  background: #22201c;
  color: var(--text);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

.work-card img {
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
}

.work-card__body {
  padding: 18px 2px 6px;
}

.work-card__meta {
  margin-bottom: 10px;
  color: rgba(38, 33, 29, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 0;
}

.philosophy__content {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.philosophy__visual img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent-strong);
}

.text-link::after {
  content: "→";
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 48px);
}

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

.craft-grid__photos img {
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
  background: #1a1816;
}

.craft-grid__list {
  display: grid;
  gap: 16px;
}

.craft-item {
  padding: 24px 0;
  border-top: 1px solid rgba(38, 33, 29, 0.12);
}

.craft-item:last-child {
  border-bottom: 1px solid rgba(38, 33, 29, 0.12);
}

.showroom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.showroom__visual img {
  aspect-ratio: 1.25 / 0.9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.showroom__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.showroom__features span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(219, 191, 143, 0.2);
  color: var(--paper-deep);
}

.about {
  color: var(--ink);
  padding-inline: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 236, 226, 0.98));
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.about-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.about-list div {
  padding-top: 18px;
  border-top: 1px solid rgba(38, 33, 29, 0.12);
}

.about-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(38, 33, 29, 0.55);
}

.about-list dd {
  margin: 8px 0 0;
}

.about-grid__gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 240px 200px;
  gap: 14px;
}

.about-grid__gallery img {
  height: 100%;
  object-fit: cover;
  background: #1b1815;
}

.about-grid__gallery img:first-child {
  grid-row: 1 / span 2;
}

.contact {
  padding-bottom: calc(var(--section-space) + 60px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 26px;
  margin-top: 34px;
}

.contact-form,
.contact-side__card {
  padding: 30px;
  border: 1px solid rgba(219, 191, 143, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(219, 191, 143, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 14px 16px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--muted);
}

.site-footer__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 0.85rem;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  background: rgba(200, 157, 88, 0.94);
  color: #181512;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
    font-size: 0.76rem;
  }

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

  .hero,
  .showroom,
  .about-grid,
  .craft-grid,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    order: -1;
    min-height: 420px;
  }

  .section-heading--row {
    align-items: start;
    flex-direction: column;
  }

  .section-note {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  :root {
    --content-width: min(100vw - 28px, 100vw - 28px);
    --header-height: 78px;
  }

  .site-header {
    gap: 14px;
    align-items: center;
  }

  .site-header::before {
    inset: 8px -8px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(219, 191, 143, 0.16);
    background: rgba(14, 13, 12, 0.96);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: calc(var(--header-height) + 8px);
    gap: 24px;
  }

  .hero__visual {
    min-height: 320px;
  }

  .value-grid,
  .works-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-grid__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
  }

  .about-grid__gallery img:first-child {
    grid-row: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer__nav {
    justify-content: start;
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .button,
  .button--ghost,
  .floating-cta {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .craft-grid__photos {
    grid-template-columns: 1fr;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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