/* ============================================================
   Elvira Lagji — Cello
   Static, fast, print-friendly. No build step required.
   ============================================================ */

:root {
  --ink: #1c1612;
  --ink-soft: #3a3028;
  --wine: #4a1e28;
  --burgundy: #6b2c38;
  --gold: #b08958;
  --gold-bright: #d4b483;
  --gold-dim: rgba(176, 137, 88, 0.28);
  --ivory: #f7f1e6;
  --paper: #f3ece0;
  --cream: #e8dcc8;
  --white: #fffdf8;
  --muted: #74675a;
  --line: rgba(28, 22, 18, 0.1);
  --line-gold: rgba(176, 137, 88, 0.45);
  --shadow: 0 24px 60px -28px rgba(28, 22, 18, 0.45);
  --radius: 2px;
  --header-h: 4.75rem;
  --max: 1180px;
  --measure: 38rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 40rem;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 241, 230, 0.45);
}
.btn-ghost:hover {
  background: rgba(247, 241, 230, 0.08);
  border-color: var(--ivory);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}
.btn-wine {
  background: var(--wine);
  color: var(--ivory);
  border-color: var(--wine);
}
.btn-wine:hover { background: var(--burgundy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(18, 12, 10, 0.55), transparent);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open,
.page-inner .site-header {
  background: rgba(28, 22, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(176, 137, 88, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  color: var(--gold-bright);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.18rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.82);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ivory); }
.nav-cta {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--gold);
  color: var(--gold-bright) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.header-phone {
  display: none;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.35rem;
  height: 1.4px;
  background: var(--ivory);
  position: relative;
  margin: 0 auto;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 920px) {
  .header-phone { display: inline; }
}
@media (max-width: 819px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(28, 22, 18, 0.96);
    border-bottom: 1px solid var(--gold-dim);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid rgba(247, 241, 230, 0.08); }
  .nav-cta { margin-top: 0.6rem; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 10, 0.78) 0%, rgba(18, 12, 10, 0.42) 48%, rgba(18, 12, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(18, 12, 10, 0.35) 0%, transparent 28%, rgba(18, 12, 10, 0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 8.5rem 0 4.5rem;
  max-width: 40rem;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  margin: 1rem 0 1.2rem;
}
.hero .lede { color: rgba(247, 241, 230, 0.86); }
.hero .btn-row { margin-top: 2rem; }

.page-hero {
  position: relative;
  min-height: 56svh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}
.page-hero .hero-media::after {
  background:
    linear-gradient(180deg, rgba(18, 12, 10, 0.25) 0%, rgba(18, 12, 10, 0.62) 100%);
}
.page-hero .hero-content { padding: 8rem 0 3.2rem; max-width: 46rem; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0.7rem 0 0.8rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-dark {
  background: var(--ink);
  color: var(--ivory);
}
.section-paper { background: var(--white); }
.section-wine { background: var(--wine); color: var(--ivory); }
.kicker { margin-bottom: 0.85rem; }
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse .split-copy { order: 2; }
}
.section h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin: 0 0 1rem;
}
.section h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}
.prose p + p { margin-top: 1rem; }
.prose p { max-width: var(--measure); color: var(--ink-soft); }
.section-dark .prose p,
.section-wine .prose p { color: rgba(247, 241, 230, 0.8); }

.frame {
  position: relative;
}
.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.frame.wide img { aspect-ratio: 16 / 10; }
.frame.portrait img {
  aspect-ratio: 1 / 1;
  object-position: center 12%;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(232, 213, 176, 0.45);
  pointer-events: none;
}
.caption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid rgba(176, 137, 88, 0.25);
  border-bottom: 1px solid rgba(176, 137, 88, 0.25);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1rem;
  padding: 2.2rem 0;
}
@media (min-width: 800px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.trust-item span {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(247, 241, 230, 0.72);
}

/* ---------- Path cards ---------- */
.paths {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .paths { grid-template-columns: 1fr 1fr; }
}
.path-card {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  color: var(--ivory);
  text-decoration: none;
  display: flex;
  align-items: flex-end;
}
.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.path-card:hover img { transform: scale(1.05); }
.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 12, 10, 0.05) 20%, rgba(18, 12, 10, 0.78) 100%);
}
.path-body {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.path-body h2 { font-size: 2.4rem; margin-bottom: 0.5rem; }
.path-body p { color: rgba(247, 241, 230, 0.84); max-width: 28rem; }
.path-link {
  display: inline-flex;
  margin-top: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- Feature list ---------- */
.features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.4rem;
}
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  padding-top: 1rem;
  border-top: 1px solid var(--line-gold);
}
.feature h3 { margin-bottom: 0.55rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

.list-plain {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.list-plain li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.3rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 1px;
  background: var(--gold);
}

/* ---------- Quote ---------- */
.pull {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  max-width: 22ch;
  color: var(--ink);
}
.section-dark .pull,
.section-wine .pull { color: var(--ivory); }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.15rem 2rem 1.15rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.35rem;
  position: relative;
}
.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 1.2rem;
}
.faq-item[open] button::after { content: "–"; }
.faq-item .answer {
  display: none;
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}
.faq-item.is-open .answer { display: block; }
.section-dark .faq-item,
.section-wine .faq-item { border-color: rgba(247, 241, 230, 0.14); }
.section-dark .faq-item button,
.section-wine .faq-item button { color: var(--ivory); }
.section-dark .faq-item .answer,
.section-wine .faq-item .answer { color: rgba(247, 241, 230, 0.8); }

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.form-tab {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.9rem 0.6rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.form-tab:hover { border-color: var(--gold); }
.form-tab strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.form-tab span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.form-tab[aria-selected="true"] span { color: var(--gold-bright); }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.8rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #e8f0e4;
  border: 1px solid #b7c9aa;
}
.form-status.error { background: #f7e6e4; border-color: #d4aaa4; }
.form-status.is-visible { display: block; }

/* ---------- Contact split ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
.contact-aside a {
  color: var(--wine);
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
}
.portrait-mini {
  width: 8.2rem;
  margin: 0 0 1.3rem;
}
.portrait-mini::after { inset: 0.35rem; }
.portrait-mini img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 12%;
  box-shadow: var(--shadow);
}
.contact-lines { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.contact-lines li { margin-bottom: 1rem; }
.contact-lines span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-lines a { font-size: 1.15rem; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.map-embed {
  margin-top: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 16rem;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #140f0c;
  color: rgba(247, 241, 230, 0.78);
  padding: 3.5rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(176, 137, 88, 0.2);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  font-size: 2rem;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.6rem;
}
.footer-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.2rem;
  font-size: 0.78rem;
  color: rgba(247, 241, 230, 0.5);
}

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(28, 22, 18, 0.96);
  border-top: 1px solid var(--gold-dim);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.45rem;
}
.mobile-cta a {
  text-decoration: none;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 0.3rem;
  color: var(--ivory);
  border: 1px solid rgba(247, 241, 230, 0.18);
}
.mobile-cta a.call {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
@media (max-width: 819px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 4.6rem; }
}

/* ---------- Thank you / 404 ---------- */
.simple-page {
  min-height: 80svh;
  display: grid;
  align-items: center;
  padding: 8rem 0 4rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) forwards;
}
.hero-content.reveal { animation-delay: 0.15s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .nav-toggle, .hero-media, .btn-row, form { display: none !important; }
  body { background: white; color: black; }
  a[href^="tel"], a[href^="mailto"] { color: black; }
}
