/* ============================================================
   INDUS — Shared stylesheet
   Design tokens live in :root. All components use these tokens
   so changing a single variable re-skins the site.
============================================================ */

:root {
  --bg: #F4EDE4;
  --bg2: #EFE7DB;
  --bgc: #FBF6EE;
  --ink: #2B1F1A;
  --ink2: #4A3A31;
  --mut: #8A7A6E;
  --faint: #B8A99C;
  --acc: #7A2E1F;
  --acc2: #9a4735;
  --bd: rgba(74, 58, 49, 0.14);
  --bds: rgba(74, 58, 49, 0.08);
  --se: 'EB Garamond', Garamond, serif;
  --sa: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--bg) !important; margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: var(--se);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "onum" 1;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--se); color: var(--ink); font-weight: 500; letter-spacing: -.005em; margin: 0; }
em { font-style: italic; }

/* ---- typography utilities ---- */
.ey { font-family: var(--sa); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); }
.mt { font-family: var(--sa); font-size: 12px; color: var(--mut); letter-spacing: .14em; text-transform: uppercase; }
.rm { font-family: var(--se); color: var(--acc); font-size: 16px; font-style: italic; display: inline-flex; gap: 6px; transition: gap .2s; }
.rm:hover { gap: 10px; }
.rm::after { content: '→'; font-style: normal; }
.ct { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---- toast ---- */
.tst { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--ink); color: var(--bgc); padding: 12px 22px; border-radius: 3px; font-family: var(--se); font-size: 15px; font-style: italic; z-index: 200; opacity: 0; transition: all .3s; pointer-events: none; }
.tst.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- nav ---- */
.nv { position: sticky; top: 0; z-index: 40; background: rgba(244, 237, 228, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--bds); }
.nvi { max-width: 1240px; margin: 0 auto; padding: 22px 32px 0; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.br { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 12px; font-family: var(--se); font-size: 28px; }
.bm { width: 16px; height: 16px; position: relative; transform: rotate(45deg); }
.bm::before { content: ''; position: absolute; inset: 0; background: var(--acc); }
.bm::after { content: ''; position: absolute; inset: 30%; background: var(--bg); }
.nr { grid-column: 3; display: flex; gap: 10px; justify-self: end; }
.ib { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; color: var(--ink2); transition: background .2s; }
.ib:hover { background: var(--bg2); color: var(--ink); }
.ib svg { width: 15px; height: 15px; }
.nl { display: flex; gap: 40px; justify-content: center; padding: 18px 0; font-family: var(--sa); font-size: 14px; color: var(--ink2); }
.nli { padding: 4px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.nli:hover { color: var(--ink); }
.nli.on { color: var(--acc); border-bottom-color: var(--acc); font-weight: 500; }

/* ---- thumbnails ---- */
.it { aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; position: relative; background: linear-gradient(135deg, #E8DCC8, #D9C9B0 50%, #C9B497); }
.it.wd { aspect-ratio: 16 / 8; }
.it.tl { aspect-ratio: 4 / 2.6; }
.it svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.it::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(74, 42, 30, .12)); pointer-events: none; }

/* ---- today (home) ---- */
.tph { text-align: center; padding: 64px 0 24px; }
.tpt { font-size: clamp(42px, 5.5vw, 64px); font-weight: 500; font-style: italic; letter-spacing: -.015em; }
.tpb { display: flex; justify-content: center; gap: 36px; font-family: var(--sa); font-size: 15px; color: var(--mut); padding: 22px 0 20px; border-bottom: 1px solid var(--bds); margin-bottom: 52px; flex-wrap: wrap; }
.tpb span { cursor: pointer; padding: 4px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.tpb span:hover { color: var(--ink); }
.tpb span.on { color: var(--acc); font-weight: 500; border-bottom-color: var(--acc); }
.tg { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 48px 40px; }
.ag { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 52px 36px; min-height: 400px; }
.ac { cursor: pointer; }
.ac .it { margin-bottom: 18px; transition: transform .4s; }
.ac:hover .it { transform: translateY(-2px); }
.ac h3 { font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
.ac p { color: var(--mut); font-size: 16px; line-height: 1.5; margin: 0 0 14px; }
.empty { grid-column: 1 / 3; text-align: center; padding: 80px 20px; color: var(--mut); font-style: italic; font-size: 18px; }

.sb { grid-column: 3 / 4; }
.sbk { margin-bottom: 40px; }
.sbl { font-family: var(--sa); font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--bds); }
.mr { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--bds); font-size: 15px; line-height: 1.35; cursor: pointer; color: var(--ink2); transition: color .2s; }
.mr:last-child { border: none; }
.mr span { color: var(--acc); flex-shrink: 0; }
.mr:hover { color: var(--acc); }
.mr em { color: var(--acc); }
.ie { padding: 12px 0; font-size: 16px; cursor: pointer; color: var(--acc); font-family: var(--se); transition: opacity .2s; }
.ie:hover { opacity: .7; }
.lm { margin: 56px auto 0; display: block; background: transparent; border: 1px solid var(--bd); padding: 12px 36px; border-radius: 32px; font-family: var(--se); font-size: 16px; color: var(--acc); font-style: italic; transition: background .2s, border-color .2s; }
.lm::after { content: ' →'; font-style: normal; }
.lm:hover { background: var(--bgc); border-color: var(--acc); }
.jb { text-align: center; padding: 88px 0 48px; border-top: 1px solid var(--bds); margin-top: 80px; }
.jb h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.jb p { color: var(--mut); margin-bottom: 28px; font-size: 17px; }
.jf { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.jf input, .sf input, .asc input { font-family: var(--se); font-size: 16px; background: var(--bgc); border: 1px solid var(--bd); border-radius: 3px; padding: 12px 16px; color: var(--ink); transition: border-color .2s; }
.jf input { width: 280px; }
.jf input:focus, .sf input:focus, .asc input:focus { outline: none; border-color: var(--acc); }
.bt { background: var(--acc); color: var(--bgc); padding: 12px 28px; border-radius: 3px; font-family: var(--se); font-size: 16px; transition: background .2s; }
.bt:hover { background: #5f2418; }
.sbr { color: var(--mut); font-style: italic; font-size: 15px; padding: 12px 0; }
.sbr svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; margin-right: 8px; color: var(--acc); }

/* ---- indus edit ---- */
.eh { text-align: center; padding: 80px 0 28px; }
.er { display: block; margin-bottom: 14px; letter-spacing: .24em; font-size: 13px; }
.et { font-family: var(--se); font-size: clamp(72px, 10vw, 140px); font-weight: 500; line-height: .92; letter-spacing: -.025em; color: var(--acc); margin-bottom: 28px; }
.es { font-size: 22px; margin-bottom: 12px; font-style: italic; }
.ed { color: var(--mut); max-width: 540px; margin: 0 auto; font-size: 17px; line-height: 1.5; }
.eo { text-align: center; font-size: 14px; color: var(--acc2); margin: 32px 0; letter-spacing: .6em; }
.cp { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.cpi { font-family: var(--sa); font-size: 13px; padding: 9px 20px; border-radius: 24px; background: transparent; border: 1px solid var(--bd); color: var(--ink2); cursor: pointer; transition: all .2s; }
.cpi:hover { background: var(--bgc); }
.cpi.on { background: var(--acc); color: var(--bgc); border-color: var(--acc); }
.fr { display: grid; grid-template-columns: 1.1fr 1.2fr .9fr; gap: 52px; padding-bottom: 72px; border-bottom: 1px solid var(--bds); }
.fe .ey { margin-bottom: 18px; display: block; }
.fe h2 { font-size: clamp(32px, 3.2vw, 42px); line-height: 1.08; margin-bottom: 16px; letter-spacing: -.015em; cursor: pointer; }
.fe h2:hover { color: var(--acc); }
.fe p { color: var(--mut); margin-bottom: 24px; font-size: 17px; line-height: 1.5; }
.fby { font-family: var(--sa); font-size: 13px; color: var(--mut); display: flex; align-items: center; gap: 12px; }
.fby .d { width: 3px; height: 3px; background: var(--acc); border-radius: 50%; }
.fby .rt { color: var(--acc); font-family: var(--se); font-style: italic; font-size: 15px; cursor: pointer; }
.fi { background: var(--bgc); aspect-ratio: 5 / 4; border-radius: 3px; display: flex; align-items: center; justify-content: center; padding: 32px; }
.fi svg { width: 100%; height: 100%; }
.pi { display: grid; grid-template-columns: 1fr 72px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bds); cursor: pointer; align-items: center; transition: opacity .2s; }
.pi:last-child { border: none; }
.pi:hover { opacity: .8; }
.pi h4 { font-size: 17px; line-height: 1.25; margin-bottom: 6px; }
.pm { font-family: var(--sa); font-size: 12px; color: var(--mut); }
.pt { width: 72px; height: 72px; background: var(--bgc); border-radius: 3px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.pt svg { width: 100%; height: 100%; }
.eg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; padding: 72px 0; border-bottom: 1px solid var(--bds); min-height: 300px; }
.ec { cursor: pointer; }
.ei { aspect-ratio: 1 / 1; background: var(--bgc); border-radius: 3px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; padding: 28px; transition: background .25s; }
.ec:hover .ei { background: #F3ECE0; }
.ei svg { width: 100%; height: 100%; }
.ec h4 { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.ec p { color: var(--mut); font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.em { font-family: var(--sa); font-size: 12px; color: var(--mut); display: flex; justify-content: space-between; }
.em .ar { color: var(--acc); }

.ns { padding: 64px 0; border-bottom: 1px solid var(--bds); }
.nh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.nh h3 { font-size: 26px; }
.nh a { color: var(--acc); font-family: var(--se); font-size: 14px; font-style: italic; }
.ngw { display: grid; grid-template-columns: 1fr 280px; gap: 48px; }
.nsc { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 4px; }
.nsc::-webkit-scrollbar { height: 4px; }
.nsc::-webkit-scrollbar-thumb { background: var(--bd); border-radius: 2px; }
.nc { min-width: 170px; flex-shrink: 0; background: var(--bgc); border-radius: 3px; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: all .2s; }
.nc:hover { background: #F3ECE0; transform: translateY(-2px); }
.nci { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 16px; }
.nci svg { width: 100%; height: 100%; }
.nc h5 { font-size: 15px; line-height: 1.25; }
.nc .mt { margin-top: auto; font-size: 11px; }
.vp .sbl { display: flex; justify-content: space-between; align-items: center; }
.vp .sbl a { color: var(--acc); text-transform: none; letter-spacing: 0; font-family: var(--se); font-size: 14px; font-style: italic; }
.vi { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bds); cursor: pointer; }
.vi:last-child { border: none; }
.va { width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-family: var(--se); font-size: 15px; color: var(--acc); font-weight: 500; border: 1px solid var(--bds); }
.vi h5 { font-size: 15px; }
.vi .mt { font-size: 11px; margin-top: 2px; }
.var { margin-left: auto; color: var(--acc); }
.sub { margin: 64px 0 40px; background: var(--bgc); border: 1px solid var(--bds); border-radius: 3px; padding: 40px 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.sub h3 { font-size: 28px; margin-bottom: 6px; }
.sub p { color: var(--mut); font-size: 15px; }
.sf { display: flex; gap: 10px; }
.sf input { width: 280px; }

/* ---- article ---- */
.ah { text-align: center; padding: 56px 0 32px; max-width: 780px; margin: 0 auto; }
.abk { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sa); font-size: 12px; color: var(--mut); margin-bottom: 20px; cursor: pointer; text-transform: uppercase; letter-spacing: .15em; padding: 8px 16px; border-radius: 20px; border: 1px solid transparent; transition: all .2s; }
.abk:hover { color: var(--acc); border-color: var(--bd); }
.at { font-family: var(--se); font-size: clamp(40px, 5.5vw, 64px); color: var(--acc); margin-bottom: 22px; letter-spacing: -.015em; line-height: 1.05; }
.asb { font-size: 21px; color: var(--ink2); font-style: italic; margin-bottom: 28px; line-height: 1.35; }
.aby { font-family: var(--sa); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.aby .au { color: var(--acc); }
.ahr { max-width: 1120px; margin: 0 auto 28px; border-radius: 3px; overflow: hidden; }
.ahr .it { aspect-ratio: 16 / 7; }
.an { display: flex; justify-content: center; gap: 24px; font-family: var(--se); font-size: 17px; color: var(--mut); padding: 28px 32px 40px; border-bottom: 1px solid var(--bds); margin-bottom: 56px; flex-wrap: wrap; font-style: italic; }
.ani { cursor: pointer; transition: color .2s; }
.ani:hover, .ani.on { color: var(--acc); }
.ans { color: var(--faint); font-style: normal; }
.abw { display: grid; grid-template-columns: 1fr 300px; gap: 72px; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.ab { font-size: 19px; line-height: 1.75; max-width: 640px; }
.ab p { margin: 0 0 22px; }
.ab p.dr::first-letter { font-size: 72px; float: left; line-height: .85; padding: 8px 12px 0 0; color: var(--acc); font-weight: 500; }
.ab h3 { font-size: 30px; color: var(--acc); margin: 52px 0 20px; scroll-margin-top: 120px; }
.ab hr { border: none; height: 1px; background: var(--bd); margin: 40px 0; }
.asc { background: var(--bgc); border: 1px solid var(--bds); border-radius: 3px; padding: 26px; position: sticky; top: 140px; }
.asc h4 { font-size: 20px; margin-bottom: 6px; }
.asc p { font-size: 14px; color: var(--mut); margin-bottom: 18px; line-height: 1.5; }
.asc input { width: 100%; padding: 11px 14px; margin-bottom: 10px; font-size: 15px; }
.asc button { width: 100%; background: var(--bg2); border: 1px solid var(--bd); padding: 11px; border-radius: 3px; font-family: var(--se); font-size: 15px; color: var(--acc); font-style: italic; transition: background .2s; }
.asc button:hover { background: #E8DFD2; }
.fr2 { margin-top: 40px; }
.fi2 { padding: 16px 0; border-bottom: 1px solid var(--bds); font-family: var(--se); font-size: 17px; line-height: 1.3; color: var(--acc); cursor: pointer; display: flex; justify-content: space-between; gap: 10px; transition: opacity .2s; }
.fi2:last-child { border: none; }
.fi2:hover { opacity: .7; }
.dn { position: fixed; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 30; }
.dt { width: 7px; height: 7px; border-radius: 50%; background: transparent; border: 1px solid var(--acc); cursor: pointer; transition: background .2s; }
.dt.on { background: var(--acc); }

/* ---- search modal ---- */
.so { position: fixed; inset: 0; background: var(--bg); z-index: 100; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .25s; }
.so.on { opacity: 1; pointer-events: auto; }
.si { max-width: 1240px; margin: 0 auto; padding: 88px 32px 40px; }
.xc { position: absolute; left: 32px; top: 28px; font-family: var(--sa); font-size: 12px; padding: 6px 12px; border: 1px solid var(--bd); border-radius: 4px; color: var(--mut); background: var(--bgc); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.sor { text-align: center; color: var(--acc2); font-size: 12px; margin-bottom: 18px; letter-spacing: .6em; }
.sht { text-align: center; font-size: clamp(36px, 4.5vw, 52px); font-weight: 500; margin-bottom: 36px; letter-spacing: -.015em; line-height: 1.1; }
.siw { max-width: 720px; margin: 0 auto; position: relative; }
.sin { width: 100%; font-family: var(--se); font-size: 19px; padding: 18px 56px; background: var(--bgc); border: 1px solid var(--bd); border-radius: 40px; color: var(--ink); transition: border-color .2s; }
.sin::placeholder { color: var(--faint); font-style: italic; }
.sin:focus { outline: none; border-color: var(--acc); }
.sil { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--mut); }
.sir { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; color: var(--acc); font-size: 18px; border-radius: 50%; }
.sir:hover { background: var(--bg2); }
.sg { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 22px auto 56px; max-width: 720px; }
.sg .ty { font-family: var(--sa); font-size: 13px; color: var(--mut); align-self: center; }
.sgc { font-family: var(--sa); font-size: 13px; padding: 7px 16px; border-radius: 20px; background: var(--bgc); border: 1px solid var(--bd); color: var(--ink2); cursor: pointer; transition: all .2s; }
.sgc:hover { border-color: var(--acc); color: var(--acc); }
.sdef, .sres { display: none; }
.sdef.on, .sres.on { display: block; }
.sr { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.ao { background: var(--bgc); border: 1px solid var(--bds); border-radius: 4px; padding: 28px; }
.aoh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.aoh .l { display: flex; align-items: center; gap: 10px; font-family: var(--sa); font-size: 13px; color: var(--acc); font-weight: 500; }
.aoh .r { font-family: var(--sa); font-size: 11px; color: var(--mut); display: flex; align-items: center; gap: 6px; }
.aoc { display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: start; }
.aoc p { font-size: 20px; line-height: 1.4; margin: 0; }
.aoi { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.aoi svg { width: 100%; height: 100%; }
.ad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 24px 0 20px; padding-top: 22px; border-top: 1px solid var(--bds); }
.di { text-align: center; cursor: pointer; }
.dic { width: 42px; height: 42px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; color: var(--acc); }
.dic svg { width: 100%; height: 100%; }
.di span { font-family: var(--sa); font-size: 12px; color: var(--ink2); line-height: 1.3; display: block; }
.frs .sbl { display: flex; justify-content: space-between; align-items: center; }
.frs .sbl a { color: var(--acc); font-family: var(--se); font-size: 13px; text-transform: none; letter-spacing: 0; font-style: italic; }
.fri { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--bds); cursor: pointer; transition: opacity .2s; }
.fri:last-child { border: none; }
.fri:hover { opacity: .75; }
.frt { width: 60px; height: 60px; border-radius: 3px; background: var(--bg2); display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.frt svg { width: 100%; height: 100%; }
.fri h5 { font-size: 15px; margin-bottom: 4px; line-height: 1.2; }
.fri .mt { font-size: 11px; }
.fra { color: var(--acc); }
.srh { font-size: 15px; color: var(--mut); margin-bottom: 28px; font-family: var(--sa); }
.srh strong { color: var(--ink); font-weight: 500; }
.srl { display: flex; flex-direction: column; }
.srli { display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: center; transition: background .2s; margin: 0 -16px; padding: 24px 16px; border-bottom: 1px solid var(--bds); border-radius: 3px; cursor: pointer; }
.srli:hover { background: var(--bgc); }
.srli .t { width: 100px; height: 75px; border-radius: 3px; overflow: hidden; background: var(--bg2); }
.srli .t svg { width: 100%; height: 100%; }
.srli h4 { font-size: 20px; margin-bottom: 6px; line-height: 1.2; }
.srli p { font-size: 14px; color: var(--mut); margin: 0 0 6px; line-height: 1.4; }
.srli .sm { font-family: var(--sa); font-size: 11px; color: var(--mut); letter-spacing: .1em; text-transform: uppercase; }
.srli .ar { color: var(--acc); font-size: 18px; }
.srno { padding: 80px 20px; text-align: center; color: var(--mut); font-style: italic; font-size: 19px; font-family: var(--se); }
.srno em { color: var(--acc); }

.sbot { margin-top: 48px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.et2 h3 { font-size: 22px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.et2 h3 a { color: var(--acc); font-family: var(--se); font-size: 13px; font-style: italic; }
.tgr { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tt { background: var(--bgc); border: 1px solid var(--bds); border-radius: 3px; padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: background .2s; }
.tt:hover { background: #F3ECE0; }
.tt .ic { width: 40px; height: 40px; }
.tt .ic svg { width: 100%; height: 100%; }
.tt h5 { font-size: 14px; line-height: 1.25; }
.tm { font-size: 10px; display: flex; justify-content: space-between; font-family: var(--sa); color: var(--mut); letter-spacing: .08em; text-transform: uppercase; }
.ce h3 { font-size: 22px; margin-bottom: 14px; }
.ci { padding: 14px 0; border-bottom: 1px solid var(--bds); display: flex; justify-content: space-between; align-items: center; font-size: 16px; cursor: pointer; transition: color .2s; }
.ci:last-child { border: none; }
.ci:hover { color: var(--acc); }
.ci .arr { color: var(--acc); }
.sft { margin-top: 72px; text-align: center; font-style: italic; color: var(--ink2); font-size: 19px; }
.sft em { color: var(--acc); }
.sbd { text-align: center; margin-top: 14px; }
.skb { position: sticky; bottom: 0; background: rgba(244, 237, 228, .94); backdrop-filter: blur(6px); padding: 14px 0; margin-top: 48px; border-top: 1px solid var(--bds); }
.skbi { display: flex; justify-content: center; gap: 28px; font-family: var(--sa); font-size: 12px; color: var(--mut); flex-wrap: wrap; }
.kb { font-family: var(--sa); font-size: 11px; font-weight: 500; padding: 3px 8px; border: 1px solid var(--bd); border-radius: 3px; background: var(--bgc); color: var(--ink2); margin-right: 6px; }

/* ---- civilisation ---- */
.ch { text-align: center; padding: 72px 0 52px; max-width: 800px; margin: 0 auto; }
.ch .ey { display: block; margin-bottom: 16px; letter-spacing: .24em; }
.ch h1 { font-size: clamp(36px, 4.5vw, 52px); margin-bottom: 18px; letter-spacing: -.015em; line-height: 1.15; }
.ch p { color: var(--ink2); font-size: 19px; line-height: 1.5; font-style: italic; }
.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--bgc); border: 1px solid var(--bds); border-radius: 3px; padding: 44px; }
.cf .ey { margin-bottom: 14px; display: block; }
.cf h2 { font-size: 32px; margin-bottom: 14px; color: var(--acc); line-height: 1.15; cursor: pointer; }
.cf h2:hover { color: var(--acc2); }
.cf p { color: var(--ink2); margin-bottom: 28px; font-size: 17px; line-height: 1.5; }
.cf a { color: var(--ink); font-style: italic; font-size: 16px; border-bottom: 1px solid var(--bd); padding-bottom: 2px; }
.ciz { display: flex; align-items: center; justify-content: center; }
.ciz svg { width: 100%; max-width: 380px; }
.dm { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--bds); border-bottom: 1px solid var(--bds); margin: 56px 0; }
.dmi { padding: 28px 24px; border-right: 1px solid var(--bds); cursor: pointer; transition: background .2s; }
.dmi:nth-child(3n) { border-right: none; }
.dmi:nth-child(n+4) { border-top: 1px solid var(--bds); }
.dmi:hover { background: var(--bgc); }
.dmi h4 { font-size: 20px; margin-bottom: 6px; }
.dmi p { font-size: 14px; color: var(--mut); margin: 0; }
.sw { display: grid; grid-template-columns: 1fr 320px; gap: 56px; padding: 16px 0 56px; }
.sy h3 { font-size: 26px; margin-bottom: 22px; }
.syc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc { background: var(--bgc); border: 1px solid var(--bds); border-radius: 3px; padding: 24px; cursor: pointer; transition: background .2s; min-height: 160px; display: flex; flex-direction: column; }
.sc:hover { background: #F3ECE0; }
.sc h4 { font-size: 19px; margin-bottom: 10px; line-height: 1.2; }
.sc p { font-size: 14px; color: var(--mut); line-height: 1.5; flex-grow: 1; padding-bottom: 12px; margin: 0; }
.sc .mt { font-size: 11px; }
.sim { display: flex; gap: 20px; align-items: center; margin: 8px 0; }
.sim svg { width: 55%; }
.cm h3 { font-size: 24px; margin-bottom: 20px; }
.mb { background: var(--bgc); border: 1px solid var(--bds); border-radius: 3px; padding: 24px; }
.mb h4 { font-size: 18px; margin-bottom: 14px; }
.mf { display: flex; gap: 10px; align-items: center; color: var(--acc); font-size: 15px; margin-bottom: 16px; flex-wrap: wrap; }
.mf .arr { color: var(--faint); }
.mb p { font-size: 14px; color: var(--mut); margin-bottom: 14px; line-height: 1.5; }
.mb a { color: var(--acc); font-size: 14px; font-style: italic; }
.qb { text-align: center; padding: 72px 0; font-size: 22px; font-style: italic; color: var(--ink2); border-top: 1px solid var(--bds); }
.qb cite { display: block; margin-top: 14px; font-size: 13px; font-style: normal; color: var(--mut); letter-spacing: .15em; text-transform: uppercase; font-family: var(--sa); }
.bc { text-align: center; padding: 40px 0 80px; border-top: 1px solid var(--bds); }
.bc p { font-size: 19px; font-style: italic; color: var(--ink2); margin-bottom: 10px; }
.bc a { color: var(--acc); font-size: 17px; }

/* ---- culture ---- */
.cuh { text-align: center; padding: 80px 0 52px; max-width: 780px; margin: 0 auto; }
.cuh .ey { display: block; margin-bottom: 18px; }
.cuh h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 22px; color: var(--acc); letter-spacing: -.015em; line-height: 1.08; }
.cuh p { font-size: 21px; font-style: italic; color: var(--ink2); line-height: 1.4; }
.cfs { max-width: 720px; margin: 0 auto 72px; padding-bottom: 56px; border-bottom: 1px solid var(--bds); }
.cfs .ey { text-align: center; display: block; margin-bottom: 18px; }
.cfs h2 { text-align: center; font-size: 36px; margin-bottom: 24px; line-height: 1.15; cursor: pointer; }
.cfs h2:hover { color: var(--acc); }
.cfs p { font-size: 19px; line-height: 1.6; color: var(--ink2); margin: 0 0 18px; }
.th { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 52px 0; border-bottom: 1px solid var(--bds); margin-bottom: 56px; }
.the { cursor: pointer; }
.the:hover h4 { color: var(--acc); }
.the h4 { font-size: 20px; margin-bottom: 10px; transition: color .2s; }
.the p { font-size: 14px; color: var(--mut); line-height: 1.5; margin: 0; }
.ced { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--bds); margin-bottom: 64px; }
.cec { cursor: pointer; }
.cec .it { margin-bottom: 16px; }
.cec h4 { font-size: 22px; margin-bottom: 8px; line-height: 1.2; }
.cec p { font-size: 15px; color: var(--mut); line-height: 1.5; margin: 0 0 10px; }
.cth { max-width: 720px; margin: 0 auto; padding-bottom: 72px; }
.cth h3 { font-size: 28px; margin-bottom: 32px; text-align: center; }
.ti { padding: 24px 16px; border-bottom: 1px solid var(--bds); display: grid; grid-template-columns: 48px 1fr auto; gap: 24px; align-items: baseline; cursor: pointer; transition: background .2s; margin: 0 -16px; border-radius: 3px; }
.ti:last-child { border: none; }
.ti:hover { background: var(--bgc); }
.tn { font-size: 28px; color: var(--acc); font-style: italic; }
.tb h5 { font-size: 19px; margin-bottom: 6px; }
.tb p { font-size: 15px; color: var(--mut); line-height: 1.5; margin: 0; }
.ta { color: var(--acc); align-self: center; }
.aq { text-align: center; padding: 72px 0; font-size: 24px; font-style: italic; color: var(--ink2); max-width: 720px; margin: 0 auto; line-height: 1.4; }
.aq cite { display: block; margin-top: 18px; font-size: 12px; font-style: normal; color: var(--mut); letter-spacing: .2em; text-transform: uppercase; font-family: var(--sa); }

/* ---- footer ---- */
.ft { border-top: 1px solid var(--bds); padding: 36px 0; }
.fti { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; font-family: var(--sa); font-size: 13px; color: var(--mut); flex-wrap: wrap; gap: 20px; }
.ftl { display: flex; gap: 24px; flex-wrap: wrap; }
.ftl a:hover { color: var(--ink); cursor: pointer; }

/* ---- svg helpers ---- */
.ss { stroke: var(--acc); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sst { stroke: var(--acc); fill: none; stroke-width: .7; stroke-linecap: round; }
.sfl { fill: var(--acc); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .tg { grid-template-columns: 1fr 1fr; }
  .sb { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .fr { grid-template-columns: 1fr; }
  .eg, .th { grid-template-columns: repeat(2, 1fr); }
  .ced { grid-template-columns: 1fr; }
  .cf { grid-template-columns: 1fr; padding: 32px; }
  .sw, .sr, .sbot, .abw, .ngw { grid-template-columns: 1fr; }
  .asc { position: static; }
  .syc { grid-template-columns: 1fr; }
  .tgr { grid-template-columns: repeat(3, 1fr); }
  .dn { display: none; }
  .srli { grid-template-columns: 80px 1fr auto; }
  .srli .t { width: 80px; height: 60px; }
}
@media (max-width: 680px) {
  .ct { padding: 0 20px; }
  .ag, .sb, .eg, .th { grid-template-columns: 1fr; }
  .dm { grid-template-columns: 1fr; }
  .dmi { border-right: none; border-bottom: 1px solid var(--bds); }
  .dmi:nth-child(n+4) { border-top: none; }
  .tgr { grid-template-columns: repeat(2, 1fr); }
  .aoc { grid-template-columns: 1fr; }
  .sub { grid-template-columns: 1fr; padding: 28px; }
  .sf { flex-direction: column; }
  .sf input, .jf input { width: 100%; }
  .jf { flex-direction: column; width: 100%; max-width: 340px; margin: 0 auto; }
  .nvi { padding: 16px 20px 0; }
  .nl { gap: 22px; font-size: 13px; padding: 14px 20px; overflow-x: auto; white-space: nowrap; justify-content: flex-start; }
  .tpb { gap: 22px; overflow-x: auto; padding: 20px 20px 18px; white-space: nowrap; justify-content: flex-start; flex-wrap: nowrap; }
  .an { gap: 14px; font-size: 15px; padding: 20px 16px 32px; }
  .abw { padding: 0 20px; gap: 48px; }
  .et { font-size: clamp(56px, 14vw, 100px); }
  .ec .ei { aspect-ratio: 2 / 1; }
  .srli { grid-template-columns: 1fr; gap: 10px; }
  .srli .t, .srli .ar { display: none; }
}

/* ---- sort control + tag pills + active tag bar (v2 additions) ---- */
.sort-lbl { font-family: var(--sa); font-size: 12px; color: var(--mut); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.sort-sel { font-family: var(--se); font-style: italic; font-size: 15px; background: var(--bgc); border: 1px solid var(--bd); border-radius: 20px; padding: 7px 30px 7px 14px; color: var(--ink2); cursor: pointer; text-transform: none; letter-spacing: 0; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A2E1F' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.sort-sel:focus { outline: none; border-color: var(--acc); }
.sort-row { display: flex; justify-content: flex-end; align-items: center; margin: 0 0 22px; padding: 0 4px; }
.artcat { margin-top: 20px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.tag-pill { font-family: var(--sa); font-size: 11px; color: var(--mut); background: var(--bgc); border: 1px solid var(--bds); border-radius: 16px; padding: 5px 12px; cursor: pointer; transition: all .2s; letter-spacing: .02em; }
.tag-pill:hover { color: var(--acc); border-color: var(--acc); }
.tag-active { background: var(--bgc); border: 1px solid var(--bds); border-radius: 24px; padding: 10px 20px; display: inline-flex; align-items: center; gap: 16px; font-family: var(--sa); font-size: 13px; color: var(--ink2); margin: 0 auto 32px; }
.tag-active strong { color: var(--acc); font-weight: 500; }
.tag-active a { color: var(--mut); cursor: pointer; font-size: 12px; transition: color .2s; }
.tag-active a:hover { color: var(--acc); }
#activeTagBar { text-align: center; }
.lnk { color: var(--acc); cursor: pointer; font-style: italic; }
.lnk:hover { opacity: .7; }
