:root {
  --av-main: #3B2742;
  --av-deep: #2A1A2E;
  --av-secondary: #6B4A6E;
  --av-accent: #C47A9A;
  --av-gold: #D4AF7A;
  --av-sub: #8A728C;
  --av-light: #E9C5D7;
  --av-cream: #F7F2E9;
  --av-border: rgba(212, 175, 122, .45);
  --av-white-soft: rgba(247, 242, 233, .88);
  --av-heading: "Cormorant Garamond", "Yu Mincho", "游明朝", serif;
  --av-body: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --shadow: 0 24px 72px rgba(18, 7, 22, .42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--av-main);
  color: var(--av-cream);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(59, 39, 66, .97) 0%, rgba(42, 26, 46, .99) 48%, #201326 100%),
    var(--av-main);
  color: var(--av-cream);
  font-family: var(--av-body);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(247, 242, 233, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 233, .018) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px 52px;
  background: linear-gradient(180deg, rgba(28, 12, 33, .86), rgba(28, 12, 33, .18));
  color: var(--av-cream);
}

.site-brand {
  color: var(--av-gold);
  font-family: var(--av-heading);
  font-size: 2rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(247, 242, 233, .86);
  font-family: var(--av-heading);
  font-size: 1rem;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--av-gold);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 122, .2);
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
}

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

.hero__veil {
  background:
    linear-gradient(90deg, rgba(20, 8, 25, .9) 0%, rgba(32, 15, 38, .76) 42%, rgba(32, 15, 38, .28) 72%, rgba(20, 8, 25, .56) 100%),
    linear-gradient(180deg, rgba(20, 8, 25, .18), rgba(20, 8, 25, .54));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 80px));
  margin: 0 auto;
  padding: 136px 0 80px;
}

.hero__label {
  margin: 0 0 22px;
  color: var(--av-gold);
  font-family: var(--av-heading);
  font-size: 1.4rem;
  font-weight: 300;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  margin: 0 0 32px;
  color: var(--av-cream);
  font-family: var(--av-heading);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.28;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .5);
}

.copy-block {
  color: rgba(247, 242, 233, .9);
  font-size: 1rem;
  line-height: 2.05;
}

.copy-block p {
  margin: 0 0 1.25em;
}

.copy-block--hero {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(247, 242, 233, .92);
  font-size: 1.1rem;
}

.lead-copy {
  color: var(--av-light);
  font-size: 1.5rem;
  line-height: 1.8;
}

.cta,
.submit-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--av-gold);
  border-radius: 999px;
  background: var(--av-gold);
  color: var(--av-deep);
  font-family: "Yu Mincho", "游明朝", var(--av-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(16, 7, 20, .28);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cta:hover,
.cta:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  border-color: var(--av-accent);
  background: var(--av-accent);
  color: var(--av-cream);
  transform: translateY(-1px);
}

.story-section,
.service-section,
.faq-section,
.contact-section {
  padding: 104px 0;
}

.story-section:nth-of-type(even),
.faq-section {
  background: rgba(42, 26, 46, .45);
}

.section-inner {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

.split,
.profile-grid,
.service-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split--reverse .section-image,
.service-card--reverse .section-image {
  order: 2;
}

.section-image,
.profile-photo,
.closing-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--av-border);
  border-radius: 8px;
  background: var(--av-deep);
  box-shadow: var(--shadow);
}

.section-image img,
.closing-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 45%;
}

.steps h2,
.profile-section h2,
.service-card h2,
.contact-form h2 {
  margin: 0 0 28px;
  color: var(--av-gold);
  font-family: "Yu Mincho", "游明朝", var(--av-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
}

.steps article {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(212, 175, 122, .28);
}

.steps h3 {
  margin: 0 0 18px;
  color: var(--av-light);
  font-family: "Yu Mincho", "游明朝", var(--av-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.profile-section {
  background:
    linear-gradient(180deg, rgba(59, 39, 66, .35), rgba(42, 26, 46, .72));
}

.profile-grid {
  align-items: start;
}

.profile-photo {
  position: sticky;
  top: 104px;
}

.service-card {
  padding: 34px;
  border: 1px solid rgba(212, 175, 122, .32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(107, 74, 110, .32), rgba(42, 26, 46, .62)),
    rgba(42, 26, 46, .76);
  box-shadow: var(--shadow);
}

.price {
  color: var(--av-gold);
  font-family: var(--av-heading);
  font-size: 1.75rem;
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-list article {
  padding: 22px 24px;
  border: 1px solid rgba(212, 175, 122, .3);
  border-radius: 8px;
  background: rgba(59, 39, 66, .62);
}

.faq-list h2 {
  margin: 0 0 12px;
  color: var(--av-gold);
  font-family: "Yu Mincho", "游明朝", var(--av-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.7;
}

.faq-list p {
  margin: 0;
  color: rgba(247, 242, 233, .9);
  font-size: .96rem;
  line-height: 1.95;
}

.closing-section {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 122, .16);
  border-bottom: 1px solid rgba(212, 175, 122, .16);
}

.closing-image {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
}

.closing-image img {
  height: 100%;
  aspect-ratio: auto;
  opacity: .55;
}

.closing-section::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 26, 46, .92), rgba(42, 26, 46, .5), rgba(42, 26, 46, .88)),
    linear-gradient(180deg, rgba(42, 26, 46, .3), rgba(42, 26, 46, .74));
  content: "";
}

.closing-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(42, 26, 46, .72), rgba(31, 18, 35, .96));
}

.contact-form {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--av-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(107, 74, 110, .5), rgba(59, 39, 66, .7)),
    rgba(107, 74, 110, .35);
  box-shadow: var(--shadow);
}

.form-candle {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
}

.contact-form h2 {
  text-align: center;
}

.form-message {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(212, 175, 122, .42);
  border-radius: 8px;
  background: rgba(42, 26, 46, .5);
  color: var(--av-cream);
  line-height: 1.9;
  white-space: pre-line;
}

.form-message.is-error {
  border-color: rgba(196, 122, 154, .72);
  color: var(--av-light);
}

.field,
.field-group {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.field span,
.field-group legend {
  color: rgba(247, 242, 233, .9);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--av-border);
  border-radius: 8px;
  background: var(--av-cream);
  color: var(--av-main);
  font-size: 1rem;
}

.field input {
  min-height: 50px;
  padding: 0 16px;
}

.field textarea {
  min-height: 168px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field-group input:focus-visible + span {
  outline: 2px solid rgba(212, 175, 122, .58);
  outline-offset: 2px;
}

.field-group {
  padding: 0;
  border: 0;
}

.field-group legend {
  margin-bottom: 12px;
}

.field-group label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 122, .26);
  border-radius: 8px;
  background: rgba(42, 26, 46, .28);
  color: rgba(247, 242, 233, .88);
  cursor: pointer;
}

.field-group input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--av-gold);
}

.submit-button {
  width: 100%;
  min-height: 58px;
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding: 38px 24px 102px;
  background: var(--av-deep);
  color: rgba(247, 242, 233, .76);
  text-align: center;
}

.site-footer p {
  width: 100%;
  margin: 0;
  color: var(--av-gold);
  font-family: var(--av-heading);
  font-size: 1.5rem;
}

@media (max-width: 1199px) {
  .site-header {
    padding: 18px 32px;
  }

  .section-inner,
  .hero__content {
    width: min(100% - 48px, 820px);
  }

  .split,
  .profile-grid,
  .service-card {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .split--reverse .section-image,
  .service-card--reverse .section-image {
    order: 0;
  }

  .profile-photo {
    position: static;
    max-width: 560px;
  }

  .service-card {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 18px 20px;
  }

  .site-brand {
    font-size: 1.65rem;
  }

  .site-nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
    font-size: .9rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(20, 8, 25, .72) 0%, rgba(20, 8, 25, .68) 42%, rgba(20, 8, 25, .92) 100%);
  }

  .hero__image img {
    object-position: 56% 50%;
  }

  .hero__content {
    width: min(100% - 36px, 520px);
    padding: 156px 0 56px;
  }

  .hero__label {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.45;
  }

  .copy-block,
  .faq-list p {
    font-size: .94rem;
    line-height: 1.95;
  }

  .copy-block--hero {
    font-size: .98rem;
  }

  .lead-copy {
    font-size: 1.2rem;
  }

  .cta {
    width: 100%;
  }

  .story-section,
  .service-section,
  .faq-section,
  .contact-section {
    padding: 72px 0;
  }

  .section-inner {
    width: min(100% - 32px, 520px);
  }

  .steps h2,
  .profile-section h2,
  .service-card h2,
  .contact-form h2 {
    font-size: 1.5rem;
  }

  .steps h3 {
    font-size: 1.1rem;
  }

  .service-card {
    padding: 20px;
  }

  .faq-list article {
    padding: 18px;
  }

  .faq-list h2 {
    font-size: 1rem;
  }

  .closing-section {
    min-height: 560px;
  }

  .contact-form {
    padding: 30px 18px;
  }

  .field input {
    min-height: 54px;
  }

  .field-group label {
    grid-template-columns: 22px minmax(0, 1fr);
  }
}
