@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-normal-latin-ext-v38.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-normal-latin-v38.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-cyrillic-v9.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-latin-ext-v9.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-latin-v9.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pearl: #ebecee;
  --pearl-deep: #dddfe2;
  --ivory: #f3ecdf;
  --charcoal: #17130f;
  --charcoal-soft: #211a15;
  --ink: #17191d;
  --muted: #60646a;
  --gold: #d4af37;
  --champagne: #e2c868;
  --white: #fff;
  --line-dark: rgba(23, 19, 15, 0.14);
  --line-light: rgba(226, 200, 104, 0.26);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --page-gutter: clamp(20px, 4.8vw, 76px);
  --shell: min(1540px, calc(100vw - (2 * var(--page-gutter))));
}

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

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

body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: "Inter Tight", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where(main, section, article, header, footer, nav, div, ol, ul, li) {
  min-width: 0;
}

button,
a {
  font: inherit;
}

button {
  touch-action: manipulation;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--champagne);
  color: var(--charcoal);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: none;
}

.gold-rule {
  display: block;
  width: clamp(82px, 7vw, 124px);
  height: 3px;
  background: var(--champagne);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(32px, 4vw, 64px);
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  font:
    400 clamp(3.15rem, 5.35vw, 6.7rem)/0.9 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.section-heading .gold-rule {
  flex: 0 0 auto;
  margin-bottom: 0.42em;
}

/* Approved opening composition */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero__image,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center center;
}

.hero__scrim {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(13, 15, 18, 0.56) 0%,
      rgba(23, 19, 15, 0.25) 62%,
      rgba(23, 19, 15, 0.1) 100%
    ),
    rgba(23, 19, 15, 0.16);
}

.hero__content {
  position: absolute;
  left: clamp(48px, 6.4vw, 124px);
  bottom: clamp(96px, 18vh, 244px);
  width: min(78vw, 1100px);
}

.hero__label {
  margin: 0 0 26px;
  color: var(--ivory);
  font-size: clamp(1.25rem, 1.75vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 42px 0 0;
  font:
    400 clamp(5rem, 7.1vw, 9rem)/0.86 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* Offers */
.offers {
  min-height: 100svh;
  padding: clamp(84px, 9vw, 168px) 0 clamp(92px, 10vw, 184px);
  background: var(--pearl);
}

.offers__layout {
  display: grid;
  grid-template-columns: minmax(238px, 0.31fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 4.4vw, 78px);
}

.package-tabs {
  position: sticky;
  top: 24px;
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.package-tab {
  position: relative;
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 18px 22px 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    color 240ms ease,
    padding-left 360ms var(--spring),
    background-color 240ms ease;
}

.package-tab::before {
  content: "";
  position: absolute;
  inset: -1px 0 -1px -18px;
  z-index: -1;
  background: var(--charcoal-soft);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 360ms var(--spring);
}

.package-tab:hover {
  padding-left: 10px;
}

.package-tab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.package-tab[aria-selected="true"] {
  z-index: 0;
  padding-left: 12px;
  color: var(--white);
}

.package-tab[aria-selected="true"]::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.package-tab__name {
  font:
    400 clamp(1.25rem, 1.55vw, 1.8rem)/1.05 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -0.02em;
}

.package-tab__price {
  display: grid;
  justify-items: end;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.package-tab__price strong {
  font-size: 1.12rem;
  font-weight: 600;
}

.package-tab__price small {
  margin-top: 5px;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.package-tab[aria-selected="true"] .package-tab__price {
  color: var(--champagne);
}

.package-detail {
  min-width: 0;
  background: var(--charcoal-soft);
  color: var(--white);
  border-top: 5px solid var(--champagne);
  box-shadow: 0 26px 70px rgba(30, 24, 18, 0.15);
}

.package-detail:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.package-detail.is-changing {
  animation: package-in 390ms var(--spring) both;
}

.package-detail__header {
  min-height: 166px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(32px, 3.25vw, 58px);
  border-bottom: 1px solid var(--line-light);
}

.package-detail__header h3 {
  margin: 0;
  color: var(--white);
  font:
    400 clamp(2.55rem, 4.4vw, 5.5rem)/0.86 "Fraunces",
    Georgia,
    serif;
  letter-spacing: -0.045em;
}

.package-detail__deadline {
  margin: 22px 0 0;
  color: #d8d0c5;
  font-size: clamp(0.95rem, 1.05vw, 1.15rem);
  line-height: 1.4;
}

.package-detail__price {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  margin: 0;
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.package-detail__price strong {
  font-size: clamp(2.8rem, 4.25vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.package-detail__price span {
  margin-top: 9px;
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.055em;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 4vw, 70px);
  margin: 0;
  padding: clamp(28px, 3.2vw, 56px);
  list-style: none;
  counter-reset: offer-item;
}

.package-list li {
  counter-increment: offer-item;
  min-width: 0;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(226, 200, 104, 0.13);
  color: #eee9e1;
  font-size: clamp(0.9rem, 0.92vw, 1.05rem);
  line-height: 1.42;
}

.package-list li::before {
  content: counter(offer-item, decimal-leading-zero);
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* Advantages: one section for both difference and advantage content */
.advantages {
  padding: clamp(90px, 10vw, 190px) 0 clamp(58px, 5vw, 88px);
  background: var(--charcoal);
  color: var(--white);
}

.section-heading--light h2 {
  color: var(--white);
}

.advantages__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
  counter-reset: advantage;
}

.advantage {
  counter-increment: advantage;
  display: grid;
  grid-template-columns: minmax(52px, 0.11fr) minmax(250px, 0.38fr) minmax(0, 0.72fr);
  align-items: start;
  gap: clamp(24px, 3.4vw, 64px);
  padding: clamp(28px, 3.3vw, 58px) 0;
  border-bottom: 1px solid var(--line-light);
}

.advantage::before {
  content: counter(advantage, decimal-leading-zero);
  color: var(--champagne);
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.advantage h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.advantage p {
  max-width: 720px;
  margin: -0.2em 0 0;
  color: #d7d0c7;
  font-size: clamp(1rem, 1.18vw, 1.35rem);
  line-height: 1.55;
}

.footer {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(226, 200, 104, 0.24);
  padding: clamp(28px, 3vw, 44px) clamp(28px, 6vw, 112px) clamp(32px, 3.5vw, 52px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(205, 135, 99, 0.09), transparent 54%),
    linear-gradient(180deg, #100d0a 0%, #0b0907 100%);
  color: var(--ivory);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.footer__logo {
  position: relative;
  z-index: 1;
  width: min(86vw, 960px);
  max-width: 960px;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

@keyframes package-in {
  from {
    opacity: 0.55;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(90vw, 980px);
  }

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

  .package-tabs {
    position: static;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-bottom: 1px solid var(--line-dark);
  }

  .package-tab {
    min-height: 112px;
    grid-template-columns: 1fr;
    align-content: center;
    border-right: 1px solid var(--line-dark);
    border-bottom: 0;
    padding: 18px;
    grid-column: span 2;
  }

  .package-tab:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .package-tab:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .package-tab:last-child {
    border-right: 0;
  }

  .package-tab::before {
    inset: -1px;
    transform-origin: center bottom;
  }

  .package-tab:hover,
  .package-tab[aria-selected="true"] {
    padding-left: 18px;
  }

  .package-tab__price {
    justify-items: start;
  }
}

@media (min-width: 1101px) and (max-width: 1439px) {
}

@media (min-width: 1101px) and (max-width: 1279px) {
}

@media (max-width: 800px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  .section-heading {
    display: grid;
    justify-items: start;
  }

  .hero__content {
    left: 24px;
    bottom: 72px;
    width: calc(100vw - 48px);
  }

  .hero h1 {
    font-size: clamp(4.25rem, 19vw, 7rem);
  }

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

  .package-tab:nth-child(2) {
    border-right: 0;
  }

  .package-tab:nth-child(4) {
    grid-column: auto;
    border-right: 0;
  }

  .package-tab:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .package-tab:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line-dark);
  }

  .package-detail__header {
    display: grid;
  }

  .package-detail__price {
    justify-items: start;
  }

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

  .advantage {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .advantage p {
    grid-column: 2;
    margin-top: -8px;
  }
}

@media (max-width: 480px) {
  .package-tab__name {
    font-size: 1.08rem;
  }

  .package-detail__header,
  .package-list {
    padding-inline: 22px;
  }

  .advantage {
    gap: 14px;
  }
}

@media (max-width: 360px) {
  .package-tabs {
    grid-template-columns: 1fr;
  }

  .package-tab,
  .package-tab:nth-child(4),
  .package-tab:nth-child(5) {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .package-tab:last-child {
    border-bottom: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* LC-AVANT-002: content-preserving rhythm and reflow refinement. */
.hero {
  min-height: min(880px, calc(100svh - var(--chrome-header-height)));
}

.hero__content {
  left: var(--page-gutter);
  bottom: clamp(64px, 11vh, 132px);
  width: min(74rem, calc(100vw - (2 * var(--page-gutter))));
}

.hero h1 {
  font-size: clamp(4.5rem, 7vw, 8rem);
  line-height: 0.9;
}

.offers {
  min-height: 0;
  padding: clamp(72px, 7vw, 124px) 0 clamp(76px, 7.5vw, 132px);
}

.section-heading {
  gap: clamp(20px, 3vw, 48px);
  padding-bottom: clamp(28px, 3vw, 48px);
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 4.8vw, 5.5rem);
  line-height: 0.94;
}

.offers__layout {
  gap: clamp(28px, 3.8vw, 64px);
}

.package-tab {
  min-height: 94px;
  padding-block: 18px;
}

.package-detail__header {
  min-height: 148px;
  padding: clamp(28px, 2.8vw, 48px);
}

.package-detail__header h3 {
  font-size: clamp(2.4rem, 3.8vw, 4.75rem);
  line-height: 0.92;
  text-wrap: balance;
}

.package-list {
  column-gap: clamp(28px, 3vw, 52px);
  padding: clamp(26px, 2.8vw, 46px);
}

.package-list li {
  padding-block: 13px;
  line-height: 1.48;
}

.advantages {
  padding: clamp(72px, 7vw, 124px) 0 clamp(54px, 5vw, 84px);
}

.advantage {
  grid-template-columns: minmax(44px, 0.09fr) minmax(200px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(22px, 3vw, 52px);
  padding: clamp(26px, 2.8vw, 46px) 0;
}

.advantage h3,
.advantage p {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  :root {
    --shell: min(980px, calc(100vw - (2 * var(--page-gutter))));
  }

  .package-tab {
    min-height: 102px;
  }
}

@media (max-width: 800px) {
  :root {
    --page-gutter: clamp(18px, 5.2vw, 32px);
    --shell: calc(100vw - (2 * var(--page-gutter)));
  }

  .hero {
    min-height: min(720px, calc(100svh - var(--chrome-header-height)));
  }

  .hero__content {
    left: var(--page-gutter);
    bottom: clamp(48px, 9vh, 76px);
    width: var(--shell);
  }

  .hero h1 {
    font-size: min(6.3rem, 18vw);
    line-height: 0.92;
    overflow-wrap: anywhere;
  }

  .section-heading h2 {
    max-width: 100%;
    font-size: min(4.2rem, 11vw);
    line-height: 0.98;
  }

  .package-detail__header {
    gap: 22px;
  }

  .advantage {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 18px;
  }

  .section-heading {
    gap: 18px;
  }

  .section-heading h2 {
    font-size: clamp(2.35rem, 11.4vw, 3.25rem);
  }

  .package-tab {
    min-height: 96px;
    padding-inline: 14px;
  }

  .package-tab:hover,
  .package-tab[aria-selected="true"] {
    padding-left: 14px;
  }

  .package-detail__header,
  .package-list {
    padding-inline: 20px;
  }

  .package-detail__header h3 {
    font-size: min(3.1rem, 12vw);
    overflow-wrap: anywhere;
  }

  .advantage {
    gap: 12px;
  }

  .advantage p {
    margin-top: -4px;
  }

  :is(.package-list, .advantage) :is(li, span, p, h3, h4) {
    overflow-wrap: anywhere;
  }
}

/* LC-AVANT-003: package media and material strip */
.package-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 36%);
  align-items: stretch;
  border-bottom: 1px solid var(--line-light);
}

.package-detail__top .package-detail__header {
  border-bottom: 0;
}

.package-detail__media {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-left: 1px solid var(--line-light);
  background: var(--charcoal);
}

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

.materials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px);
  margin: 0 0 clamp(40px, 4.5vw, 72px);
}

.materials img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 800px) {
  .package-detail__top {
    grid-template-columns: 1fr;
  }

  .package-detail__media {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }
}

/* LC-SITE-020: audit fixes — appointment CTAs, mobile tab row, mobile hero split */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 30px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--charcoal);
  font:
    600 clamp(0.95rem, 1vw, 1.05rem)/1.15 "Inter Tight",
    Arial,
    sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.cta-button:hover {
  background: var(--champagne);
  border-color: var(--champagne);
}

.cta-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.hero__cta {
  margin-top: clamp(26px, 3.4vw, 40px);
}

.package-detail__cta {
  display: flex;
  padding: 0 clamp(28px, 3.2vw, 56px) clamp(28px, 3.2vw, 56px);
}

.closing-cta {
  display: grid;
  place-items: center;
  padding: clamp(56px, 6vw, 96px) 0;
  background: var(--charcoal);
}

@media (max-width: 800px) {
  .package-detail__cta {
    padding: 0 clamp(20px, 5.2vw, 32px) clamp(20px, 5.2vw, 32px);
  }
}

/* Mobile package tabs: horizontal scroll-snap row above the detail card */
@media (max-width: 800px) {
  .package-tabs {
    position: static;
    display: flex;
    grid-template-columns: none;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-top: 0;
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 2px;
  }

  .package-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    min-width: 176px;
    padding: 10px 16px;
    border: 0;
    border-right: 1px solid var(--line-dark);
  }

  .package-tab:last-child {
    border-right: 0;
  }

  .package-tab::before {
    inset: -1px 0;
    transform-origin: left center;
  }

  .package-tab__name {
    font-size: 1rem;
    line-height: 1.1;
  }

  .package-tab__price {
    justify-items: end;
  }

  .package-tab__price strong {
    font-size: 0.92rem;
  }

  .package-tab__price small {
    margin-top: 2px;
    font-size: 0.66rem;
  }
}

/* Mobile hero: explicit before/after two-image stack instead of a single cropped image */
.hero__half {
  display: none;
  z-index: -3;
}

@media (max-width: 768px) {
  .hero__image {
    display: none;
  }

  .hero__half {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    object-fit: cover;
  }

  .hero__half--before {
    top: 0;
    object-position: left center;
  }

  .hero__half--after {
    bottom: 0;
    object-position: right center;
  }
}
