/* A shared editorial rhythm, with eKasi's original colours and type. */
:root { --paper: #f6f3eb; --gutter: clamp(22px, 5vw, 88px); --header-height: 90px; }
[hidden] { display: none !important; }
.reveal { opacity: 1; transform: none; }
.announcement-bar { min-height: 32px; font-size: 10px; letter-spacing: .07em; }
.site-header, .home-header { min-height: 90px; margin-bottom: 0; padding: 20px var(--gutter); background: var(--ink); }
.site-header.is-scrolled { background: var(--ink); }
.brand { font-size: 16px; gap: 11px; line-height: 1.05; }
.brand-mark { width: 43px; height: 43px; font-size: 20px; background: var(--warm); color: #fff; }
.site-nav { font-size: 12px; gap: clamp(14px, 1.7vw, 28px); }
.nav-cta { padding: 12px 19px; background: var(--paper); border-radius: 0; }
.site-nav > a[aria-current="page"] { color: #ff796a; }
.nav-cta span { color: var(--ink); }
.eyebrow, .section-kicker, .section-label { font-size: 11px; line-height: 1.5; letter-spacing: .065em; }
.display-heading, .page-hero h1 { letter-spacing: -.055em; }
.page-hero { padding-left: var(--gutter); padding-right: var(--gutter); }
.page-hero-copy > p:last-child, .contact-intro > p, .resource-card p { font-size: 16px; line-height: 1.75; }
.button { min-height: 48px; border-radius: 0; font-size: 12px; padding: 14px 21px; }
.text-link { min-height: 44px; font-size: 13px; padding-top: 9px; }
.site-footer { padding: 48px var(--gutter) 25px; background: var(--ink); color: var(--paper); }
.site-footer .footer-links { font-size: 13px; gap: 9px; }
.site-footer .footer-heading { color: #a7aa9f; font-size: 11px; }
.site-footer .footer-source { color: #a7aa9f; }
.site-footer .brand-mark { background: var(--warm); }
.paper-search { max-width: 660px; margin: 0 0 24px; }
.paper-search label { display: block; margin-bottom: 10px; font-size: 13px; }
.paper-search input { display: block; width: 100%; min-height: 54px; padding: 15px 18px; border: 1px solid #92958d; border-radius: 0; background: #171a16; color: #fff; font-size: 16px; }
.paper-search input::placeholder { color: #b7bbb2; }
.paper-empty { padding: 30px 0; color: #fff; }
.paper { min-height: 96px; }
.paper h3 { letter-spacing: -.045em; }
.filter-tab { min-height: 44px; }
.filter-status { padding: 5px 0 15px; }
.copy-enquiry { display: block; border: 0; padding: 14px 0 4px; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-size: 13px; }
.enquiry-status { font-size: 14px; line-height: 1.6; margin-top: 18px; }
.gallery-grid { columns: 4; column-gap: clamp(14px, 1.5vw, 26px); column-fill: balance; }
.gallery-item { cursor: zoom-in; margin-bottom: clamp(14px, 1.5vw, 26px); padding: 0; border: 0; background: transparent; color: var(--ink); break-inside: avoid; }
.gallery-item img { display: block; width: 100%; height: auto; object-fit: contain; image-orientation: from-image; transition: filter .2s; }
.gallery-item::after { content: none; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: none; filter: none; }
.gallery-item:hover { box-shadow: none; }
.gallery-lightbox-stage img { image-orientation: from-image; }
@media(min-width: 1800px) { .gallery-grid { columns: 5; } }
@media(max-width: 1100px) { .gallery-grid { columns: 3; } }
@media(max-width: 800px) { .gallery-grid { columns: 2; column-gap: 14px; } .gallery-item { margin-bottom: 14px; } }
@media(max-width: 440px) { .gallery-grid { columns: 1; } }
.gallery-lightbox { z-index: 20; }
.skip-link { z-index: 30; }
.home-section { padding: clamp(64px, 7.5vw, 118px) var(--gutter); }
.home-page h2 { margin: 0; font: clamp(2.6rem, 5.2vw, 5.2rem)/1.02 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.home-page h2 em { color: var(--warm); font-style: normal; }
.home-hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 670px; }
.home-hero-copy { padding: 55px 32px 25px var(--gutter); }
.home-hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; font-size: 10px; }
.live-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--acid); }
.home-hero h1 { margin: 0 0 25px; font-size: clamp(4rem, 7.8vw, 8.7rem); line-height: .9; letter-spacing: -.065em; }
.home-hero h1 em { color: var(--warm); }
.home-lead { max-width: 390px; font-size: 17px; line-height: 1.65; }
.home-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 25px; }
.home-actions .button { margin: 0; }
.home-secondary { font-weight: 700; font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; }
.home-secondary:hover, .home-people-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-location { margin-top: 42px; font: 9px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .03em; color: #5c6059; }
.home-location span { padding: 0 10px; }
.home-hero-visual { position: relative; padding: 32px 33px 30px; background: var(--warm); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.image-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font: 10px var(--mono); text-transform: uppercase; }
.image-label > span:last-child { font: 26px/1 var(--sans); }
.home-hero-visual figure { margin: 0; position: relative; z-index: 1; }
.home-hero-visual figure img { width: 100%; aspect-ratio: 1.5; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.home-hero-visual figcaption { font: 9px/1.5 var(--mono); padding-top: 10px; text-transform: uppercase; }
.home-hero-visual blockquote { margin: 35px 0 0; position: relative; z-index: 1; }
.home-hero-visual blockquote p { margin: 0 0 12px; font: clamp(1.6rem, 3.2vw, 3.5rem)/1.08 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.home-hero-visual blockquote footer { font-size: 12px; }
.hero-asterisk { position: absolute; right: -29px; bottom: -90px; font: 300px/1 var(--sans); opacity: .12; }
.home-themes { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px var(--gutter); background: var(--ink); color: var(--paper); font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.home-themes b { color: #37c77a; font-size: 20px; line-height: 1; }
.home-manifesto { border-bottom: 1px solid var(--line); }
.home-manifesto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8vw; margin-top: 35px; }
.home-manifesto-grid > div { max-width: 460px; padding-top: 5px; }
.home-manifesto-grid p { font-size: 15px; line-height: 1.8; }
.home-manifesto-grid .large-copy { font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: -.04em; margin-bottom: 22px; }
.home-manifesto .text-link { margin-top: 25px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 48px; }
.home-section-heading > p { max-width: 310px; font-size: 15px; line-height: 1.75; }
.practice-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.practice-steps article { padding: 25px 30px 32px 0; }
.practice-steps article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.step-number { font: 12px var(--mono); color: var(--warm); }
.practice-steps h3 { font: clamp(2rem, 3.8vw, 4rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.055em; margin: 35px 0 17px; }
.practice-steps p { font-size: 14px; line-height: 1.8; max-width: 310px; }
.home-reading { background: var(--ink); color: var(--paper); }
.home-reading .eyebrow { color: #53d18e; }
.home-reading .text-link { border-color: #8a8c84; }
.home-reading .text-link span { color: #53d18e; }
.featured-papers { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #61665b; border-bottom: 1px solid #61665b; }
.featured-papers > a { display: flex; flex-direction: column; padding: 25px 25px 28px 0; min-height: 285px; transition: background .2s; }
.featured-papers > a + a { padding-left: 25px; border-left: 1px solid #61665b; }
.featured-papers > a:hover { background: #1a2018; }
.featured-papers span { display: flex; justify-content: space-between; font: 10px var(--mono); color: #8cdfb1; text-transform: uppercase; }
.featured-papers span b { font: 20px/1 var(--sans); }
.featured-papers h3 { font: clamp(1.3rem, 2vw, 2rem)/1.2 var(--display); letter-spacing: -.04em; margin: 35px 0 25px; }
.featured-papers p { margin-top: auto; font-size: 12px; color: #c1c7bc; }
.home-community { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7vw; }
.home-community figure { margin: 0; }
.home-community img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; filter: grayscale(1); }
.home-community figcaption { padding-top: 10px; font: 10px var(--mono); text-transform: uppercase; }
.home-community h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.home-community div > p:not(.eyebrow) { max-width: 380px; line-height: 1.8; margin: 25px 0 20px; font-size: 15px; }
.home-people-link { display: block; margin-top: 24px; font-size: 12px; font-weight: 700; }
.home-join { background: var(--acid); position: relative; overflow: hidden; }
.home-join .eyebrow { color: #fff; }
.home-join h2 { max-width: 68%; font-size: clamp(3rem, 7vw, 7rem); position: relative; z-index: 1; }
.home-join > div { margin-top: 32px; max-width: 480px; position: relative; z-index: 1; }
.home-join > div > p { font-size: 17px; line-height: 1.65; }
.home-join .home-secondary { color: #fff; }
.join-question { position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%); font: clamp(220px, 30vw, 500px)/1 var(--display); color: #63ca88; opacity: .65; user-select: none; }
@media(min-width: 1500px) { .home-hero-copy { padding-top: 75px; } .home-hero-visual { padding: 40px 55px; } }
@media(max-width: 1100px) {
  :root { --header-height: 76px; }
  .site-header, .home-header { min-height: 76px; padding-top: 15px; padding-bottom: 15px; }
  .menu-toggle { border-color: #6b7068; }
  .menu-toggle span:not(.sr-only) { background: var(--paper); }
  .site-nav { top: 76px; color: var(--ink); background: var(--paper); font-size: 14px; visibility: hidden; }
  .site-nav.is-open { max-height: calc(100svh - 76px); overflow-y: auto; visibility: visible; }
  .site-nav .nav-cta { background: var(--ink); color: var(--paper); }
  .site-nav .nav-cta span { color: #53d18e; }
  .site-nav > a[aria-current="page"] { color: #b92117; }
  .home-hero { min-height: 590px; }
  .home-hero-copy { padding-top: 42px; }
  .home-hero h1 { font-size: 8.5vw; }
  .home-hero-visual { padding: 25px; }
  .home-hero-visual blockquote p { font-size: 3.4vw; }
  .home-location { font-size: 8px; margin-top: 30px; }
  .home-themes { font-size: 9px; gap: 12px; }
}
@media(max-width: 760px) {
  .brand { font-size: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-copy { padding: 42px var(--gutter) 30px; }
  .home-hero h1 { font-size: clamp(4.2rem, 16vw, 7.5rem); }
  .home-lead { font-size: 16px; max-width: 440px; }
  .home-hero-visual { padding: 28px var(--gutter) 35px; }
  .home-hero-visual blockquote { margin-top: 25px; }
  .home-hero-visual blockquote p { font-size: clamp(1.6rem, 6vw, 2.8rem); }
  .home-hero-visual figure img { aspect-ratio: 1.5; }
  .home-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; font-size: 9px; }
  .home-themes b { display: none; }
  .home-manifesto-grid, .home-community { grid-template-columns: 1fr; gap: 30px; }
  .home-manifesto-grid .large-copy { font-size: 21px; }
  .home-page h2 { font-size: clamp(2.3rem, 8.5vw, 4rem); }
  .home-section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 32px; }
  .home-section-heading > p { max-width: 430px; }
  .practice-steps, .featured-papers { grid-template-columns: 1fr; }
  .practice-steps article, .practice-steps article + article { padding: 24px 0; border-left: 0; }
  .practice-steps article + article { border-top: 1px solid var(--line); }
  .practice-steps h3 { margin: 15px 0 14px; font-size: 2.4rem; }
  .practice-steps p { max-width: 450px; }
  .featured-papers > a, .featured-papers > a + a { padding: 25px 0; border-left: 0; min-height: 220px; }
  .featured-papers > a + a { border-top: 1px solid #61665b; }
  .featured-papers h3 { font-size: 1.6rem; margin-top: 22px; max-width: 480px; }
  .home-community { gap: 40px; }
  .home-join h2 { max-width: 100%; font-size: clamp(2.8rem, 11vw, 5rem); }
  .join-question { position: static; display: block; margin-top: 30px; text-align: right; transform: none; font-size: 150px; }
  .home-join > div { max-width: 370px; }
  .home-actions { gap: 15px 20px; }
  .site-footer { gap: 28px; }
  .page-hero-copy h1 { font-size: clamp(2.5rem, 10vw, 4.8rem); overflow-wrap: break-word; }
  .page-hero { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media(prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } }
