/* Olivine Limited — site styles
   Palette taken from the logo: olive #9AB973 and charcoal #2D2D2D. */

:root {
    --sage: #F5F7F0;        /* page base */
    --mist: #E4EAD8;        /* tints, borders on sage */
    --line: #D3DCC4;
    --olive: #9AB973;       /* logo olive — fills and marks */
    --olive-deep: #4A6A2A;  /* accessible olive for text and buttons */
    --olive-ink: #36501D;
    --ink: #1F2619;         /* text */
    --ink-soft: #4C5643;
    --charcoal: #2D2D2D;    /* logo charcoal — dark bands */
    --white: #FFFFFF;

    --display: "Bricolage Grotesque", "Hind Siliguri", system-ui, sans-serif;
    --body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --radius: 14px;
    --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--sage);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-deep); text-underline-offset: 3px; }
a:hover { color: var(--olive-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; color: inherit; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }

/* Buttons and links */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--olive-deep);
    background: var(--olive-deep); color: var(--white); font-weight: 600; text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--olive-ink); border-color: var(--olive-ink); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--olive-deep); }
.btn-ghost:hover { background: var(--mist); color: var(--olive-ink); }
.btn-light { background: var(--olive); border-color: var(--olive); color: var(--charcoal); }
.btn-light:hover { background: #B2CC90; border-color: #B2CC90; color: var(--charcoal); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--olive); color: var(--olive); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link .icon { width: 1.05em; height: 1.05em; }
.link-light { color: var(--olive); }
.link-light:hover { color: #B9D29A; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,247,240,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 45px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .85rem; color: var(--ink-soft); margin-top: 3px; }
.brand-light { color: var(--white); }
.brand-light .brand-sub { color: #B8C0AE; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; }
.site-nav ul a:hover { background: var(--mist); color: var(--ink); }
.site-nav ul a.is-active { background: var(--ink); color: var(--sage); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 16px;
        background: var(--sage); border-bottom: 1px solid var(--line);
        padding: 12px var(--gutter) 24px; display: flex;
        visibility: hidden; opacity: 0; transform: translateY(-10px);
        transition: opacity .22s ease, transform .26s cubic-bezier(.2,.8,.2,1), visibility 0s linear .26s;
        box-shadow: 0 18px 30px -18px rgba(31,38,25,.35);
    }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s ease, transform .26s cubic-bezier(.2,.8,.2,1), visibility 0s; }
    .site-nav ul li { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .3s ease; }
    .site-nav.is-open ul li { opacity: 1; transform: none; }
    .site-nav.is-open ul li:nth-child(2) { transition-delay: .03s; } .site-nav.is-open ul li:nth-child(3) { transition-delay: .06s; }
    .site-nav.is-open ul li:nth-child(4) { transition-delay: .09s; } .site-nav.is-open ul li:nth-child(5) { transition-delay: .12s; }
    .site-nav.is-open ul li:nth-child(6) { transition-delay: .15s; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { padding: 12px 14px; font-size: 1.1rem; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-flush { padding-top: clamp(8px, 2vw, 24px); }
.section-tint { background: var(--white); }
.section-dark { background: var(--charcoal); color: #E9EDE3; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: #C9D0C0; }
.section-head { max-width: 68ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.section-head-row > div { max-width: 62ch; }
.section-head-row h2 { margin-bottom: .3em; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12ch; margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.6em; }

.honeycomb { --hex: clamp(78px, 9vw, 122px); display: flex; flex-direction: column; align-items: center; padding: 8px 0; }
.hc-row { display: flex; gap: calc(var(--hex) * .06); }
.hc-row + .hc-row { margin-top: calc(var(--hex) * -0.24); }
.hex {
    width: var(--hex); height: calc(var(--hex) * 1.1547);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--white); display: grid; place-items: center;
    animation: hex-in .6s cubic-bezier(.2,.7,.2,1) both;
}
.hex img { width: 62%; height: 52%; object-fit: contain; }
.hex-brand { background: var(--charcoal); }
.hex-logo { width: 64%; height: auto; }
.hc-row:nth-child(1) .hex:nth-child(1) { animation-delay: .05s; }
.hc-row:nth-child(1) .hex:nth-child(2) { animation-delay: .12s; }
.hc-row:nth-child(1) .hex:nth-child(3) { animation-delay: .19s; }
.hc-row:nth-child(2) .hex:nth-child(1) { animation-delay: .26s; }
.hc-row:nth-child(2) .hex:nth-child(2) { animation-delay: 0s; }
.hc-row:nth-child(2) .hex:nth-child(3) { animation-delay: .33s; }
.hc-row:nth-child(2) .hex:nth-child(4) { animation-delay: .4s; }
.hc-row:nth-child(3) .hex:nth-child(1) { animation-delay: .47s; }
.hc-row:nth-child(3) .hex:nth-child(2) { animation-delay: .54s; }
.hc-row:nth-child(3) .hex:nth-child(3) { animation-delay: .61s; }
@keyframes hex-in { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

.hero-facts { margin-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(16px, 3vw, 32px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 28px; }
.stats > div { display: flex; flex-direction: column-reverse; border-left: 3px solid var(--olive); padding-left: 16px; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.03em; }
.stats dt { color: var(--ink-soft); margin-top: 6px; }
.memberships { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-soft); font-size: .98rem; }
.memberships strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .honeycomb { --hex: clamp(62px, 20vw, 100px); order: -1; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Services */
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px 26px 30px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.service:hover { background: var(--white); color: var(--ink); }
.service-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--olive-deep); margin-bottom: 8px; }
.service-icon .icon { width: 26px; height: 26px; }
.service-icon-lg { width: 60px; height: 60px; }
.service-icon-lg .icon { width: 32px; height: 32px; }
.service-title { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.service-text { color: var(--ink-soft); }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 48px minmax(0, 16rem) minmax(0, 1fr) 24px; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.service-row .service-icon { margin: 0; }
.service-row:hover { background: var(--white); color: var(--ink); }
.service-row:hover .service-go { transform: translateX(4px); }
.service-go { color: var(--olive-deep); transition: transform .15s; }
@media (max-width: 720px) {
    .service-row { grid-template-columns: 48px 1fr; gap: 6px 16px; }
    .service-row .service-icon { grid-row: span 2; align-self: start; }
    .service-go { display: none; }
}

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.work { display: flex; flex-direction: column; background: var(--sage); border-radius: var(--radius); overflow: hidden; }
.section-tint .work { background: var(--sage); }
.work-grid-all .work { background: var(--white); }
.work-shot { aspect-ratio: 2 / 1; background: var(--mist); overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { margin-bottom: .35em; }
.work-body p { color: var(--ink-soft); flex: 1; }
.work-featured { grid-column: span 2; }
.work-featured h3 { font-size: 1.6rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags li { font-size: .85rem; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--olive-ink); }
@media (max-width: 960px) {
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-featured { grid-column: span 2; }
}
@media (max-width: 600px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-featured { grid-column: auto; }
}

/* Glimpse + tabs */
.glimpse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tab-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 24px; }
.tab-list [role="tab"] { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 500; }
.tab-list [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--sage); }
.section-dark .tab-list [role="tab"] { border-color: rgba(255,255,255,.22); color: #E9EDE3; }
.section-dark .tab-list [role="tab"][aria-selected="true"] { background: var(--olive); border-color: var(--olive); color: var(--charcoal); }
.tab-panel { max-width: 64ch; }
.tab-panel p { font-size: 1.08rem; }
.tabs-page .tab-list { margin-bottom: 32px; }
.tabs-page .tab-panel { max-width: none; }
.tabs-page .tab-list [role="tab"] { font-size: 1.05rem; padding: 10px 18px; }
.count { font-size: .85em; opacity: .7; margin-left: 2px; }
@media (max-width: 860px) { .glimpse { grid-template-columns: 1fr; } }

.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1a1a1a; }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(20,24,16,.35); border: 0; cursor: pointer; color: var(--white); font-weight: 600; }
.video-play .icon { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: var(--olive); color: var(--charcoal); fill: currentColor; }
.video-play span { position: absolute; left: -9999px; }
.video figcaption { margin-top: 12px; color: #C9D0C0; }
.video figcaption a { color: var(--olive); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: var(--white); counter-increment: step; }
.section-tint .steps li { background: var(--sage); }
.steps li::before { content: counter(step); position: absolute; top: 22px; right: 24px; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--mist); }
.section-tint .steps li::before { color: var(--line); }
.steps img { width: 72px; height: 72px; margin-bottom: 16px; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Logo walls */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-wall li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px 14px; border-radius: var(--radius-sm); background: var(--sage); text-align: center; }
.logo-wall img { width: 100%; height: 64px; object-fit: contain; }
.logo-wall span { font-size: .85rem; line-height: 1.3; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.brand-wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.brand-wall li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px; border-radius: var(--radius-sm); background: var(--white); }
.section-tint .brand-wall li { background: var(--sage); }
.brand-wall img { max-height: 100%; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.brand-wall li:hover img { filter: none; opacity: 1; }

/* Testimonials */
.quotes { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 56px) / 3)); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quotes li { scroll-snap-align: start; }
.quotes blockquote { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--white); }
.quote-mark { font-family: var(--display); font-weight: 700; font-size: 4rem; line-height: .7; height: .45em; color: var(--olive); margin-bottom: 14px; }
.quotes p { flex: 1; font-size: 1.05rem; }
.quotes footer { display: flex; flex-direction: column; border-top: 1px solid var(--mist); padding-top: 14px; }
.quotes footer span { color: var(--ink-soft); font-size: .95rem; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.carousel-nav button:hover { border-color: var(--olive-deep); color: var(--olive-deep); }

/* Awards and photos */
.award-strip { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 280px)); gap: 12px; }
.photo { display: block; width: 100%; padding: 0; border: 0; background: var(--mist); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; text-align: left; }
.award-strip .photo { aspect-ratio: 4 / 3; }
.award-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo:hover img { transform: scale(1.03); }
.award-caption { margin-top: 18px; color: var(--ink-soft); }
@media (max-width: 760px) { .award-strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

.masonry { list-style: none; columns: 4 240px; column-gap: 14px; }
.masonry li { break-inside: avoid; margin-bottom: 14px; }
.masonry img { width: 100%; height: auto; transition: transform .3s; }
.photo-caption { display: block; padding: 10px 12px 12px; font-size: .92rem; line-height: 1.4; background: var(--white); color: var(--ink-soft); }

/* Filters and tiles */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--white); }
.chip-radio { position: relative; display: inline-flex; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-radio:has(input:checked) { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--white); }
.chip-radio:has(input:focus-visible) { outline: 3px solid var(--olive); outline-offset: 2px; }

.tile-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile a, .tile-inner { display: flex; flex-direction: column; height: 100%; padding: 16px; border-radius: var(--radius-sm); background: var(--white); text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.tile a:hover { border-color: var(--olive); color: var(--ink); }
.tile-img { display: grid; place-items: center; height: 110px; margin-bottom: 12px; border-radius: 6px; background: var(--sage); overflow: hidden; }
.tile-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tile-title { font-weight: 600; line-height: 1.35; }
.tile-link { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; font-size: .85rem; color: var(--olive-deep); word-break: break-all; }
.tile-link .icon { width: 14px; height: 14px; }
[data-group].is-hidden { display: none; }

/* Industries */
.industries { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.industries li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); font-weight: 500; }
.section-tint .industries li { background: var(--sage); }
.industries img { width: 36px; height: 36px; object-fit: contain; }

/* Notices & career */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.notice-list { list-style: none; border-top: 1px solid var(--line); }
.notice-item a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 2px 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.notice-item a:hover .notice-title { color: var(--olive-deep); text-decoration: underline; }
.notice-item time { grid-row: span 2; color: var(--ink-soft); font-size: .95rem; padding-top: 2px; }
.notice-title { font-weight: 600; font-size: 1.08rem; }
.notice-summary { grid-column: 2; color: var(--ink-soft); font-size: .98rem; }
.notice-item .badge { grid-column: 3; grid-row: 1; align-self: start; }
@media (max-width: 600px) {
    .notice-item a { grid-template-columns: 1fr auto; }
    .notice-item time { grid-row: auto; grid-column: 1; }
    .notice-title, .notice-summary { grid-column: 1 / -1; }
    .notice-item .badge { grid-column: 2; grid-row: 1; }
}
.badge { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--olive); color: var(--charcoal); font-size: .82rem; font-weight: 600; }
.badge-muted { background: var(--mist); color: var(--ink-soft); }
.career-card { padding: 32px; border-radius: var(--radius); background: var(--sage); }
.career-card img { width: 96px; height: 96px; margin-bottom: 16px; }
.career-card h2 { font-size: 1.5rem; }
.career-card p { color: var(--ink-soft); }
.tracks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tracks li { padding: 28px; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--olive); }
.tracks h2 { font-size: 1.35rem; }
.tracks p { margin: 0; color: var(--ink-soft); }
.career-art { max-width: 320px; justify-self: center; }
.empty { padding: 24px; border-radius: var(--radius); background: var(--sage); }
@media (max-width: 700px) { .tracks { grid-template-columns: 1fr; } }

/* Page head and articles */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 22ch; }
.crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; text-decoration: none; font-weight: 500; }
.crumb .icon { width: 18px; height: 18px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; padding-left: .2em; }
.prose li::marker { color: var(--olive-deep); }
.prose-lead { font-size: 1.2rem; color: var(--ink); }
.notice-meta { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); margin-bottom: 24px; }
.side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.side-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--white); }
.side-card h2, .side-nav h2 { font-size: 1.25rem; margin: 0; }
.side-card p { margin: 0; color: var(--ink-soft); }
.side-nav ul { list-style: none; margin-top: 10px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.side-nav a:hover { color: var(--olive-deep); }
.side-nav .icon { color: var(--olive-deep); width: 18px; height: 18px; }
@media (max-width: 900px) { .side { position: static; } }

/* About */
.about-intro { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.swatch { aspect-ratio: 1; border-radius: var(--radius); background: #9CB770; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--charcoal); font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.swatch-logo { width: 72px; height: auto; }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } .swatch { max-width: 240px; } }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); }
.two-col-center { align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts > div { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); }
.facts dt { color: var(--ink-soft); font-size: .95rem; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.network img { border-radius: var(--radius); width: 100%; }
.network p { margin-top: 12px; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); }
.topic-group { border: 0; padding: 0; margin: 0 0 8px; }
.topic-group legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--sage);
    border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive-deep); box-shadow: 0 0 0 3px rgba(154,185,115,.45); background: var(--white); }
.has-error input, .has-error textarea { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .95rem; margin: 6px 0 0; }
.form-errors { padding: 12px 16px; border-radius: var(--radius-sm); background: #FBEAE9; color: #8C1D18; margin-bottom: 20px; }
.form-errors p { margin: 0; }
.notice-ok h2 { font-size: 1.6rem; }
.contact-info h2 { font-size: 1.4rem; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); margin: 20px 0 12px; background: var(--mist); }

/* Contact band + footer */
.contact-band { background: var(--olive-deep); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.contact-band h2 { color: var(--white); margin-bottom: .25em; }
.contact-band p { margin: 0; color: #DCE6CF; }

.site-footer { background: var(--charcoal); color: #C9D0C0; padding: 64px 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-title { font-size: 1.05rem; color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #E2E8DA; text-decoration: none; }
.site-footer a:hover { color: var(--olive); }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; }
.footer-network { color: #9EA696; }
.social { list-style: none; display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.social a:hover { border-color: var(--olive); }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--olive); }
.contact-lines a { color: var(--ink); }
.contact-lines .icon { color: var(--olive-deep); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #9EA696; font-size: .9rem; }
.footer-base p { margin: 0; }
.footer-members { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(18,20,15,.94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 8px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; min-width: 0; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; border-radius: 6px; }
.lightbox figcaption { color: #E2E8DA; text-align: center; max-width: 70ch; }
.lightbox button { background: none; border: 0; color: var(--white); cursor: pointer; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.lightbox button:hover { background: rgba(255,255,255,.1); }
.lightbox button .icon { width: 28px; height: 28px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .img-wait img { opacity: 1 !important; }
}

/* ---------------------------------------------------------- Admin bar & edit mode (signed-in staff only) */
.admin-bar { background: var(--charcoal); color: #D9DED2; font-size: .86rem; position: relative; z-index: 60; }
.admin-bar-inner { max-width: var(--wrap); margin: 0 auto; padding: 7px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.admin-bar a { color: #fff; text-decoration: none; }
.admin-bar a:hover { color: var(--olive); }
.ab-brand { font-family: var(--display); font-weight: 600; }
.ab-sep { width: 1px; height: 16px; background: rgba(255,255,255,.2); }
.ab-label { color: #A9B19F; }
.ab-links { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.ab-links .edit-chip { background: none; border: 0; padding: 0; color: #fff; font-size: inherit; margin: 0; }
.ab-right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.ab-right b { background: var(--olive); color: var(--charcoal); border-radius: 999px; padding: 0 7px; font-size: .78rem; margin-left: 3px; }
.ab-toggle { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 2px 10px; }
.ab-toggle.on { background: var(--olive); color: var(--charcoal) !important; border-color: var(--olive); }
.edit-chip { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 0 10px; padding: 2px 10px; font: 600 .78rem/1.6 var(--body); color: var(--olive-ink); background: #FFF6D8; border: 1px dashed #D8B65A; border-radius: 999px; text-decoration: none; vertical-align: middle; letter-spacing: 0; text-transform: none; }
.edit-chip:hover { background: #FFE9A8; color: var(--ink); }
.edit-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.edit-chips .edit-chip { margin: 0; }
.section-dark .edit-chip, .hero .edit-chip { color: var(--olive-ink); }
.is-editing [data-edit] { outline: 1px dashed transparent; outline-offset: 3px; transition: outline-color .15s; }
.is-editing [data-edit]:hover { outline-color: #D8B65A; }
.edit-pin { position: absolute; top: 6px; right: 6px; z-index: 5; display: none; padding: 2px 9px; font: 600 .74rem/1.6 var(--body); color: var(--ink); background: #FFE9A8; border: 1px solid #D8B65A; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.12); white-space: nowrap; }
.is-editing [data-edit]:hover > .edit-pin, .is-editing [data-edit]:focus-within > .edit-pin { display: inline-block; }
@media (hover: none) { .is-editing .edit-pin { display: inline-block; } }
@media (max-width: 700px) {
    .admin-bar-inner { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .ab-label, .ab-sep { display: none; }
    .ab-links { flex-wrap: nowrap; }
    .ab-right { margin-left: 12px; }
}


/* ---------------------------------------------------------- Motion & loading */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .28s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

/* Top progress bar while the next page loads */
.page-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); opacity: 0; background: linear-gradient(90deg, var(--olive), var(--olive-deep)); box-shadow: 0 0 8px rgba(154,185,115,.7); }
.page-progress.is-active { opacity: 1; animation: progress 8s cubic-bezier(.1,.7,.2,1) forwards; }
.page-progress.is-done { opacity: 0; transform: scaleX(1); transition: opacity .3s .1s, transform .2s; animation: none; }
@keyframes progress { 0% { transform: scaleX(0); } 20% { transform: scaleX(.45); } 60% { transform: scaleX(.75); } 100% { transform: scaleX(.92); } }

/* First paint: content eases in */
.js main { animation: page-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

/* Mobile menu button: hamburger <-> close */
.nav-toggle { position: relative; width: 48px; height: 48px; align-items: center; justify-content: center; }
.nav-toggle .icon { position: absolute; transition: opacity .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.nav-toggle[aria-expanded="true"] .icon-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.nav-toggle[aria-expanded="true"] .icon-close { opacity: 1; transform: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(31,38,25,.32); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
@media (min-width: 961px) { .nav-backdrop, .nav-toggle .icon-close { display: none; } }

/* Reveal on scroll (only added by JS, so content is never hidden without it) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Image loading: shimmer placeholder, then fade in */
.img-wait { position: relative; background-color: var(--mist); }
.img-wait::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%) var(--mist); background-size: 220% 100%; animation: shimmer 1.3s linear infinite; pointer-events: none; }
.img-wait img { opacity: 0; }
.img-wait.is-loaded::before { opacity: 0; animation: none; transition: opacity .3s; }
.img-wait.is-loaded img { opacity: 1; transition: opacity .45s ease, transform .3s, filter .2s; }
.img-wait img { position: relative; z-index: 1; }
.img-wait.is-broken::before { animation: none; background: var(--mist); }
.img-wait.is-broken::after { content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; opacity: .45; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C5643' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E"); }
.masonry .img-wait:not(.is-loaded) { min-height: 180px; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Filters: items fade / scale when they appear */
[data-group] { transition: opacity .25s ease, transform .3s ease; }
[data-group].reveal { transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
[data-group].is-leaving { opacity: 0; transform: scale(.96); transition-duration: .2s; transition-delay: 0s; }
[data-group].is-entering { animation: item-in .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes item-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.chip { transition: background-color .18s, color .18s, border-color .18s, transform .15s; }
.chip:active { transform: scale(.96); }

/* Tabs: panel fades in */
.tab-panel.is-showing { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }

/* Lightbox: fade + zoom, spinner while the photo loads */
.lightbox { transition: opacity .25s ease, visibility 0s; }
.lightbox.is-closing { opacity: 0; transition: opacity .2s ease; }
.lightbox:not([hidden]) { animation: lb-in .25s ease both; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { position: relative; }
.lightbox img { transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.lightbox.is-loading img { opacity: 0; transform: scale(.97); }
.lightbox .lb-spinner { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--olive); animation: spin .8s linear infinite; opacity: 0; transition: opacity .2s; }
.lightbox.is-loading .lb-spinner { opacity: 1; }
.lightbox figcaption { transition: opacity .3s; }
.lightbox.is-loading figcaption { opacity: .4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons: loading state for forms */
.btn { transition: background-color .15s, border-color .15s, color .15s, transform .12s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; margin-right: 8px; flex: none; }

/* Success message after the contact form */
.form-success { animation: pop-in .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* Cards lift a little on hover */
.service, .tile a, .notice-item a, .photo { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-color .15s, border-color .15s; }
@media (hover: hover) {
    .tile a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(31,38,25,.45); }
}

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--olive-deep); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(31,38,25,.6); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s, background-color .15s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, background-color .15s; }
.to-top:hover { background: var(--olive-ink); }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
