:root {
  --ink: #10120d;
  --deep: #172019;
  --moss: #516447;
  --gold: #c8a45d;
  --stone: #e8e1d2;
  --paper: #f7f2e8;
  --muted: #9b917d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(9, 11, 7, 0.58), rgba(9, 11, 7, 0));
  border: 0;
}

.site-nav__brand {
  display: grid;
  gap: 3px;
  color: #fffaf0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav > div {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.site-nav a {
  color: rgba(255, 250, 240, 0.84);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover {
  color: #fffaf0;
}

@media (max-width: 760px) {
  .site-nav {
    align-items: flex-start;
    padding: 16px 14px;
  }

  .site-nav > div {
    max-width: 64vw;
    justify-content: flex-end;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .site-nav > div::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: stretch;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/hero-moroto.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 8, 0.82) 0%, rgba(10, 12, 8, 0.48) 48%, rgba(10, 12, 8, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 12, 8, 0.92) 0%, rgba(10, 12, 8, 0.05) 58%);
}

.hero__inner {
  display: flex;
  min-height: 100svh;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 88px;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1.12;
  color: inherit;
}

h1 span {
  display: block;
}

h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  color: inherit;
}

.hero__lead {
  max-width: 650px;
  color: rgba(247, 242, 232, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 2;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(247, 242, 232, 0.34);
  font-size: 0.95rem;
}

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

.button--ghost {
  background: rgba(16, 18, 13, 0.35);
  color: var(--paper);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0b0d09;
  border-top: 1px solid rgba(200, 164, 93, 0.2);
  border-bottom: 1px solid rgba(200, 164, 93, 0.2);
}

.proof__item {
  min-height: 150px;
  padding: 32px;
  border-right: 1px solid rgba(200, 164, 93, 0.18);
}

.proof__item:last-child {
  border-right: 0;
}

.proof strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1;
}

.proof span {
  display: block;
  margin-top: 16px;
  color: rgba(247, 242, 232, 0.78);
  line-height: 1.7;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section--intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.intro-copy,
.feature__content p,
.vision p,
.taisho p,
.contact__copy p {
  color: rgba(247, 242, 232, 0.76);
  font-size: 1.02rem;
  line-height: 2;
}

.service-grid {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.service {
  min-height: 190px;
  padding: 30px;
  background: #171c14;
  border: 1px solid rgba(232, 225, 210, 0.08);
  color: var(--paper);
}

.service span {
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 30px;
  background: var(--gold);
}

.service h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--paper);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  min-height: 680px;
  background: var(--paper);
  color: var(--ink);
}

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

.feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 90px);
}

.feature__content .eyebrow,
.taisho .eyebrow {
  color: #8c6b2c;
}

.feature__content p {
  color: rgba(16, 18, 13, 0.72);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.work-card {
  background: #171c14;
  border: 1px solid rgba(232, 225, 210, 0.08);
  color: var(--paper);
}

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

.work-card div {
  padding: 24px;
  color: var(--paper);
}

.work-card p {
  color: var(--gold);
  font-size: 0.82rem;
}

.work-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: var(--paper);
}

.work-card span {
  color: rgba(247, 242, 232, 0.7);
  line-height: 1.7;
}

.vision {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 110px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.vision__panel--dark {
  background: #171c14;
  color: var(--paper);
}

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

.vision__panel div {
  padding: 34px;
}

.vision__panel p {
  color: rgba(16, 18, 13, 0.72);
}

.vision__panel--dark p {
  color: rgba(247, 242, 232, 0.72);
}

small {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
}

.taisho {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--paper);
  color: var(--ink);
}

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

.taisho div {
  padding: clamp(36px, 6vw, 74px);
}

.taisho p {
  color: rgba(16, 18, 13, 0.72);
}

.process {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 56px;
  border-top: 1px solid rgba(200, 164, 93, 0.18);
}

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

.process li {
  min-height: 120px;
  padding: 24px;
  background: #171c14;
}

.process strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 400;
}

.process span {
  color: rgba(247, 242, 232, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.contact--page {
  position: relative;
  min-height: 100svh;
  align-items: center;
  isolation: isolate;
  padding-top: 128px;
  padding-bottom: 96px;
}

.contact--page::before,
.contact--page::after {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  content: "";
}

.contact--page::before {
  z-index: -2;
  background: url("/assets/hero-moroto.jpg") center / cover no-repeat;
  filter: saturate(0.86) contrast(1.08) brightness(0.7);
}

.contact--page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 6, 0.9) 0%, rgba(7, 8, 6, 0.62) 48%, rgba(7, 8, 6, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 8, 6, 0.5) 0%, rgba(7, 8, 6, 0.82) 100%);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
  background: #171c14;
  border: 1px solid rgba(200, 164, 93, 0.18);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: rgba(247, 242, 232, 0.8);
  font-size: 0.95rem;
}

.contact-form .full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(232, 225, 210, 0.2);
  background: #0f130e;
  color: var(--paper);
  padding: 15px 14px;
  border-radius: 0;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  min-height: 54px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero {
    min-height: 88vh;
  }

  .hero__inner {
    padding-bottom: 60px;
  }

  .proof,
  .section--intro,
  .feature,
  .work-grid,
  .vision,
  .taisho,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .proof__item {
    border-right: 0;
    border-bottom: 1px solid rgba(200, 164, 93, 0.18);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
  }

  .feature__image img,
  .taisho img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .process ol,
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero__inner,
  .section,
  .vision,
  .taisho,
  .process,
  .contact {
    width: min(100% - 28px, 1160px);
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.45rem;
  }
}

.entry {
  min-height: 100vh;
  background: var(--ink);
}

.entry-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  isolation: isolate;
  overflow: hidden;
}

.entry-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/hotel-trad.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.entry-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 8, 0.84), rgba(10, 12, 8, 0.38)),
    linear-gradient(0deg, rgba(10, 12, 8, 0.96), rgba(10, 12, 8, 0.12));
}

.entry-hero__inner {
  display: flex;
  min-height: 100svh;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 88px;
}

.entry-hero__lead {
  max-width: 640px;
  color: rgba(247, 242, 232, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 2;
}

.entry-pathways {
  width: min(1180px, calc(100% - 40px));
  margin: -52px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.entry-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(232, 225, 210, 0.14);
  background: #171c14;
  color: var(--paper);
}

.entry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.entry-card:hover img {
  transform: scale(1.04);
}

.entry-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 12, 8, 0.96) 0%, rgba(10, 12, 8, 0.7) 58%, rgba(10, 12, 8, 0.24) 100%);
}

.entry-card__body {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.entry-card__body p {
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.85rem;
}

.entry-card__body h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  color: var(--paper);
}

.entry-card__body span {
  display: block;
  min-height: 86px;
  color: rgba(247, 242, 232, 0.88);
  line-height: 1.75;
}

.entry-card__body strong {
  display: inline-block;
  margin-top: 24px;
  color: var(--paper);
  font-weight: 400;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 7px;
}

.entry-unsure {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr auto;
  gap: 34px;
  align-items: center;
}

.entry-unsure h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.entry-unsure p {
  color: rgba(247, 242, 232, 0.76);
  line-height: 1.9;
}

.entry-mihara {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  background: var(--paper);
  color: var(--ink);
}

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

.entry-mihara div {
  padding: clamp(34px, 6vw, 72px);
}

.entry-mihara .eyebrow {
  color: #8c6b2c;
}

.entry-mihara p {
  color: rgba(16, 18, 13, 0.72);
  line-height: 2;
}

@media (max-width: 920px) {
  .entry-pathways,
  .entry-unsure,
  .entry-mihara {
    grid-template-columns: 1fr;
  }

  .entry-pathways {
    margin-top: 0;
    padding-top: 20px;
  }

  .entry-card {
    min-height: 380px;
  }

  .entry-card__body span {
    min-height: 0;
  }

  .entry-unsure {
    align-items: start;
  }

  .entry-mihara img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

@media (max-width: 540px) {
  .entry-hero__inner,
  .entry-pathways,
  .entry-unsure,
  .entry-mihara {
    width: min(100% - 28px, 1180px);
  }

  .entry-hero {
    min-height: 74vh;
  }

  .entry-card {
    min-height: 340px;
  }

  .entry-unsure .button {
    width: 100%;
  }
}

/* Final contrast guard for direct Cloudflare uploads. */
.hero,
.proof,
.section,
.service-grid,
.process,
.contact,
.entry,
.entry-hero,
.entry-pathways,
.entry-card,
.entry-unsure {
  color: var(--paper);
}

.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero a,
.proof span,
.section h2,
.section h3,
.section p,
.service h3,
.process h2,
.process span,
.contact h2,
.entry-hero h1,
.entry-hero p,
.entry-card h2,
.entry-card span,
.entry-card strong,
.entry-unsure h2,
.entry-unsure p {
  color: inherit;
}

.hero__lead,
.intro-copy,
.contact__copy p,
.entry-hero__lead,
.entry-unsure p {
  color: rgba(247, 242, 232, 0.88);
}

.feature,
.feature h2,
.feature h3,
.feature p,
.taisho,
.taisho h2,
.taisho h3,
.taisho p,
.entry-mihara,
.entry-mihara h2,
.entry-mihara h3,
.entry-mihara p,
.vision__panel:not(.vision__panel--dark),
.vision__panel:not(.vision__panel--dark) h2,
.vision__panel:not(.vision__panel--dark) h3,
.vision__panel:not(.vision__panel--dark) p {
  color: var(--ink);
}

.feature__content p,
.taisho p,
.entry-mihara p,
.vision__panel:not(.vision__panel--dark) p {
  color: rgba(16, 18, 13, 0.76);
}

.work-card,
.work-card h3,
.work-card span,
.vision__panel--dark,
.vision__panel--dark h2,
.vision__panel--dark h3,
.vision__panel--dark p {
  color: var(--paper);
}

.work-card span,
.vision__panel--dark p {
  color: rgba(247, 242, 232, 0.82);
}

/* Hard contrast fix for Cloudflare Pages direct upload. */
.hero,
.hero *,
.entry-hero,
.entry-hero *,
.entry-card,
.entry-card *,
.proof,
.proof *,
.section,
.section *,
.service,
.service *,
.work-card,
.work-card *,
.process,
.process *,
.contact,
.contact *,
.vision__panel--dark,
.vision__panel--dark * {
  color: #f7f2e8 !important;
}

.eyebrow,
.proof strong,
.work-card p,
.process strong {
  color: #c8a45d !important;
}

.button--primary,
.button--primary *,
.contact-form button,
.contact-form button * {
  color: #10120d !important;
}

.feature,
.feature *,
.taisho,
.taisho *,
.entry-mihara,
.entry-mihara *,
.vision__panel:not(.vision__panel--dark),
.vision__panel:not(.vision__panel--dark) * {
  color: #10120d !important;
}

.feature .eyebrow,
.taisho .eyebrow,
.entry-mihara .eyebrow,
.vision__panel:not(.vision__panel--dark) .eyebrow {
  color: #8c6b2c !important;
}

.feature p,
.taisho p,
.entry-mihara p,
.vision__panel:not(.vision__panel--dark) p {
  color: rgba(16, 18, 13, 0.76) !important;
}
