/* ==========================================================================
   ALFA-TULS TOV — magazine-split
   Bone paper, ink navy, copper. Split spreads, folio numbers, hairline rules.
   ========================================================================== */

:root {
  --bg: #f3ecdf;
  --bg-alt: #e7dfd0;
  --bg-deep: #1b2838;
  --ink: #1c1914;
  --ink-soft: #5c564c;
  --ink-invert: #f6f1e8;
  --accent: #a3471c;
  --accent-soft: #f3e0d2;
  --line: #d4cbb8;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tracking-display: -0.03em;
  --radius: 0;
  --radius-lg: 0;
  --shadow: none;
  --container: 1180px;
  --section-y: clamp(3.2rem, 1.6rem + 5vw, 6.2rem);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

section[id] {
  scroll-margin-top: 4.75rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header__brand::before {
  content: "";
  width: 0.55rem;
  height: 1.15rem;
  background: var(--bg-deep);
  box-shadow: 0.28rem 0 0 var(--accent);
}

.nav a {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.8;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Hero: full-bleed split --- */
.hero {
  display: grid;
  background: var(--bg);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 4.5rem) clamp(1.25rem, 4vw, 4rem);
}

.hero h1 {
  max-width: 12ch;
  font-weight: 600;
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.1rem);
  line-height: 0.96;
}

.hero .lede {
  max-width: 38rem;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__media {
  position: relative;
  margin: 0;
  min-height: 16rem;
  background: var(--bg-deep);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero__media figcaption,
.rooms__photo figcaption,
.about__photo figcaption,
.bench__photo figcaption,
.visit__photo figcaption,
.about__still figcaption {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.7rem 1rem;
  background: color-mix(in srgb, var(--bg-deep) 78%, transparent);
  color: var(--ink-invert);
}

/* --- Rooms: sticky photo + numbered index --- */
.rooms__lede {
  max-width: 36rem;
  margin-top: 0.75rem;
}

.rooms__photo {
  margin: 0 0 1.5rem;
}

.rooms__photo img,
.about__photo img,
.bench__photo img,
.visit__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.rooms__photo figcaption,
.about__photo figcaption,
.bench__photo figcaption,
.visit__photo figcaption {
  margin-top: 0.55rem;
}

.room-list {
  margin-top: 1.75rem;
}

.room {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.room:last-child {
  border-bottom: 1px solid var(--line);
}

.room__no {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--accent);
  line-height: 1.2;
}

.room h3 {
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}

/* --- Services: contents table, not equal cards --- */
.lines__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.lines__head .lede {
  margin-top: 0.8rem;
}

.line-table {
  border-top: 1px solid var(--line);
}

.line {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.line h3 {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: var(--step-1);
  margin-bottom: 0.45rem;
}

.line h3 span {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

.line--wide h3 {
  font-size: var(--step-2);
}

/* --- Lifetime folio on navy --- */
.life {
  background: var(--bg-deep);
  color: var(--ink-invert);
  padding-block: var(--section-y);
}

.life .eyebrow {
  color: var(--accent-soft);
}

.life__head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.life__head p:last-child {
  margin-top: 0.9rem;
  color: color-mix(in srgb, var(--ink-invert) 78%, transparent);
}

.life__steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink-invert) 28%, transparent);
}

.life__steps li {
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink-invert) 22%, transparent);
}

.life__steps span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-soft);
  margin-bottom: 0.35rem;
}

.life__steps h3 {
  font-size: var(--step-1);
  margin-bottom: 0.4rem;
}

.life__steps p {
  color: color-mix(in srgb, var(--ink-invert) 78%, transparent);
  font-size: var(--step--1);
}

/* --- About --- */
.about__grid p + p {
  margin-top: 1em;
}

.about__pull {
  margin: 1.5rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

.about__photo {
  margin: 2rem 0 0;
}

.about__still {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
}

.about__still img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.about__still figcaption {
  padding-top: 0.6rem;
}

.about a {
  color: var(--accent);
}

/* --- Bench split --- */
.bench__photo {
  margin: 0 0 1.5rem;
}

/* --- Visit --- */
.visit__photo {
  margin: 1.5rem 0 0;
}

.visit__rail {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.visit__rail h3 {
  font-size: var(--step-1);
  margin-bottom: 1rem;
}

.visit__rail dl {
  display: grid;
  gap: 1rem;
}

.visit__rail dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.visit__rail dd {
  margin: 0.2rem 0 0;
}

.visit__rail a {
  color: var(--accent);
}

/* --- FAQ --- */
.faq h2 {
  margin-bottom: 1.5rem;
}

.faq__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq__list article {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.faq__list h3 {
  font-size: var(--step-1);
  margin-bottom: 0.4rem;
}

.faq a {
  color: var(--accent);
}

/* --- Contact split --- */
.contact__grid {
  display: grid;
}

.contact__info {
  background: var(--bg-deep);
  color: var(--ink-invert);
  padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.contact__info .eyebrow {
  color: var(--accent-soft);
}

.contact__info p {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: color-mix(in srgb, var(--ink-invert) 82%, transparent);
}

.contact__info address {
  margin-top: 1.75rem;
  font-style: normal;
}

.contact__info address p + p {
  margin-top: 1rem;
}

.contact__info a {
  color: var(--ink-invert);
}

.contact__form {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--bg);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-deep);
  color: var(--ink-invert);
  border-top: none;
}

.footer__grid {
  display: grid;
  gap: 1.75rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--step-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: var(--ink-invert);
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
}

.site-footer nav a {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--step--1);
  opacity: 0.85;
}

.site-footer nav a:hover {
  opacity: 1;
}

.site-footer__bottom {
  border-top-color: color-mix(in srgb, var(--ink-invert) 22%, transparent);
  color: color-mix(in srgb, var(--ink-invert) 68%, transparent);
}

/* --- 768 --- */
@media (min-width: 760px) {
  .line-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .line {
    padding: 1.5rem 1.25rem 1.5rem 0;
  }

  .line:nth-child(odd):not(.line--wide) {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
  }

  .line--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 1.5rem;
    align-items: start;
    padding-right: 0;
    padding-left: 0;
    border-left: none;
  }

  .faq__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .faq__list article:nth-child(odd) {
    padding-right: 1rem;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 0.8fr 1fr;
    align-items: start;
  }
}

/* --- 960: magazine spreads --- */
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: calc(100svh - 4.5rem);
  }

  .hero__copy {
    min-height: 100%;
    padding-top: 6rem;
  }

  .hero__media {
    min-height: 100%;
  }

  .hero__media img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
  }

  .rooms__grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: start;
  }

  .rooms__photo {
    position: sticky;
    top: 5.5rem;
    margin: 0;
  }

  .rooms__photo img {
    max-height: calc(100svh - 7rem);
    width: 100%;
    object-fit: cover;
  }

  .about__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }

  .about__photo {
    margin: 0;
    position: sticky;
    top: 5.5rem;
  }

  .bench__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
  }

  .bench__photo {
    margin: 0;
  }

  .visit__grid {
    display: grid;
    grid-template-columns: 1.45fr 0.7fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }

  .visit__rail {
    margin-top: 0;
    padding-top: 0;
    padding-left: 1.5rem;
    border-top: none;
    border-left: 1px solid var(--line);
    position: sticky;
    top: 6rem;
  }

  .contact__grid {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 32rem;
  }
}

/* --- 1100: five-step folio --- */
@media (min-width: 1100px) {
  .life__steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: none;
    border-left: none;
  }

  .life__steps li {
    padding: 0 1.1rem 0.2rem;
    border-bottom: none;
    border-left: 1px solid color-mix(in srgb, var(--ink-invert) 28%, transparent);
  }

  .life__steps li:first-child {
    padding-left: 0;
    border-left: none;
  }
}

@media (min-width: 1440px) {
  .hero h1 {
    font-size: 5.4rem;
  }
}
