:root{
  --paper:#F4F3EF; --paper-deep:#EAE8E1; --card:#FBFAF6;
  --ink:#1D2530; --ink-soft:#3A4350; --stone:#6E7480; --line:#D9D5C9;
  --indigo:#2A2E75; --teal:#2E9CA6;
  --grad:linear-gradient(90deg,var(--indigo) 0%,var(--teal) 100%);
  --maxw:1040px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Source Serif 4',Georgia,serif;font-size:17.5px;line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,.display,.kicker,nav,.btn,.num{font-family:'Poppins',system-ui,sans-serif}
h1,h2,h3{margin:0;line-height:1.08;letter-spacing:-0.01em}
a{color:inherit}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
img{display:block;max-width:100%}
a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* nav */
nav{position:sticky;top:0;z-index:20;background:rgba(244,243,239,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.navrow{max-width:var(--maxw);margin:0 auto;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:600;font-size:15px;letter-spacing:.02em}
.brand img{height:26px;width:auto}
.navlinks{display:flex;gap:24px;font-size:12.5px;font-weight:600;letter-spacing:.04em}
.navlinks a{text-decoration:none;color:var(--ink-soft)}
.navlinks a:hover{color:var(--ink)}
.navlinks a.soon{color:var(--stone)}
@media (max-width:760px){.navlinks{display:none}}

/* hero */
header.hero{padding:88px 0 72px;position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center}
@media (max-width:820px){.hero-grid{grid-template-columns:1fr}.hero-art{order:-1;max-width:260px}}
.eyebrow{font-family:'Poppins',sans-serif;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin-bottom:22px}
h1.title{font-size:clamp(28px,4.2vw,46px);font-weight:700;color:var(--ink);line-height:1.18;max-width:20ch}
h1.title em{font-style:normal;color:var(--indigo);display:inline-block;margin-top:.15em;font-size:.9em}
@media (min-width:760px){h1.title em{white-space:nowrap}}
.answer{font-family:'Poppins',sans-serif;font-size:clamp(20px,2.6vw,28px);font-weight:500;margin-top:18px;color:var(--indigo)}
.strap{margin-top:28px;font-style:italic;font-size:19px;color:var(--ink-soft)}
.strap .gd{color:var(--stone)}
.rule{height:5px;width:160px;background:var(--grad);border-radius:3px;margin-top:30px}
.hero-art img{width:100%;height:auto;filter:drop-shadow(0 18px 30px rgba(42,46,117,.18))}

/* sections */
section{padding:72px 0;border-top:1px solid var(--line)}
section.deep{background:var(--paper-deep)}
.kicker{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
h2.stitle{font-size:clamp(28px,3.8vw,40px);font-weight:700;max-width:22ch}
p.lede{font-size:19px;color:var(--ink-soft);max-width:60ch;margin:16px 0 0}

/* fundamentals */
.funds{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line);border:1px solid var(--line);margin-top:40px}
@media (max-width:760px){.funds{grid-template-columns:1fr}}
.fund{background:var(--card);padding:30px 28px 32px}
.fund .num{font-size:15px;font-weight:700;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:.06em;margin-bottom:12px}
.fund p{margin:0;font-size:16.5px;color:var(--ink-soft)}
.fund p strong{color:var(--ink);font-weight:600}

/* stand */
.stand{font-size:clamp(20px,2.4vw,25px);line-height:1.5;max-width:34ch;border-left:5px solid var(--indigo);padding-left:26px;margin-top:34px}

/* coming */
.soon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px}
@media (max-width:760px){.soon-grid{grid-template-columns:1fr}}
.soon-card{background:var(--card);border:1px solid var(--line);padding:26px;border-radius:3px}
.soon-card .kicker{margin-bottom:8px}
.soon-card h3{font-size:18px;font-weight:600}
.soon-card p{margin:10px 0 0;color:var(--stone);font-size:15px}

/* record band */
.band{background:var(--ink);color:var(--paper);padding:84px 0;border-top:none}
.band .line{font-family:'Poppins',sans-serif;font-size:clamp(24px,3.6vw,40px);font-weight:600;line-height:1.25;max-width:20ch}
.band .rule{background:var(--grad)}

/* footer */
footer{background:var(--ink);color:#B9B6AC;padding:34px 0 40px;border-top:1px solid #2C3542;font-family:'Poppins',sans-serif;font-size:13px;letter-spacing:.04em}
.foot{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.foot a{text-decoration:none;color:#B9B6AC}.foot a:hover{color:#fff}
.foot .bb{color:#fff;font-weight:600}

/* door pages */
.door{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:60px 24px}
.door img{width:min(360px,70vw);height:auto;margin-bottom:34px;filter:drop-shadow(0 18px 30px rgba(42,46,117,.16))}
.door h1{font-size:clamp(34px,6vw,56px);font-weight:700}
.door .strap{margin-top:14px}
.door p.one{max-width:52ch;margin:26px auto 0;font-size:18px;color:var(--ink-soft)}
.door .rule{margin:34px auto}
.door .links{display:flex;gap:30px;justify-content:center;flex-wrap:wrap;font-family:'Poppins',sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.door .links a{text-decoration:none;color:var(--indigo);border-bottom:2px solid transparent;padding-bottom:3px}
.door .links a:hover{border-color:var(--teal)}

/* umbrella page: short title */
body.bb h1.title{font-size:clamp(44px,7vw,76px);max-width:none}

/* Foundation hero: badge above the statement; emblem up and right */
.hero-badge{width:150px;height:150px;margin-bottom:26px;filter:drop-shadow(0 12px 22px rgba(42,46,117,.16))}
.hero-grid{align-items:center}
.hero-art-up{justify-self:end;margin-right:-40px;margin-top:-8px;max-width:340px}
@media (max-width:820px){.hero-art-up{justify-self:start;max-width:240px}}

/* Foundation hero: badge tied to the headline's height */
.hero-tie{display:grid;grid-template-columns:minmax(0,1fr) 330px;grid-template-rows:auto auto auto auto;column-gap:40px;align-items:start}
.hero-tie .eyebrow{grid-column:1;grid-row:1}
.hero-tie h1.title{grid-column:1;grid-row:2;max-width:20ch}
.hero-tie .hero-badge-col{grid-column:2;grid-row:2;height:100%;display:flex;align-items:flex-start;justify-content:flex-end;margin-right:-30px}
.hero-tie .hero-badge-col img{height:90%;width:auto;max-width:100%;object-fit:contain;margin-top:6px;filter:drop-shadow(0 18px 30px rgba(42,46,117,.18))}
.hero-tie .strap{grid-column:1;grid-row:3;margin-top:22px}
.hero-tie .rule{grid-column:1;grid-row:4;margin-top:34px}
@media (max-width:820px){
  .hero-tie{grid-template-columns:1fr}
  .hero-tie .hero-badge-col{grid-column:1;grid-row:1;height:auto;justify-content:flex-start;margin:0 0 22px}
  .hero-tie .hero-badge-col img{height:auto;width:min(240px,60vw)}
  .hero-tie .eyebrow{grid-row:2}.hero-tie h1.title{grid-row:3}.hero-tie .strap{grid-row:4}.hero-tie .rule{grid-row:5}
}

/* Bhon Bhunait: keep History, Philosophy, Future visible on phones (v7) */
@media (max-width:760px){body.bb .navrow{flex-wrap:wrap;row-gap:10px}body.bb .navlinks{display:flex;gap:18px}}

/* box titles as links (v8) */
.soon-card h3 a{color:inherit;text-decoration:none}
.soon-card h3 a:hover,.soon-card h3 a:focus-visible{text-decoration:underline}
body.bb section.deep .soon-grid{margin-top:0}

/* v12: prose pages */
section.prose{padding:56px 0}
.prose p{font-family:"Source Serif 4",Georgia,serif;font-size:18px;line-height:1.65;max-width:66ch;margin:0 0 22px;color:var(--ink)}
.prose p:last-child{margin-bottom:0}
.prose strong{font-family:"Poppins",sans-serif;font-weight:600}
.hero p.lede strong{font-family:"Poppins",sans-serif;font-weight:600;color:var(--ink)}

/* v12: history timeline */
section.timeline{max-width:880px;margin:0 auto;padding:56px 28px 64px}
.timeline .tl-kicker{font-family:'Poppins',sans-serif;font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin:0 0 10px}
.timeline h2{font-family:'Poppins',sans-serif;font-weight:700;font-size:clamp(28px,4.4vw,40px);line-height:1.15;margin:0 0 40px;color:var(--ink)}
.tl{list-style:none;margin:0;padding:0;position:relative}
.tl::before{content:"";position:absolute;left:50%;top:6px;bottom:6px;width:3px;margin-left:-1.5px;border-radius:3px;background:linear-gradient(180deg,var(--indigo),var(--teal))}
.tl-item{position:relative;display:grid;grid-template-columns:1fr 36px 1fr;align-items:start;margin:0 0 30px}
.tl-item:last-child{margin-bottom:0}
.tl-date{grid-column:1;text-align:right;font-family:'Poppins',sans-serif;font-weight:700;font-size:22px;color:var(--indigo);padding-top:2px;line-height:1.2}
.tl-dot{grid-column:2;justify-self:center;width:16px;height:16px;margin-top:7px;border-radius:50%;background:#FBFAF7;border:3px solid var(--indigo);position:relative;z-index:1}
.tl-body{grid-column:3}
.tl-item:nth-child(even) .tl-date{grid-column:3;text-align:left;grid-row:1}
.tl-item:nth-child(even) .tl-body{grid-column:1;grid-row:1;text-align:right}
.tl-body h3{font-family:'Poppins',sans-serif;font-weight:600;font-size:17px;margin:0 0 4px;color:var(--ink)}
.tl-body p{font-family:'Source Serif 4',Georgia,serif;font-size:16px;line-height:1.55;margin:0;color:#3A3F47}
.tl-item.last .tl-dot{width:22px;height:22px;margin-top:4px;border-color:var(--teal);background:var(--teal);box-shadow:0 0 0 6px rgba(46,156,166,.18)}
.tl-item.last .tl-date{color:var(--teal)}
.tl-item.last .tl-body h3{color:var(--teal)}
@media (max-width:720px){
 .tl::before{left:15px}
 .tl-item,.tl-item:nth-child(even){grid-template-columns:30px 1fr;row-gap:2px}
 .tl-item .tl-dot,.tl-item:nth-child(even) .tl-dot{grid-column:1;grid-row:1 / span 2;justify-self:start;margin-left:7px}
 .tl-item.last .tl-dot{margin-left:4px}
 .tl-item .tl-date,.tl-item:nth-child(even) .tl-date{grid-column:2;grid-row:1;text-align:left;font-size:19px}
 .tl-item .tl-body,.tl-item:nth-child(even) .tl-body{grid-column:2;grid-row:2;text-align:left}
}

section.timeline{border-top:none;padding-top:8px}
.nb{white-space:nowrap}

/* Bhon Bhunait home: the Arbroath artwork in the hero */
.hero-photo{margin:0;justify-self:end;max-width:420px;width:100%}
.hero-photo img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 22px 44px rgba(28,34,48,.28)}
.hero-photo figcaption{font-family:"Poppins",sans-serif;font-size:12px;letter-spacing:.02em;color:var(--ink-soft);margin-top:10px;text-align:right}
@media (max-width:820px){.hero-photo{justify-self:start;max-width:none;order:0;margin-top:8px}.hero-photo figcaption{text-align:left}}

.strap .gd-line{display:block;margin-top:4px}
.strap .gd-line{white-space:nowrap}
@media (max-width:440px){.strap .gd-line{font-size:.86em}}

/* Bhon Bhunait home: give the artwork more room */
.hero-grid-photo{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px}
.hero-grid-photo .hero-photo{max-width:600px}
@media (max-width:820px){.hero-grid-photo{grid-template-columns:1fr;gap:28px}.hero-grid-photo .hero-photo{max-width:none}}
body.bb .hero-grid-photo h1.title{white-space:nowrap}

/* smallest phones (320-360px) */
@media (max-width:820px){.hero-grid-photo{grid-template-columns:minmax(0,1fr)}}
@media (max-width:360px){.navlinks{gap:12px}.navlinks a{font-size:12px;letter-spacing:.02em}}
figure.badge{max-width:100%;box-sizing:border-box}
figure.badge img{max-width:100%;height:auto}
@media (max-width:380px){div.badges{grid-template-columns:minmax(0,1fr)}}
/* title sized to its own column, so it never runs into the artwork */
.hero-grid-photo > div:first-child{container-type:inline-size;min-width:0}
body.bb .hero-grid-photo h1.title{font-size:min(72px,14.2cqi)}

/* Bhon Bhunait home: artwork on the left, title on the right (computers); title first on phones */
@media (min-width:821px){
 .hero-grid-photo{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
 .hero-grid-photo .hero-photo{order:-1;justify-self:start}
 .hero-grid-photo .hero-photo figcaption{text-align:left}
}

/* Bhon Bhunait home: artwork fills the hero, menu bar to cream band */
@media (min-width:821px){
 header.hero.hero-art-page{padding:20px 0 22px !important}
 .hero-grid-photo{grid-template-columns:auto minmax(0,1fr);gap:56px;align-items:center}
 .hero-grid-photo .hero-photo{max-width:none;width:auto;justify-self:start}
 .hero-grid-photo .hero-photo img{width:auto;max-width:none;height:min(calc(100vh - 150px),880px,74vw)}
 .hero-grid-photo .hero-photo figcaption{text-align:right}
}
@media (min-width:1100px){header.hero.hero-art-page .wrap{max-width:calc(var(--maxw) + 220px)}}

/* pronunciation beside the name in the top bar */
.brand .say{font-family:"Poppins",sans-serif;font-weight:500;font-size:12px;letter-spacing:.02em;color:var(--stone,#7A7F87);margin-left:8px;white-space:nowrap}
@media (max-width:360px){.brand .say{font-size:11px;margin-left:6px}}
/* artwork a touch smaller, caption on the left */
@media (min-width:821px){
 header.hero.hero-art-page{padding:34px 0 30px !important}
 .hero-grid-photo .hero-photo img{height:min(calc(100vh - 220px),780px,66vw)}
 .hero-grid-photo .hero-photo figcaption{text-align:left}
}
.brand span:not(.say){white-space:nowrap}
@media (max-width:400px){.brand{flex-wrap:wrap;row-gap:0}.brand .say{flex-basis:100%;margin-left:48px;margin-top:-4px;font-size:11px}}

/* pronunciation between the name and its translation (Bhon Bhunait home) */
.say-hero{font-family:"Poppins",sans-serif;font-weight:500;font-size:13px;letter-spacing:.03em;color:#7A7F87;margin:-6px 0 14px}

/* Bhon Bhunait home: the roundel's lettering, set beside the artwork */
.name-block{text-align:center}
.name-block h1.title{margin:0}
.name-block .say-hero{margin:6px 0 10px;font-size:14px}
.name-block .from{font-family:"Poppins",sans-serif;font-weight:500;font-size:clamp(20px,2.3vw,28px);color:var(--ink);margin:0 0 6px}
.name-block .web{font-family:"Poppins",sans-serif;font-weight:500;font-size:clamp(16px,1.7vw,21px);color:var(--indigo);margin:0}
.name-block .rule{margin:22px auto 0}
@media (max-width:820px){.name-block{text-align:left}.name-block .rule{margin:20px 0 0}}
.name-block .name-emblem{display:block;width:clamp(96px,11vw,150px);height:auto;margin:0 auto 18px}
@media (max-width:820px){.name-block .name-emblem{margin:0 0 14px;width:88px}}

/* Bhon Bhunait home: five boxes, three over two, each row filling the width */
@media (min-width:761px){
 .soon-grid-5{grid-template-columns:repeat(6,1fr)}
 .soon-grid-5 .soon-card{grid-column:span 2}
 .soon-grid-5 .soon-card:nth-child(n+4){grid-column:span 3}
}
/* home boxes: the box name leads, the description follows (Jake, 2 Oct) */
.soon-grid-5 .soon-card .kicker{font-family:"Poppins",sans-serif;font-size:19px;font-weight:600;letter-spacing:.01em;text-transform:none;color:var(--ink);margin-bottom:8px}
.soon-grid-5 .soon-card h3{font-family:"Source Serif 4",Georgia,serif;font-size:16px;font-weight:400;line-height:1.45;color:var(--ink-soft)}
.soon-grid-5 .soon-card h3 a{color:inherit}
.soon-card .kicker a{color:inherit;text-decoration:none}
.soon-card .kicker a:hover,.soon-card .kicker a:focus-visible{text-decoration:underline}

/* direct action: hourglass and card links (v6) */
.hourglass{display:inline-block;margin-top:14px;line-height:0}
.hourglass .hg-glass{fill:none;stroke:var(--indigo);stroke-width:2.2;stroke-linejoin:round}
.hourglass .hg-cap{stroke:var(--indigo);stroke-width:3.4;stroke-linecap:round}
.hourglass .hg-sand{fill:var(--teal)}
.hourglass .hg-stream{stroke:var(--teal);stroke-width:1.6;stroke-dasharray:3 4}
.hourglass .hg-flip{transform-box:view-box;transform-origin:30px 48px;animation:hg-flip 6s ease-in-out infinite}
.hourglass .hg-sand-top{transform-box:fill-box;transform-origin:50% 100%;animation:hg-drain 6s linear infinite}
.hourglass .hg-sand-bot{transform-box:fill-box;transform-origin:50% 100%;animation:hg-fill 6s linear infinite}
.hourglass .hg-stream{animation:hg-stream 6s linear infinite}
@keyframes hg-drain{0%{transform:scaleY(1)}82%,100%{transform:scaleY(0)}}
@keyframes hg-fill{0%{transform:scaleY(0)}82%,100%{transform:scaleY(1)}}
@keyframes hg-stream{0%{opacity:1;stroke-dashoffset:0}80%{opacity:1;stroke-dashoffset:-42}84%,100%{opacity:0;stroke-dashoffset:-44}}
@keyframes hg-flip{0%,86%{transform:rotate(0deg)}100%{transform:rotate(180deg)}}
@media (prefers-reduced-motion:reduce){.hourglass .hg-flip,.hourglass .hg-sand-top,.hourglass .hg-sand-bot,.hourglass .hg-stream{animation:none}.hourglass .hg-sand-top{transform:scaleY(.55)}.hourglass .hg-sand-bot{transform:scaleY(.45)}}

.soon-card h3 a{color:inherit;text-decoration:none}
.soon-card h3 a:hover,.soon-card h3 a:focus-visible{text-decoration:underline}
.hourglass-lg svg{width:96px;height:152px}

.prose .hourglass{margin-top:8px}

/* v36: Powered by Bloc.Scot, beneath the footer line */
.powered{margin-top:22px;padding-top:18px;border-top:1px solid #2C3542;text-align:center;font-size:12px;letter-spacing:.08em}
.powered a{color:#8F8C83;text-decoration:none}
.powered a:hover,.powered a:focus-visible{color:#fff}
