/* Veena Manchanda: shared site styles. Tokens from the Veena Manchanda Design System.
   A deliberate single light (ivory) look. */
:root {
  --plum: #4A2340;
  --plum-deep: #2E1528;
  --plum-raised: #3D1E36;
  --rose: #B76E79;
  --rose-ink: #6B3A5C;
  --gold: #B8892F;
  --gold-soft: #E9C98C;
  --gold-ink: #8A5A2B;
  --thread-light: #FBF1DC;
  --ivory: #F7F1E8;
  --paper: #FFFDF9;
  --sand: #EADCCB;
  --line: #E5D9C8;
  --ink: #3A2A35;
  --ink-muted: #6B5A63;
  --blush: #EBDDE3;
  --sunset-1: #3B1F4E; --sunset-2: #553068; --sunset-3: #71437A; --sunset-4: #8E567F;
  --sunset-5: #AD6A7A; --sunset-6: #C98872; --sunset-7: #E1AE72;
  --font-display: Marcellus, Georgia, "Times New Roman", serif;
  --font-text: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --radius-md: 12px;
  --radius-pill: 999px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--ivory); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--plum); margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 14px; z-index: 10; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.lead { font-size: 20px; line-height: 1.65; font-weight: 300; }
.muted { color: var(--ink-muted); }
.thread { display: block; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill); font-family: var(--font-text); font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid var(--plum); cursor: pointer; text-align: center; }
.btn-primary { background: var(--plum); color: var(--ivory); }
.btn-primary:hover { background: var(--plum-deep); color: var(--ivory); }
.btn-secondary { background: transparent; color: var(--plum); }
.btn-secondary:hover { background: var(--paper); }
.btn-gold { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--plum-deep); }
.btn-gold:hover { background: var(--thread-light); color: var(--plum-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 20px; }
.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; gap: 2px; }
.wordmark span { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.2em; color: var(--plum); line-height: 1; }
.wordmark .thread { stroke-width: 2.4; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 16px; }
.nav a:not(.btn) { text-decoration: none; padding-block: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* Page intro */
.intro .wrap { padding-block: 64px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.intro h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.1; }
.intro .sub { font-size: 20px; font-style: italic; font-weight: 300; color: var(--rose-ink); max-width: 34em; }
.intro .lead { max-width: 36em; }

/* Hero (home) */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-block: 64px 80px; }
.hero-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.12; }
.hero .lead { max-width: 34em; }

/* The archway with the seven-colour sunset */
.arch { flex: 1 1 280px; max-width: 380px; aspect-ratio: 5 / 6; margin: 8px auto; position: relative; border-radius: 50% 50% 0 0 / 41.7% 41.7% 0 0; overflow: hidden; outline: 1px solid var(--gold); outline-offset: 8px; display: flex; flex-direction: column; }
.arch i { flex: 1 1 0; }
.arch i:nth-child(1) { background: var(--sunset-1); } .arch i:nth-child(2) { background: var(--sunset-2); }
.arch i:nth-child(3) { background: var(--sunset-3); } .arch i:nth-child(4) { background: var(--sunset-4); }
.arch i:nth-child(5) { background: var(--sunset-5); } .arch i:nth-child(6) { background: var(--sunset-6); }
.arch i:nth-child(7) { background: var(--sunset-7); }
.arch .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch .stars circle { fill: var(--ivory); }

/* Sections */
.band { background: var(--paper); border-block: 1px solid var(--line); }
.section .wrap { padding-block: 72px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.2; }
.section-head p { max-width: 36em; color: var(--ink-muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card { background: var(--ivory); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.band .card { background: var(--ivory); }
.section:not(.band) .card { background: var(--paper); border: 1px solid var(--line); }
.card h2, .card h3 { font-size: 27px; line-height: 1.25; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card dl { margin: 0; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.card dt { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.card dd { margin: 2px 0 0; }
.price { font-family: var(--font-display); font-size: 26px; color: var(--plum); }
.price small { font-family: var(--font-text); font-size: 15px; color: var(--ink-muted); }

/* Two-column text */
.split .wrap { padding-block: 80px; display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.split .col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split h2 { font-size: clamp(30px, 3.4vw, 38px); }
blockquote.quote { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 32px); line-height: 1.35; color: var(--plum); }
.dots { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dots li { display: flex; gap: 14px; align-items: baseline; }
.dots li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.dots.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 24px; }

/* Plum band with the journey line */
.plum { background: var(--plum); color: var(--ivory); }
.plum .wrap { padding-block: 80px; display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.plum .col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.plum .eyebrow { color: var(--gold-soft); }
.plum h2 { color: var(--ivory); font-size: clamp(32px, 4vw, 44px); line-height: 1.12; }
.plum p { color: var(--blush); }
.plum a:not(.btn) { color: var(--gold-soft); }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.facts li { border-top: 1px solid rgba(233, 201, 140, 0.45); padding-top: 12px; color: var(--blush); font-size: 15px; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ivory); }
.journey { flex: 1 1 340px; min-width: 0; list-style: none; padding: 0; position: relative; display: flex; flex-direction: column; gap: 20px; }
.journey::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--gold); }
.journey li { position: relative; display: flex; align-items: flex-start; gap: 18px; }
.journey .dot { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--plum); border: 3px solid var(--plum); box-shadow: 0 0 0 1px var(--gold); margin-top: 1px; }
.journey li:first-child .dot { background: var(--gold-soft); }
.journey .n { flex: 0 0 64px; font-size: 15px; color: var(--blush); padding-top: 4px; }
.journey .t { font-family: var(--font-display); font-size: 22px; color: var(--ivory); line-height: 1.3; }
.journey .d { display: block; color: var(--blush); font-size: 16px; }

/* Night band */
.night { position: relative; background: var(--plum-deep); color: var(--ivory); overflow: hidden; }
.night .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.night .stars circle { fill: var(--ivory); }
.night .stars .g { fill: var(--gold-soft); }
.night .wrap { position: relative; padding-block: 80px; display: flex; flex-direction: column; gap: 18px; max-width: 820px; text-align: center; align-items: center; }
.night .eyebrow { color: var(--gold-soft); }
.night h2 { color: var(--ivory); font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
.night p { color: var(--blush); max-width: 34em; }
.night a:not(.btn) { color: var(--gold-soft); }

/* Notes */
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.note h2, .note h3 { font-size: 24px; }

/* Article (writing, agreement) */
.article .wrap { padding-block: 56px 80px; display: flex; flex-direction: column; gap: 18px; }
.article h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.12; }
.article h2 { font-size: 26px; padding-top: 16px; }
.article .dek { font-size: 20px; font-weight: 300; color: var(--rose-ink); }
.article ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.article p, .article li { max-width: 40em; }
.back { font-size: 16px; }

/* Writing list */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.post:hover { border-color: var(--gold); color: var(--ink); }
.post h2 { font-size: 26px; line-height: 1.25; }
.post .meta { font-size: 14px; color: var(--ink-muted); margin-top: auto; padding-top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 56px 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.site-footer .sig { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); color: var(--plum); line-height: 1.35; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 16px; }
.site-footer nav a { text-decoration: none; padding-block: 6px; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .care { max-width: 44em; font-size: 15px; color: var(--ink-muted); }
.site-footer .copy { font-size: 14px; color: var(--ink-muted); }

@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .2s ease, color .2s ease; } }
