/* Nangkwak.com production build — 2026-10-06 */
:root{
  --ink:#171213; --muted:#6d6260; --paper:#fbf7f1; --paper2:#f2e9df; --white:#fff;
  --red:#c2182b; --red2:#8d0d1c; --burgundy:#3f0910; --gold:#b58a3a;
  --line:rgba(23,18,19,.14); --line-light:rgba(255,255,255,.17);
  --shadow:0 26px 80px rgba(49,24,24,.15);
  --serif:"Bodoni 72",Didot,"Bodoni MT","Times New Roman",Georgia,serif;
  --sans:"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--paper)}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.68;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block} button,input{font:inherit}
::selection{background:rgba(194,24,43,.18)}
.skip-link{position:fixed;left:16px;top:12px;z-index:1000;transform:translateY(-140%);background:#fff;color:#111;padding:10px 14px;border-radius:8px;box-shadow:var(--shadow)}
.skip-link:focus{transform:none}
:focus-visible{outline:3px solid #1669c1;outline-offset:3px;border-radius:4px}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.narrow{width:min(800px,calc(100% - 40px));margin-inline:auto}
.eyebrow{font-size:.72rem;letter-spacing:.19em;text-transform:uppercase;font-weight:800;color:var(--red)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,247,241,.92);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand img{width:34px;height:34px;object-fit:contain}.brand-word{font-family:var(--sans);font-size:1.08rem;font-weight:620;letter-spacing:.025em}.brand-word b{font-weight:420;color:var(--muted)}
.nav{display:flex;gap:22px;align-items:center;font-size:.88rem}.nav a{position:relative;padding:3px 0}.nav a:after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:2px;background:var(--red);transition:width .22s ease}.nav a:hover:after,.nav a[aria-current="page"]:after{width:100%}
.menu-toggle{display:none;border:1px solid var(--line);background:transparent;width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center;cursor:pointer}.menu-toggle span,.menu-toggle span:before,.menu-toggle span:after{content:"";display:block;width:18px;height:2px;background:var(--ink);position:relative;transition:.2s}.menu-toggle span:before{position:absolute;top:-6px}.menu-toggle span:after{position:absolute;top:6px}.menu-toggle[aria-expanded="true"] span{background:transparent}.menu-toggle[aria-expanded="true"] span:before{top:0;transform:rotate(45deg)}.menu-toggle[aria-expanded="true"] span:after{top:0;transform:rotate(-45deg)}
.hero{position:relative;min-height:78vh;display:grid;align-items:center;isolation:isolate;overflow:hidden;background:#120f10}.hero-media{position:absolute;inset:0;z-index:-2}.hero-media picture,.hero-media img{width:100%;height:100%}.hero-media img{object-fit:cover;object-position:55% center}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,7,8,.9) 0%,rgba(8,7,8,.66) 33%,rgba(8,7,8,.12) 61%,rgba(8,7,8,.08) 100%)}
.hero-copy{max-width:610px;color:white;padding:96px 0}.hero .eyebrow{color:#f1c38f}.hero h1{font-family:var(--serif);font-size:clamp(3.8rem,7vw,7.4rem);line-height:.87;font-weight:600;letter-spacing:-.045em;margin:.11em 0 .19em}.hero h2{font-family:var(--serif);font-size:clamp(1.5rem,2.7vw,2.55rem);line-height:1.1;font-weight:500;margin:0 0 22px}.hero p{font-size:1.03rem;color:rgba(255,255,255,.82);max-width:585px}.hero-note{display:flex;gap:10px;align-items:center;margin-top:22px;color:rgba(255,255,255,.62);font-size:.8rem}.hero-note:before{content:"";width:24px;height:1px;background:rgba(255,255,255,.45)}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;border:1px solid transparent;font-weight:750;font-size:.9rem;transition:.2s}.btn-primary{background:var(--red);color:white}.btn-primary:hover{background:var(--red2)}.btn-light{color:white;border-color:rgba(255,255,255,.46);background:rgba(255,255,255,.07)}.btn-light:hover{background:rgba(255,255,255,.15)}.btn-outline{border-color:var(--ink);background:transparent}.btn-outline:hover{background:var(--ink);color:white}.btn-text{padding:0;min-height:auto;border-radius:0;border-bottom:1px solid currentColor}
.section{padding:104px 0}.section-tight{padding:68px 0}.section-alt{background:var(--paper2)}.section-dark{background:var(--ink);color:white}.section-burgundy{background:var(--burgundy);color:white}.section-red{background:var(--red);color:white}
.section-head{display:grid;grid-template-columns:.82fr 1.25fr;gap:58px;align-items:start;margin-bottom:50px}.section-head h2,.page-hero h1,.prose h2{font-family:var(--serif);font-weight:500;letter-spacing:-.03em;line-height:1.02}.section-head h2{font-size:clamp(2.6rem,5vw,5rem);margin:8px 0}.section-head p{font-size:1.05rem;color:var(--muted);margin:8px 0}.section-dark .section-head p,.section-burgundy .section-head p{color:rgba(255,255,255,.72)}
.quote{font-family:var(--serif);font-size:clamp(1.8rem,3.5vw,3.35rem);line-height:1.12;margin:0}.quote.small{font-size:clamp(1.45rem,2.6vw,2.3rem)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:28px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.44)}.card h3{font-family:var(--serif);font-size:1.62rem;line-height:1.14;font-weight:550;margin:4px 0 10px}.card p{color:var(--muted);margin:0}.card .num{font-size:.68rem;letter-spacing:.17em;color:var(--red);font-weight:800}.card-link{transition:transform .18s,box-shadow .18s}.card-link:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(34,18,18,.08)}
.traits{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.trait{background:var(--paper);padding:28px}.trait strong{display:block;font-family:var(--serif);font-size:1.46rem;font-weight:550}.trait span{display:block;margin-top:5px;color:var(--muted);font-size:.9rem}
.editorial-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:72px;align-items:center}.editorial-grid.reverse{grid-template-columns:.92fr 1.08fr}.editorial-copy h2{font-family:var(--serif);font-size:clamp(2.5rem,4.5vw,4.15rem);line-height:1.02;font-weight:500;letter-spacing:-.03em;margin:.2em 0}.editorial-copy p{color:var(--muted)}
.editorial-manifesto{min-height:470px;border-radius:28px;position:relative;overflow:hidden;background:linear-gradient(145deg,#3e0910,#130e0f);box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;padding:42px;color:white}.editorial-manifesto img{width:72px;height:72px;object-fit:contain}.editorial-manifesto p{font-family:var(--serif);font-size:clamp(2rem,3.4vw,3.1rem);line-height:1.04;letter-spacing:-.025em;margin:0;max-width:430px}.editorial-manifesto small{font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.58)}
.principles{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.principle{padding:30px;border-top:1px solid var(--line)}.principle h3{font-family:var(--serif);font-size:1.58rem;font-weight:550;margin:0 0 6px}.principle p{color:var(--muted);margin:0}.section-dark .principle{border-color:var(--line-light)}.section-dark .principle p{color:rgba(255,255,255,.7)}
.label-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.label{font-size:.65rem;letter-spacing:.13em;text-transform:uppercase;border:1px solid currentColor;border-radius:999px;padding:7px 10px;font-weight:800}.label.history{color:#70583e}.label.tradition{color:#9a5b14}.label.devotion{color:#941322}.label.modern{color:#3b566a}.section-dark .label,.section-burgundy .label{color:#fff;border-color:rgba(255,255,255,.4)}
.page-hero{padding:102px 0 72px;border-bottom:1px solid var(--line);position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(194,24,43,.08);border-radius:50%;right:-100px;top:-100px;box-shadow:0 0 0 52px rgba(194,24,43,.025),0 0 0 104px rgba(194,24,43,.018)}.page-hero h1{font-size:clamp(3.2rem,7vw,6.25rem);margin:15px 0 22px;max-width:990px}.page-hero p{font-size:1.14rem;max-width:780px;color:var(--muted)}
.prose{font-size:1.03rem}.prose h2{font-size:clamp(2rem,4vw,3.45rem);margin:2em 0 .46em}.prose h3{font-family:var(--serif);font-size:1.7rem;line-height:1.15;margin:1.7em 0 .42em}.prose p{margin:0 0 1.2em}.prose blockquote{margin:2.1em 0;border-left:4px solid var(--red);padding:3px 0 3px 24px;font-family:var(--serif);font-size:1.65rem;line-height:1.26}.prose ul{padding-left:1.15em}.prose li{margin:.55em 0}.prose a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}.source-note{font-size:.86rem;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:35px}.source-list{display:grid;gap:13px;margin-top:20px}.source-item{padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.45)}.source-item strong{display:block}.source-item span{display:block;color:var(--muted);font-size:.86rem;margin-top:4px}
.split-note{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:34px 0}.note-box{padding:24px;border-radius:18px;background:var(--paper2);border:1px solid var(--line)}.note-box h3{margin-top:0}.note-box p:last-child{margin-bottom:0}
.timeline{display:grid;gap:0;border-left:1px solid var(--line);margin:38px 0 10px 12px}.timeline-item{position:relative;padding:0 0 34px 32px}.timeline-item:before{content:"";position:absolute;left:-6px;top:7px;width:11px;height:11px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px var(--paper)}.timeline-item h3{margin:0 0 6px}.timeline-item p{color:var(--muted);margin:0}
.callout{padding:34px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.7),rgba(255,255,255,.25));margin:40px 0}.callout .quote{margin-bottom:12px}
.guide-reserve{min-height:300px;border:1px dashed rgba(23,18,19,.28);border-radius:28px;display:grid;place-items:center;text-align:center;padding:44px;background:rgba(255,255,255,.38)}.guide-reserve img{width:86px;margin:0 auto 20px;opacity:.85}.guide-reserve h2{font-family:var(--serif);font-size:clamp(2.3rem,4vw,3.8rem);line-height:1.05;font-weight:500;margin:.15em 0}.guide-reserve p{max-width:620px;color:var(--muted);margin:10px auto}
.footer{padding:58px 0 34px;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .9fr;gap:46px}.footer p,.footer a{color:var(--muted);font-size:.88rem}.footer nav{display:grid;gap:8px}.footer strong{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}.legal{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:38px;padding-top:20px;font-size:.78rem;color:var(--muted)}
.status-chip{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;font-weight:800}.status-chip:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--red)}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px;margin:26px 0}.research-table{width:100%;border-collapse:collapse;min-width:720px}.research-table th,.research-table td{padding:16px 18px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.research-table th{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase}.research-table td{font-size:.92rem}.research-table tr:last-child td{border-bottom:0}
@media(max-width:1080px){.nav{display:none;position:absolute;left:0;right:0;top:76px;background:rgba(251,247,241,.98);padding:24px 20px 30px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start}.nav.open{display:flex}.menu-toggle{display:flex}}
@media(max-width:920px){.nav{display:none}.nav.open{display:flex}.menu-toggle{display:flex}.section-head,.editorial-grid,.editorial-grid.reverse{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.traits{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.hero-media img{object-position:60% center}}
@media(max-width:640px){.container,.narrow{width:min(100% - 28px,1180px)}.section{padding:78px 0}.cards,.principles,.split-note,.footer-grid{grid-template-columns:1fr}.traits{grid-template-columns:1fr}.hero{min-height:auto;display:block;background:var(--burgundy)}.hero-media{position:relative;height:52vh;min-height:390px}.hero-media img{object-position:62% center}.hero:after{display:none}.hero-copy{padding:46px 0 54px}.hero h1{font-size:3.7rem}.hero h2{font-size:1.75rem}.page-hero{padding:72px 0 52px}.legal{flex-direction:column}.brand-word{font-size:1.08rem}.section-head{gap:18px}.editorial-manifesto{min-height:340px;padding:32px}.guide-reserve{padding:34px 22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Final identity integration — 2026-10-07
   Authoritative reference: NANGKWAK_FINAL_IDENTITY_BOARD.png
   70% premium editorial / 30% youthful warmth. */
:root{
  --ink:#211f1f;
  --muted:#6f6663;
  --paper:#f8f3ea;
  --paper2:#efe7dd;
  --red:#c2182b;
  --red2:#991423;
  --burgundy:#5a0f1a;
  --blush:#e8b8bd;
  --sage:#a7b89f;
  --ice:#cfe3ea;
  --gold:#c9a76b;
  --line:rgba(33,31,31,.14);
  --shadow:0 26px 80px rgba(65,34,34,.13);
}
html,body{background:var(--paper)}
.site-header{background:rgba(248,243,234,.94)}
.header-inner{min-height:82px}
.brand-lockup{display:block;line-height:0}
.brand-logo-img{width:auto;height:62px;max-width:150px;object-fit:contain}
.footer .brand-logo-img{height:78px;max-width:190px}
.nav{gap:21px}
.nav a:after{background:var(--red)}
.menu-toggle{background:rgba(255,255,255,.28)}

/* Hero: show more of the approved source image rather than regenerating it. */
.hero{height:clamp(680px,56.25vw,960px);min-height:0;background:var(--burgundy)}
.hero-media img{object-fit:contain;object-position:center center}
.hero:after{background:linear-gradient(90deg,rgba(29,16,19,.88) 0%,rgba(29,16,19,.62) 31%,rgba(29,16,19,.13) 58%,rgba(29,16,19,.04) 100%)}
.hero .eyebrow{color:#f4d7ad}
.hero-copy{padding:84px 0}
.hero h1{font-weight:550}
.hero-note{color:rgba(255,255,255,.68)}

/* Brand palette: restrained warmth, not a multi-colour redesign. */
.section-alt{background:var(--paper2)}
.section-dark{background:var(--ink)}
.section-burgundy{background:var(--burgundy)}
.card{background:rgba(255,253,248,.66);box-shadow:0 1px 0 rgba(255,255,255,.65) inset}
.cards .card:nth-child(1){background:linear-gradient(145deg,rgba(232,184,189,.20),rgba(255,253,248,.72))}
.cards .card:nth-child(2){background:linear-gradient(145deg,rgba(167,184,159,.18),rgba(255,253,248,.72))}
.cards .card:nth-child(3){background:linear-gradient(145deg,rgba(207,227,234,.22),rgba(255,253,248,.72))}
.card-link:hover{box-shadow:0 18px 44px rgba(90,15,26,.10)}
.trait{background:var(--paper)}
.trait:nth-child(4n+1){background:rgba(232,184,189,.10)}
.trait:nth-child(4n+2){background:rgba(167,184,159,.10)}
.trait:nth-child(4n+3){background:rgba(207,227,234,.13)}
.trait:nth-child(4n+4){background:rgba(255,253,248,.78)}
.editorial-manifesto{background:radial-gradient(circle at 88% 12%,rgba(232,184,189,.17),transparent 31%),linear-gradient(145deg,#6b1220,var(--burgundy) 58%,#211f1f);box-shadow:0 28px 70px rgba(90,15,26,.18)}
.editorial-manifesto img{width:68px;height:86px;object-fit:contain}
.page-hero:after{border-color:rgba(194,24,43,.10);box-shadow:0 0 0 52px rgba(232,184,189,.07),0 0 0 104px rgba(207,227,234,.06)}
.guide-reserve{background:linear-gradient(135deg,rgba(255,253,248,.72),rgba(232,184,189,.13) 48%,rgba(207,227,234,.16));border-color:rgba(90,15,26,.22)}
.guide-reserve img{width:72px;height:92px;object-fit:contain;opacity:1}
.label.history{color:#5a0f1a}.label.tradition{color:#8a5717}.label.devotion{color:#a21629}.label.modern{color:#315767}
.btn-primary{background:var(--red)}.btn-primary:hover{background:var(--red2);transform:translateY(-1px)}
.btn-outline:hover{background:var(--burgundy);border-color:var(--burgundy)}
:focus-visible{outline-color:#315767}

@media(max-width:1180px){
  .hero{height:auto;min-height:0;display:block;background:var(--burgundy)}
  .hero-media{position:relative;inset:auto;height:auto;aspect-ratio:16/9;background:#1c1315}
  .hero-media picture,.hero-media img{height:100%}
  .hero-media img{object-fit:contain;object-position:center}
  .hero:after{display:none}
  .hero-copy{padding:52px 0 60px;max-width:720px}
}
@media(max-width:1080px){
  .nav{top:82px;background:rgba(248,243,234,.985)}
}
@media(max-width:640px){
  .header-inner{min-height:74px}
  .brand-logo-img{height:54px;max-width:130px}
  .nav{top:74px}
  .hero-media{height:auto;min-height:0;aspect-ratio:16/9}
  .hero-media img{object-fit:contain;object-position:center}
  .hero-copy{padding:40px 0 50px}
  .hero h1{font-size:3.45rem}
  .hero h2{font-size:1.7rem}
  .footer .brand-logo-img{height:72px;max-width:170px}
}

/* Identity QA refinements */
.brand img.brand-logo-img{width:auto;height:62px;max-width:150px;object-fit:contain}
.footer .brand img.brand-logo-img{height:78px;max-width:190px}
@media(min-width:641px) and (max-width:1180px){
  .hero{position:relative;height:680px;min-height:680px;display:grid;align-items:center;background:var(--burgundy)}
  .hero-media{position:absolute;inset:0;height:100%;aspect-ratio:auto;background:#1c1315}
  .hero-media picture,.hero-media img{width:100%;height:100%}
  .hero-media img{object-fit:contain;object-position:center}
  .hero:after{display:block;background:linear-gradient(90deg,rgba(29,16,19,.94) 0%,rgba(29,16,19,.72) 36%,rgba(29,16,19,.18) 64%,rgba(29,16,19,.08) 100%)}
  .hero-copy{padding:70px 0;max-width:600px}
}
@media(max-width:640px){
  .brand img.brand-logo-img{height:54px;max-width:130px}
  .footer .brand img.brand-logo-img{height:72px;max-width:170px}
}

/* Hero framing safeguard — 2026-10-07
   The approved 16:9 hero must remain fully visible on wide and ultra-wide desktops.
   Do not switch this back to object-fit: cover; that crops Nang Kwak vertically. */
@media(min-width:1181px){
  .hero-media{background:#1c1315}
  .hero-media img{object-fit:contain;object-position:center center}
}
