/* ============ TOKENS ============ */
:root {
  --wine-950: #2a0509;
  --wine-900: #3a080d;
  --wine-800: #4b1014;
  --wine-700: #6b2229;
  --ivory: #fbf8f4;
  --cream: #f6efe9;
  --text-on-wine: rgba(255, 255, 255, 0.94);
  --text-muted-on-wine: rgba(255, 255, 255, 0.72);
  --border-soft: rgba(255, 255, 255, 0.16);

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-card: 24px;
  --radius-button: 999px;
  --container: 1180px;
  --tap-min: 44px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wine-950);
  color: var(--text-on-wine);
  font-family: var(--font-sans);
  font-size: clamp(16px, 3.6vw, 17px);
  line-height: 1.5;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

dl,
dt,
dd {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cream);
  color: var(--wine-950);
  padding: 12px 18px;
  border-radius: var(--radius-button);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* ============ HEADER ============ */
.site-header {
  position: relative;
  z-index: 100;
  padding: calc(18px + var(--safe-top)) 20px 18px;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 6vw, 30px);
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted-on-wine);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-tagline::before,
.brand-tagline::after {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--text-muted-on-wine);
}

.menu-toggle {
  flex-shrink: 0;
  width: var(--tap-min);
  height: var(--tap-min);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-button);
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-on-wine);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--wine-950);
  display: flex;
  flex-direction: column;
  padding: calc(18px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel-close {
  align-self: flex-end;
  flex-shrink: 0;
  width: var(--tap-min);
  height: var(--tap-min);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-family: var(--font-sans);
  cursor: pointer;
  margin-bottom: 40px;
}

.nav-panel nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav-panel nav a {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 40px);
  letter-spacing: 0.01em;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .nav-panel {
    inset: 0 0 0 auto;
    width: min(420px, 88vw);
    border-left: 1px solid var(--border-soft);
  }
}

/* ============ MAIN LAYOUT ============ */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  margin: 0 0 12px;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 941 / 685;
  min-height: 260px;
  background: var(--wine-900);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 2, 4, 0) 0%, rgba(16, 2, 4, 0) 36%, rgba(16, 2, 4, 0.5) 58%, rgba(16, 2, 4, 0.86) 80%, rgba(16, 2, 4, 0.95) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 20px 22px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  margin: 0 0 8px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 10vw, 68px);
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
}

.hero-divider {
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 10px 0;
}

.hero-subtitle {
  font-size: clamp(13px, 3.4vw, 17px);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin: 0;
  max-width: 320px;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .hero {
    aspect-ratio: 16 / 8;
    min-height: 620px;
  }

  .hero-content {
    padding: 0 64px 56px;
  }

  .hero-subtitle {
    max-width: 420px;
  }
}

/* ============ SERVICE CARDS ============ */
.offer-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin-bottom: 28px;
}

.offer-card {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  aspect-ratio: 2.15 / 1;
  min-height: 178px;
  background: var(--wine-800);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.offer-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30, 5, 8, 0.9) 0%, rgba(30, 5, 8, 0.68) 40%, rgba(30, 5, 8, 0.08) 66%);
}

.offer-card-body {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 6.4vw, 34px);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--cream);
  color: var(--wine-950);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-radius: var(--radius-button);
  min-height: var(--tap-min);
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.offer-cta:hover {
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .offer-cards {
    flex-direction: row;
  }

  .offer-card {
    aspect-ratio: auto;
    min-height: 480px;
    flex: 1;
  }

  .offer-card-body {
    width: 58%;
    padding: 44px 36px;
  }
}

/* ============ BOTTOM STATEMENT ============ */
.closing-statement {
  padding: 8px 20px calc(48px + var(--safe-bottom));
  text-align: center;
}

.closing-statement p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted-on-wine);
  margin: 0;
}

.closing-statement p::before,
.closing-statement p::after {
  content: "";
  flex: 1 1 40px;
  max-width: 72px;
  height: 1px;
  background: var(--border-soft);
}

/* ============ PAGE TITLE (masters) ============ */
.page-head {
  padding: 4px 20px 16px;
  max-width: var(--container);
  margin: 0 auto;
}

.page-eyebrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}

.page-eyebrow-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted-on-wine);
  white-space: nowrap;
}

.page-eyebrow-city {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted-on-wine);
  white-space: nowrap;
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(18px, 6vw, 28px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

/* ============ MASTER CARDS ============ */
.masters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 calc(40px + var(--safe-bottom));
  max-width: var(--container);
  margin: 0 auto;
}

.master-card {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--wine-800);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.master-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.master-card-photo--alexandra {
  object-position: 62% 32%;
}

.master-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 4, 6, 0.94) 0%, rgba(20, 4, 6, 0.86) 44%, rgba(20, 4, 6, 0.4) 62%, rgba(20, 4, 6, 0) 80%);
}

.master-card-content {
  position: relative;
  z-index: 2;
  width: 62%;
  padding: 18px 16px calc(16px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
}

.master-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.master-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid var(--border-soft);
  flex-shrink: 0;
  background: var(--wine-700);
}

.master-avatar--alexandra {
  object-position: 50% 38%;
}

.master-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(19px, 5.4vw, 24px);
  margin: 0 0 2px;
  line-height: 1.1;
}

.master-status {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-on-wine);
  margin: 0;
}

.master-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-on-wine);
  margin: 0 0 10px;
}

.master-time-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.price-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  font-size: 12.5px;
}

.price-row dt {
  color: var(--text-on-wine);
  max-width: 64%;
}

.price-row dd {
  color: var(--text-on-wine);
  font-weight: 600;
  white-space: nowrap;
}

.price-group + .price-group {
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
  padding-top: 4px;
}

.master-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cream);
  color: var(--wine-950);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 12px;
  border-radius: var(--radius-button);
  min-height: var(--tap-min);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.master-cta:hover {
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .masters {
    flex-direction: row;
    align-items: stretch;
  }

  .master-card {
    flex: 1;
    min-height: 480px;
  }

  .master-card-content {
    width: 56%;
    padding: 28px 24px calc(28px + var(--safe-bottom));
  }

  .master-avatar {
    width: 64px;
    height: 64px;
  }

  .master-name {
    font-size: clamp(22px, 3vw, 28px);
  }

  .price-row {
    font-size: 14px;
    padding: 6px 0;
  }

  .master-cta {
    font-size: 13px;
    padding: 16px 16px;
  }
}

