:root {
  --bg: #0e0e10;
  --text: #edeae3;
  --gold: #c9a96a;
  --muted: #6b6b70;
  --line: rgba(237, 234, 227, 0.13);
  --line-strong: rgba(201, 169, 106, 0.42);
  --dark-glass: rgba(14, 14, 16, 0.7);
  --font-serif-ja: "Shippori Mincho", serif;
  --font-body: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 8%, rgba(201, 169, 106, 0.18), transparent 24rem),
    radial-gradient(circle at 18% 0%, rgba(237, 234, 227, 0.055), transparent 28rem),
    linear-gradient(180deg, #0e0e10 0%, #111113 48%, #0b0b0d 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: var(--bg);
  background: var(--gold);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 22% 31%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.3px),
    radial-gradient(circle at 76% 13%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.2px),
    radial-gradient(circle at 49% 78%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.2px);
  background-size: 17px 19px, 23px 29px, 31px 37px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: rgba(237, 234, 227, 0.88);
  transition:
    background-color 360ms ease,
    border-color 360ms ease,
    min-height 360ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  border-bottom: 1px solid rgba(237, 234, 227, 0.08);
  background: rgba(14, 14, 16, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(201, 169, 106, 0.75);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.brand-name,
.site-nav a,
.scroll-cue,
.section-label,
.service-index {
  font-family: var(--font-display);
}

.brand-name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.4vw, 34px);
  font-size: 17px;
  line-height: 1;
}

.site-nav a,
.text-button {
  position: relative;
}

.site-nav a::after,
.text-button::after {
  position: absolute;
  right: 0;
  bottom: -0.35em;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.text-button:hover::after,
.text-button:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  min-height: 94svh;
  padding: 124px clamp(18px, 4vw, 56px) 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 20vh -18vw auto auto;
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  content: "";
  background:
    radial-gradient(circle, rgba(201, 169, 106, 0.24) 0%, rgba(201, 169, 106, 0.08) 38%, transparent 70%);
  filter: blur(30px);
  transform: rotate(-18deg);
}

.hero::after {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 0;
  left: clamp(18px, 4vw, 56px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.74), transparent);
}

.hero-glow {
  position: absolute;
  top: 18%;
  left: 6%;
  width: 32vw;
  min-width: 260px;
  height: 32vw;
  min-height: 260px;
  border: 1px solid rgba(201, 169, 106, 0.14);
  border-radius: 50%;
  opacity: 0.72;
  transform: rotate(24deg);
}

.hero-glow::before,
.hero-glow::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(201, 169, 106, 0.09);
  border-radius: 50%;
}

.hero-glow::before {
  inset: 11%;
}

.hero-glow::after {
  inset: 23%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 1420px);
  margin: 0 auto;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.1vw, 30px);
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(70px, 15vw, 218px);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-word {
  display: block;
  min-width: 0;
}

.hero-divider {
  display: block;
  width: clamp(22px, 5vw, 72px);
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, rgba(201, 169, 106, 0.18), var(--gold), rgba(201, 169, 106, 0.18));
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.28fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-top: clamp(32px, 8vw, 94px);
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-serif-ja);
  font-size: clamp(30px, 5.2vw, 86px);
  font-weight: 500;
  line-height: 1.22;
}

.hero-sub {
  max-width: 330px;
  margin: 0;
  color: rgba(237, 234, 227, 0.76);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.8;
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 28px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(237, 234, 227, 0.64);
  font-size: 16px;
  line-height: 1;
}

.scroll-cue i {
  width: 48px;
  height: 1px;
  background: rgba(201, 169, 106, 0.76);
  transform-origin: right;
}

.section {
  position: relative;
  padding: clamp(96px, 15vw, 196px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-number {
  position: absolute;
  top: clamp(24px, 6vw, 74px);
  right: clamp(16px, 5vw, 72px);
  color: rgba(237, 234, 227, 0.042);
  font-family: var(--font-display);
  font-size: clamp(130px, 25vw, 360px);
  font-weight: 500;
  line-height: 0.75;
  pointer-events: none;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 64px);
  color: var(--gold);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
}

.section-label::before {
  width: clamp(42px, 8vw, 110px);
  height: 1px;
  content: "";
  background: rgba(201, 169, 106, 0.58);
}

.section-heading {
  margin: 0;
  font-family: var(--font-serif-ja);
  font-size: clamp(38px, 6.6vw, 96px);
  font-weight: 500;
  line-height: 1.18;
}

.about-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(36px, 8vw, 110px);
}

.section-body p,
.service-item p,
.works-note p,
.contact-copy {
  margin: 0;
  color: rgba(237, 234, 227, 0.78);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 2.05;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(60px, 9vw, 104px) 0 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.proof-list div {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.proof-list div:last-child {
  border-right: 0;
}

.proof-list dt {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--font-serif-ja);
  font-size: clamp(18px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.45;
}

.proof-list dd {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.85;
}

.section-services {
  background:
    radial-gradient(circle at 8% 38%, rgba(201, 169, 106, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}

.services-heading {
  margin-bottom: clamp(48px, 8vw, 88px);
  font-family: var(--font-display);
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-item {
  display: grid;
  grid-template-columns: clamp(48px, 8vw, 96px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 68px);
  padding: clamp(30px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  color: rgba(201, 169, 106, 0.72);
  font-size: clamp(24px, 4vw, 54px);
  line-height: 1;
}

.service-item h3 {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-family: var(--font-serif-ja);
  font-size: clamp(24px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.26;
}

.service-item p {
  max-width: 820px;
}

.text-button {
  display: inline-block;
  margin-top: 24px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

.section-works {
  min-height: 70vh;
  min-height: 70svh;
  background:
    linear-gradient(90deg, rgba(201, 169, 106, 0.08), transparent 28%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012));
}

.works-shell {
  display: grid;
  min-height: 46vh;
  min-height: 46svh;
  align-content: center;
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(280px, 0.44fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: center;
}

.works-note {
  position: relative;
  padding: clamp(28px, 5vw, 54px) 0 clamp(28px, 5vw, 54px) clamp(26px, 4vw, 54px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.works-note span {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.section-contact {
  background:
    radial-gradient(circle at 75% 40%, rgba(201, 169, 106, 0.11), transparent 22rem),
    #0d0d0f;
}

.contact-layout {
  align-items: end;
}

.contact-copy {
  max-width: 560px;
  margin-top: clamp(24px, 4vw, 42px);
}

.contact-action {
  display: block;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.contact-form {
  width: 100%;
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(18px, 3vw, 30px);
}

.form-field {
  position: relative;
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(237, 234, 227, 0.86);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.required-mark {
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(237, 234, 227, 0.22);
  border-radius: 0;
  color: var(--text);
  background: transparent;
  outline: 0;
  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}

.form-field input {
  min-height: 46px;
  padding: 8px 0 10px;
}

.form-field textarea {
  min-height: 190px;
  resize: vertical;
  padding: 12px 0;
  line-height: 1.75;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.025);
}

.form-error {
  min-height: 21px;
  margin: 6px 0 0;
  color: rgba(255, 170, 140, 0.92);
  font-size: 12px;
  line-height: 1.55;
}

.form-field-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 28px;
  padding: 13px 22px 14px;
  border: 1px solid rgba(201, 169, 106, 0.74);
  border-radius: 0;
  color: var(--bg);
  background: var(--gold);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.form-button:hover,
.form-button:focus-visible {
  border-color: rgba(237, 234, 227, 0.72);
  background: #d8bc82;
  transform: translateY(-1px);
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-button-secondary {
  color: var(--gold);
  background: transparent;
}

.form-button-secondary:hover,
.form-button-secondary:focus-visible {
  color: var(--bg);
}

.confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(201, 169, 106, 0.42);
  border-bottom: 1px solid var(--line);
}

.confirm-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) minmax(0, 0.7fr);
  gap: 18px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(237, 234, 227, 0.1);
}

.confirm-list div:last-child {
  border-bottom: 0;
}

.confirm-list dt,
.confirm-list dd {
  min-width: 0;
  margin: 0;
}

.confirm-list dt {
  color: rgba(201, 169, 106, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.confirm-list dd {
  color: rgba(237, 234, 227, 0.9);
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-complete {
  padding: clamp(28px, 5vw, 46px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.form-complete p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-serif-ja);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: rgba(237, 234, 227, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.form-status.is-error {
  color: rgba(255, 170, 140, 0.96);
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 34px 18px 42px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 16px;
}

.site-footer p {
  margin: 0;
}

.fade-in,
.reveal-hero {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 850ms ease,
    transform 850ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.reveal-hero:nth-child(1) {
  transition-delay: 90ms;
}

.hero-title .reveal-hero:nth-child(1) {
  transition-delay: 190ms;
}

.hero-title .reveal-hero:nth-child(2) {
  transition-delay: 300ms;
}

.hero-title .reveal-hero:nth-child(3) {
  transition-delay: 420ms;
}

.hero-copy .reveal-hero:nth-child(1) {
  transition-delay: 560ms;
}

.hero-copy .reveal-hero:nth-child(2) {
  transition-delay: 680ms;
}

.scroll-cue.reveal-hero {
  transition-delay: 780ms;
}

@media (max-width: 900px) {
  .site-header {
    gap: 16px;
    min-height: 68px;
  }

  .site-nav {
    gap: 14px;
    font-size: 15px;
  }

  .hero {
    min-height: 92vh;
    min-height: 92svh;
    padding-top: 108px;
  }

  .hero-title {
    flex-wrap: wrap;
    line-height: 0.86;
  }

  .hero-divider {
    width: clamp(36px, 18vw, 82px);
  }

  .hero-copy,
  .about-grid,
  .works-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-sub {
    max-width: 560px;
  }

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

  .proof-list div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-list div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.85;
  }

  .site-header {
    align-items: flex-start;
    gap: 8px;
    min-height: 74px;
    padding: 14px 16px 12px;
  }

  .site-header.is-scrolled {
    min-height: 70px;
  }

  .brand-symbol {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    flex: 1;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 91vh;
    min-height: 91svh;
    padding: 102px 16px 36px;
  }

  .hero::after {
    right: 16px;
    left: 16px;
  }

  .hero-glow {
    top: 18%;
    left: -18%;
  }

  .hero-title {
    display: block;
    font-size: clamp(68px, 19vw, 86px);
    line-height: 0.92;
  }

  .hero-divider {
    margin: 20px 0 18px;
  }

  .hero-copy {
    gap: 18px;
    margin-top: 36px;
  }

  .hero-tagline {
    font-size: clamp(30px, 9vw, 42px);
  }

  .scroll-cue {
    right: 16px;
    bottom: 20px;
    font-size: 14px;
  }

  .section {
    padding: 88px 16px;
  }

  .section-number {
    right: 8px;
    font-size: 118px;
  }

  .section-label {
    margin-bottom: 30px;
    font-size: 18px;
  }

  .section-heading {
    font-size: clamp(36px, 11vw, 48px);
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-index {
    font-size: 26px;
  }

  .service-item h3 {
    font-size: clamp(25px, 8vw, 36px);
  }

  .works-note {
    padding-left: 22px;
  }

  .contact-action {
    padding-top: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-field textarea {
    min-height: 170px;
  }

  .form-button {
    width: 100%;
    margin-top: 22px;
  }

  .form-actions {
    gap: 8px;
  }

  .confirm-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
