/* ==========================================================================
   THE CRASHPAD — v7
   Palette: "Savanna Earth" on an off-white base.
   ========================================================================== */

/* Handwritten accent for the children's activity board */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&display=swap');

/* "@" falls back to the next font (Glacial's @ reads like an e). Glacial Indifference — self-hosted (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face { font-family: 'Glacial Indifference'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/glacial-indifference-400.woff2') format('woff2');  unicode-range: U+0000-003F, U+0041-FFFF; }
@font-face { font-family: 'Glacial Indifference'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/glacial-indifference-400italic.woff2') format('woff2');  unicode-range: U+0000-003F, U+0041-FFFF; }
@font-face { font-family: 'Glacial Indifference'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/glacial-indifference-700.woff2') format('woff2');  unicode-range: U+0000-003F, U+0041-FFFF; }

:root {
  /* Savanna Earth */
  --white: #F8F8F8;        /* neutral white — main background */
  --cream: #F8E8C8;        /* cream / parchment — alternate sections */
  --sand: #F8D8B8;         /* soft sand — cards, highlights */
  --tan: #E8B878;          /* warm tan — dividers, borders, hover */
  --ink: #181808;          /* primary text */
  --black: #080808;        /* artwork, dark sections */

  /* Derived from the palette for readable small text */
  --accent: #8A5A1E;       /* deep tan — eyebrows, links (AA on white & cream) */
  --muted: #554B3B;        /* body copy */
  --subtle: #786C58;       /* labels, captions */
  --surface: #FFFFFF;
  --line: rgba(24, 24, 8, 0.10);
  --line-strong: rgba(24, 24, 8, 0.18);
  --on-dark: #F8E8C8;
  --on-dark-muted: rgba(248, 232, 200, 0.70);

  --font-main: 'Glacial Indifference', 'Avenir Next', 'Century Gothic', -apple-system, sans-serif;
  --font-serif: var(--font-main);   /* headings */
  --font-sans: var(--font-main);    /* body */
  --font-mono: var(--font-main);    /* small uppercase labels */
  --font-hand: 'Caveat', 'Bradley Hand', cursive;

  --container-max: 1240px;
  --header-height: 96px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-full: 9999px;

  --shadow-soft: 0 4px 18px rgba(24, 24, 8, 0.06);
  --shadow-lift: 0 20px 50px rgba(24, 24, 8, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); color-scheme: light; }
body {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  background: var(--white); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 18px; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
p.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 16px; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
section { padding: 110px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-header { max-width: 760px; margin-bottom: 56px; }
.section-header .subtitle { font-size: 1.08rem; color: var(--muted); }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow.on-dark { color: var(--tan); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-full);
  font-size: 0.93rem; font-weight: 700; white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent); transform: translateY(-1px); }
.btn-full { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.93rem; font-weight: 700; color: var(--ink);
  border-bottom: 1.5px solid var(--tan); padding-bottom: 2px;
  transition: gap 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { gap: 10px; color: var(--accent); border-color: var(--accent); }
.text-link.on-dark { color: var(--white); border-color: rgba(248, 232, 200, 0.6); }
.text-link.on-dark:hover { color: var(--tan); border-color: var(--tan); }

.pill {
  display: inline-flex; padding: 4px 12px; border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  background: var(--cream); border: 1px solid var(--line); color: var(--muted);
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader img { width: 120px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.45; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-height); z-index: 100;
  background: rgba(248, 248, 248, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-soft); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand img { height: 66px; width: auto; }
.brand-sub {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--subtle); white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 0.88rem; font-weight: 400; color: var(--muted); position: relative; padding: 4px 0; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--tan); transition: width 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 9px 20px; border-radius: var(--radius-full); background: var(--ink); color: var(--white); font-size: 0.85rem; font-weight: 700; }
.nav-cta:hover { background: var(--accent); }

.mobile-nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; padding: 8px; }
.mobile-nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; }

.drawer-overlay { display: none; position: fixed; inset: 0; z-index: 199; background: rgba(8, 8, 8, 0.4); }
.drawer-overlay.open { display: block; }
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; right: -340px; width: min(320px, 86vw); z-index: 200;
  background: var(--white); padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  transition: right 0.45s var(--ease); box-shadow: -10px 0 40px rgba(8, 8, 8, 0.12);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer[inert] { visibility: hidden; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer-header img { height: 40px; }
.drawer-close { font-size: 1.6rem; color: var(--muted); padding: 4px 10px; }
.drawer-links { display: flex; flex-direction: column; }
.mobile-link { font-size: 1.1rem; font-weight: 400; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.mobile-link:hover { color: var(--accent); }
.drawer-footer { font-size: 0.8rem; color: var(--subtle); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section { padding: 0; min-height: 100svh; display: flex; flex-direction: column; color: var(--white); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.38) 50%, rgba(8, 8, 8, 0.10) 100%),
              linear-gradient(to top, rgba(8, 8, 8, 0.65) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-height) + 40px); padding-bottom: 40px; }
.hero-text { max-width: 820px; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tan); display: block; margin-bottom: 18px; }
.hero-text h1 { margin-bottom: 22px; font-size: clamp(1.9rem, 7.2vw, 4.4rem); }
.hero-text h1 .h1-line { display: block; white-space: nowrap; }
.hero-text h1 em { display: block; }
.hero-text h1 em { color: var(--sand); }
.hero-desc { font-size: 1.12rem; color: rgba(248, 248, 248, 0.85); max-width: 470px; margin-bottom: 34px; }
.hero-cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(248, 232, 200, 0.22);
  background: rgba(8, 8, 8, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-bottom-inner { display: flex; align-items: center; gap: 36px; padding-top: 18px; padding-bottom: 18px; }
.hero-base { display: flex; flex-direction: column; }
.hero-base strong { font-size: 0.92rem; font-weight: 700; }
.hero-base span, .hero-team-label, .counter-label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted);
}
.hero-team { display: flex; align-items: center; gap: 12px; margin-left: auto; white-space: nowrap; }
.hero-team-faces { display: flex; }
.hero-team-faces img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center 25%;
  border: 2px solid var(--ink); margin-left: -10px; filter: grayscale(1);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.hero-team-faces img:first-child { margin-left: 0; }
.faces-more {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px; border: 2px solid var(--ink);
  display: grid; place-items: center; background: var(--tan); color: var(--ink); font-size: 0.72rem; font-weight: 700;
}
.hero-team:hover .hero-team-faces img { filter: grayscale(0); }
.hero-team-faces img:hover { transform: translateY(-4px); }
.hero-counter { display: flex; align-items: center; gap: 10px; padding-left: 28px; border-left: 1px solid rgba(248, 232, 200, 0.22); }
.counter-num { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--tan); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-values { display: flex; gap: 40px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.about-values div { display: flex; flex-direction: column; }
.value-num { font-family: var(--font-serif); font-size: 2.1rem; line-height: 1; color: var(--accent); }
.value-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); margin-top: 6px; }
.about-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
.about-mosaic figure { overflow: hidden; border-radius: var(--radius-sm); }
.about-mosaic figure.wide { grid-column: span 2; grid-row: span 2; }
.about-mosaic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.6s ease; }
.about-mosaic figure:hover img { transform: scale(1.04); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.team-header p { color: var(--muted); }
.team-header h2 em { display: block; }
.team-credential {
  margin-top: 18px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 72px; }
.portrait {
  padding: 0; border: 0; cursor: pointer; text-align: left;
  flex: 0 0 calc((100% - 6 * 12px) / 7);
  aspect-ratio: 4 / 5; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--black);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.5s ease, transform 0.6s ease; }
.portrait:hover img { filter: grayscale(0.15) sepia(0.15); transform: scale(1.05); }


.get-involved { display: grid; grid-template-columns: 0.8fr 2fr; gap: 48px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.involve-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: involve; }
.involve-list li { counter-increment: involve; display: flex; flex-direction: column; gap: 4px; }
.involve-list li::before { content: counter(involve, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); }
.involve-list strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; }
.involve-list span { font-size: 0.88rem; color: var(--muted); }
.get-involved .text-link { margin-top: 18px; }

/* ==========================================================================
   PROJECTS — carousels with hover info
   ========================================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--black);
  aspect-ratio: 3 / 4; isolation: isolate;
}
.carousel { position: absolute; inset: 0; }
.carousel-track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.car-btn {
  position: absolute; top: 38%; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(248, 248, 248, 0.88); color: var(--ink); font-size: 1.1rem; line-height: 1;
  display: grid; place-items: center; opacity: 0; transition: opacity 0.25s ease, background 0.2s ease;
}
.car-btn:hover { background: var(--white); }
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }
.project-card:hover .car-btn, .project-card:focus-within .car-btn { opacity: 1; }
.car-dots { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 5px; padding: 5px 8px; border-radius: var(--radius-full); background: rgba(8, 8, 8, 0.35); pointer-events: none; }
.car-dots:empty { display: none; }
.car-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(248, 248, 248, 0.5); transition: background 0.2s, width 0.2s; }
.car-dots span.on { background: var(--white); width: 16px; border-radius: 3px; }

.project-logo {
  position: absolute; top: 34px; left: 14px; z-index: 3; width: 58px; height: 58px; object-fit: contain;
  background: var(--white); border-radius: 50%; padding: 6px; box-shadow: var(--shadow-soft);
}
.project-info {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 64px 20px 20px; color: var(--white);
  background: linear-gradient(to top, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.75) 55%, transparent 100%);
}
.project-type { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan); margin-bottom: 4px; }
.project-info h3 { margin: 0; font-size: 1.45rem; }
.project-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.project-more > div { overflow: hidden; }
.project-card:hover .project-more, .project-card:focus-within .project-more { grid-template-rows: 1fr; }
.project-about { font-size: 0.86rem; line-height: 1.55; color: rgba(248, 248, 248, 0.86); margin: 10px 0 14px; }
.project-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--sand);
  border-bottom: 1px solid rgba(248, 216, 184, 0.6); padding-bottom: 1px;
}
.project-link:hover { color: var(--white); border-color: var(--white); }

/* Touch screens have no hover — keep the details open */
@media (hover: none) {
  .project-more { grid-template-rows: 1fr; }
  .car-btn { opacity: 1; }
}

/* ==========================================================================
   CONSULTING
   ========================================================================== */
.consulting-section { color: var(--white); overflow: hidden; }
.consulting-bg { position: absolute; inset: 0; }
.consulting-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.consulting-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8, 8, 8, 0.9) 0%, rgba(24, 24, 8, 0.7) 60%, rgba(24, 24, 8, 0.45) 100%); }
.consulting-content { position: relative; z-index: 1; max-width: 660px; }
.consulting-content .lead { color: var(--sand); }
.consulting-content p { color: rgba(248, 248, 248, 0.78); margin-bottom: 28px; }
.cap-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.cap-list li { padding: 7px 16px; border-radius: var(--radius-full); border: 1px solid rgba(232, 184, 120, 0.55); color: var(--cream); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; }

/* ==========================================================================
   EXPERIENTIAL LEARNING
   ========================================================================== */
.learning-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 72px; }
.learning-text p { color: var(--muted); margin-bottom: 14px; }
.belief-quote {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35;
  color: var(--ink); border-left: 3px solid var(--tan); padding-left: 22px; margin-bottom: 26px;
}
.learning-photos { position: relative; height: 480px; }
.learning-photos figure { position: absolute; overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); background: var(--white); }
.learning-photos img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.learning-photos .lp1 { inset: 0 18% 22% 0; }
.learning-photos .lp2 { width: 44%; height: 50%; right: 0; bottom: 0; padding: 8px 8px 34px; transform: rotate(3deg); }
.learning-photos .lp2 img { height: 100%; }
.learning-photos .lp2 figcaption { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-family: var(--font-hand); font-size: 1.25rem; color: var(--accent); }

.learning-cycle { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.learning-cycle li { padding: 28px 28px 0 0; position: relative; }
.learning-cycle li:not(:last-child)::after { content: '→'; position: absolute; right: 16px; top: 26px; color: var(--accent); font-size: 1.2rem; }
.cycle-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); letter-spacing: 0.1em; }
.learning-cycle strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; margin: 6px 0; }
.learning-cycle p { font-size: 0.9rem; color: var(--muted); }
.learning-outcomes { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.learning-outcomes .hand { font-family: var(--font-hand); font-size: 1.6rem; color: var(--accent); margin-right: 8px; }

/* ==========================================================================
   SCHOOL PROGRAMMES (playful, handmade)
   ========================================================================== */
.school-intro { max-width: 720px; margin-bottom: 40px; color: var(--muted); font-size: 1.05rem; }
.activities-note { font-family: var(--font-hand); font-size: 1.9rem; color: var(--accent); text-align: center; margin-bottom: 22px; transform: rotate(-1.5deg); }
.activities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 26px; margin-bottom: 80px; padding-top: 10px; }
.activity-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative;
  background: #FFFDF8; padding: 10px 10px 8px; border-radius: 3px;
  box-shadow: 0 2px 4px rgba(24, 24, 8, 0.08), 0 10px 24px rgba(24, 24, 8, 0.08);
  transform: rotate(var(--tilt, -1.5deg)); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.activity-tile::before {
  content: ''; position: absolute; top: -9px; left: 50%; width: 64px; height: 20px;
  transform: translateX(-50%) rotate(-3deg); background: rgba(232, 184, 120, 0.55); border-radius: 2px;
}
.activity-tile:nth-child(2n) { --tilt: 1.8deg; }
.activity-tile:nth-child(3n) { --tilt: -0.6deg; }
.activity-tile:nth-child(5n+1) { --tilt: 2.4deg; }
.activity-tile:hover { transform: rotate(0) translateY(-4px) scale(1.03); box-shadow: var(--shadow-lift); z-index: 1; }
.act-img { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--cream); }
.act-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.act-label { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; line-height: 1.1; text-align: center; }

.grade-tabs-wrapper { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 40px; margin-bottom: 40px; }
.grade-tab-buttons { display: flex; gap: 4px; background: var(--cream); padding: 4px; border-radius: var(--radius-full); width: fit-content; margin: 8px 0 32px; }
.grade-tab { padding: 10px 24px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 400; color: var(--muted); }
.grade-tab.active { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-soft); }
.grade-panel { display: none; }
.grade-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.grade-panel-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.grade-panel-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.grade-panel-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.grade-badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); background: var(--sand); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.grade-panel h4 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; }
.grade-focus { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.grade-activities { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.grade-activities li { font-size: 0.9rem; padding-left: 20px; position: relative; }
.grade-activities li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.grade-outcomes { display: flex; flex-wrap: wrap; gap: 8px; }

.schedule-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 40px; }
.schedule-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.schedule-time, .sched-time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.schedule-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.schedule-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: none; }
.sched-info strong { display: block; font-size: 0.93rem; }
.sched-info span { font-size: 0.86rem; color: var(--muted); }
.schedule-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

.safety-note { margin-top: 32px; padding: 30px 36px; background: var(--sand); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.safety-note h3 { margin-bottom: 12px; }
.safety-note ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.safety-note li { font-size: 0.9rem; padding-left: 20px; position: relative; }
.safety-note li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ==========================================================================
   NATURAL BUILDING
   ========================================================================== */
.nb-intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 72px; }
.nb-text p { color: var(--muted); margin-bottom: 14px; }
.nb-principles { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.nb-principles li { font-size: 0.9rem; color: var(--muted); padding-left: 20px; position: relative; }
.nb-principles li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--tan); }
.nb-principles strong { display: block; color: var(--ink); font-size: 0.95rem; }
.nb-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nb-gallery figure { overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.nb-gallery figure.large { grid-column: span 2; aspect-ratio: 16 / 10; }
.nb-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.5s ease; }
.nb-gallery figure:hover img { transform: scale(1.04); }

.nb-techniques { background: var(--white); border-radius: var(--radius-md); padding: 40px; margin-bottom: 72px; }
.nb-tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin-top: 22px; }
.nb-tech-grid strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; padding-top: 12px; margin-bottom: 6px; border-top: 2px solid var(--tan); }
.nb-tech-grid p { font-size: 0.86rem; color: var(--muted); }

.nb-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 22px 0 40px; }
.nb-steps li { display: flex; flex-direction: column; gap: 4px; }
.nb-step-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); margin-bottom: 10px; }
.nb-step-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.nb-step-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); }
.nb-steps strong { font-size: 1rem; }
.nb-steps p { font-size: 0.86rem; color: var(--muted); }

/* ==========================================================================
   BASES + MAPS
   ========================================================================== */
.locations-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.location-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.loc-photo { position: relative; height: 260px; overflow: hidden; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.loc-season { position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: var(--radius-full); background: var(--white); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.loc-body { padding: 26px 28px; flex: 1; }
.loc-meta { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.loc-body p { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.loc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-map { border-top: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--cream); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(0.2) saturate(0.9); }

/* ==========================================================================
   SURU FEATURE
   ========================================================================== */
.suru-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.suru-text p { color: var(--muted); margin-bottom: 14px; }
.suru-logo { height: 64px; width: auto; margin-bottom: 20px; }
.fest-list { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 28px; }
.fest-list li { font-size: 0.92rem; padding-left: 20px; position: relative; }
.fest-list li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--tan); }
.suru-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; }
.suru-photos figure { overflow: hidden; border-radius: var(--radius-sm); }
.suru-photos figure.tall { grid-row: span 2; }
.suru-photos img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.press-note { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); max-width: 420px; }
.press-note img { width: 56px; height: 72px; object-fit: cover; border-radius: 3px; cursor: zoom-in; }
.press-note span { font-size: 0.86rem; color: var(--muted); }
.press-note strong { display: block; color: var(--ink); }

/* ==========================================================================
   COMMUNITY STRIP
   ========================================================================== */
.gallery-strip-section { padding: 0; background: var(--black); }
.gallery-strip-scroll { display: flex; gap: 3px; height: 240px; overflow-x: auto; scrollbar-width: none; cursor: grab; }
.gallery-strip-scroll::-webkit-scrollbar { display: none; }
.gallery-strip-scroll img { flex: 0 0 auto; width: 340px; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 0.3s ease; cursor: zoom-in; }
.gallery-strip-scroll img:hover { opacity: 1; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.contact-info-item { display: flex; flex-direction: column; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ci-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.ci-val { font-weight: 400; }
a.ci-val:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--surface); padding: 32px; border-radius: var(--radius-md); border: 1px solid var(--line); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.83rem; font-weight: 400; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  font: inherit; font-size: 0.93rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 184, 120, 0.35); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button:disabled { opacity: 0.6; cursor: wait; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 72px; padding-bottom: 44px; border-bottom: 1px solid rgba(248, 232, 200, 0.14); margin-bottom: 26px; }
.footer-logo { height: 52px; width: auto; background: var(--white); padding: 6px 10px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.footer-tagline { font-size: 0.86rem; color: var(--on-dark-muted); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.88rem; color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(248, 232, 200, 0.45); }

/* ==========================================================================
   LIGHTBOX + TOAST
   ========================================================================== */
.lightbox-dialog { border: none; padding: 0; background: var(--black); border-radius: var(--radius-md); max-width: 92vw; max-height: 92vh; margin: auto; }
.lightbox-dialog::backdrop { background: rgba(8, 8, 8, 0.85); }
.lightbox-inner { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-close { align-self: flex-end; color: var(--on-dark-muted); font-size: 1.7rem; line-height: 1; }
.lightbox-close:hover { color: var(--white); }
.lightbox-dialog img { max-width: 86vw; max-height: 76vh; object-fit: contain; }
.lightbox-dialog p { color: var(--on-dark-muted); font-size: 0.86rem; text-align: center; }

.toast-notice {
  position: fixed; right: 24px; bottom: 24px; z-index: 9000; max-width: 340px;
  background: var(--ink); color: var(--cream); padding: 14px 20px; border-radius: var(--radius-sm); font-size: 0.88rem;
  box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all 0.4s var(--ease);
}
.toast-notice.show { opacity: 1; transform: none; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.reveal.is-revealed { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: flex; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { aspect-ratio: 4 / 4.2; }
  .nb-tech-grid { grid-template-columns: repeat(3, 1fr); }
  .nb-steps { grid-template-columns: repeat(3, 1fr); }
  .involve-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  section { padding: 80px 0; }
  .about-layout, .team-header, .learning-layout, .nb-intro-layout, .suru-layout, .contact-layout, .get-involved, .locations-split, .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .portrait { flex-basis: calc((100% - 4 * 12px) / 5); }
  .hero-team-faces img:nth-child(n+9) { display: none; }
  .learning-cycle { grid-template-columns: repeat(2, 1fr); }
  .learning-cycle li::after { display: none; }
  .activities-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
  .grade-panel-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-height: 78px; }
  .container { padding: 0 16px; }
  .site-brand img { height: 54px; }
  .brand-sub { display: none; }
  .hero-bottom-inner { flex-wrap: wrap; gap: 14px 24px; }
  .hero-team { margin-left: 0; width: 100%; order: 3; }
  .hero-counter { padding-left: 0; border-left: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { aspect-ratio: 4 / 4.6; }
  .portrait { flex-basis: calc((100% - 3 * 10px) / 4); }
  .team-grid { gap: 10px; }
  .about-mosaic { grid-auto-rows: 110px; }
  .learning-photos { height: 360px; }
  .nb-tech-grid, .involve-list, .safety-note ul { grid-template-columns: 1fr; }
  .nb-steps { grid-template-columns: repeat(2, 1fr); }
  .nb-techniques, .grade-tabs-wrapper, .schedule-block, .contact-form { padding: 24px 18px; }
  .schedule-row { grid-template-columns: 1fr; gap: 2px; }
  .grade-tab-buttons { width: 100%; }
  .grade-tab { flex: 1; padding: 10px 8px; font-size: 0.8rem; }
  .suru-photos { grid-template-rows: 170px 170px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .gallery-strip-scroll { height: 180px; }
  .gallery-strip-scroll img { width: 250px; }
}

@media (max-width: 720px) {
  .hide-phone { display: none !important; }
  .hero-media img { object-position: 62% 40%; }
  .hero-text h1 { font-size: 8vw; margin-bottom: 26px; }
  .hero-desc { display: none; }
  .hero-content { padding-top: calc(var(--header-height) + 24px); align-items: flex-end; padding-bottom: 32px; }
  .hero-bottom { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-top: none; }
  .hero-bottom-inner { padding-top: 0; padding-bottom: 28px; }
  .counter-num { font-size: 1.6rem; }
}

@media (max-width: 460px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .learning-cycle { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
}


/* ==========================================================================
   v10 — new sections and design versions
   ========================================================================== */

/* ---- Team: tap for name + Instagram ----------------------------------- */
.team-hint, .activities-hint { font-family: var(--font-hand); font-size: 1.35rem; color: var(--accent); text-align: center; margin: -28px 0 18px; }
.activities-hint { margin: -14px 0 18px; }
.member-info {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 14px 12px; color: var(--cream); background: linear-gradient(to top, rgba(8,8,8,.9), rgba(8,8,8,.25) 70%);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.member-info strong { font-size: 1.05rem; }
.member-ig { font-size: .82rem; color: var(--tan); word-break: break-all; }
.member-ig:hover { color: var(--white); }
.member-ig.none { color: var(--on-dark-muted); }
.portrait.open .member-info { opacity: 1; transform: none; pointer-events: auto; }
.portrait.open img { filter: grayscale(.2); transform: scale(1.06); }
.portrait:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---- Activities board: tap for a description -------------------------- */
.activity-tile { cursor: pointer; border: 0; font: inherit; color: inherit; perspective: 900px; }
.tile-inner { display: grid; width: 100%; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.tile-front, .tile-back { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tile-back { transform: rotateY(180deg); justify-content: center; padding: 6px 4px; background: #FFFDF8; text-align: center; }
.act-img { background: #fff; }
.act-img img { object-fit: contain; cursor: pointer; }
.act-desc { font-size: .84rem; line-height: 1.45; color: var(--muted); }
.act-flip { font-family: var(--font-hand); font-size: 1rem; color: var(--accent); }
.activity-tile.flipped .tile-inner { transform: rotateY(180deg); }

/* ---- Get involved ------------------------------------------------------- */
.get-involved { display: block; }
.gi-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.gi-head h3 { margin: 0; }
.gi-head p { color: var(--muted); }
.involve-list li { position: relative; }
.involve-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 22px; gap: 8px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.involve-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--tan); }
.involve-list li::before { font-size: 2rem; line-height: 1; color: var(--tan); }
.gi-for { font-style: normal; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.get-involved > .text-link { margin-top: 28px; }


/* ---- Suru: journey, award, media --------------------------------------- */
.suru-sub { margin-top: 18px; }
.suru-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 4px 0 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.suru-stats div { display: flex; flex-direction: column; }
.suru-stats strong { font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.suru-stats span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.suru-journey { margin-top: 72px; }
.timeline { counter-reset: none; }
.tl-year { font-size: 1.9rem; font-weight: 700; color: var(--accent); line-height: 1; }
.timeline strong { display: block; font-size: 1.1rem; margin: 6px 0 4px; }
.timeline p { font-size: .9rem; color: var(--muted); }

/* Vertical timeline */
.timeline { position: relative; display: flex; flex-direction: column; gap: 26px; padding-left: 150px; margin-top: 26px; }
.timeline::before { content: ''; position: absolute; left: 118px; top: 6px; bottom: 6px; width: 2px; background: var(--tan); }
.timeline li { position: relative; max-width: 640px; }
.timeline li::before { content: ''; position: absolute; left: -38px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 3px solid var(--accent); }
.tl-year { position: absolute; left: -150px; top: 0; width: 96px; text-align: right; }
.timeline strong { margin-top: 0; }

/* B: dark band with a horizontal timeline */

.suru-recognition { display: grid; grid-template-columns: .9fr 1.4fr; gap: 32px; margin-top: 56px; }
.award-card { background: var(--ink); color: var(--cream); border-radius: var(--radius-md); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.award-card .eyebrow { color: var(--tan); margin: 0; }
.award-card strong { font-size: 1.5rem; line-height: 1.2; color: var(--white); }
.award-card p { color: var(--on-dark-muted); font-size: .92rem; }
.award-card .text-link { color: var(--white); border-color: var(--tan); align-self: flex-start; margin-top: auto; }
.media-list ul { display: flex; flex-direction: column; }
.media-list li a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color .2s ease, padding .2s ease; }
.media-list li a::after { content: '\2197'; color: var(--accent); }
.media-list li a:hover { color: var(--accent); padding-left: 6px; }
.media-list li strong { flex: 0 0 170px; }
.media-list li span { flex: 1; font-size: .88rem; color: var(--muted); }
.media-list .press-note { margin-top: 18px; }

/* ---- Partner & client logos ------------------------------------------- */
.logo-section { padding: 90px 0; }
#clients { background: var(--cream); }
.logo-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.logo-head h2 { margin: 0; }
.logo-grid { display: grid; gap: 12px; }
#partners .logo-grid:not(.small) { grid-template-columns: repeat(5, 1fr); }
#clients .logo-grid:not(.small) { grid-template-columns: repeat(7, 1fr); }
.logo-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); height: 96px; display: grid; place-items: center; padding: 14px; }
.logo-tile img { max-width: 100%; max-height: 64px; object-fit: contain; transition: filter .3s ease, opacity .3s ease; }
.logo-tile.invert img { filter: invert(1); }
#clients .logo-grid:not(.small) .logo-tile img { filter: grayscale(1); opacity: .75; }
#clients .logo-grid:not(.small) .logo-tile.invert img { filter: invert(1) grayscale(1); }
#clients .logo-grid:not(.small) .logo-tile:hover img { filter: none; opacity: 1; }
#clients .logo-grid:not(.small) .logo-tile.invert:hover img { filter: invert(1); }

.logos-open { display: none; }
.logo-sheet { position: fixed; inset: 0; z-index: 400; background: rgba(8,8,8,.55); display: flex; align-items: flex-end; }
.logo-sheet[hidden] { display: none; }
.logo-sheet-panel { width: 100%; max-height: 82vh; overflow-y: auto; background: var(--white); border-radius: 18px 18px 0 0; padding: 18px 16px 28px; animation: sheetUp .35s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.logo-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 1.15rem; }
.logo-sheet-close { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); font-size: 1.5rem; line-height: 1; }
.logo-grid.small { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.logo-grid.small .logo-tile { height: 64px; padding: 8px; }
.logo-grid.small .logo-tile img { max-height: 44px; }

/* ---- Responsive for new parts ----------------------------------------- */
@media (max-width: 1180px) {
  #clients .logo-grid:not(.small) { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 960px) {
  .gi-head, .logo-head, .suru-recognition { grid-template-columns: 1fr; gap: 16px; }
  #partners .logo-grid:not(.small) { grid-template-columns: repeat(4, 1fr); }
  #clients .logo-grid:not(.small) { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .logos-desktop { display: none; }
  .logos-open { display: inline-flex; }
  .logo-section { padding: 56px 0; }
  .logo-head { margin-bottom: 20px; }
  .suru-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 34px; }
  .timeline::before { left: 6px; }
  .timeline li::before { left: -34px; }
  .tl-year { position: static; display: block; text-align: left; width: auto; font-size: 1.4rem; }
  .media-list li a { flex-direction: column; gap: 2px; }
  .media-list li strong { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
}


/* ---- Suru collages: bento on larger screens, carousel on phones -------- */
.bento { display: grid; gap: 6px; }
.bento figure { overflow: hidden; background: var(--ink); }
.bento img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.07); }
.bento-about {
  grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 82px);
  grid-template-areas: "a a a a b b" "a a a a b b" "c c d d b b" "c c d d e e" "f f f f e e";
}
.bento-journey {
  grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 92px);
  grid-template-areas: "a a a b b" "a a a b b" "c c d d e" "c c d d e";
}
.bt-a { grid-area: a; } .bt-b { grid-area: b; } .bt-c { grid-area: c; }
.bt-d { grid-area: d; } .bt-e { grid-area: e; } .bt-f { grid-area: f; }
.suru-journey { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---- Brochure download ------------------------------------------------- */
.brochure-cta {
  margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px; background: var(--white); border: 1px dashed var(--accent); border-radius: var(--radius-md);
}
.brochure-cta strong { font-size: 1.3rem; }
.brochure-cta p { color: var(--muted); font-size: .95rem; max-width: 520px; }

@media (max-width: 960px) {
  .suru-journey { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .bento { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .bento figure { flex: 0 0 84%; aspect-ratio: 4 / 3; scroll-snap-align: center; border-radius: var(--radius-sm); }
  .bento figure.bt-e:last-child { aspect-ratio: 4 / 3; }
  .brochure-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* ---- Contact details ---------------------------------------------------- */
.ci-val a:hover { color: var(--accent); }
.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.ig-icon { flex: 0 0 auto; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { font-size: .86rem; color: var(--on-dark-muted); line-height: 1.6; }
.footer-contact a:hover { color: var(--white); }
