/* christinenguyenweb.com : Lemongrass theme */
:root {
  --bg: #f7faf0;
  --panel: #ffffff;
  --ink: #2f3a1c;
  --soft: #4c5537;
  --muted: #636b4e;
  --line: #dde3c6;
  --line-soft: #e9eed9;
  --lemongrass: #9aa83a;
  --stem: #4a5a2a;
  --stem-deep: #2f3a1c;
  --display: 'Charmonman', 'Segoe Script', cursive;
  --body: 'Hind Siliguri', 'Noto Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--stem); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.12; }
p { margin: 0 0 1rem; }
.shell { width: min(1200px, 100% - 48px); margin: 0 auto; }

/* header + nav (contrast-critical rules kept explicit) */
.site-header { position: sticky; top: 0; z-index: 30; background: #f7faf0; border-bottom: 1px solid #dde3c6; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
                gap: .5rem 1.6rem; padding: 13px 0; }
.wordmark { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--ink);
            text-decoration: none; letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.1rem; }
.main-nav a { color: #2f3a1c; text-decoration: none; font-size: .95rem; font-weight: 500;
              padding: .12rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: #4a5a2a; border-bottom-color: #9aa83a; }
.main-nav a[aria-current="page"] { color: #4a5a2a; border-bottom-color: #4a5a2a; }
.main-nav a.btn { color: #f7faf0; background-color: #4a5a2a; border: 1px solid #4a5a2a;
                  border-bottom: 1px solid #4a5a2a; border-radius: 2px; padding: .42rem .95rem;
                  font-size: .92rem; font-weight: 600; }
.main-nav a.btn:hover { color: #ffffff; background-color: #2f3a1c; border-color: #2f3a1c; }
.btn { display: inline-block; font-family: var(--body); font-size: 1rem; font-weight: 600; line-height: 1.25;
       color: #f7faf0; background-color: #4a5a2a; border: 1px solid #4a5a2a; border-radius: 2px;
       padding: .72rem 1.5rem; text-decoration: none;
       transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover { color: #ffffff; background-color: #2f3a1c; border-color: #2f3a1c; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 2.6rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2.4rem 3rem; align-items: center; }
.eyebrow { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stem);
           font-weight: 600; margin: 0 0 .5rem; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.5rem); margin: 0 0 .6rem; }
.hero-lead { font-size: 1.08rem; max-width: 46ch; color: var(--soft); margin: 0 0 1.5rem; }
.hero-cta { margin: 0 0 1.6rem; }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.4rem;
             font-size: .9rem; color: var(--muted); }
.hero-meta li { position: relative; padding-left: .95rem; }
.hero-meta li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 3px;
                        border-radius: 50%; background: var(--lemongrass); }
.hero-photo { justify-self: end; width: 100%; max-width: 430px; padding: 10px; background: var(--panel);
              border: 1px solid var(--line); }
.hero-photo img { width: 100%; height: auto; }
.stems { position: absolute; left: -26px; bottom: -30px; width: 240px; height: 300px;
         color: var(--lemongrass); opacity: .34; pointer-events: none; }

/* sections */
.section { padding: 2.9rem 0; border-top: 1px solid var(--line-soft); }
.section-head { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem;
                align-items: baseline; }
.section-no { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--lemongrass);
              grid-row: span 2; }
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); margin: 0; }
.section-lead { grid-column: 2; margin: .2rem 0 0; color: var(--muted); max-width: 62ch; font-size: .98rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); background: var(--panel);
                transition: border-color .2s ease, box-shadow .2s ease; }
.partner-card:hover { border-color: var(--lemongrass); box-shadow: 0 10px 26px rgba(74, 90, 42, .12); }
.partner-card img { max-width: 190px; max-height: 70px; width: auto; height: auto; object-fit: contain; }

/* quick profile: stem-bundle archive in two thin-lined columns */
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.2rem; }
.fact { display: flex; justify-content: space-between; gap: 1.2rem; padding: .68rem 0;
        border-bottom: 1px solid var(--line); }
.fact .k { color: var(--muted); font-size: .92rem; flex: 0 0 auto; }
.fact .v { color: var(--ink); font-size: .95rem; text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 2.8rem; align-items: start; }
.about-text p { color: var(--soft); }
.frame { margin: 0 0 1.4rem; padding: 9px; background: var(--panel); border: 1px solid var(--line); }
.frame img { width: 100%; height: auto; }
.quote { margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--lemongrass); }
.quote p { font-family: var(--display); font-weight: 400; font-size: 1.16rem; line-height: 1.5;
           color: var(--ink); margin: 0 0 .45rem; }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
              color: var(--muted); }
.quote-wide { margin: 0 0 1.6rem; }

/* career */
.career-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.8rem; align-items: start; }
.career-text p { color: var(--soft); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.4rem; top: .5em; width: 10px; height: 4px;
                       margin-left: -5px; border-radius: 50%; background: var(--lemongrass);
                       transform: rotate(-28deg); }
.timeline .when { display: block; font-family: var(--display); font-weight: 700; font-size: .98rem;
                  color: var(--stem); margin-bottom: .1rem; }
.timeline .what { display: block; color: var(--soft); font-size: .95rem; }

/* gallery: two columns, mixed spans */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-grid figure { margin: 0; padding: 8px; background: var(--panel); border: 1px solid var(--line); }
.gallery-grid img { width: 100%; }
.g-1 { grid-area: 1 / 1 / 2 / 2; }
.g-2 { grid-area: 1 / 2 / 3 / 3; display: grid; }
.g-5 { grid-area: 2 / 1 / 3 / 2; }
.g-3 { grid-area: 3 / 1 / 4 / 3; }
.g-1 img { aspect-ratio: 3 / 4; object-fit: cover; }
.g-2 img { height: 100%; object-fit: cover; object-position: center 40%; }
.g-5 img { aspect-ratio: 4 / 3; object-fit: cover; }
.g-3 img { aspect-ratio: 12 / 5; object-fit: cover; object-position: center 42%; }

/* social */
.social-list { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none;
              transition: background .18s ease, padding .18s ease; }
.social-row .platform { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.social-row .handle { color: var(--muted); font-size: .93rem; }
.social-row:hover { background: #eef2e0; padding-left: .85rem; }
.social-row:hover .platform { color: var(--stem); }

/* subpages */
.page-top { padding: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: .1rem 0 .7rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.28rem, 2.6vw, 1.62rem); margin: 0 0 .8rem; }
.story p { color: var(--soft); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { color: var(--soft); font-size: .96rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 3rem; }
.credit-col h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.notes-block { margin-top: 2.2rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.4;
                    color: var(--ink); cursor: pointer; list-style: none; display: flex;
                    justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--lemongrass); font-family: var(--body); font-weight: 600; }
.faq-list details[open] summary::after { content: "x"; color: var(--stem); font-weight: 600; }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #eef2e2; padding: 1.9rem 0 2.1rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.1rem 2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.brand-line { color: var(--muted); font-size: .87rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: #4c5537; text-decoration: none; font-size: .88rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--stem); font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .87rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero-photo { justify-self: start; max-width: 400px; }
  .stems { width: 180px; height: 225px; opacity: .26; }
  .about-grid, .career-grid { grid-template-columns: 1fr; gap: 2rem; }
  .credit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: min(1200px, 100% - 36px); }
  .hero { padding: 1.8rem 0 2.2rem; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .main-nav { gap: .3rem .8rem; }
  .main-nav a { font-size: .87rem; }
  .facts { grid-template-columns: 1fr; }
  .fact .v { text-align: right; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 128px; max-height: 50px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-1, .g-2, .g-3, .g-5 { grid-area: auto; display: block; }
  .g-1 img { aspect-ratio: 3 / 4; }
  .g-2 img { height: auto; aspect-ratio: 13 / 23; }
  .g-5 img { aspect-ratio: 4 / 3; }
  .g-3 img { aspect-ratio: 12 / 5; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.2rem 0; }
  .section-head { grid-template-columns: auto 1fr; }
}
