/* Operation Babylift Collection, Phượng Theme (SSS-BRAND-2026-01 v4.1)
   Palette: Dusk Plum, Warm Taupe, Sage (decorative only), Sage-text, Taupe-text,
   Light Sage, Blush Grey, Archive Cream, Parchment Ash.
   No gradients, no shadows, no pure white. Mobile breakpoint: 700px. */

:root {
  --plum: #4A3F45;
  --taupe: #7A6E6B;
  --sage: #7A9268;
  --sage-text: #5C7049;
  --taupe-text: #6B5F5C;
  --light-sage: #A8BF96;
  --blush: #C9BDB8;
  --cream: #F3EEE8;
  --ash: #E6E0D6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --cjk: "Cormorant Garamond", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --measure: 66ch;
  --wrap: 1040px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}

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

a { color: var(--sage-text); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { color: var(--plum); }

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

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--plum); color: var(--cream); padding: 0.6rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* Headings */
h1, h2, h3 { font-family: var(--serif); color: var(--plum); line-height: 1.12; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.3; color: var(--plum); max-width: 40ch; }
.eyebrow {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--taupe-text); font-weight: 600; margin: 0 0 0.9rem;
}
.muted { color: var(--taupe-text); }
.small { font-size: 0.95rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--blush); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--plum); }
.mark { font-family: var(--cjk); font-size: 2.1rem; line-height: 1; color: var(--plum); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.brand-text small { font-size: 0.8rem; color: var(--taupe-text); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 0.4rem 1.4rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--plum); font-weight: 600; font-size: 1rem; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sage); color: var(--plum); }
.nav a[aria-current="page"] { border-bottom-color: var(--plum); }
.nav a.btn { padding: 0.55rem 1.1rem; border-bottom: 0; }
.nav a.btn { color: var(--cream); }
.nav a.btn:hover { color: var(--cream); background: var(--sage-text); border-bottom: 0; }

/* Buttons */
.btn {
  display: inline-block; background: var(--plum); color: var(--cream);
  text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.5rem; border: 2px solid var(--plum); border-radius: 2px; cursor: pointer;
}
.btn:hover { background: var(--sage-text); border-color: var(--sage-text); color: var(--cream); }
.btn.ghost { background: transparent; color: var(--plum); }
.btn.ghost:hover { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* Sections */
section { padding: 4rem 0; }
section.tight { padding: 2.5rem 0; }
.band-ash { background: var(--ash); }
.band-plum { background: var(--plum); color: var(--cream); }
.band-plum h2, .band-plum h3 { color: var(--cream); }
.band-plum .eyebrow { color: var(--light-sage); }
.band-plum a { color: var(--light-sage); }
.band-plum a:hover { color: var(--cream); }
.band-plum .btn { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.band-plum .btn:hover { background: var(--light-sage); border-color: var(--light-sage); color: var(--plum); }
.band-plum .btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.band-plum .btn.ghost:hover { background: var(--cream); color: var(--plum); }

.hero { padding: 4.5rem 0 3.5rem; }
.hero .lead { margin-bottom: 1.2rem; }

/* Cards: Sage accent bar runs the full height of the card */
.grid { display: grid; gap: 1.25rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--ash); border-left: 5px solid var(--sage);
  padding: 1.5rem 1.5rem 1.5rem 1.4rem;
}
.band-ash .card { background: var(--cream); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: var(--plum); }
a.card:hover { background: var(--blush); color: var(--plum); }
a.card .go { display: inline-block; margin-top: 0.6rem; font-weight: 600; color: var(--sage-text); }
a.card:hover .go { color: var(--plum); }

/* Lists */
ul.clean { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.clean li { padding: 0.55rem 0 0.55rem 1.4rem; border-bottom: 1px solid var(--blush); position: relative; }
ul.clean li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 0.55rem; height: 2px; background: var(--sage); }
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.2em; }
ol.steps li { counter-increment: step; position: relative; padding: 0.9rem 0 0.9rem 3.4rem; border-bottom: 1px solid var(--blush); }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.75rem;
  font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--sage-text); width: 2.4rem;
}
ol.steps li strong { display: block; font-family: var(--serif); font-size: 1.3rem; }

/* Tables (fact sheet) */
table.facts { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--blush); }
table.facts th { width: 30%; font-weight: 600; color: var(--taupe-text); font-size: 0.95rem; letter-spacing: 0.03em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2rem 0 0; }
.stat { border-left: 5px solid var(--sage); padding-left: 1rem; }
.stat b { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 700; }
.stat span { color: var(--taupe-text); font-size: 0.95rem; }

/* Funding tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 2rem 0 1rem; }
.tier { background: var(--cream); border-left: 5px solid var(--sage); padding: 1.4rem 1.2rem 1.4rem 1.3rem; display: flex; flex-direction: column; }
.tier .amt { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 0.3rem; }
.tier h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.tier p { font-size: 0.98rem; flex: 1; }
.tier .btn { text-align: center; margin-top: 0.6rem; padding: 0.65rem 1rem; }
.tier.feature { background: var(--plum); color: var(--cream); border-left-color: var(--light-sage); }
.tier.feature h3, .tier.feature .amt { color: var(--cream); }
.tier.feature .btn { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.tier.feature .btn:hover { background: var(--light-sage); border-color: var(--light-sage); color: var(--plum); }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .tiers { grid-template-columns: 1fr; } }

/* Pull quote */
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); font-style: italic; border-left: 5px solid var(--sage); padding-left: 1.2rem; margin: 2rem 0; max-width: 30ch; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blush); }
.gallery figcaption { font-size: 0.9rem; color: var(--taupe-text); padding-top: 0.5rem; line-height: 1.4; }

/* Media coverage list */
.coverage { list-style: none; padding: 0; margin: 0 0 2rem; }
.coverage li { padding: 1rem 0; border-bottom: 1px solid var(--blush); }
.coverage .src { font-weight: 700; }
.coverage .when { color: var(--taupe-text); font-size: 0.92rem; margin-left: 0.4rem; }
.coverage a { display: inline-block; margin-top: 0.15rem; }

details { border-bottom: 1px solid var(--blush); padding: 0.9rem 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 0.8rem; font-size: 0.98rem; }

/* Form embed */
.form-frame { border: 1px solid var(--blush); background: var(--ash); padding: 0.5rem; }
.form-frame iframe { width: 100%; min-height: 1700px; border: 0; display: block; }

/* Callout */
.note { background: var(--ash); border-left: 5px solid var(--sage); padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.band-ash .note { background: var(--cream); }
.note p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--plum); color: var(--cream); padding: 3rem 0 2.2rem; }
.site-footer a { color: var(--light-sage); }
.site-footer a:hover { color: var(--cream); }
.site-footer .mark { color: var(--cream); font-size: 2.4rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid p { margin-bottom: 0.4rem; font-size: 0.98rem; }
.foot-grid h3 { color: var(--light-sage); font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.35rem; }
.sponsor { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--taupe); font-size: 0.95rem; }

@media (max-width: 700px) {
  body { font-size: 1.05rem; }
  .wrap { padding: 0 1.1rem; }
  section { padding: 2.75rem 0; }
  .hero { padding: 2.5rem 0 2rem; }
  .grid.two, .grid.three, .stats, .foot-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .nav { gap: 0.3rem 1.1rem; }
  table.facts th, table.facts td { display: block; width: 100%; padding: 0.3rem 0; border-bottom: 0; }
  table.facts tr { display: block; border-bottom: 1px solid var(--blush); padding: 0.6rem 0; }
  .form-frame iframe { min-height: 2100px; }
}

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

.hook{font-family:"Cormorant Garamond",serif;font-size:1.6rem;line-height:1.35;color:#4A3F45;border-left:4px solid #7A9268;padding-left:1rem;max-width:40rem}
@media(max-width:700px){.hook{font-size:1.35rem}}

.letter{max-width:38rem}
.letter p{font-size:1.1rem;line-height:1.7}
.letter .hook{max-width:none}
.letter .sign{margin-top:2rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.letter-photo{margin:1.5rem 0 0}
.letter-photo img{max-width:100%;height:auto;display:block}

.res li{margin-bottom:.6rem}
.res a{overflow-wrap:anywhere}
.policies{display:grid;gap:1.1rem;max-width:46rem}
.pol{border-left:4px solid #7A9268;padding-left:1rem}
.pol h3{margin:0 0 .2rem}
.pol p{margin:.2rem 0}

.grp{margin:2rem 0 .8rem}
.pol .small a{overflow-wrap:anywhere}

.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery-all { grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
.gallery-all a { display: block; }
.gallery-all img { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  .gallery.three, .gallery-all { grid-template-columns: repeat(2, 1fr); }
}

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: start; }
.hero-text { min-width: 0; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: auto; background: var(--blush); }
.hero-photo figcaption { font-size: 0.9rem; color: var(--taupe-text); padding-top: 0.5rem; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.feature-photo { margin: 2rem 0 0; }
.feature-photo img { width: 100%; height: auto; background: var(--blush); }
.feature-photo figcaption { font-size: 0.9rem; color: var(--taupe-text); padding-top: 0.5rem; }
.letter-photo figcaption { padding-top: 0.5rem; }

details.more { border: 0; padding: 1.5rem 0 0; }
details.more summary { display: inline-block; cursor: pointer; font-weight: 600; color: var(--plum); border: 2px solid var(--plum); padding: 0.7rem 1.4rem; border-radius: 2px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary:hover { background: var(--plum); color: var(--cream); }
details.more[open] summary { margin-bottom: 1.5rem; }

.gal-event{margin:2.5rem 0 .25rem}
.gal-event+p{margin:0 0 1rem}

/* gallery-all: uncropped masonry */
.gallery-all { display: block; column-count: 3; column-gap: 1rem; }
.gallery-all figure { break-inside: avoid; margin: 0 0 1.25rem; }
.gallery-all img { aspect-ratio: auto; height: auto; object-fit: contain; }
@media (max-width: 700px) { .gallery-all { column-count: 2; } }

/* community hero */
.hero-quote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1.25; margin: 1.5rem 0 1.25rem; padding-left: 1rem; border-left: 4px solid #7A9268; max-width: 34rem; }
.hero .who { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe-text); margin: 0.25rem 0 0; }

/* Language switcher (EN | Tiếng Việt) */
.nav a.lang { font-size: 0.85rem; letter-spacing: 0.02em; border: 1px solid var(--taupe); border-radius: 2px; padding: 0.2rem 0.65rem; }
.nav a.lang:hover { border-color: var(--sage); }
