:root {
  --bg: #121312;
  --bg-soft: #1c1b18;
  --paper: #f4efe5;
  --paper-soft: #fbf7ef;
  --text: #f7f2ea;
  --muted: rgba(247, 242, 234, 0.74);
  --ink: #232421;
  --ink-soft: rgba(35, 36, 33, 0.7);
  --line: rgba(208, 184, 139, 0.26);
  --accent: #c89d58;
  --accent-strong: #e4bf82;
  --green: #5d7665;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --page-padding-inline: clamp(24px, 3vw, 40px);
  --section-space: clamp(76px, 9vw, 132px);
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #0e100f 0%, #171512 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: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 16px var(--page-padding-inline);
  box-sizing: border-box;
}

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

.site-header.is-scrolled::before {
  background: rgba(14, 14, 13, 0.86);
  backdrop-filter: blur(18px);
  border-color: rgba(208, 184, 139, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}

.brand__logo {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.brand__text-group,
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  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: 2px;
  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(228, 191, 130, 0.55);
  background: linear-gradient(180deg, rgba(200, 157, 88, 0.36), rgba(200, 157, 88, 0.2));
  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(228, 191, 130, 0.92);
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
}

.button--ghost {
  background: transparent;
}

.section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--section-space) var(--page-padding-inline);
  box-sizing: border-box;
}

main {
  margin: 0;
  padding: 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.02), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(31, 29, 25, 0.98), rgba(14, 14, 13, 0.98));
  border-top: 1px solid rgba(208, 184, 139, 0.08);
  border-bottom: 1px solid rgba(208, 184, 139, 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(3rem, 5.4vw, 5.25rem);
  margin-bottom: 28px;
}

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

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

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

p {
  margin: 0;
}

.hero {
  display: block;
  min-height: auto;
  padding: 0;
}

.hero.section {
  padding: 0;
}

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

.hero__actions {
  position: absolute;
  right: clamp(20px, 3vw, 38px);
  bottom: clamp(30px, 6vw, 76px);
  z-index: 2;
  display: grid;
  width: 220px;
  gap: 14px;
  padding: 16px;
  background: rgba(10, 8, 6, 0.26);
  backdrop-filter: blur(2px);
}

.hero__actions .button {
  width: 100%;
  min-height: 50px;
  background: rgba(200, 157, 88, 0.92);
  color: #181512;
  font-weight: 700;
}

.hero__actions .button--ghost {
  background: rgba(12, 10, 8, 0.58);
  color: #fffaf0;
}

.hero > .hero__visual > .hero__actions {
  display: none;
}

.hero__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

.hero__slideshow {
  position: relative;
  width: 100%;
}

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

.hero__sizer {
  visibility: hidden;
}

.hero__sizer img {
  vertical-align: top;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

@keyframes fireGlow {
  0%,
  100% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) scale(0.96);
  }

  45% {
    opacity: 0.72;
    transform: translate3d(2%, -3%, 0) scale(1.08);
  }

  70% {
    opacity: 0.5;
    transform: translate3d(-1%, 2%, 0) scale(1.02);
  }
}

.showroom-proof__main figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  background: rgba(14, 14, 13, 0.76);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.visit-block {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.visit-block .eyebrow {
  color: var(--green);
}

.visit-block__copy p {
  color: var(--ink-soft);
}

.visit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.visit-list li {
  min-height: 44px;
  padding: 10px 12px;
  border-left: 3px solid var(--green);
  background: rgba(93, 118, 101, 0.09);
  color: var(--ink);
}

.visit-block .button {
  background: #1d211d;
  color: var(--text);
  border-color: #1d211d;
}

.visit-block .hero__actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  width: auto;
  margin-top: 34px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  transform: none;
}

.visit-block .hero__actions .button {
  width: auto;
  min-width: 190px;
}

.visit-block .text-link {
  color: var(--green);
}

.showroom-proof {
  min-width: 0;
}

.showroom-proof__main {
  position: relative;
  margin: 0;
  background: #20231f;
  box-shadow: 0 16px 40px rgba(35, 36, 33, 0.16);
}

.showroom-proof__main img {
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.showroom-proof__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.thumb:hover,
.thumb:focus-visible,
.thumb.is-active {
  opacity: 1;
  border-color: var(--green);
  transform: translateY(-1px);
}

.thumb img {
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.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(208, 184, 139, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

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

.works,
.about {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 239, 229, 0.98));
  box-shadow: var(--shadow);
}

.works .eyebrow,
.about .eyebrow {
  color: var(--green);
}

.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(35, 36, 33, 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: #22231f;
  background: #22231f;
  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.72);
  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(35, 36, 33, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.works-placeholder {
  max-width: 780px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(35, 36, 33, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.works-placeholder__label {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.works-placeholder h3 {
  margin-bottom: 14px;
}

.works-placeholder p:last-child {
  max-width: 560px;
  color: var(--ink-soft);
}

.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 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0e0c;
}

.philosophy__visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.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;
  align-items: start;
}

.craft-grid__photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #1a1816;
}

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

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

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

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

.about-grid__copy p {
  color: var(--ink-soft);
}

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

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

.about-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(35, 36, 33, 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(208, 184, 139, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

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

.contact-form__status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(228, 191, 130, 0.35);
  background: rgba(200, 157, 88, 0.12);
  color: var(--text);
}

.contact-form__status.is-visible {
  display: block;
}

.contact-form__status.is-error {
  border-color: rgba(220, 120, 96, 0.5);
  background: rgba(220, 120, 96, 0.12);
}

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

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

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

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

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

.access-map {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid rgba(208, 184, 139, 0.18);
  background:
    linear-gradient(135deg, rgba(200, 157, 88, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: rgba(247, 242, 234, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.contact-detail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(208, 184, 139, 0.14);
}

.contact-detail-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-detail-list__label {
  min-width: 3.6em;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.contact-detail-list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 184, 139, 0.4);
}

.contact-detail-list a:hover {
  border-bottom-color: currentColor;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 var(--page-padding-inline) 48px;
  box-sizing: border-box;
  color: var(--muted);
}

.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.96);
  color: #181512;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.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,
  .visit-block,
  .about-grid,
  .craft-grid,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .hero__slide img {
    object-position: center center;
  }

  .hero__actions {
    right: clamp(18px, 4vw, 32px);
    bottom: clamp(28px, 5vw, 48px);
    width: 220px;
  }

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

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

@media (max-width: 820px) {
  :root {
    --page-padding-inline: 14px;
    --header-height: 78px;
  }

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

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

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    position: absolute;
    top: 18px;
    right: 0;
    z-index: 2;
    min-width: 52px;
    min-height: 52px;
    padding: 8px;
    border: 1px solid rgba(228, 191, 130, 0.72);
    background: rgba(200, 157, 88, 0.9);
    color: #181512;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(208, 184, 139, 0.16);
    background: rgba(14, 14, 13, 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: 0;
  }

  .hero__visual {
    min-height: 0;
  }

  .hero__slideshow {
    min-height: 0;
  }

  .hero__sizer,
  .hero__sizer img {
    min-height: 0;
  }

  .hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .hero__actions {
    position: static;
    transform: none;
    width: 100%;
    gap: 10px;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .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) {
  h1 {
    font-size: 2.15rem;
    line-height: 1.32;
    margin-bottom: 22px;
  }

  h1 span {
    white-space: normal;
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.34;
    margin-bottom: 16px;
  }

  h3 {
    font-size: 1.16rem;
    line-height: 1.38;
    margin-bottom: 10px;
  }

  .button,
  .button--ghost,
  .floating-cta {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    min-height: 46px;
    padding-inline: 16px;
    font-size: 0.92rem;
  }

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

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

  .showroom-proof__main img {
    aspect-ratio: 1 / 1;
  }

  .work-card__body {
    padding-inline: 0;
  }
}

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

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

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