/* Pages other than the homepage. Loaded after balipriest.css (which is generated from the style lab). */

/* ---------- menus: the sticky bar is there from the start, no big rail ---------- */
body[data-bar-always] .slidebar{transform:none;opacity:1;}
.bar-space{height:58px;}
@media (max-width:860px){.bar-space{display:none;}}
.dd-menu a[aria-current="page"] .t,.mpanel a[aria-current="page"] .t{color:var(--accent);}
.dd-menu a[aria-current="page"]{background:rgba(60,48,94,.05);}

/* ---------- draft markers: facts still to come from the family (remove before launch) ---------- */
.todo{display:inline-block;font-family:var(--sans);font-style:normal;font-size:12px;line-height:1.5;letter-spacing:.04em;text-transform:none;color:#7a5200;background:rgba(232,196,104,.2);border:1px dashed rgba(170,120,20,.65);border-radius:6px;padding:2px 9px;vertical-align:middle;}
.todo::before{content:"To fill in: ";font-weight:500;}
.panel .todo{color:#f3dc9c;background:rgba(232,196,104,.1);border-color:rgba(232,196,104,.55);}

/* ---------- page hero: name, line, facts, tall arched photo ---------- */
.phero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-rows:1fr auto auto 1fr;grid-template-areas:". photo" "head photo" "body photo" ". photo";column-gap:clamp(30px,5vw,80px);max-width:var(--wrap);margin:0 auto;padding:clamp(40px,7vh,90px) var(--g) 0;}
/* desktop: same left offset as the homepage hero, so the text clears the lontar bundle in the background */
@media (min-width:861px){.phero{max-width:none;padding-left:max(var(--g),min(23vw,340px));padding-right:max(var(--g),min(8vw,120px));}}
.phero-head{grid-area:head;container-type:inline-size;}
.phero-body{grid-area:body;}
.phero-photo{grid-area:photo;margin:0;height:min(76vh,700px);border-radius:60.5% 60.5% 0 0/19.5% 19.5% .2% .2%;overflow:hidden;}
.phero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 62%;}
.crumb{font-family:var(--sans);font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin:0 0 22px;}
.crumb a{color:var(--accent);text-decoration:none;}
.crumb a:hover{text-decoration:underline;text-underline-offset:4px;}
.crumb span{margin:0 .8em;opacity:.55;}
.phero h1.big{font-size:min(96px,14.5cqw);white-space:nowrap;}
.phero h1.big .sub{white-space:normal;font-size:max(19px,min(27px,5cqw));margin-top:16px;}
.phero p.s{margin:26px 0 0;max-width:33em;font-size:clamp(19px,1.6vw,21px);color:var(--ink2);}
.phero .facts{margin-top:28px;}
@media (max-width:860px){
  .phero{grid-template-columns:1fr;grid-template-rows:none;grid-template-areas:"head" "photo" "body";padding-top:28px;}
  .phero-photo{height:auto;aspect-ratio:3/4;width:100%;max-width:420px;margin:30px auto 0;}
}
@media (max-width:560px){.phero-photo{width:min(82%,320px);}.phero h1.big .sub{text-wrap:balance;}}

/* the photo of the oil is not there yet: an arched frame that says so */
.photo-todo{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:30px;background:rgba(75,59,120,.06);}
.photo-todo::before{content:"";position:absolute;inset:14px;border:1px solid var(--line);border-radius:inherit;}
.photo-todo i{width:11px;height:11px;border:1px solid rgba(60,48,94,.55);border-radius:50%;}
.photo-todo b{font-family:var(--head);font-weight:400;font-style:italic;font-size:26px;line-height:1.2;color:var(--purple);}
.photo-todo small{font-family:var(--sans);font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);}

/* ---------- three words of the name ---------- */
.words{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1000px;margin:0 auto;padding:0;text-align:center;}
.words div{position:relative;padding:6px clamp(14px,3vw,40px);}
.words div+div::before{content:"";position:absolute;left:0;top:14%;bottom:14%;width:1px;background:var(--line);}
.words dt{font-family:var(--head);font-weight:500;font-size:clamp(46px,5.6vw,76px);line-height:1;color:var(--purple);}
.words dd{margin:16px 0 0;font-style:italic;font-size:clamp(19px,1.7vw,22px);line-height:1.35;color:var(--ink2);}
@media (max-width:640px){
  .words{grid-template-columns:1fr;gap:34px;}
  .words div+div::before{left:50%;right:auto;top:-22px;bottom:auto;width:9px;height:9px;margin-left:-5px;border:1px solid rgba(60,48,94,.5);border-radius:50%;background:transparent;}
}

/* ---------- why the family makes it ---------- */
.why{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(36px,6vw,100px);align-items:center;}
.why .say{font-family:var(--head);font-size:clamp(30px,3.2vw,44px);line-height:1.2;color:var(--purple);margin:0;}
.why .body p{font-size:20px;color:var(--ink2);}
.pair{display:grid;grid-template-columns:1fr 1fr;margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.pair div{padding:16px 0;}
.pair div+div{padding-left:24px;border-left:1px solid var(--line);}
.pair dt{font-family:var(--head);font-weight:500;font-size:32px;line-height:1.1;color:var(--purple);}
.pair dd{margin:4px 0 0;font-style:italic;color:var(--muted);font-size:19px;}
@media (max-width:860px){.why{grid-template-columns:1fr;}}

/* ---------- how it is made: dark panel, steps on a line with open circles ---------- */
.make{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);grid-template-areas:"head photo" "steps photo";column-gap:clamp(36px,6vw,90px);align-items:start;}
.make-head{grid-area:head;}
.make-head .lead{margin:16px 0 0;}
.choose{list-style:none;display:flex;flex-wrap:wrap;margin:24px 0 0;padding:0;}
.choose li{font-family:var(--head);font-style:italic;font-size:clamp(22px,2vw,27px);line-height:1.3;color:#fff;padding:2px 20px;border-left:1px solid var(--line-deep);}
.choose li:first-child{padding-left:0;border-left:0;}
.steps{grid-area:steps;list-style:none;position:relative;margin:clamp(40px,5vw,60px) 0 0;padding:0 0 0 46px;}
.steps::before{content:"";position:absolute;left:10px;top:12px;bottom:40px;width:1px;background:rgba(236,232,244,.28);}
.steps li{position:relative;padding:0 0 clamp(28px,3.2vw,40px);}
.steps li:last-child{padding-bottom:0;}
.steps li::before{content:"";position:absolute;left:-41px;top:5px;width:11px;height:11px;border:1px solid rgba(236,232,244,.6);border-radius:50%;background:var(--deep);}
.steps li:last-child::before{background:var(--on-deep);border-color:var(--on-deep);}
.steps .caps{display:block;color:var(--on-deep2);font-size:11.5px;letter-spacing:.24em;}
.steps h3{font-size:clamp(28px,2.6vw,34px);margin:6px 0 8px;color:#fff;}
.steps p{font-size:19px;line-height:1.55;color:var(--on-deep);margin:0;max-width:34em;}
.steps p+p{margin-top:10px;}
.step-photo{margin:20px 0 0;max-width:520px;}
.step-photo img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:14px;}
.make-photo{grid-area:photo;margin:0;position:sticky;top:90px;}
.make-photo img{width:100%;aspect-ratio:3/4.6;object-fit:cover;border-radius:999px 999px 6px 6px/300px 300px 6px 6px;}
.make-photo figcaption{text-wrap:balance;font-family:var(--sans);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--on-deep2);margin-top:14px;text-align:center;}
@media (max-width:860px){
  .make{grid-template-columns:1fr;grid-template-areas:"head" "photo" "steps";}
  .make-photo{position:static;width:min(78%,360px);margin:36px auto 0;}
  .choose li{padding:2px 14px;}
}
@media (max-width:480px){.choose{display:grid;grid-template-columns:1fr 1fr;gap:6px 0;}.choose li:nth-child(3){padding-left:0;border-left:0;}}

/* ---------- about the oil ---------- */
.info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"photo head" "photo body";grid-template-rows:auto 1fr;column-gap:clamp(36px,6vw,100px);align-items:start;}
.info-head{grid-area:head;margin-bottom:8px;}
.info-photo{grid-area:photo;margin:0;}
.info-photo img{width:100%;aspect-ratio:1295/1065;object-fit:cover;border-radius:18px;}
.info-body{grid-area:body;}
.info .facts{margin:18px 0 0;max-width:none;}
.info .note{font-style:italic;color:var(--muted);font-size:19px;margin-top:22px;max-width:26em;}
@media (max-width:860px){
  .info{grid-template-columns:1fr;grid-template-rows:none;grid-template-areas:"head" "photo" "body";}
  .info-photo{margin-top:24px;}
}

/* =====================================================================
   Ceremony pages (Lontar reading, Melukat, Ruwatan), 23 Nov 2026
   ===================================================================== */
.sec .head + .twin,.sec .head + .hline{margin-top:0;}
.small-note{font-family:var(--sans);font-size:14px;line-height:1.6;color:var(--muted);margin:18px 0 0;max-width:36em;}
.panel .small-note{color:var(--on-deep2);}

/* ---------- two parts of one session: the lontar and the hands ---------- */
.twin{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(36px,6vw,96px);align-items:start;}
.twin .num{font-family:var(--head);font-style:italic;font-size:22px;color:var(--muted);}
.twin h3{font-size:clamp(32px,3.2vw,42px);line-height:1.1;margin:4px 0 10px;color:var(--purple);}
.twin p{font-size:19px;color:var(--ink2);margin:0;max-width:31em;}
/* lontar strips: each item a narrow leaf with its binding hole */
.leaves{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:9px;}
.leaves li{position:relative;padding:11px 22px 11px 50px;font-family:var(--sans);font-size:15px;line-height:1.45;color:var(--ink);background:#f1ebdd;border:1px solid rgba(150,115,55,.26);border-radius:5px 12px 12px 5px/5px 50% 50% 5px;}
.leaves li::before{content:"";position:absolute;left:20px;top:50%;width:8px;height:8px;margin-top:-5px;border:1px solid rgba(120,88,40,.55);border-radius:50%;background:#f7f5f0;}
.leaves li b{font-weight:500;}
/* the hands: thin lines with an open circle, the site's own motif */
.lines{list-style:none;margin:26px 0 0;padding:0;border-top:1px solid var(--line);}
.lines li{position:relative;padding:11px 0 11px 30px;border-bottom:1px solid var(--line);font-family:var(--sans);font-size:15px;line-height:1.45;}
.lines li::before{content:"";position:absolute;left:2px;top:50%;width:9px;height:9px;margin-top:-5px;border:1px solid rgba(60,48,94,.5);border-radius:50%;}
@media (max-width:760px){.twin{grid-template-columns:1fr;}}

/* ---------- your otonan: three cycles that meet every 210 days ---------- */
.cycle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:960px;margin:0 auto;padding:0;text-align:center;position:relative;}
.cycle::before{content:"";position:absolute;left:16.6%;right:16.6%;top:-22px;height:1px;background:var(--line);}
.cycle div{position:relative;padding:0 clamp(10px,2vw,28px);}
.cycle div::before{content:"";position:absolute;left:50%;top:-27px;width:11px;height:11px;margin-left:-6px;border:1px solid rgba(60,48,94,.55);border-radius:50%;background:#f7f5f0;}
.cycle dt{font-family:var(--head);font-weight:500;font-size:clamp(58px,6.6vw,92px);line-height:1;color:var(--purple);}
.cycle dd{margin:12px 0 0;}
.cycle .k{display:block;font-family:var(--sans);font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);}
.cycle .d{display:block;font-style:italic;font-size:19px;line-height:1.35;color:var(--ink2);margin-top:4px;}
.cycle-out{text-align:center;margin:clamp(36px,4vw,50px) auto 0;max-width:30em;}
.cycle-out .n{display:block;font-family:var(--head);font-size:clamp(30px,3vw,40px);line-height:1.15;color:var(--purple);text-wrap:balance;}
.cycle-out p{color:var(--ink2);margin:14px auto 0;text-wrap:balance;}
.cycle-out .actions{justify-content:center;}
@media (max-width:640px){
  .cycle{grid-template-columns:1fr;gap:38px;}
  .cycle::before{display:none;}
  .cycle div+div::before{top:-24px;}
  .cycle div:first-child::before{display:none;}
  .cycle-out p,.cycle .d{max-width:270px;margin-left:auto;margin-right:auto;}
}

/* ---------- a row of steps on a horizontal line with open circles ---------- */
.hline{list-style:none;display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:0 clamp(16px,2vw,28px);margin:clamp(36px,4vw,50px) 0 0;padding:0;position:relative;}
.hline::before{content:"";position:absolute;left:0;right:0;top:5px;height:1px;background:var(--line);}
.hline li{position:relative;padding-top:30px;}
.hline li::before{content:"";position:absolute;left:0;top:0;width:11px;height:11px;border:1px solid rgba(60,48,94,.55);border-radius:50%;background:#f7f5f0;}
.hline li:last-child::before{background:var(--purple);border-color:var(--purple);}
.hline b{display:block;font-family:var(--head);font-weight:500;font-size:clamp(23px,2vw,26px);line-height:1.15;color:var(--purple);margin-bottom:6px;}
.hline span{display:block;font-size:18px;line-height:1.45;color:var(--ink2);}
@media (max-width:860px){
  .hline{grid-template-columns:1fr;gap:22px;padding-left:34px;}
  .hline::before{left:5px;right:auto;top:8px;bottom:8px;width:1px;height:auto;}
  .hline li{padding-top:0;}
  .hline li::before{left:-34px;top:7px;}
}

/* ---------- two photos side by side ---------- */
.duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(14px,2vw,24px);margin:0;}
.duo figure{margin:0;}
.duo img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;}
.duo figcaption{font-family:var(--sans);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:10px;}
@media (max-width:640px){.duo{grid-template-columns:1fr;}}

/* ---------- split block: text and a photo ---------- */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,6vw,100px);align-items:center;}
.split.flip > figure{order:-1;}
.split figure{margin:0;}
.split img{width:100%;border-radius:18px;object-fit:cover;}
.split .body p{font-size:20px;color:var(--ink2);}
.split .body p:first-child{margin-top:0;}
@media (max-width:860px){.split{grid-template-columns:1fr;}.split.flip > figure{order:0;}}

/* ---------- next steps: round photo, title, line, link ---------- */
.next2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(30px,5vw,70px);}
.next2 > div{display:grid;grid-template-columns:clamp(110px,11vw,150px) 1fr;gap:clamp(18px,2.4vw,30px);align-items:center;}
.next2 .ph{display:block;aspect-ratio:1;border-radius:50%;overflow:hidden;border:1px solid var(--line);padding:6px;}
.next2 .ph img{width:100%;height:100%;object-fit:cover;border-radius:50%;transition:transform 3.2s cubic-bezier(.37,0,.63,1);}
.next2 > div:hover .ph img{transform:scale(1.035);}
.next2 h3{font-size:clamp(28px,2.6vw,34px);margin:0 0 6px;color:var(--purple);}
.next2 h3 a{color:inherit;text-decoration:none;}
.next2 p{margin:0 0 10px;font-size:19px;line-height:1.45;color:var(--ink2);}
.next2 .tlink{font-size:19px;}
@media (max-width:760px){.next2{grid-template-columns:1fr;}}
@media (max-width:420px){.next2 > div{grid-template-columns:96px 1fr;}}

/* ---------- questions (the .faq style comes from the homepage) ---------- */
.faq{max-width:860px;}
.faq details:last-child{border-bottom:1px solid var(--line);}
.faq details p a{color:var(--accent);}
.faq summary{line-height:1.25;}

/* ---------- melukat: the photo beside the steps changes with the step ---------- */
.stack{position:relative;aspect-ratio:3/4.6;border-radius:999px 999px 6px 6px/300px 300px 6px 6px;overflow:hidden;background:#2a2346;}
.stack img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity 1.4s ease,transform 7s cubic-bezier(.22,.6,.2,1);}
.stack img.on{opacity:1;transform:scale(1);}
.make-photo.stacked figcaption{min-height:2.8em;}
.step-photo.m-only{display:none;}
@media (max-width:860px){
  .make-photo.stacked{display:none;}
  .step-photo.m-only{display:block;max-width:420px;}
  .step-photo.m-only img{aspect-ratio:4/5;}
}
@media (prefers-reduced-motion:reduce){.stack img{transition:opacity .01s;transform:none;}}

/* ---------- ruwatan: melukat and ruwatan side by side ---------- */
.compare{width:100%;max-width:980px;border-collapse:collapse;}
.compare th,.compare td{text-align:left;vertical-align:top;padding:15px 20px 15px 0;border-top:1px solid var(--line);}
.compare thead th{border-top:0;padding-bottom:12px;font-family:var(--head);font-weight:500;font-size:clamp(30px,2.8vw,38px);line-height:1.1;color:var(--purple);}
.compare thead th small{display:block;font-family:var(--sans);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);font-weight:400;margin-top:6px;}
.compare tbody th{width:20%;font-weight:400;font-style:italic;font-size:18px;color:var(--muted);}
.compare td{width:40%;font-family:var(--sans);font-size:15px;line-height:1.55;}
.compare tbody tr:last-child > *{border-bottom:1px solid var(--line);}
@media (max-width:640px){
  .compare thead{display:none;}
  .compare,.compare tbody,.compare tr{display:block;}
  .compare tr{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;border-top:1px solid var(--line);padding:12px 0;}
  .compare tbody tr:last-child{border-bottom:1px solid var(--line);}
  .compare th,.compare td{border:0!important;padding:0;width:auto;}
  .compare tbody th{grid-column:1/-1;margin-bottom:6px;}
  .compare td::before{content:attr(data-h);display:block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin-bottom:3px;}
}

/* ---------- ruwatan: the Sapuh Leger story in the dark panel ---------- */
.story{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(36px,6vw,90px);align-items:start;}
.story .caps{color:var(--on-deep2);}
.story h2{margin:10px 0 0;}
.story-text p{font-size:20px;line-height:1.6;color:var(--on-deep);max-width:32em;}
.story-text p.first{font-family:var(--head);font-size:clamp(24px,2.2vw,28px);line-height:1.35;color:#fff;margin-top:26px;}
.story-side h3{font-size:clamp(28px,2.6vw,34px);margin:0;color:#fff;}
.story-side > p{color:var(--on-deep);font-size:19px;margin:10px 0 0;}
.waters{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;}
.waters li{position:relative;padding-left:24px;}
.waters li::before{content:"";position:absolute;left:0;top:9px;width:9px;height:9px;border:1px solid rgba(236,232,244,.6);border-radius:50%;}
.waters b{display:block;font-family:var(--head);font-weight:500;font-size:23px;line-height:1.2;color:#fff;}
.waters span{display:block;font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--on-deep2);}
@media (max-width:860px){.story{grid-template-columns:1fr;}}
@media (max-width:560px){.waters{gap:14px 16px;}.waters b{font-size:21px;}}
@media (max-width:330px){.waters{grid-template-columns:1fr;}}

/* ---------- phones: description texts in a narrow column (Remon, 23 Nov 2026) ---------- */
@media (max-width:560px){
  .twin p,.split .body p,.hline span,.next2 p{max-width:300px;}
  .head .lead{text-wrap:balance;}
}
.words.long dt{font-size:clamp(34px,3.3vw,46px);white-space:nowrap;}

/* the text-glow over background objects (data-leg 5) must not change the leaf strips */
body[data-leg="5"] .leaves li.on-bg{background:#f1ebdd;box-shadow:none;text-shadow:none;border-radius:5px 12px 12px 5px/5px 50% 50% 5px;}
.head .h2{text-wrap:balance;}
.twin p.small-note{font-family:var(--sans);font-size:14px;line-height:1.6;color:var(--muted);margin-top:18px;}
.wrap > .faq{margin-left:0;margin-right:0;}
/* sticky photos need a page wrapper that clips without becoming a scroll box */
.page{overflow-x:clip;}
.compare thead td{border-top:0;}
.story-side > p.small-note{font-size:14px;line-height:1.6;color:var(--on-deep2);margin-top:20px;}

/* ---------- lontar reading: the written report, drawn in the report's own design ---------- */
.report{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,100px);align-items:center;}
.report-text .h2{margin:10px 0 0;}
.report-text .lead{margin-top:16px;}
.report-text .lines{margin-top:22px;}
.report-text .facts{margin-top:26px;}
.report-pages{position:relative;width:100%;max-width:580px;aspect-ratio:1/1.02;margin:0 auto;}
.rp{position:absolute;width:62%;aspect-ratio:210/297;container-type:inline-size;background:#FBF6EC;border-radius:2px;box-shadow:0 22px 44px -20px rgba(28,22,51,.42),0 2px 6px rgba(28,22,51,.08);font-family:"Times New Roman",Times,serif;color:#2E2A24;transition:transform 1.1s cubic-bezier(.37,0,.63,1);}
.rp::before{content:"";position:absolute;inset:5.5cqw;border:1.5px solid #B58A34;}
.rp::after{content:"";position:absolute;inset:calc(5.5cqw + 4px);border:.6px solid #D9BE7E;}
.rp-1{left:19%;top:8%;transform:rotate(1deg);z-index:3;}
.rp-2{left:1%;top:4%;transform:rotate(-7deg);z-index:2;}
.rp-3{left:37%;top:2%;transform:rotate(7deg);z-index:1;filter:brightness(.97);}
.report-pages:hover .rp-1{transform:rotate(1.5deg) translateY(-2%);}
.report-pages:hover .rp-2{transform:rotate(-9deg) translateX(-4%);}
.report-pages:hover .rp-3{transform:rotate(9deg) translateX(4%);}
@media (prefers-reduced-motion:reduce){.rp{transition:none;}}
.rp-in{position:absolute;inset:16% 15%;display:flex;flex-direction:column;align-items:center;text-align:center;}
.rp-in.cover{justify-content:center;gap:0;}
.rp-title{font-weight:700;font-size:10.4cqw;line-height:1.05;color:#7A2E2A;}
.rp-subtitle{font-size:4.6cqw;line-height:1.3;color:#B58A34;margin-top:3cqw;text-wrap:balance;}
.rp .rule{display:block;width:30%;height:1px;background:#B58A34;margin:6cqw auto;}
.rp-in.left .rule{margin:3cqw 0 4cqw;width:100%;background:#D9BE7E;}
.rp-for{font-weight:700;font-size:6.6cqw;line-height:1.2;display:flex;align-items:flex-end;gap:2cqw;}
.rp-for .blank{display:inline-block;width:22cqw;height:1px;background:#6B6156;margin-bottom:1.6cqw;}
.rp-meta{font-size:3.7cqw;line-height:1.5;color:#6B6156;margin-top:3cqw;}
.rp-meta + .rp-meta{margin-top:1cqw;}
.rp-in.left{align-items:stretch;text-align:left;}
.rp .bar{display:block;height:2.6cqw;border-radius:2px;background:rgba(46,42,36,.14);margin-bottom:2.2cqw;}
.rp .bar.name{width:52%;height:4.4cqw;background:rgba(122,46,42,.55);}
.rp .bar.sub{width:38%;background:rgba(181,138,52,.45);}
.rp .bar.txt{height:1.6cqw;margin-bottom:2cqw;}
.rp .bar.short{width:62%;}
.rp .row{display:grid;grid-template-columns:38% 1fr;align-items:center;gap:3cqw;padding:1.5cqw 0;border-top:1px solid rgba(217,190,126,.55);}
.rp .row b{font-size:3.3cqw;line-height:1.2;color:#B58A34;font-weight:700;}
.rp .row s{display:block;height:1.6cqw;border-radius:2px;background:rgba(46,42,36,.14);}
.rp .row:nth-child(odd) s{width:78%;}
.rp-h{font-weight:700;font-size:5.4cqw;line-height:1.2;color:#7A2E2A;margin-bottom:5cqw;}
.rp .gl{display:grid;grid-template-columns:30% 1fr;gap:3cqw;width:100%;padding:2.2cqw 0;border-top:1px solid rgba(217,190,126,.55);}
.rp .gl em{display:block;height:2cqw;border-radius:2px;background:rgba(122,46,42,.45);}
.rp .gl s{display:block;height:1.6cqw;border-radius:2px;background:rgba(46,42,36,.14);margin-top:.2cqw;}
/* phones and tablets: title and first line, then the pages, then the list */
@media (max-width:860px){
  .report{display:flex;flex-direction:column;align-items:stretch;gap:0;}
  .report-text{display:contents;}
  .report-text .caps{order:1;}
  .report-text .h2{order:2;}
  .report-text .lead{order:3;}
  .report-pages{order:4;max-width:420px;margin:34px auto 6px;}
  .report-text .lines{order:5;}
  .report-text .facts{order:6;}
}
@media (max-width:560px){.report-text .lead{max-width:300px;}}

/* oil page, about the oil: the two varieties side by side, equal height, then the facts */
.info.stacked{grid-template-columns:1fr;grid-template-rows:none;grid-template-areas:"head" "photo" "body";}
.info.stacked .info-body{max-width:760px;}
.vpair{display:flex;gap:clamp(14px,2vw,24px);margin:18px 0 0;}
.vpair figure{margin:0;flex-basis:0;min-width:0;}
.vpair img{display:block;width:100%;height:auto;aspect-ratio:var(--ar);object-fit:cover;border-radius:14px;}
.vpair figcaption{font-family:var(--sans);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:10px;}
@media (max-width:640px){
  .vpair{flex-direction:column;}
  .vpair figure:first-child{width:min(100%,320px);}
}

/* lontar page: the lontar part is the large one, the hands come after in a smaller block */
.head.center .caps{display:block;margin-bottom:10px;}
.leaves.wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;max-width:980px;margin:0 auto;}
.leaves.wide li{font-size:16px;padding:14px 22px 14px 50px;}
.center-note{text-align:center;margin-left:auto;margin-right:auto;}
.hands{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,5vw,80px);align-items:start;max-width:980px;}
.hands .h2{font-size:clamp(30px,3vw,40px);margin:8px 0 12px;}
.hands p{font-size:19px;color:var(--ink2);margin:0;max-width:26em;}
.hands p.small-note{font-size:14px;color:var(--muted);margin-top:16px;}
.hands .lines{margin-top:6px;}
@media (max-width:760px){.leaves.wide{grid-template-columns:1fr;}.hands{grid-template-columns:1fr;gap:22px;}}

/* hero photos that should show whole (product still life): less crop on desktop, none on phones */
.phero-photo.whole img{object-position:50% 50%;}
@media (max-width:860px){.phero-photo.whole{aspect-ratio:var(--ar);}}

/* =====================================================================
   "Label" skin: a page dressed like the Bali Priest packaging (Lontar page, 24 Nov 2026).
   Warm paper, near-black ink, olive-gold small capitals, serif type only, the logo's own
   flourish above each heading, a thin rule with a diamond. Switch on with <body data-skin="label">.
   ===================================================================== */
body[data-skin="label"]{--purple:#2a2622;--ink:#2a2622;--ink2:#4c463f;--muted:#857d71;--accent:#7f6f2c;--olive:#857531;
  --deep:#1f1d1a;--on-deep:#ebe5da;--on-deep2:#b9b0a1;--line:rgba(42,38,34,.18);--line-deep:rgba(235,229,218,.16);--paper:#ebe6df;--paper-hi:#f4f0ea;background:#ebe6df;}
body[data-skin="label"] .page{background-color:#ebe6df;background-blend-mode:multiply;}
body[data-skin="label"] .on-bg{text-shadow:0 0 2px #ebe6df,0 0 6px #ebe6df,0 0 12px rgba(235,230,223,.98),0 0 22px rgba(235,230,223,.95);background:rgba(235,230,223,.62);box-shadow:0 0 30px 26px rgba(235,230,223,.62);}
/* serif everywhere in the content (menu and footer keep the site's own type) */
body[data-skin="label"] .lab:not([data-sec="nav"]):not([data-sec="foot"]){--sans:'Cormorant Garamond',Georgia,serif;}
body[data-skin="label"] .lab h1,body[data-skin="label"] .lab .h2,body[data-skin="label"] .lab h3{color:var(--ink);}
body[data-skin="label"] .lab .h2{font-weight:600;text-transform:uppercase;letter-spacing:.07em;font-size:clamp(28px,3vw,40px);line-height:1.2;text-wrap:balance;}
body[data-skin="label"] .lab .h2::before{content:"";display:block;width:clamp(170px,18vw,230px);aspect-ratio:934/182;margin:0 auto 20px;background:url("/assets/img/orn-flourish.webp") center/contain no-repeat;opacity:.9;}
body[data-skin="label"] .panel .h2::before{filter:invert(1) sepia(.2) brightness(1.5);opacity:.8;}
body[data-skin="label"] :is(.report-text,.hands > div,.visA > div) > .h2::before{margin-left:0;}
body[data-skin="label"] .head{text-align:center;margin-left:auto;margin-right:auto;}
body[data-skin="label"] .head .lead{margin-left:auto;margin-right:auto;}
body[data-skin="label"] .caps,body[data-skin="label"] .olive-caps{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--olive);}
body[data-skin="label"] .caps{font-size:15px;}
.olive-caps{font-size:clamp(16px,1.4vw,18px);line-height:1.4;margin:0;}
body[data-skin="label"] .panel .caps{color:#c9b873;}
.orn-rule{display:block;width:min(260px,80%);height:16px;margin:18px auto;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 16'%3E%3Cg fill='none' stroke='%23857531' stroke-width='1'%3E%3Cpath d='M10 8H109M151 8H250'/%3E%3Cpath d='M130 1.5l6.5 6.5-6.5 6.5-6.5-6.5z'/%3E%3C/g%3E%3Cg fill='%23857531'%3E%3Ccircle cx='130' cy='8' r='1.9'/%3E%3Ccircle cx='115' cy='8' r='1.7'/%3E%3Ccircle cx='145' cy='8' r='1.7'/%3E%3Ccircle cx='10' cy='8' r='1.3'/%3E%3Ccircle cx='250' cy='8' r='1.3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;}
/* type sizes for the serif (it runs smaller than Jost) */
body[data-skin="label"] .facts dd{font-size:18px;line-height:1.45;}
body[data-skin="label"] .lines li{font-size:18px;line-height:1.45;}
body[data-skin="label"] .small-note,body[data-skin="label"] .twin p.small-note,body[data-skin="label"] .hands p.small-note{font-size:17px;font-style:italic;color:var(--muted);}
body[data-skin="label"] .crumb{font-size:13px;font-weight:600;letter-spacing:.2em;}
body[data-skin="label"] .lab .btn{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:15px;letter-spacing:.16em;background:var(--deep);}
body[data-skin="label"] .lab .btn:hover{background:#3a352f;}
body[data-skin="label"] .lab .btn-light{background:var(--on-deep);color:var(--deep);}
body[data-skin="label"] .cycle .k{font-size:14px;font-weight:600;letter-spacing:.18em;color:var(--olive);}
body[data-skin="label"] :is(.cycle div,.hline li,.leaves li)::before{background:var(--paper);border-color:rgba(42,38,34,.55);}
body[data-skin="label"] .lines li::before{border-color:rgba(42,38,34,.5);}
body[data-skin="label"] .hline li:last-child::before{background:var(--ink);border-color:var(--ink);}
body[data-skin="label"] .hline span{font-size:19px;}
/* hero: centred like the face of the box, the mandala on top */
body[data-skin="label"] .phero-head,body[data-skin="label"] .phero-body{text-align:center;}
body[data-skin="label"] .phero .emblem{display:block;width:clamp(96px,9vw,130px);height:auto;margin:0 auto 14px;opacity:.92;}
body[data-skin="label"] .phero h1.big{font-weight:600;text-transform:uppercase;letter-spacing:.05em;font-size:min(72px,9.2cqw);}
body[data-skin="label"] .phero h1.big .sub{text-transform:none;letter-spacing:0;font-weight:400;font-size:max(19px,min(25px,4.6cqw));}
body[data-skin="label"] .phero p.s{margin-left:auto;margin-right:auto;}
body[data-skin="label"] .phero .facts{margin-left:auto;margin-right:auto;text-align:left;}
body[data-skin="label"] .phero .actions{justify-content:center;}
/* the lontar part as the face of a label: lighter paper, faint corner scrolls from the logo */
.label-panel{position:relative;background:var(--paper-hi,#f4f0ea);border:1px solid rgba(42,38,34,.12);padding:clamp(46px,6vw,84px) clamp(18px,5vw,72px);box-shadow:0 30px 60px -40px rgba(42,38,34,.35);}
.label-panel .lc{position:absolute;width:clamp(90px,11vw,150px);aspect-ratio:307/117;background:url("/assets/img/orn-curl.webp") center/contain no-repeat;opacity:.22;pointer-events:none;}
.label-panel .tl{left:14px;top:16px;}
.label-panel .tr{right:14px;top:16px;transform:scaleX(-1);}
.label-panel .bl{left:14px;bottom:16px;transform:scaleY(-1);}
.label-panel .br{right:14px;bottom:16px;transform:scale(-1,-1);}
body[data-skin="label"] .leaves li{font-size:19px;color:var(--ink);background:#faf8f4;border:1px solid rgba(42,38,34,.2);}
body[data-skin="label"] .leaves li::before{background:#faf8f4;}
body[data-skin="label"] .leaves li.on-bg{background:#faf8f4!important;}
body[data-skin="label"] .faq{margin-left:auto;margin-right:auto;}
body[data-skin="label"] .faq summary{color:var(--ink);}
body[data-skin="label"] .faq summary::after{color:var(--olive);}
body[data-skin="label"] .next2 h3{color:var(--ink);}
body[data-skin="label"] .twin h3,body[data-skin="label"] .hline b{color:var(--ink);}
@media (max-width:560px){.label-panel{padding:52px 16px 44px;margin:0 -6px;}.label-panel .lc{width:80px;}}
body[data-skin="label"] .sub-caps{display:block;margin:12px 0 0;}
body[data-skin="label"] .head .sub-caps + .lead{margin-top:18px;}
body[data-skin="label"] .hands .sub-caps{margin:6px 0 14px;}
body[data-skin="label"] .panel :is(h2,h3,.h2){color:#f4efe6;}
body[data-skin="label"] .head .lead{text-wrap:balance;}
@media (max-width:560px){body[data-skin="label"] .leaves li{font-size:18px;}}

/* page backgrounds other than the homepage's: <body data-bg="wall3"> (Lontar page, Remon 24 Nov 2026) */
body[data-bg="wall3"] .page{background-image:url("/assets/img/page-background-3.webp");}
/* text inside the label panel sits on the panel, not on the wallpaper: no glow there */
body[data-skin="label"] .label-panel .on-bg:not(li){background:none!important;box-shadow:none!important;text-shadow:none!important;}

/* report section: no ornament above "Your PDF report"; the three facts in one row under both columns (Remon, 24 Nov 2026) */
body[data-skin="label"] .report-text > .h2::before{content:none;}
.report .report-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(24px,3vw,48px);max-width:none;margin:clamp(30px,4vw,50px) 0 0;}
.report .report-facts div{display:block;padding:16px 0 0;border-top:1px solid var(--line);border-bottom:0;}
.report .report-facts div:last-child{border-bottom:0;}
.report .report-facts dd{margin-top:6px;}
@media (max-width:860px){
  .report .report-facts{order:6;grid-template-columns:1fr;gap:0;margin-top:26px;}
  .report .report-facts div{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:12px 0;}
  .report .report-facts div:last-child{border-bottom:1px solid var(--line);}
  .report .report-facts dd{margin-top:0;}
}
@media (min-width:861px){.report{row-gap:0;}.report .report-facts{margin-top:48px;}}
/* desktop: the arch photo runs the full height of the text column, so both columns end together */
@media (min-width:861px){body[data-skin="label"] .phero-photo{height:auto;min-height:min(76vh,700px);align-self:stretch;}}

/* Lontar page background: the paper tint is baked into the image (page-background-3-paper.webp), and its bottom fades
   into #e3ded8, the same colour as the page below it, so there is no edge where the image ends */
body[data-bg="wall3"][data-skin="label"] .page{background-image:url("/assets/img/page-background-3-paper.webp");background-color:#e3ded8;background-blend-mode:normal;}
body[data-bg="wall3"][data-skin="label"]{background:#e3ded8;}
/* no flourish over the left-aligned headings (Remon, 24 Nov 2026) */
body[data-skin="label"] :is(.hands > div,.visA > div) > .h2::before{content:none;}

/* phones and tablets: report title + intro and the hands title + Balinese name centred (Remon, 24 Nov 2026) */
@media (max-width:860px){
  .report-text .h2,.report-text .lead{text-align:center;margin-left:auto;margin-right:auto;}
  .hands .h2,.hands .sub-caps{text-align:center;}
}
/* the report drawing much smaller on tablets and phones (Remon, 24 Nov 2026) */
@media (max-width:860px){.report-pages{max-width:300px;margin:26px auto 4px;}}
@media (max-width:560px){.report-pages{width:64%;max-width:230px;}}

/* otonan numbers: no circles or line (Remon, 24 Nov 2026); thin dividers between the three on wider screens */
.cycle::before,.cycle div::before,body[data-skin="label"] .cycle div::before{content:none;display:none;}
.cycle div+div{border-left:1px solid var(--line);}
@media (max-width:640px){.cycle{gap:30px;}.cycle div+div{border-left:0;}}
/* underlined links over a background object: keep the glow, drop the rounded patch that bent the underline */
body[data-leg="5"] .tlink.on-bg{background:none;box-shadow:none;border-radius:0;}
/* desktop: the report drawing smaller too (Remon, 24 Nov 2026) */
@media (min-width:861px){.report-pages{max-width:400px;}}

/* ---------- example report: the drawing opens a viewer with the pages (Remon, 24 Nov 2026) ---------- */
.report-open{display:block;appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;font:inherit;color:inherit;cursor:zoom-in;text-align:left;}
.report-open .rp{display:block;}
.report-open:focus-visible{outline:2px solid var(--accent);outline-offset:10px;border-radius:4px;}
.report-hint{position:absolute;left:0;right:0;bottom:-34px;text-align:center;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:18px;color:var(--accent);}
.report-open:hover .rp-1{transform:rotate(1.5deg) translateY(-3%);}
@media (max-width:860px){.report-pages.report-open{margin-bottom:44px;}.report-hint{font-size:17px;bottom:-30px;}}
@media (min-width:861px){.report .report-facts{margin-top:74px;}}
.rv{width:min(920px,100vw);max-width:100vw;height:min(100dvh,100vh);max-height:100dvh;margin:auto;padding:0;border:0;background:#2a2622;color:#ebe5da;}
.rv::backdrop{background:rgba(20,18,16,.72);}
.rv[open]{display:flex;flex-direction:column;}
.rv-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#1f1d1a;border-bottom:1px solid rgba(235,229,218,.12);}
.rv-title{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:15px;letter-spacing:.14em;text-transform:uppercase;}
.rv-title em{display:inline-block;margin-left:10px;font-weight:400;font-style:italic;letter-spacing:0;text-transform:none;font-size:16px;color:#b9b0a1;}
.rv-close{appearance:none;background:#ebe5da;color:#1f1d1a;border:0;border-radius:999px;padding:9px 18px;font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:14px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;}
.rv-close:hover{background:#fff;}
.rv-pages{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:22px clamp(10px,3vw,36px) 40px;display:flex;flex-direction:column;align-items:center;gap:18px;}
.rv-pages img{display:block;width:100%;max-width:820px;height:auto;box-shadow:0 10px 30px rgba(0,0,0,.35);background:#fbf6ec;}
@media (max-width:560px){.rv-title em{display:block;margin:2px 0 0;font-size:14px;}.rv-bar{padding:10px 12px;}.rv-pages{padding:12px 8px 30px;gap:10px;}}
html.rv-lock,html.rv-lock body{overflow:hidden;}
.report-hint{left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;}

/* label skin: footer in the page's warm black instead of the site's purple (Remon, 24 Nov 2026) */
body[data-skin="label"] .footA{background:#1f1d1a;color:#ebe5da;}
body[data-skin="label"] .footA .rail::before{border-left-color:rgba(235,229,218,.3);}
body[data-skin="label"] .footA .rail a{color:#ebe5da;}
body[data-skin="label"] .footA .rail a span{background:#1f1d1a;border-color:rgba(235,229,218,.5);}
body[data-skin="label"] .footA .rail a:hover span{background:#c9b873;border-color:#c9b873;}
body[data-skin="label"] .footA p{color:#ebe5da;}
body[data-skin="label"] .footA small{color:#b9b0a1;}

/* map of the Griya in the Plan your visit block */
.visit-map{grid-column:1/-1;margin:clamp(10px,2vw,20px) 0 0;}
.visit-map iframe{display:block;width:100%;height:clamp(260px,32vw,380px);border:0;border-radius:14px;background:#2a2622;filter:grayscale(.35) sepia(.12) contrast(.96);}
.visit-map figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;margin-top:14px;font-size:17px;color:var(--on-deep2);}
.visit-map figcaption .tlink{font-size:19px;}
@media (min-width:861px){.visA{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);}}

/* Plan your visit on the paper instead of a dark block (Remon, 24 Nov 2026) */
.visit-light{border-top:1px solid var(--line);padding-top:clamp(40px,5vw,64px);}
.visit-light .visA .facts a,.visit-light .facts a{color:var(--accent);}
.visit-light .visit-map figcaption{color:var(--muted);}
.visit-light .visit-map iframe{background:#e3ded8;}
.visA.visit-light{row-gap:clamp(20px,2.6vw,36px);}

/* ---------- oil page in the label skin (Remon, 24 Nov 2026) ---------- */
/* the making steps on the light label panel instead of the dark one */
.label-panel .make{position:relative;}
.label-panel .choose li{color:var(--ink);border-left-color:var(--line);}
.label-panel .steps::before{background:var(--line);}
.label-panel .steps li::before{border-color:rgba(42,38,34,.55);background:var(--paper-hi,#f4f0ea);}
.label-panel .steps li:last-child::before{background:var(--ink);border-color:var(--ink);}
.label-panel .steps .caps{color:var(--olive);}
.label-panel .steps h3{color:var(--ink);}
.label-panel .steps p{color:var(--ink2);}
.label-panel .make-photo figcaption{color:var(--muted);}
body[data-skin="label"] .label-panel .make-head .h2::before{margin-left:0;}
body[data-skin="label"] .label-panel .make-head .sub-caps{margin:10px 0 0;}
.info-head{grid-area:head;}
body[data-skin="label"] .info-head{text-align:center;margin-bottom:18px;}
body[data-skin="label"] .info .note{margin-left:auto;margin-right:auto;}
body[data-skin="label"] .why .say{color:var(--ink);}
body[data-skin="label"] .pair dt,body[data-skin="label"] .words dt{color:var(--ink);}
@media (max-width:860px){body[data-skin="label"] .label-panel .make-head{text-align:center;}body[data-skin="label"] .label-panel .make-head .h2::before{margin-left:auto;}body[data-skin="label"] .label-panel .choose{justify-content:center;}}

/* melukat page: what sets the Griya's melukat apart, three points side by side (Remon, 24 Nov 2026) */
.usp{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1040px;margin:0 auto;padding:0;}
.usp li{position:relative;padding:4px clamp(18px,3vw,40px);text-align:center;}
.usp li+li{border-left:1px solid var(--line);}
.usp .n{display:block;font-family:var(--head);font-style:italic;font-size:22px;color:var(--muted);}
.usp h3{font-size:clamp(28px,2.6vw,34px);line-height:1.15;margin:6px 0 12px;color:var(--purple);}
.usp p{margin:0 auto;font-size:19px;line-height:1.55;color:var(--ink2);max-width:22em;}
@media (max-width:760px){
  .usp{grid-template-columns:1fr;gap:34px;}
  .usp li+li{border-left:0;padding-top:30px;border-top:1px solid var(--line);}
  .usp p{max-width:300px;}
}
/* label skin: no flourish over the left-aligned "Before you come" heading */
body[data-skin="label"] .split .body > .h2::before{content:none;}

/* ruwatan page: the Sapuh Leger story on the light label panel instead of the dark one */
.label-panel .story-text p{color:var(--ink2);}
.label-panel .story-text p.first{color:var(--ink);}
.label-panel .story-side h3{color:var(--ink);}
.label-panel .story-side > p{color:var(--ink2);}
.label-panel .story-side > p.small-note{color:var(--muted);}
.label-panel .waters b{color:var(--ink);}
.label-panel .waters span{color:var(--muted);}
.label-panel .waters li::before{border-color:rgba(42,38,34,.5);}
body[data-skin="label"] .label-panel .story-text .h2::before{margin-left:0;}
body[data-skin="label"] .label-panel .story-text .sub-caps{margin:10px 0 0;}
body[data-skin="label"] .compare thead th{color:var(--ink);}
@media (max-width:860px){body[data-skin="label"] .label-panel .story-text{text-align:center;}body[data-skin="label"] .label-panel .story-text .h2::before{margin-left:auto;}body[data-skin="label"] .label-panel .story-text p{margin-left:auto;margin-right:auto;}}

/* label pages: the opening uses the normal centred page width. The big left offset was there to clear the
   lontar bundle of the homepage background, which the wall3 background does not have (Remon, 24 Nov 2026) */
@media (min-width:861px){body[data-skin="label"] .phero{max-width:var(--wrap);margin-left:auto;margin-right:auto;padding-left:var(--g);padding-right:var(--g);column-gap:clamp(30px,4.5vw,72px);}}
@media (max-width:860px){body[data-skin="label"] .label-panel .story-text{text-align:left;}body[data-skin="label"] .label-panel .story-text .h2,body[data-skin="label"] .label-panel .story-text .sub-caps{text-align:center;}}

/* homepage v2 (label skin on the homepage background): halfway between the original and the paper tint, bottom fades into #edebe7 */
body[data-bg="new"][data-skin="label"] .page{background-image:url("/assets/img/page-background-2-mid.webp");background-color:#edebe7;background-blend-mode:normal;}
body[data-bg="new"][data-skin="label"]{background:#edebe7;}
/* homepage pieces in the label skin */
body[data-skin="label"] .griB .h2::before{content:none;}
body[data-skin="label"] .heroA h1 .label,body[data-skin="label"] .heroA h1 .pre{color:var(--ink);}
body[data-skin="label"] .hisC .his-title{color:var(--ink);font-weight:600;text-transform:uppercase;letter-spacing:.07em;font-size:clamp(28px,3vw,40px);line-height:1.2;}
/* homepage v2: the menu keeps the site's purple accent (Remon 24 Nov: hover underline and the filled circle in purple) */
body[data-bg="new"][data-skin="label"] :is(.navrail,.slidebar,.mnav){--ink:#1e1830;--muted:#7d7494;--purple:#3a2f5e;--deep:#1c1633;--accent:#4b3b78;--line:rgba(60,48,94,.2);}
/* homepage v2: links, underlines and hover effects in the purple accent too (Remon 24 Nov); olive stays for the small capitals */
body[data-bg="new"][data-skin="label"]{--accent:#4b3b78;}
body[data-bg="new"][data-skin="label"] .lab .btn:hover{background:var(--accent);}

/* =====================================================================
   Footer in the packaging style (24 Nov 2026, Remon: "the footer can have a better design. With the
   ornaments"): warm black label, double gold hairline frame, the wordmark's scrolls in the corners,
   the mandala in the middle between two link columns, the logo flourish above the text.
   Used by every page that carries _tools/partials/footer.html (all label pages and /v2/).
   ===================================================================== */
.footL{--gold:#c9b873;--cream:#ebe5da;--cream2:#b9b0a1;position:relative;margin:clamp(70px,9vw,120px) clamp(0px,3vw,40px) 30px;padding:clamp(64px,6.5vw,92px) clamp(28px,6vw,96px) clamp(48px,5vw,66px);background:radial-gradient(ellipse 70% 55% at 50% 24%,#2c2925 0%,#1f1d1a 62%,#1a1815 100%);color:var(--cream);text-align:center;font-family:'Cormorant Garamond',Georgia,serif;}
.footL::before,.footL::after{content:"";position:absolute;pointer-events:none;border:1px solid rgba(201,184,115,.5);}
.footL::before{inset:12px;}
.footL::after{inset:18px;border-color:rgba(201,184,115,.2);}
.fl-c{position:absolute;width:clamp(84px,9vw,132px);aspect-ratio:307/117;background:var(--gold);-webkit-mask:url("/assets/img/orn-curl.webp") center/contain no-repeat;mask:url("/assets/img/orn-curl.webp") center/contain no-repeat;opacity:.75;pointer-events:none;}
.fl-c.tl{left:30px;top:32px;}
.fl-c.tr{right:30px;top:32px;transform:scaleX(-1);}
.fl-c.bl{left:30px;bottom:32px;transform:scaleY(-1);}
.fl-c.br{right:30px;bottom:32px;transform:scale(-1,-1);}
.fl-top{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(28px,5vw,84px);max-width:980px;margin:0 auto;}
.fl-mark{display:block;width:clamp(132px,13vw,172px);aspect-ratio:348/360;margin:0 auto;background:var(--gold);-webkit-mask:url("/assets/img/emblem-mandala.webp") center/contain no-repeat;mask:url("/assets/img/emblem-mandala.webp") center/contain no-repeat;transition:opacity .6s ease;}
.fl-mark:hover{opacity:.8;}
.footL .fl-name{margin:20px 0 0;font-size:clamp(23px,2.1vw,28px);font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.2;color:var(--cream);}
.footL .fl-place{margin:8px 0 0;font-size:14px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);}
.fl-nav{display:flex;flex-direction:column;gap:13px;}
.fl-l{align-items:flex-end;text-align:right;}
.fl-r{align-items:flex-start;text-align:left;}
.fl-h{font-size:14px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:4px;}
.fl-nav a{position:relative;font-family:'Jost',system-ui,sans-serif;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--cream);text-decoration:none;padding:2px 0;transition:color .6s ease;}
.fl-l > *{margin-right:-.2em;}
.fl-nav a::after{content:"";position:absolute;left:0;right:.2em;bottom:-2px;height:1px;background:currentColor;opacity:.5;transform:scaleX(0);transform-origin:right center;transition:transform 1.1s cubic-bezier(.45,0,.2,1);}
.fl-nav a:hover,.fl-nav a:focus-visible{color:#fff;}
.fl-nav a:hover::after,.fl-nav a:focus-visible::after{transform:scaleX(1);}
.fl-nav a[aria-current="page"]{color:var(--gold);}
.fl-rule{display:block;width:min(300px,70%);aspect-ratio:934/182;margin:clamp(38px,4.5vw,54px) auto clamp(28px,3vw,38px);background:var(--gold);-webkit-mask:url("/assets/img/orn-flourish.webp") center/contain no-repeat;mask:url("/assets/img/orn-flourish.webp") center/contain no-repeat;opacity:.85;}
.fl-text{max-width:40em;margin:0 auto;}
.footL .fl-text p{margin:0 0 .85em;font-size:18px;line-height:1.6;color:var(--cream2);}
.footL .fl-text .fl-partner{font-size:20px;font-style:italic;color:var(--cream);}
.footL a.u{color:var(--cream);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-color:rgba(201,184,115,.55);transition:text-decoration-color .6s ease,color .6s ease;}
.footL a.u:hover{color:#fff;text-decoration-color:var(--gold);}
.fl-copy{display:block;margin-top:clamp(20px,2.6vw,30px);font-family:'Jost',system-ui,sans-serif;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--cream2);}
@media (prefers-reduced-motion:reduce){.fl-nav a::after{transition:none;}}
@media (max-width:760px){
  .footL{margin:60px 10px 20px;padding:70px 24px 52px;}
  .footL::before{inset:9px;}.footL::after{inset:14px;}
  .fl-c{width:74px;}
  .fl-c.tl,.fl-c.bl{left:22px;}.fl-c.tr,.fl-c.br{right:22px;}
  .fl-c.tl,.fl-c.tr{top:24px;}.fl-c.bl,.fl-c.br{bottom:24px;}
  .fl-top{grid-template-columns:1fr 1fr;gap:36px 14px;}
  .fl-mid{grid-column:1/-1;order:-1;}
  .fl-l,.fl-r{align-items:center;text-align:center;}
  .fl-l > *{margin-right:0;}
  .fl-nav a{font-size:11px;letter-spacing:.16em;}
  .footL .fl-text p{font-size:17px;}
  .footL .fl-text .fl-partner{font-size:19px;}
}
@media (max-width:760px){
  .fl-top{align-items:start;}
  .footL{padding-bottom:66px;}
  .fl-copy{font-size:10.5px;letter-spacing:.1em;}
}
.fl-copy span{white-space:nowrap;}
.fl-copy span + span::before{content:"·";margin:0 .7em;}
@media (max-width:420px){.fl-copy span{display:block;}.fl-copy span + span{margin-top:4px;}.fl-copy span + span::before{content:none;}}
@media (min-width:761px){.footL{padding-bottom:clamp(70px,6.5vw,92px);}}
/* phones: one column (Remon 24 Nov: "For mobile make it one column") */
@media (max-width:760px){
  .fl-top{grid-template-columns:1fr;gap:34px;}
  .fl-mid{grid-column:auto;}
  .fl-nav{gap:14px;}
  .fl-r{position:relative;padding-top:34px;}
  .fl-r::before{content:"";position:absolute;top:0;left:50%;width:9px;height:9px;margin-left:-5px;border:1px solid rgba(201,184,115,.7);transform:rotate(45deg);}
}
/* the logo in the footer stays light, like the text (the brand mark); gold is for the ornaments */
.footL .fl-mark{background:var(--cream);}
/* the flourish under the links a little lighter than the other gold (Remon 24 Nov) */
.footL .fl-rule{background:#e3d7a4;opacity:1;}

/* =====================================================================
   Homepage v3 (24 Nov 2026, Remon: "create a v3 homepage with lontar gold / brown / yellow accents
   instead of purple"). v2 with the colours of the lontar leaves: brown #8a5f2a for links and hover,
   gold #b28642 for the menu circles and the photo rings, warm ink for the menu text.
   Switched on by <body data-accent="lontar"> (make-v2.py writes v3 next to v2).
   ===================================================================== */
body[data-bg="new"][data-skin="label"][data-accent="lontar"]{--accent:#8a5f2a;--lontar-gold:#b28642;--lontar-yellow:#dfc956;}
body[data-bg="new"][data-skin="label"][data-accent="lontar"] :is(.navrail,.slidebar,.mnav){--ink:#2a2622;--muted:#857d71;--purple:#2a2622;--deep:#1f1d1a;--accent:#8a5f2a;--line:rgba(42,38,34,.18);}
body[data-accent="lontar"] :is(.navrail a,.dd-menu .t,.mcat,.mpanel .t){color:#2a2622;}
body[data-accent="lontar"] :is(.barnav a,.dd-btn){color:#3d362f;}
body[data-accent="lontar"] .navrail .nri{color:#6b6259;}
body[data-accent="lontar"] .navrail a:hover,body[data-accent="lontar"] .navrail a:focus-visible{color:var(--accent);}
body[data-accent="lontar"] .navrail .list::before{background:rgba(42,38,34,.35);}
body[data-accent="lontar"] .navrail .t i{border-color:rgba(42,38,34,.5);}
body[data-accent="lontar"] .navrail a:hover i{border-color:var(--lontar-gold);}
body[data-accent="lontar"] .navrail .t i::after{background:var(--lontar-gold);}
body[data-accent="lontar"] .barnav .bdiv{background:rgba(42,38,34,.3);}
body[data-accent="lontar"] .dd-menu{box-shadow:0 18px 40px rgba(42,38,34,.12);}
body[data-accent="lontar"] :is(.dd-menu a:hover,.dd-menu a:focus-visible,.mpanel a:active){background:rgba(138,95,42,.07);}
body[data-accent="lontar"] :is(.barnav .cta,.navrail .cta,.mnav .cta){border-color:rgba(31,29,26,.6);}
body[data-accent="lontar"] :is(.barnav .cta,.navrail .cta,.mnav .cta)::before{background:var(--accent);}
body[data-accent="lontar"] :is(.barnav .cta,.navrail .cta,.mnav .cta):is(:hover,:focus-visible){border-color:var(--accent);}
body[data-accent="lontar"] .heroA p.s{color:var(--ink2);}
body[data-accent="lontar"] :is(.postcard,.visB figure img){box-shadow:0 18px 40px rgba(42,38,34,.14);}
body[data-accent="lontar"] .cerC .ring::before,body[data-accent="lontar"] .cerC .ring::after{border-color:var(--lontar-gold);}
body[data-accent="lontar"] .mcat[aria-expanded="true"]{color:var(--accent);}

/* =====================================================================
   Temple & Family History page (24 Nov 2026), from "sejarah singkat griya" by Ida Bagus Putu Eka Jaya
   Wibawa Putra, S.Pd., M.Ag. Label skin. Every class starts with hx-.
   ===================================================================== */
/* the opening words */
.hx-open{text-align:center;}
.hx-quote{margin:0 auto;max-width:32em;}
.hx-quote p{margin:0;font-family:var(--head);font-style:italic;font-size:clamp(24px,2.5vw,33px);line-height:1.42;color:var(--ink);text-wrap:balance;}
.hx-orig{max-width:46em;margin:0 auto;font-style:italic;font-size:17px;line-height:1.6;color:var(--muted);}
.hx-src{display:block;margin-top:16px;}
/* the line of descent */
.hx-line{list-style:none;margin:0 auto;padding:0;max-width:960px;position:relative;--col:250px;}
.hx-line::before{content:"";position:absolute;left:calc(var(--col) + 30px);top:14px;bottom:30px;width:1px;background:var(--olive);opacity:.45;}
.hx-line li{position:relative;display:grid;grid-template-columns:var(--col) minmax(0,1fr);gap:60px;padding:0 0 clamp(30px,3.4vw,46px);}
.hx-line li::before{content:"";position:absolute;left:calc(var(--col) + 30px - 6px);top:13px;width:11px;height:11px;transform:rotate(45deg);border:1px solid var(--olive);background:#ebe6df;}
.hx-line li:last-child::before{background:var(--olive);}
.hx-who{text-align:right;}
.hx-who .caps{display:block;font-size:13px;}
.hx-who b{display:block;margin-top:4px;font-family:var(--head);font-weight:600;font-size:clamp(24px,2.3vw,30px);line-height:1.15;color:var(--ink);}
.hx-what p{margin:0;font-size:19px;line-height:1.6;color:var(--ink2);}
.hx-what .hx-kin{margin-top:10px;font-size:17.5px;font-style:italic;color:var(--muted);}
@media (max-width:760px){
  .hx-line::before{left:5px;}
  .hx-line li{grid-template-columns:1fr;gap:8px;padding-left:34px;}
  .hx-line li::before{left:0;}
  .hx-who{text-align:left;}
}
/* the journey */
.hx-kin3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.4vw,32px);margin:0 0 clamp(40px,5vw,60px);padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.hx-kin3 .caps{display:block;font-size:13px;margin-bottom:8px;}
.hx-kin3 p{margin:0;font-size:19px;line-height:1.55;color:var(--ink);}
.hx-stops{list-style:none;counter-reset:stop;margin:0;padding:0;max-width:820px;}
.hx-stops[start="3"]{counter-reset:stop 2;}
.hx-stops li{counter-increment:stop;position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);gap:0 20px;padding:0 0 28px;}
.hx-stops li::before{content:counter(stop);grid-row:1 / span 2;position:relative;z-index:1;width:44px;height:44px;border-radius:50%;border:1px solid var(--olive);display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:600;font-size:20px;color:var(--olive);background:#ebe6df;}
.hx-stops li::after{content:"";position:absolute;left:22px;top:46px;bottom:0;border-left:1px dashed rgba(133,117,49,.55);}
.hx-stops:last-of-type li:last-child::after{display:none;}
.hx-stops b{grid-column:2;padding-top:7px;font-family:var(--head);font-weight:600;font-size:clamp(23px,2vw,27px);letter-spacing:.04em;line-height:1.2;color:var(--ink);}
.hx-stops p{grid-column:2;margin:6px 0 0;font-size:19px;line-height:1.6;color:var(--ink2);}
.hx-naga{margin:8px 0 46px;}
.hx-naga .head{margin-bottom:22px;}
.hx-tell{max-width:38em;margin:0 auto 18px;font-size:20px;line-height:1.65;color:var(--ink2);text-align:center;}
.hx-lotus{list-style:none;display:flex;justify-content:center;gap:clamp(26px,7vw,90px);margin:32px 0 34px;padding:0;}
.hx-lotus li{display:flex;flex-direction:column;align-items:center;gap:2px;}
.hx-lotus svg{width:78px;height:54px;margin-bottom:12px;stroke:#2a2622;stroke-width:.8;stroke-opacity:.55;}
.hx-lotus .w{fill:#fdfbf6;}
.hx-lotus .r{fill:#9b3426;}
.hx-lotus .k{fill:#26221e;}
.hx-lotus b{font-family:var(--head);font-weight:600;font-size:21px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);}
.hx-lotus span{font-style:italic;font-size:17px;color:var(--muted);}
@media (max-width:760px){.hx-kin3{grid-template-columns:1fr;gap:18px;}.hx-tell{text-align:left;}}
/* in Mas */
.hx-mas figure img{aspect-ratio:auto;}
.hx-mas figcaption{margin-top:12px;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
/* temples */
.hx-temples{list-style:none;margin:0 auto;padding:0;max-width:1040px;columns:5 168px;column-gap:clamp(20px,3vw,40px);}
.hx-temples li{break-inside:avoid;position:relative;padding:8px 0 8px 18px;border-bottom:1px solid var(--line);font-family:var(--head);font-size:19px;line-height:1.3;color:var(--ink);}
.hx-temples li::before{content:"";position:absolute;left:2px;top:50%;width:5px;height:5px;margin-top:-3px;transform:rotate(45deg);border:1px solid var(--olive);}
/* the word griya */
.hx-word{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(24px,4vw,60px);align-items:center;max-width:1000px;margin:0 auto;text-align:center;}
.hx-word b{display:block;font-family:var(--head);font-weight:600;font-size:clamp(40px,4.6vw,60px);line-height:1;letter-spacing:.05em;text-transform:uppercase;color:var(--ink);}
.hx-word b em{font-style:normal;font-weight:400;color:var(--olive);margin:0 .2em;}
.hx-word p{margin:18px auto 0;max-width:26em;font-size:20px;line-height:1.6;color:var(--ink2);}
.hx-dia{width:12px;height:12px;transform:rotate(45deg);border:1px solid var(--olive);}
@media (max-width:760px){.hx-word{grid-template-columns:1fr;}.hx-dia{margin:0 auto;}}
/* the three courts */
.hx-tri{max-width:900px;margin-left:auto;margin-right:auto;margin-bottom:clamp(56px,7vw,90px);}
.hx-court{max-width:1040px;margin:0 auto clamp(64px,8vw,110px);}
.hx-court-head{display:flex;align-items:center;gap:20px;padding-bottom:18px;margin-bottom:24px;border-bottom:1px solid var(--line);}
.hx-num{position:relative;flex:none;width:58px;height:58px;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:600;font-size:21px;color:var(--olive);}
.hx-num::before{content:"";position:absolute;inset:9px;border:1px solid var(--olive);transform:rotate(45deg);}
.hx-court-head h3{margin:0;font-family:var(--head);font-weight:600;font-size:clamp(29px,3vw,40px);letter-spacing:.06em;text-transform:uppercase;line-height:1.1;color:var(--ink);}
.hx-court-head .caps{display:block;margin-top:6px;font-size:14px;}
.hx-court-lead{max-width:42em;margin:0 0 clamp(30px,4vw,46px);font-size:clamp(20px,1.8vw,22px);line-height:1.6;color:var(--ink2);}
:is(.hx-court,.hx-dates) h4{margin:0 0 6px;font-family:var(--head);font-weight:600;font-size:clamp(22px,2vw,26px);letter-spacing:.03em;line-height:1.2;color:var(--ink);}
.hx-court p{margin:0 0 18px;font-size:19px;line-height:1.6;color:var(--ink2);}
.hx-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.6fr);gap:clamp(30px,5vw,70px);align-items:start;margin-bottom:clamp(40px,5vw,56px);}
.hx-pair.flip{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);}
.hx-pair.flip > figure{order:-1;}
.hx-photo{margin:0;display:flex;flex-direction:column;align-items:center;}
.hx-photo img{display:block;width:100%;max-width:280px;height:auto;border:8px solid #f6f2eb;border-radius:3px;box-shadow:0 20px 40px -24px rgba(42,38,34,.55);}
.hx-photo.wide img{max-width:none;}
.hx-photo figcaption{margin-top:12px;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);text-align:center;}
.hx-insc{margin:18px 0 22px;padding:20px 24px;background:#f4f0ea;border:1px solid rgba(42,38,34,.12);outline:1px solid rgba(133,117,49,.4);outline-offset:-7px;font-family:var(--head);font-weight:600;font-size:clamp(16px,1.6vw,19px);letter-spacing:.16em;line-height:1.75;color:var(--ink);text-align:center;}
.hx-court p.hx-insc{color:var(--ink);}
.hx-gloss{margin:0;}
.hx-gloss div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;padding:8px 0;border-top:1px solid var(--line);}
.hx-gloss div:last-child{border-bottom:1px solid var(--line);}
.hx-gloss dt{padding-top:3px;font-family:var(--head);font-weight:600;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--olive);}
.hx-gloss dd{margin:0;font-size:18px;font-style:italic;line-height:1.5;color:var(--ink2);}
.hx-compass{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,290px) minmax(0,1fr);grid-template-areas:". n ." "w c e";gap:clamp(22px,3vw,44px);align-items:start;margin-bottom:clamp(30px,4vw,46px);}
.hx-compass .n{grid-area:n;text-align:center;}
.hx-compass .w{grid-area:w;text-align:right;padding-top:40px;}
.hx-compass .e{grid-area:e;padding-top:40px;}
.hx-compass .c{grid-area:c;margin:0;text-align:center;}
.hx-compass .c img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:999px 999px 6px 6px;}
.hx-compass .c figcaption{margin-top:12px;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
.hx-compass .caps{display:block;margin-bottom:6px;font-size:13px;}
.hx-catur{max-width:44em;margin:0 auto;text-align:center;}
.hx-pure{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(24px,4vw,60px);align-items:center;padding:24px 0;margin-bottom:clamp(34px,4vw,50px);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.hx-court .hx-pure p{margin:0;}
.hx-pure ul{list-style:none;display:flex;gap:clamp(18px,3vw,44px);margin:0;padding:0;}
.hx-pure li{text-align:center;}
.hx-pure b{display:block;font-family:var(--head);font-weight:600;font-size:21px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);}
.hx-pure span{font-style:italic;font-size:17px;color:var(--muted);}
.hx-padma{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(26px,4vw,56px);align-items:center;margin-bottom:clamp(34px,4vw,50px);}
.hx-padma .hx-photo img{max-width:230px;}
.hx-shrines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,44px);}
.hx-shrines > div{padding-top:18px;border-top:1px solid var(--line);}
.hx-court .hx-shrines p{font-size:18px;}
@media (max-width:860px){
  .hx-pair,.hx-pair.flip{grid-template-columns:1fr;}
  .hx-pair.flip > figure{order:0;}
  .hx-photo.wide img{max-width:420px;}
  .hx-compass{grid-template-columns:1fr;grid-template-areas:"c" "n" "e" "w";}
  .hx-compass .n,.hx-compass .w{text-align:left;}
  .hx-compass .w,.hx-compass .e{padding-top:0;}
  .hx-compass .c{max-width:260px;margin:0 auto;}
  .hx-catur{text-align:left;}
  .hx-pure{grid-template-columns:1fr;}
  .hx-pure ul{justify-content:center;}
  .hx-padma{grid-template-columns:1fr;}
  .hx-shrines{grid-template-columns:1fr;}
}
@media (max-width:560px){.hx-gloss div{grid-template-columns:1fr;gap:2px;}.hx-num{width:48px;height:48px;font-size:18px;}.hx-num::before{inset:8px;}}
/* dates carved in stone */
.hx-dates{list-style:none;position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,3vw,38px);margin:0 0 clamp(44px,5vw,64px);padding:0;}
.hx-dates::before{content:"";position:absolute;left:0;right:0;top:15px;height:1px;background:var(--line);}
.hx-dates li{position:relative;padding-top:42px;}
.hx-dates li::before{content:"";position:absolute;left:0;top:10px;width:11px;height:11px;transform:rotate(45deg);border:1px solid var(--olive);background:#ebe6df;}
.hx-yr{display:block;font-family:var(--head);font-weight:600;font-size:clamp(26px,2.4vw,32px);letter-spacing:.04em;line-height:1.1;color:var(--ink);}
.hx-yr em{display:block;margin-top:4px;font-style:normal;font-weight:600;font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:var(--olive);}
.hx-dates .hx-photo{margin:18px 0 0;align-items:flex-start;}
.hx-dates .hx-photo img{max-width:190px;}
.hx-dates h4{margin-top:16px;}
.hx-dates p{margin:0;font-size:18px;line-height:1.55;color:var(--ink2);}
.hx-unread{max-width:900px;margin:0 auto;padding:26px clamp(20px,3vw,36px);background:rgba(244,240,234,.8);border:1px solid rgba(42,38,34,.12);}
.hx-unread .caps{display:block;margin-bottom:10px;}
.hx-unread ul{margin:0;padding-left:20px;}
.hx-unread li{margin:6px 0;font-size:18px;line-height:1.6;color:var(--ink2);}
.hx-sign{margin-top:clamp(40px,5vw,64px);text-align:center;}
.hx-sign p{max-width:36em;margin:0 auto;font-size:19px;font-style:italic;color:var(--ink2);}
@media (max-width:900px){.hx-dates{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px;}.hx-dates::before{display:none;}}
@media (max-width:560px){.hx-dates{grid-template-columns:1fr;}}
/* a long page title in the hero wraps onto two lines */
body[data-skin="label"] .phero h1.big.long{white-space:normal;font-size:min(60px,8.4cqw);line-height:1.08;text-wrap:balance;}
.hx-word{align-items:start;}
.hx-dia{align-self:center;}
/* the writer's name under the opening words (degrees keep their own capitals, so no uppercase) */
.hx-open .hx-src{margin:18px 0 0;font-family:var(--head);font-weight:600;font-size:18px;letter-spacing:.06em;color:var(--olive);}
