@font-face {
  font-family: "Swiss 721 BT";
  src: url("assets/fonts/Swiss721BT.woff") format("woff"),
       url("assets/fonts/Swiss721BT.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TERRA Swiss";
  src: url("assets/fonts/Swiss721BT.woff") format("woff"),
       url("assets/fonts/Swiss721BT.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Brittany Signature Script";
  src: url("assets/fonts/Swiss721BT.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TERRA Script";
  src: url("assets/fonts/Swiss721BT.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #141513;
  --paper: #ffffff;
  --white: #ffffff;
  --yellow: #f6b800;
  --yellow-soft: #fff2bd;
  --sage: #dbe5cf;
  --mist: #f3f2ec;
  --line: rgba(20, 21, 19, 0.16);
  --max: 1280px;
  --container-pad: clamp(1.5rem, 3.2vw, 3.5rem);
  --radius: 1.25rem;
  --header-height: 96px;
  --shadow: 0 24px 70px rgba(26, 28, 22, 0.12);
  --body-font: "Swiss 721 BT", "Swis721 BT", "TERRA Swiss", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script-font: "Swiss 721 BT", "Swis721 BT", "TERRA Swiss", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Progressive wide-screen fluid scaling for laptops, desktops, and 23-inch 1920x1200 screens */
@media (min-width: 1400px) {
  :root {
    --max: 1440px;
    --container-pad: clamp(2rem, 3.6vw, 4rem);
  }
}

@media (min-width: 1640px) {
  :root {
    --max: 1640px;
    --container-pad: clamp(2.5rem, 3.8vw, 4.5rem);
  }
}

@media (min-width: 1820px) {
  :root {
    --max: 1820px;
    --container-pad: clamp(2.75rem, 4vw, 5rem);
  }
}

@media (min-width: 2100px) {
  :root {
    --max: 1980px;
    --container-pad: 5.5rem;
  }
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; overflow-x: clip; max-width: 100vw; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100vw;
}

/* Home page viewport containment: No vertical scrollbar as default across all resolutions */
html.is-home,
body.home-page {
  height: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
}

body.home-page .site-header {
  background: #ffffff !important;
  border-bottom: none !important;
}

body.home-page .site-header.scrolled {
  background: #ffffff !important;
  border-bottom: none !important;
}

body.home-page #main {
  height: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--header-height);
  box-sizing: border-box;
  background: #ffffff !important;
}

main, #main, .page-main {
  flex: 1 0 auto;
}
body.menu-open { overflow: hidden; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(calc(100% - var(--container-pad, 3rem)), var(--max)); margin-inline: auto; }
.section { padding: clamp(5.5rem, 9vw, 9rem) 0; scroll-margin-top: 5rem; }
.section-tint { background: var(--mist); }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark .eyebrow { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }



/* ==========================================================================
   Global Standardized Typography System (h1, h2, p, span across all pages)
   ========================================================================== */
h1, h2, h3, p { margin-top: 0; }

/* Unified H1 Scale Across All Pages */
h1,
.hero-copy h1,
.projects-section .section-heading-row h1,
.ruby-about-h1,
.process-ruby-header__title,
body.contact-page h1,
body.contact-page .pdf-heading,
.blogs-title,
.article-title,
.project-hero-header h1,
.about-hero-copy h1,
.team-intro .section-heading h1 {
  font-family: var(--body-font), sans-serif !important;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  color: var(--ink, #141513);
  white-space: normal;
}

/* Unified H2 Scale Across All Pages */
h2,
.school-partners-header h2,
.projects-blogs-header h2,
.projects-blogs-section .section-heading-row h2,
.section-heading-row h2,
.ruby-story-display,
.contact-box-title,
.milestone-title,
.dual-card__title-wrap h2,
.flow-stage h2,
.comparison-header-row h2,
.story-copy h2,
.gallery-section-header h2,
.blog-card-title,
.blogs-mosaic-grid h2,
.article-related h2,
.related-reflections h2,
.philosophy-copy h2,
.about-strip h2,
.belief-heading {
  font-family: var(--body-font), sans-serif !important;
  font-size: clamp(1.8rem, 2.5vw, 2.45rem) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: var(--ink, #141513);
  white-space: normal;
}

/* Unified H3 Scale */
h3 {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Standardized Emphasis Accents Inside Headings */
h1 em,
h2 em,
.hero-copy h1 em,
.projects-section .section-heading-row h1 em,
.school-partners-header h2 em,
.project-hero-header h1 em,
.blogs-title em {
  display: block;
  font-size: inherit;
  font-family: var(--body-font), sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--yellow, #f6b800);
  margin-top: 0.15rem;
  letter-spacing: -0.03em;
}

/* Unified Body Text / Paragraphs (p) Scale Across All Pages */
p,
body,
.projects-intro-text,
.section-heading-row > p,
.section-heading > p,
.school-partners-header p,
.projects-blogs-desc-col .projects-intro-text,
.ruby-about-intro p,
.ruby-purpose-desc,
.ruby-purpose-list,
.ruby-conv-statement,
.milestone-lead,
.milestone-desc,
.contact-intro-p,
.story-copy p,
.gallery-section-header p,
.gallery-card-caption p,
.article-body p,
.article-body-inner p,
.author-bio,
.article-subtitle,
.blogs-lead,
.blog-card-excerpt,
.journal-body p:last-child,
.journal-card p:last-child,
.project-meta p,
.project-meta-secondary p,
.hero-intro,
.about-hero-lead,
.belief-lead,
.team-card-bio {
  font-family: var(--body-font), sans-serif !important;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem) !important;
  line-height: 1.6 !important;
  color: #55574e;
}

/* Unified Span Standards Across All Pages */
h1 span, h2 span, h3 span {
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}
p span {
  font-size: inherit;
  line-height: inherit;
}

/* Unified Badges, Eyebrows & Spec Labels */
.eyebrow,
.eyebrow span,
.project-badge,
.comparison-label,
.spec-label,
.tab-idx,
.breadcrumb-category,
.blog-card-category,
.teaser-copy span,
.badge-num,
.banner-badge {
  font-family: var(--body-font), sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* Unified Spec / Metadata Values */
.spec-value,
.article-meta span,
.article-meta-dot,
.breadcrumb-nav span {
  font-family: var(--body-font), sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.section-heading { max-width: clamp(980px, 75vw, 1400px); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, .75fr); gap: clamp(2rem, 4vw, 4rem); max-width: none; align-items: end; }
.projects-section .section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.projects-section .section-heading-row > * {
  min-width: 0;
}
.projects-heading-copy {
  flex: 1 1 auto;
}
.projects-heading-icon {
  flex: 0 0 auto;
  width: clamp(210px, 23vw, 290px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.projects-heading-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@media (max-width: 768px) {
  .projects-section .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .projects-section .section-heading-row h1 {
    font-size: clamp(1.65rem, 6vw, 2.35rem);
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .projects-heading-icon {
    width: clamp(180px, 52vw, 240px);
    align-self: flex-end;
  }
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.75rem 2.4rem;
  border: 0;
  border-radius: 0;
  color: #000000;
  background: transparent;
  font-family: var(--body-font);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
}
.button::before {
  content: "";
  position: absolute;
  inset: -1px -8px;
  z-index: -1;
  background: url("assets/images/btn-brush.webp") center center / 100% 100% no-repeat;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
  pointer-events: none;
}
.button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 6px 14px rgba(252, 190, 19, 0.42));
}
.button:active {
  transform: translateY(0) scale(0.98);
}
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 0;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #fcbe13;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
.text-link:hover::after {
  transform: scaleY(1.4);
}
.header-cta {
  position: relative;
  z-index: 103;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  font-family: var(--body-font);
  font-size: clamp(0.92rem, 1.05vw, 0.98rem);
  font-weight: 600;
  color: #000000;
  padding-bottom: 6px;
  border-bottom: 0;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.header-cta span {
  display: inline-block;
  color: #000000;
}
.header-cta svg {
  display: inline-block;
  width: 28px;
  height: 12px;
  color: #000000;
  stroke: #000000;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.header-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5px;
  background: #fcbe13; /* Exact design color from Website Design Layout _ Ruby.pdf */
  border-radius: 999px;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease;
}
.header-cta:hover svg {
  transform: translateX(4px);
}
.header-cta:hover::after {
  transform: scaleY(1.35);
  box-shadow: 0 2px 8px rgba(252, 190, 19, 0.45);
}
.header-cta:active {
  transform: scale(0.98);
}
.mobile-menu-cta {
  display: none;
}
.mobile-nav-contact {
  display: none !important;
}
.inner-page .site-header { background: var(--paper, #fffdf8); box-shadow: none; border-top: none; }

.hero {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  min-height: 0;
  max-height: calc(100vh - var(--header-height));
  max-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
  background: #ffffff !important;
  box-sizing: border-box;
}
.hero-stage {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--container-pad, 3rem)), var(--max));
  margin-inline: auto;
  box-sizing: border-box;
  height: 100%;
  max-height: min(840px, calc(100vh - var(--header-height) - 1.25rem));
  margin-block: auto;
  padding-top: clamp(0.75rem, 2vh, 1.5rem);
  padding-bottom: clamp(3.25rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: minmax(250px, 37%) minmax(0, 63%);
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  align-items: stretch;
  min-height: 0;
}
.hero-text-deck {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding-top: clamp(1rem, 5.5vh, 3.75rem);
  padding-bottom: clamp(0.25rem, 1.5vh, 1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vh, 1.5rem);
  box-sizing: border-box;
  z-index: 2;
}
.hero-slides-window {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
}
.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  background: #ffffff !important;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(0.93);
  scale: 0.93;
  transform-origin: center center;
  transition: none;
}
.hero-slide.is-active img {
  transform: scale(0.93);
  scale: 0.93;
}
.hero-slide:first-child img { object-position: center center; background-color: transparent; }

/* Non-Slide In-Place Hero Transition Animations (CMS Configurable) */
.hero[data-hero-animation]:not([data-hero-animation="slide"]) .hero-slides {
  display: block;
  position: relative;
  transform: none !important;
  transition: none !important;
}
.hero[data-hero-animation]:not([data-hero-animation="slide"]) .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  will-change: opacity, transform, filter, clip-path;
}
.hero[data-hero-animation]:not([data-hero-animation="slide"]) .hero-slide.is-leaving {
  visibility: visible;
  z-index: 2;
}
.hero[data-hero-animation]:not([data-hero-animation="slide"]) .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}

/* 1. Soft Cross-Fade (Editorial Dissolve) */
.hero[data-hero-animation="fade"] .hero-slide {
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}

/* 2. Ken Burns Zoom-Fade (Subtle Scale + Dissolve) */
.hero[data-hero-animation="zoom-fade"] .hero-slide {
  transform: scale(1.055);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.9s ease;
}
.hero[data-hero-animation="zoom-fade"] .hero-slide.is-leaving {
  opacity: 0;
  transform: scale(0.975);
}
.hero[data-hero-animation="zoom-fade"] .hero-slide.is-active {
  transform: scale(1);
}

/* 3. Sketch-Focus Reveal (Soft Blur to Crisp) */
.hero[data-hero-animation="focus"] .hero-slide {
  filter: blur(11px);
  transform: scale(1.02);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}
.hero[data-hero-animation="focus"] .hero-slide.is-active {
  filter: blur(0px);
  transform: scale(1);
}

/* 4. Gentle Vertical Rise (Float Up + Fade) */
.hero[data-hero-animation="rise"] .hero-slide {
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}
.hero[data-hero-animation="rise"] .hero-slide.is-leaving {
  opacity: 0;
  transform: translateY(-18px);
}
.hero[data-hero-animation="rise"] .hero-slide.is-active {
  transform: translateY(0);
}

/* 5. Architectural Drawing Wipe (Mask Reveal) */
.hero[data-hero-animation="wipe"] .hero-slide {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.95s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.35s ease, visibility 0.95s ease;
}
.hero[data-hero-animation="wipe"] .hero-slide.is-leaving {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: opacity 0.95s ease, visibility 0.95s ease;
}
.hero[data-hero-animation="wipe"] .hero-slide.is-active {
  clip-path: inset(0 0 0 0);
}

/* 6. Depth Stack (Recede & Rise) */
.hero[data-hero-animation="depth"] .hero-slide {
  transform: scale(0.92) translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s ease;
}
.hero[data-hero-animation="depth"] .hero-slide.is-leaving {
  opacity: 0;
  transform: scale(0.93) translateY(-14px);
}
.hero[data-hero-animation="depth"] .hero-slide.is-active {
  transform: scale(1) translateY(0);
}
.hero-slide-overlay,
.hero-wash {
  display: none !important;
}
.hero-copies {
  display: grid;
  grid-template-areas: "hero-stage-content";
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  flex: 0 0 auto;
}
.hero-copy {
  grid-area: hero-stage-content;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s ease;
}
.hero-vignette-static {
  display: flex;
  align-items: flex-end;
  flex: 0 1 auto;
  min-height: 0;
  margin-top: auto;
  margin-bottom: 0;
  width: clamp(120px, min(17vw, 25vh), 220px);
  max-height: min(25vh, 195px);
  max-width: 100%;
  pointer-events: none;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
.hero-vignette-static img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(25vh, 195px);
  object-fit: contain;
  object-position: left bottom;
  mix-blend-mode: multiply;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
.hero-copy.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
.hero-copy h1 {
  max-width: 100%;
  font-family: var(--body-font);
  font-size: clamp(28px, min(3.3vw, 5.4vh), 52px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: clamp(0.45rem, 1.3vh, 1rem);
}
.hero-copy .eyebrow { display: flex; align-items: center; gap: .65rem; }
.hero-copy .eyebrow > span { width: 2.1rem; height: 3px; flex: 0 0 auto; border-radius: 2px; background: var(--yellow); }
.hero-intro {
  max-width: 28rem;
  font-size: clamp(0.84rem, min(1.02vw, 1.75vh), 1.04rem);
  line-height: 1.42;
  text-wrap: pretty;
  margin-bottom: 0;
}
.hero-vignette {
  margin-top: clamp(0.75rem, 2vh, 1.75rem);
  width: clamp(180px, min(27vw, 33vh), 285px);
  max-height: min(30vh, 225px);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero {
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: 0;
    max-height: calc(100dvh - var(--header-height));
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
    background: #ffffff !important;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: clamp(0.85rem, 2.2vh, 1.5rem);
    padding-bottom: clamp(3.75rem, 7vh, 4.75rem);
    width: min(calc(100% - 2.5rem), var(--max));
    max-height: none;
    margin-inline: auto;
  }
  .hero-text-deck {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    padding-top: 0;
    gap: 0;
  }
  .hero-slides-window {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .hero-slide img, .hero-slide.is-active img, .hero-slide:first-child img {
    object-position: center 58%;
    transform: scale(0.93) translateY(4%);
    scale: 0.93;
  }
  .hero-copy {
    width: 100% !important;
    max-width: 100%;
  }
  .hero-copy h1 {
    font-size: clamp(24px, min(6.5vw, 4.6vh), 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 0.4rem;
  }
  .hero-intro {
    max-width: 100%;
    font-size: clamp(0.86rem, min(3.2vw, 2.1vh), 1.02rem);
    line-height: 1.38;
    text-wrap: pretty;
    margin-top: 0.25rem;
    word-break: normal;
  }
  .hero-vignette-static,
  .hero-vignette {
    display: none !important;
  }
}

@media (max-height: 620px) {
  .hero-stage {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
  }
  .hero-text-deck {
    padding-top: 0.5rem;
    gap: 0.5rem;
  }
  .hero-copy h1 {
    font-size: clamp(22px, 4.5vh, 36px);
    margin-bottom: 0.3rem;
  }
  .hero-intro {
    font-size: clamp(0.8rem, 2vh, 0.94rem);
    line-height: 1.32;
  }
  .hero-vignette-static {
    width: clamp(100px, 22vh, 180px);
    max-height: 22vh;
  }
  .hero-vignette-static img {
    max-height: 22vh;
  }
  .hero-nav-controls {
    bottom: 0.65rem;
  }
}

/* 10-inch Notebooks & Compact Vertical Displays (Width > 900px and Height <= 768px) */
@media (min-width: 901px) and (max-height: 768px) {
  .hero-stage {
    padding-top: 0.5rem;
    padding-bottom: 3.25rem;
    max-height: calc(100vh - var(--header-height) - 0.5rem);
  }
  .hero-text-deck {
    padding-top: clamp(0.5rem, 3.5vh, 2rem);
    gap: 0.75rem;
  }
  .hero-copy h1 {
    font-size: clamp(24px, 4.6vh, 42px);
    margin-bottom: 0.35rem;
  }
  .hero-intro {
    font-size: clamp(0.82rem, 1.8vh, 0.98rem);
    line-height: 1.36;
  }
  .hero-vignette-static {
    width: clamp(110px, 20vh, 180px);
    max-height: 20vh;
  }
  .hero-vignette-static img {
    max-height: 20vh;
  }
  .hero-nav-controls {
    bottom: 0.85rem;
  }
}

/* Wide screen immersive enhancements (Laptops & Desktops >= 1400px) */
@media (min-width: 1400px) {
  .hero-stage {
    max-height: min(940px, calc(100vh - var(--header-height) - 1.5rem));
    grid-template-columns: minmax(320px, 35%) minmax(0, 65%);
    gap: clamp(2rem, 3.5vw, 4rem);
  }
  .hero-copy h1 {
    font-size: clamp(34px, min(3.5vw, 5.8vh), 62px);
  }
  .hero-intro {
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.08vw, 1.15rem);
    line-height: 1.48;
  }
  .hero-vignette-static {
    width: clamp(150px, min(18vw, 26vh), 250px);
    max-height: min(26vh, 230px);
  }
  .hero-vignette-static img {
    max-height: min(26vh, 230px);
  }
  .project-card .comparison {
    max-width: 1380px;
  }
  .project-card {
    padding: clamp(2rem, 3vw, 3.5rem);
    gap: 2.2rem;
  }
  .project-meta h3 {
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  }
  .site-nav {
    gap: clamp(1.8rem, 2.8vw, 3.8rem);
  }
  .site-nav a, .nav-dropdown-trigger {
    font-size: 0.82rem;
  }
}

/* Extra-wide & 23-inch 1920x1200 Display Enhancements (Screens >= 1800px) */
@media (min-width: 1800px) {
  .hero-stage {
    max-height: min(1080px, calc(100vh - var(--header-height) - 2rem));
    grid-template-columns: minmax(380px, 33%) minmax(0, 67%);
    gap: clamp(2.5rem, 4vw, 5.5rem);
  }
  .hero-copy h1 {
    font-size: clamp(38px, min(3.8vw, 6.2vh), 72px);
    line-height: 1.04;
  }
  .hero-intro {
    max-width: 40rem;
    font-size: clamp(1.02rem, 1.15vw, 1.25rem);
    line-height: 1.52;
  }
  .hero-vignette-static {
    width: clamp(180px, min(20vw, 30vh), 320px);
    max-height: min(30vh, 280px);
  }
  .hero-vignette-static img {
    max-height: min(30vh, 280px);
  }
  .hero-text-deck {
    padding-top: clamp(1.5rem, 6vh, 4.5rem);
  }
  .project-card .comparison {
    max-width: 1680px;
  }
  .project-card {
    padding: clamp(2.5rem, 3.5vw, 4rem);
    gap: 2.75rem;
  }
  .project-meta {
    grid-template-columns: 1.3fr 1fr;
  }
  .project-meta h3 {
    font-size: clamp(2rem, 2.4vw, 3rem);
  }
  .project-meta p {
    font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  }
  .section-heading-row h1,
  .projects-section .section-heading-row h1 {
    font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  }
  .site-nav a, .nav-dropdown-trigger {
    font-size: 0.88rem;
  }
}

.hero-nav-controls {
  position: absolute;
  z-index: 10;
  bottom: clamp(1.25rem, 3.5vh, 2.5rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 21, 19, 0.12);
  box-shadow: 0 8px 24px rgba(20, 21, 19, 0.08);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(20, 21, 19, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-nav-btn:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: scale(1.08);
}

.hero-nav-btn:active {
  transform: scale(0.95);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.35rem;
}

.hero-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
}

.hero-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(20, 21, 19, 0.28);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.hero-dot:hover span {
  background: rgba(20, 21, 19, 0.6);
}

.hero-dot.is-active span {
  width: 22px;
  background: var(--yellow);
}

@media (max-width: 768px) {
  .hero-nav-controls {
    bottom: 1.5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 0.35rem 0.6rem;
    gap: 0.5rem;
  }
  .hero-nav-btn {
    width: 2rem;
    height: 2rem;
  }
  .hero-dot span {
    width: 7px;
    height: 7px;
  }
  .hero-dot.is-active span {
    width: 18px;
  }
}
.image-frame { position: relative; overflow: hidden; }
.image-frame-hero { border-radius: 0; box-shadow: var(--shadow); }
.image-frame-hero img { width: 100%; height: clamp(480px, 61vw, 720px); object-fit: cover; object-position: 52% center; }

.philosophy-section { background: var(--paper); border-top: 1px solid var(--line); }
.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.philosophy-copy { max-width: 600px; }
.philosophy-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.philosophy-lead {
  max-width: 48ch;
  margin-bottom: 1.25rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
}
.philosophy-sublead {
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 550;
  color: rgba(20, 21, 19, 0.72);
}
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.philosophy-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  transition: transform 0.25s ease;
}
.philosophy-pillar:hover {
  transform: translateY(-4px);
}
.pillar-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.pillar-icon-wrap img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.3s ease;
}
.philosophy-pillar:hover .pillar-icon-wrap img {
  transform: scale(1.08);
}
.pillar-label {
  font-size: clamp(0.85rem, 1.05vw, 0.98rem);
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.philosophy-illustration-wrap {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.philosophy-illustration-wrap img {
  width: min(135%, 760px);
  max-width: none;
  height: auto;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.philosophy-illustration-wrap:hover img {
  transform: scale(1.025);
}

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.about-image { margin: 0; overflow: hidden; border-radius: 0; }
.about-image img { width: 100%; height: clamp(500px, 65vw, 760px); object-fit: cover; transition: transform .7s ease; }
.about-image:hover img { transform: scale(1.025); }
.about-copy h3 { max-width: 12ch; }
.about-copy blockquote { margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); font-size: clamp(1.45rem, 2.7vw, 2.55rem); font-weight: 560; line-height: 1.16; letter-spacing: -.035em; }
.purpose-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 4rem; align-items: end; margin: clamp(5rem, 10vw, 9rem) 0; }
.purpose-grid h3 { max-width: 17ch; margin-bottom: 0; font-size: clamp(2.2rem, 4.3vw, 4.5rem); }
.purpose-grid > p { margin-bottom: .5rem; font-size: 1.25rem; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { min-height: 15rem; padding: 1.8rem 1.3rem; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value span { color: var(--yellow); font-size: .75rem; font-weight: 800; }
.value h3 { margin: 5rem 0 .5rem; font-family: var(--body-font); font-size: clamp(1.5rem, 2.3vw, 2.2rem); }
.value p { margin: 0; font-size: .88rem; }

.projects-section {
  overflow: hidden;
  padding-top: clamp(2.2rem, 3.6vw, 3.6rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}
.project-list { display: grid; gap: clamp(3.5rem, 5.5vw, 5rem); }
.project-card, .project {
  display: grid;
  gap: 1.6rem;
  background: #ffffff;
  border: 1px solid #eae7df;
  border-radius: 0;
  padding: clamp(1.2rem, 2.5vw, 2.2rem);
  box-shadow: 0 10px 32px rgba(20, 21, 19, 0.04);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card:hover, .project:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(20, 21, 19, 0.08);
  border-color: rgba(246, 184, 0, 0.45);
}
.project-card .comparison {
  width: 80%;
  max-width: 960px;
  margin-inline: auto;
}
.comparison {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--mist);
  cursor: ew-resize;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.comparison img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.comparison-before {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.comparison-after {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  clip-path: polygon(0 0, var(--position, 50%) 0, var(--position, 50%) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--position, 50%) 0, var(--position, 50%) 100%, 0 100%);
}
.comparison-after img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.comparison-after::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position, 50%);
  width: 2.5px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  pointer-events: none;
}
.comparison input {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  pointer-events: none;
}
.comparison-handle {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: var(--position, 50%);
  width: 3.2rem;
  aspect-ratio: 1;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 4px rgba(246, 184, 0, 0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}
.comparison:hover .comparison-handle,
.comparison:active .comparison-handle {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 6px rgba(246, 184, 0, 0.35);
}
.comparison-handle::before { content: "\2194"; display: grid; height: 100%; place-items: center; font-weight: 850; font-size: 1.1rem; }
.comparison-label {
  position: absolute;
  z-index: 3;
  bottom: 1.25rem;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.5);
  box-shadow: none;
  pointer-events: none;
}
.label-before { right: 1.5rem; }
.label-after { left: 1.5rem; }
@keyframes handle-prompt-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.16); box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 8px rgba(246, 184, 0, 0.45); }
}
.comparison.is-prompting .comparison-handle {
  animation: handle-prompt-pulse 1.4s ease-in-out;
}
.project-meta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.project-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.4rem;
}
.project-meta h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 0;
}
.project-meta-secondary p, .project-meta > p {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: #55574e;
  margin-bottom: 0.85rem;
}
.project-meta .project-action-wrap {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.project-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 750;
  color: #141513;
  background: var(--yellow);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
  text-decoration: none;
}
.project-action-link:hover,
.project-action-link:focus,
.project-action-link:active {
  background: var(--yellow);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(246, 184, 0, 0.35);
}
.project-action-link b {
  font-size: 1rem;
  line-height: 1;
}

/* Blogs section under Projects */
.projects-section,
.projects-blogs-section {
  background: #ffffff !important;
}
.projects-blogs-section {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 4.5vw, 3.75rem) 0;
}
.projects-blogs-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: flex-end;
  margin-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
}
.projects-blogs-title-col {
  min-width: 0;
}
.projects-blogs-title-col .eyebrow {
  margin-bottom: 0.65rem;
  color: var(--yellow, #f6b800);
}
.projects-blogs-header h2 {
  white-space: nowrap;
  margin: 0;
}
.projects-blogs-header h2 em {
  display: inline;
  font-size: inherit;
  font-family: var(--body-font), sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--yellow, #f6b800);
  margin-left: 0.28em;
  margin-top: 0;
  letter-spacing: -0.03em;
}
.projects-blogs-desc-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding-top: 0;
}
.projects-blogs-desc-col .projects-intro-text,
.projects-blogs-section .section-heading-row > p,
.projects-blogs-section .projects-intro-text {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  line-height: 1.58;
  color: #55574e;
  margin: 0;
  max-width: 580px;
}
@media (max-width: 768px) {
  .projects-blogs-section {
    padding: clamp(2rem, 5vw, 2.75rem) 0;
  }
  .projects-blogs-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }
  .projects-blogs-header h2 {
    white-space: normal;
  }
  .projects-blogs-desc-col {
    padding-top: 0;
  }
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2.25rem);
}
.journal-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e4dd;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}
.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 21, 19, 0.08);
}
.journal-img-wrap, .journal-card > img {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
}
.journal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.journal-card:hover .journal-img-wrap img, .journal-card:hover > img {
  transform: scale(1.04);
}
.journal-body, .journal-card > div {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.journal-body .eyebrow, .journal-card .eyebrow {
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.journal-body h3, .journal-card h3 {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(1.18rem, 1.4vw, 1.38rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #141513;
  margin-bottom: 0.65rem;
}
.journal-body p:last-child, .journal-card p:last-child {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: #55574e;
  margin: 0;
}

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.process-item { display: grid; grid-template-columns: 6rem 1fr minmax(260px, .8fr); gap: clamp(1.5rem, 5vw, 5rem); min-height: 20rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.2); align-items: center; }
.process-number { display: grid; width: 3.4rem; aspect-ratio: 1; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: .8rem; font-weight: 850; }
.process-copy { max-width: 620px; }
.process-copy h3 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 5rem); }
.process-copy p { max-width: 570px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.process-item img { width: 100%; height: 16rem; padding: 1rem; object-fit: contain; border-radius: var(--radius); background: var(--white); }

.team-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.team-intro .section-heading { margin-bottom: 0; }
.team-intro .section-heading h1 { max-width: none; font-size: clamp(2.6rem, 4.5vw, 4.5rem); line-height: 1.05; margin-bottom: 1.25rem; }
.team-intro .section-heading p:not(.eyebrow) { font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; color: #45473e; max-width: 38ch; margin-bottom: 0; }
.team-image { margin: 0; overflow: hidden; border-radius: 0; }
.team-image img { width: 100%; height: 520px; object-fit: cover; }
.founder-quote { display: grid; grid-template-columns: .35fr 1fr .25fr; gap: 2rem; margin: clamp(5rem, 9vw, 8rem) 0; padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder-quote blockquote { margin: 0; font-size: clamp(1.7rem, 3.3vw, 3.25rem); font-weight: 520; line-height: 1.18; letter-spacing: -.035em; }
.founder-quote cite { align-self: end; font-style: normal; font-weight: 750; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-card { min-height: 27rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 0; transition: transform .25s ease; }
.team-card:hover { transform: translateY(-6px); }
.team-card > span { display: grid; width: 100%; height: 12rem; margin-bottom: 1.5rem; place-items: center; background: var(--mist); border-radius: 0; font-family: var(--body-font); font-size: 3.5rem; color: var(--yellow); }
.team-card > img { width: 100%; height: 12rem; margin-bottom: 1.5rem; object-fit: cover; object-position: center 27%; border-radius: 0; background: var(--mist); filter: grayscale(1); }
.team-card h3 { margin-bottom: 1rem; }
.team-card p:last-child { margin-bottom: 0; font-size: .92rem; }

.journal-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 1.25rem; }
.journal-card { overflow: hidden; background: var(--white); border-radius: 0; }
.journal-card img { width: 100%; height: 280px; object-fit: cover; }
.journal-card:first-child img { height: 380px; }
.journal-card > div { padding: 1.5rem; }
.journal-card h3 { font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.08; }
.journal-card p:last-child { margin-bottom: 0; color: #585952; }

/* =========================================================================
   Contact Page Styles (Exact match to Website Design Layout _ Ruby.pdf Page 6)
   ========================================================================= */
body.contact-page,
body.contact-page .site-header,
body.contact-page .site-header.scrolled,
.contact-page-main,
body.contact-page .site-footer {
  background: #ffffff !important;
}

.contact-page-section {
  padding-top: clamp(3.75rem, 5.5vw, 5.25rem);
  padding-bottom: clamp(3rem, 4.5vw, 4.5rem);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: stretch;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.contact-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
}

.contact-hero-copy h1 {
  font-family: var(--body-font);
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.contact-hero-copy h1 em {
  display: inline;
  font-family: inherit;
  color: inherit;
  font-size: 1em;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  margin-top: 0;
}

.contact-intro-p {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  max-width: 520px;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

.contact-swing-wrap {
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 0.5rem;
}

.contact-swing-wrap img {
  width: auto;
  max-width: 100%;
  height: clamp(280px, 28vw, 380px);
  object-fit: contain;
  object-position: left bottom;
  display: block;
}

.contact-hero-visual {
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 16px 48px rgba(20, 21, 19, 0.08);
  height: 100%;
  display: flex;
}

.contact-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 36vw, 480px);
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-hero-visual:hover img {
  transform: scale(1.025);
}

/* Lower Section: Form & Map */
.contact-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-box-title {
  font-family: var(--body-font);
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.contact-success-banner {
  padding: 1rem 1.25rem;
  background: #e6f4ea;
  color: #137333;
  border-radius: 10px;
  border: 1px solid #ceead6;
  margin-bottom: 1.25rem;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-modern .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-input-field {
  width: 100%;
  padding: 0.95rem 1.2rem;
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: #141513;
  background: #ffffff;
  border: 1px solid #d4d2cb;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input-field::placeholder {
  color: #92948b;
}

.contact-input-field:focus {
  border-color: #fcbe13;
  box-shadow: 0 0 0 3px rgba(252, 190, 19, 0.25);
}

.contact-textarea-field {
  resize: vertical;
  min-height: 140px;
}

.contact-form-modern .button {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Map Card */
.contact-map-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-map-box {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e5e3dc;
  box-shadow: 0 8px 24px rgba(20, 21, 19, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-map-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(20, 21, 19, 0.09);
}

.contact-map-box img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-address-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eae8e1;
}

.contact-address-card address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #353630;
}

.contact-address-card address strong {
  display: block;
  color: #141513;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-meta-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
  font-size: 0.92rem;
}

.contact-meta-links a {
  color: #141513;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #fcbe13;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.contact-meta-links a:hover {
  color: #000;
  text-decoration-color: #000;
}

@media (max-width: 1200px) {
  .contact-hero-copy h1 {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .contact-page-section {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-hero-copy h1 {
    white-space: normal;
  }
  .contact-hero-visual img {
    min-height: clamp(260px, 55vw, 380px);
  }
  .contact-lower-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-swing-wrap {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-form-modern .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-form-modern .button {
    width: 100%;
    justify-content: center;
  }
  .contact-address-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
  }
  .contact-meta-links {
    text-align: left;
  }
}

.home-page .site-footer {
  display: none !important;
}

/* =========================================================================
   Ruby PDF Page 7 — Site Footer Styles (.ruby-footer)
   ========================================================================= */
.site-footer,
.ruby-footer {
  margin-top: auto;
  position: relative;
  overflow: hidden;
  background: #ffffff !important;
  color: #141513;
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 0;
  backdrop-filter: none;
}

.ruby-footer .ruby-footer-shell {
  width: min(calc(100% - var(--container-pad, 3rem)), var(--max));
  margin-inline: auto;
}

.ruby-footer-top {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: end;
  gap: 0;
  border-bottom: 1px solid #a8a6a0;
}

.ruby-footer-skyline {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  pointer-events: none;
}

.ruby-footer-skyline img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  display: block;
  margin-bottom: -1px;
}

.ruby-footer-contacts {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.1fr;
  gap: clamp(0.6rem, 1.2vw, 1.35rem);
  padding-left: clamp(1rem, 2vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(1.1rem, 2vw, 1.65rem);
}

.ruby-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.45rem, 0.7vw, 0.7rem);
  min-width: 0;
}

.ruby-footer-icon {
  flex: 0 0 clamp(28px, 2.2vw, 34px);
  width: clamp(28px, 2.2vw, 34px);
  height: clamp(28px, 2.2vw, 34px);
  border-radius: 50%;
  background: var(--yellow, #f6b800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #141513;
  margin-top: 0.1rem;
}

.ruby-footer-icon svg {
  width: clamp(14px, 1.1vw, 17px);
  height: clamp(14px, 1.1vw, 17px);
  fill: currentColor;
  display: block;
}

.ruby-footer-contact-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ruby-footer-contact-text strong {
  font-family: var(--body-font);
  font-size: clamp(0.8rem, 0.88vw, 0.94rem);
  font-weight: 700;
  line-height: 1.25;
  color: #141513;
  margin-bottom: 0.25rem;
}

.ruby-footer-contact-text address,
.ruby-footer-contact-text a {
  font-style: normal;
  font-size: clamp(0.7rem, 0.78vw, 0.82rem);
  line-height: 1.38;
  color: #2b2c28;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.ruby-footer-contact-text a:hover {
  color: #000000;
  text-decoration: underline;
  text-decoration-color: var(--yellow, #f6b800);
  text-underline-offset: 3px;
}

.ruby-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  font-size: clamp(0.72rem, 0.78vw, 0.78rem) !important;
  line-height: 1.4 !important;
  color: #888a84;
}

.ruby-footer-copy {
  margin: 0;
  font-size: clamp(0.72rem, 0.78vw, 0.78rem) !important;
  line-height: 1.4 !important;
  color: #888a84;
}

.ruby-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(0.72rem, 0.78vw, 0.78rem) !important;
  line-height: 1.4 !important;
}

.ruby-footer-legal a {
  font-size: clamp(0.72rem, 0.78vw, 0.78rem) !important;
  line-height: 1.4 !important;
  color: #888a84;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ruby-footer-legal a:hover {
  color: #141513;
}

.ruby-footer-sep {
  font-size: clamp(0.72rem, 0.78vw, 0.78rem) !important;
  line-height: 1.4 !important;
  color: #b5b4ae;
}

@media (max-width: 1080px) {
  .ruby-footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ruby-footer-skyline {
    order: 2;
    justify-content: center;
  }
  .ruby-footer-skyline img {
    max-width: 680px;
    object-position: center bottom;
  }
  .ruby-footer-contacts {
    order: 1;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 0.25rem;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .ruby-footer .ruby-footer-shell {
    width: min(calc(100% - 2rem), var(--max));
  }
  .ruby-footer-contacts {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .ruby-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .philosophy-layout { grid-template-columns: 1fr; gap: 3rem; }
  .philosophy-illustration-wrap { order: 2; max-width: 540px; }
  .philosophy-illustration-wrap img { width: 100%; max-width: 620px; }
  .about-grid, .team-intro, .contact-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 720px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2n) { border-right: 0; }
  .value:last-child { grid-column: 1 / -1; }
  .process-item { grid-template-columns: 4.5rem 1fr; }
  .process-item img { grid-column: 2; height: 19rem; }
  .team-image img { height: 440px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .journal-card:first-child { grid-column: 1 / -1; }
  .journal-card:first-child img { height: 460px; }
  .contact-copy { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .section { padding: 5rem 0; }
  .about-image img { height: 430px; }
  .values-grid { grid-template-columns: 1fr; }
  .value, .value:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .value:last-child { grid-column: auto; border-bottom: 0; }
  .comparison { aspect-ratio: 4 / 3; }
  .comparison-after img { width: calc(100vw - 2rem); }
  .project-meta > p { margin-top: .25rem; }
  .process-item { grid-template-columns: 3.5rem 1fr; gap: 1rem; }
  .process-item img { height: 13rem; }
  .team-image img { height: 330px; }
  .founder-quote { padding: 2rem 0; }
  .team-grid, .journal-grid { grid-template-columns: 1fr; }
  .journal-card:first-child { grid-column: auto; }
  .journal-card:first-child img, .journal-card img { height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-panel > img { height: 270px; }
  .footer-bar { min-height: 41px; }
  .footer-bar address { display: none; }
}

/* Process page - page 4 of the Ruby design */
.process-pdf-page { background: #fff; overflow-x: clip; overflow-y: visible !important; }
.process-pdf-page .site-header .container { width: min(calc(100% - var(--container-pad, 3rem)), var(--max)); }
.process-editorial { color: #111; background: #fff; overflow: visible !important; }
.process-editorial p { line-height: 1.25; }
.process-shell { position: relative; width: min(calc(100% - var(--container-pad, 4.5rem)), var(--max)); margin-inline: auto; }
.process-opening { border-bottom: 1px solid #d8d8d8; }
.process-opening-grid { min-height: 600px; display: grid; grid-template-columns: 42% 58%; align-items: start; padding-top: 42px; }
.process-opening-copy { position: relative; z-index: 2; padding-right: clamp(2rem, 5vw, 5rem); }
.process-page-title { position: relative; display: inline-block; max-width: none; margin: 0 0 2rem; font-size: clamp(1.35rem, 1.85vw, 2rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.process-page-title::after, .process-stage h2::after { content: ""; position: absolute; top: calc(100% + .4rem); left: 0; width: 100%; height: 2px; background: var(--yellow); }
.process-script { margin: 0 0 2.5rem; color: var(--yellow); font-family: var(--body-font); font-size: clamp(2.8rem, 4.2vw, 4.8rem); line-height: 1.08; letter-spacing: normal; text-align: center; transform: rotate(-2deg); }
.process-script span { display: inline-block; margin: .5rem 0 0 7rem; }
.process-visual { margin: 0; }
.process-visual img { width: 100%; height: 100%; object-fit: contain; }
.process-visual--understand { align-self: start; height: 470px; margin-top: 20px; }
.process-stage { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: start; }
.process-stage-copy { max-width: 470px; }
.process-stage h2 { position: relative; display: inline-block; margin: 0 0 2.2rem; font-size: clamp(1.7rem, 2.2vw, 2.55rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.process-stage p { margin: 0 0 1rem; font-size: clamp(.86rem, .95vw, 1rem); text-align: justify; }
.process-stage .process-lead { margin-bottom: 1.25rem; font-weight: 500; text-align: left; }
.process-badge { width: 46px; height: 42px; display: grid; place-items: center; margin-top: -8px; background: var(--yellow); clip-path: polygon(9% 17%, 28% 10%, 39% 0, 55% 11%, 74% 6%, 84% 21%, 100% 32%, 91% 51%, 98% 67%, 78% 76%, 68% 94%, 48% 89%, 32% 100%, 19% 83%, 2% 75%, 8% 57%, 0 42%, 13% 31%); font-size: .9rem; font-weight: 700; }
.process-stage--one { margin-top: 1.5rem; }
.process-band { border-bottom: 1px solid #d8d8d8; }
.process-row { min-height: 405px; display: grid; grid-template-columns: 50% 50%; align-items: center; }
.process-row > .process-stage { padding: 2rem clamp(1rem, 5vw, 5.5rem); }
.process-row--copy-left > .process-stage { padding-left: 0; }
.process-row--image-left > .process-stage { padding-right: 0; }
.process-row--image-left > .process-visual { padding-right: clamp(2rem, 5vw, 5rem); }
.process-row--copy-left > .process-visual, .process-finish { padding-left: clamp(2rem, 5vw, 5rem); }
.process-visual--plan { height: 330px; }
.process-visual--design { position: relative; height: 390px; padding-top: 2.2rem; }
.process-visual--develop { position: relative; height: 360px; padding-top: 2.8rem; }
.process-note { position: absolute; z-index: 2; top: -0.4rem; left: 18%; color: var(--yellow); font-family: var(--body-font); font-size: clamp(2.4rem, 3.8vw, 4.2rem); line-height: 0.98; letter-spacing: normal; transform: rotate(-3deg); }
.process-visual--develop .process-note { left: 36%; white-space: nowrap; }
.process-band--last { border-bottom: 0; }
.process-band--last .process-row { min-height: 440px; }
.process-finish { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 1.25rem; padding-top: 1.5rem; padding-bottom: 2rem; }
.process-visual--deliver { width: 100%; margin: 0; }
.process-visual--deliver img { width: 100%; height: auto; display: block; }
.process-finish .button { align-self: flex-end; min-width: 240px; margin: 0; }
.process-pdf-page .reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .process-shell { width: min(calc(100% - 3rem), 1320px); }
  .process-opening-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .process-opening-copy { padding-right: 0; }
  .process-script { max-width: 650px; text-align: left; }
  .process-script span { margin-left: 5rem; }
  .process-stage--one { max-width: 620px; margin: 3rem 0; }
  .process-visual--understand { height: auto; margin: 0; }
  .process-row { min-height: 0; grid-template-columns: 1fr; padding-block: 2.5rem; }
  .process-row--image-left > .process-visual, .process-row--copy-left > .process-visual, .process-finish { padding-right: 0; padding-left: 0; }
  .process-row > .process-stage { padding: 1rem 0 2.5rem; }
  .process-row--image-left > .process-visual { order: 2; }
  .process-row--image-left > .process-stage { order: 1; }
  .process-visual--plan, .process-visual--design, .process-visual--develop { height: auto; min-height: 330px; }
  .process-visual--deliver { height: auto; }
}

@media (max-width: 680px) {
  .process-shell { width: min(calc(100% - 2rem), 1320px); }
  .process-opening-grid { padding-top: 2rem; }
  .process-page-title { margin-bottom: 2.8rem; }
  .process-script { margin-bottom: 3.5rem; font-size: clamp(3.3rem, 16vw, 5rem); }
  .process-script span { margin-left: 2.5rem; }
  .process-stage { grid-template-columns: 42px minmax(0, 1fr); gap: .8rem; }
  .process-badge { width: 42px; height: 38px; }
  .process-stage h2 { font-size: 2rem; }
  .process-stage p { text-align: left; }
  .process-visual--plan, .process-visual--design, .process-visual--develop { min-height: 245px; }
  .process-note { left: 12%; font-size: 3.2rem; }
  .process-visual--develop .process-note { left: 24%; }
  .process-finish { align-items: center; gap: 1.25rem; }
  .process-finish .button { align-self: center; min-width: 220px; font-size: .95rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transition: none; }
  .hero-slide img { transform: scale(0.93); scale: 0.93; transition: none; }
  .hero-orbit { animation: none; }
}

/* WhatsApp Chat Widget */
.chat {
  position: fixed;
  z-index: 20000;
  right: 24px;
  bottom: 24px;
  font-family: var(--body-font);
}

.chat-fab {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #25d366;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.chat-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.chat-fab svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.24s;
}

.chat[data-open="true"] .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-head {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 16px 20px;
  color: #ffffff;
  background: #075e54;
}

.chat-head img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.chat-head strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.chat-head span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

.chat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.chat-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chat-body {
  position: relative;
  padding: 22px 18px;
  background:
    radial-gradient(circle at 14px 14px, rgba(90, 76, 64, 0.1) 1px, transparent 1.5px) 0 0 / 26px 26px,
    #efeae2;
}

.chat-message {
  position: relative;
  z-index: 1;
  max-width: 280px;
  padding: 10px 14px 12px;
  color: #111b21;
  background: #ffffff;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.chat-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 12px;
  background: #ffffff;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.chat-username {
  display: block;
  margin-bottom: 2px;
  color: #075e54;
  font-size: 12px;
  font-weight: 700;
}

.chat-message p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #111b21;
}

.chat-footer {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
}

.whatsapp-option {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  color: #ffffff;
  background: #25d366;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-option:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(37, 211, 102, 0.38);
}

@media (max-width: 680px) {
  .chat { right: 16px; bottom: 16px; }
  .chat-fab { width: 60px; height: 60px; }
  .chat-fab svg { width: 34px; height: 34px; }
  .chat-panel { right: 0; bottom: 74px; width: min(340px, calc(100vw - 32px)); }
}

/* Reference navigation */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 96px;
  color: #111;
  background: #ffffff;
  border-top: none;
  border-bottom: 1px solid transparent;
  transition: height .25s ease, background .3s ease, box-shadow .25s ease, border-color .3s ease;
}
.site-header.scrolled,
.inner-page .site-header.scrolled {
  height: 84px;
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 21, 19, .08);
  box-shadow: 0 8px 28px rgba(20, 21, 19, .06);
}
.site-header .container { width: min(calc(100% - var(--container-pad, 3rem)), var(--max)); }
.nav-wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; z-index: 103; display: block; flex: 0 0 88px; width: 88px; }
.brand img { width: 88px; height: auto; }
.site-header.scrolled .brand { width: 75px; flex-basis: 75px; }
.site-header.scrolled .brand img { width: 75px; }
.menu-toggle { display: none; }
.site-nav {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.45rem, 2.5vw, 2.9rem);
  margin: 0;
}
.nav-item-dropdown { position: relative; display: inline-flex; align-items: center; }
.site-nav a, .nav-dropdown-trigger { position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: 29px 0 25px; font-size: .76rem; font-weight: 500; letter-spacing: .055em; line-height: 1; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.site-nav a > span, .nav-dropdown-trigger > span { display: none !important; }
.site-nav a::after, .nav-dropdown-trigger::after { content: ""; position: absolute; right: 0; bottom: 15px; left: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after, .nav-dropdown-trigger:hover::after, .nav-dropdown-trigger[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 200px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(246, 184, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0.4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu .dropdown-item {
  display: block !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.78rem !important;
  color: #111111 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 550 !important;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown-menu .dropdown-item:hover {
  background: var(--yellow-soft);
  color: #000;
}
.nav-dropdown-menu .dropdown-item::after { display: none !important; }

.page-main { padding-top: var(--header-height, 96px); }
.page-main.project-detail-main { padding-top: calc(var(--header-height, 96px) + clamp(2rem, 4.5vw, 3.5rem)) !important; }

/* Story (About) page - Clean, balanced, faithful to DOCX */
.pdf-about-page { background: #fff; }
.pdf-about-page .container { width: min(calc(100% - var(--container-pad, 3rem)), var(--max)); }
.about-page { color: #111; background: #fff; }
.pdf-heading {
  position: relative;
  display: inline-block;
  margin: 0 0 clamp(1rem, 2vw, 1.6rem);
  font-size: clamp(1.2rem, 1.6vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-transform: none;
}
.pdf-heading::after {
  content: "";
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
}

.about-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: none;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.about-hero-copy {
  display: flex;
  flex-direction: column;
}
.about-hero-copy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.about-hero-copy h1 em {
  display: inline;
  font-size: 1.05em;
  line-height: 1.15;
}
.about-hero-lead {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.6;
  color: #3b3d36;
  margin: 0;
}
.about-hero-images,
.about-hero-image-single {
  margin: 0;
  width: 100%;
}
.about-hero-image-single img,
.about-hero-images img {
  width: 100%;
  height: clamp(340px, 32vw, 440px);
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(20, 21, 19, 0.07);
}

.about-story {
  padding: clamp(2.5rem, 5vw, 4.2rem) 0;
  border-bottom: none;
}
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.about-story-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(20, 21, 19, 0.06);
}
.about-story-copy h2 {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: #2c2e28;
}
.about-story-copy p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: #55574e;
  margin: 0 0 1rem;
}

.about-belief {
  padding: clamp(2.5rem, 5vw, 4.2rem) 0;
  background: #ffffff;
  border-bottom: none;
}
.about-belief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.belief-heading {
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.belief-heading em {
  display: inline;
}
.belief-lead {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  font-weight: 550;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.about-belief-copy p:last-child {
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  margin: 0;
}
.about-belief-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(20, 21, 19, 0.06);
}

.story-vignette {
  margin-top: 1.5rem;
  width: min(100%, 200px);
}
.story-vignette img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Team Section in One Line under Story - Equal Importance */
.about-team-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: #ffffff;
}
.team-section-header {
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
.team-section-header h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}
.team-section-header h2 em {
  display: inline;
}
.team-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 1.8vw, 1.8rem);
  align-items: stretch;
}
.team-row-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e4dd;
  border-radius: 0;
  padding: 1.5rem 1.25rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.team-row-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 21, 19, 0.08);
  border-color: rgba(246, 184, 0, 0.55);
}
.team-avatar-frame {
  width: 100%;
  height: 210px;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fefdf9 0%, #faeed2 100%);
  border: 1px solid rgba(246, 184, 0, 0.28);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  position: relative;
}
.team-avatar-photo,
.team-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.team-avatar-icon {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.team-row-card:hover .team-avatar-photo,
.team-row-card:hover .team-avatar-frame img {
  transform: scale(1.05);
}
.team-row-card:hover .team-avatar-icon {
  transform: scale(1.08);
}
.team-avatar-frame .team-initials {
  font-family: var(--body-font);
  font-size: 3.4rem;
  color: var(--yellow);
  line-height: 1;
}
.team-card-name {
  margin: 0 0 0.25rem;
  font-family: var(--body-font);
  font-size: clamp(1.15rem, 1.35vw, 1.3rem);
  line-height: 1.2;
  color: #141513;
  font-weight: 700;
}
.team-card-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--yellow);
}
.team-card-bio {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #55574e;
  margin: 0;
  flex: 1 1 auto;
}

@media (max-width: 1100px) {
  .site-nav { gap: 1.35rem; }
  .site-nav a { font-size: .7rem; }
  .header-cta { padding-left: 1rem; }
  .about-hero-grid { grid-template-columns: 38% 62%; }
  .about-story-grid { grid-template-columns: 58% 42%; }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 84px;
  }
  .site-header,
  .site-header.scrolled,
  .inner-page .site-header {
    height: 84px;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.menu-open .site-header {
    background: var(--yellow) !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
  }
  .page-main { padding-top: 84px; }
  .page-main.project-detail-main { padding-top: calc(84px + 2rem) !important; }
  .nav-wrap { justify-content: space-between; }
  .brand { position: relative; z-index: 1002; width: 75px; flex-basis: 75px; }
  .brand img { width: 75px; }
  .site-header.scrolled .brand { width: 75px; flex-basis: 75px; }
  .mobile-nav-contact {
    display: flex !important;
  }
  body.home-page .site-header .header-cta {
    display: none !important;
  }
  .site-header .header-cta {
    display: inline-flex;
    order: 2;
    margin-left: auto;
    margin-right: 0.85rem;
    font-size: 0.84rem;
    padding-bottom: 4px;
    gap: 0.45rem;
  }
  .site-header .header-cta svg {
    width: 20px;
    height: 10px;
  }

  /* Hide "Get in touch" in header only for small devices (smartphones & small screens <= 768px) */
  @media (max-width: 768px) {
    .site-header .header-cta {
      display: none !important;
    }
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: #141513;
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] {
    background: #141513;
  }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only) {
    background: var(--yellow);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: clamp(0.2rem, 1.2vh, 0.75rem);
    margin: 0;
    padding: clamp(5.5rem, 12vh, 7.5rem) clamp(2rem, 6vw, 4rem) 2.5rem;
    background: var(--yellow) !important;
    background-color: #f6b800 !important;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
    pointer-events: none;
  }
  .site-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav a,
  .nav-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(0.35rem, 1vh, 0.6rem) 0;
    color: #141513;
    font-family: var(--body-font);
    font-size: clamp(1.25rem, 3.6vw, 1.75rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
    border-bottom: 1px solid rgba(20, 21, 19, 0.1);
    transition: transform 0.15s ease, color 0.15s ease;
  }
  .site-nav a:last-child {
    border-bottom: 0;
  }
  .site-nav a:hover,
  .site-nav a:active,
  .nav-dropdown-trigger:hover,
  .nav-dropdown-trigger:active {
    color: #000;
    transform: scale(1.03);
  }
  .site-nav a[aria-current="page"] {
    font-weight: 700;
  }
  .site-nav a > span {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    opacity: 0.65;
  }
  .site-nav a::after,
  .site-nav a::before {
    display: none !important;
  }
  .about-hero-grid, .about-story-grid, .about-belief-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero-copy { padding-right: 0; }
  .about-hero-images { min-height: auto; }
  .about-hero-images img { height: 260px; }
  .about-story-image { padding-right: 0; }
  .about-story-image img { height: 300px; }
  .about-story-copy { padding: 0; }
  .about-belief-visual img { height: 260px; }
  .team-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .nav-item-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    box-shadow: none;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.25rem;
  }
  .nav-dropdown-menu .dropdown-item {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 1.1rem !important;
    padding: 0.4rem 0.6rem !important;
    color: #141513 !important;
    border-bottom: 1px dashed rgba(20, 21, 19, 0.15) !important;
  }
  .nav-dropdown-menu .dropdown-item:last-child {
    border-bottom: none !important;
  }

}

@media (max-width: 680px) {
  .pdf-about-page .container { width: min(calc(100% - 2rem), 1320px); }
  .about-hero,
  .about-story,
  .about-belief,
  .about-team-section {
    padding: 2.25rem 0;
  }
  .about-hero-grid { padding-top: 0.5rem; gap: 1.5rem; }
  .about-hero-copy { min-height: 0; padding-bottom: 0; }
  .pdf-heading { margin-bottom: 1.35rem; font-size: 1.25rem; }
  .about-hero-copy h1 { max-width: none; margin-bottom: 1rem; font-size: clamp(2rem, 8.5vw, 2.75rem); white-space: normal; }
  .about-hero-copy > p:not(.pdf-heading) { text-align: left; }
  .about-hero-image-single img,
  .about-hero-images img { height: clamp(230px, 58vw, 320px); min-height: 0; }
  .about-story-grid { width: 100%; gap: 1.5rem; }
  .about-story-image img { height: clamp(230px, 58vw, 320px); min-height: 0; }
  .about-story-copy { width: 100%; margin-inline: 0; padding: 0; }
  .about-story-copy h2 { margin-bottom: 1rem; font-size: clamp(1rem, 3.8vw, 1.15rem); font-weight: 400; line-height: 1.55; }
  .about-story-copy p { text-align: left; }
  .about-belief-grid { gap: 1.5rem; }
  .about-belief-visual img { height: clamp(220px, 56vw, 300px); min-height: 0; }
  .team-cards-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-story-decor { height: 125px; }
  .about-purpose-grid { min-height: 0; }
  .about-purpose-grid > div:first-child { padding-right: 0; }
  .purpose-statement { gap: 1.6rem; padding-top: 1.8rem; }
  .purpose-statement em { font-size: 6.5rem; }
  .purpose-statement p { font-size: 1.4rem; }
  .about-values { padding-top: 2rem; }
  .about-values .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values .value { min-height: 170px; border-bottom: 1px solid #d6d2c9; }
  .about-values .value:nth-child(2n) { border-right: 0; }
  .about-values .value:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .about-values .value svg { width: 58px; height: 58px; }
  .conversation-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .conversation-grid > p:nth-child(2) { padding: 1rem 0 0; border-top: 2px solid #e5e2dc; border-left: 0; }
  .conversation-grid .button { min-width: 0; }
}

/* ==========================================================================
   About Page - Team Section (Matched to PDF Layout Page 5)
   ========================================================================== */
.about-team-hero {
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  background: #fff;
}
.team-hero-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  padding: 3.5rem 1rem 2.25rem;
  max-width: 1050px;
}
.team-hero-header .pdf-heading {
  margin-bottom: 0.75rem;
  text-align: center;
}
.team-hero-header .team-script-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  text-align: center;
  margin: 0 0 1.25rem;
  font-family: var(--body-font);
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  font-weight: 400;
  color: var(--yellow);
  line-height: 1;
}
.team-hero-header .team-script-title em,
.team-hero-header .team-script-title span {
  display: inline;
  margin: 0;
  font-style: normal;
  color: var(--yellow);
  line-height: 1;
}
.team-hero-header .team-hero-desc {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  line-height: 1.5;
  color: #333;
}
.founder-card-wrap {
  max-width: 1040px;
  margin-inline: auto;
  border-top: 1px solid #e7e4dd;
}
.founder-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 2.75rem 0 0 clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
}
.founder-info {
  padding-bottom: clamp(2rem, 4vw, 3.8rem);
}
.founder-eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #111;
}
.founder-name {
  margin: 0 0 1.5rem;
  font-family: var(--body-font);
  font-size: clamp(2.8rem, 4.4vw, 4.8rem);
  line-height: 1.12;
  font-weight: 400;
  color: var(--yellow);
  letter-spacing: normal;
}
.founder-bio {
  max-width: 460px;
  margin: 0 0 1.6rem;
  font-size: clamp(0.88rem, 1.02vw, 1.02rem);
  line-height: 1.52;
  color: #333;
  text-align: justify;
}
.founder-accent-line {
  width: 68px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 1.6rem;
}
.founder-saying {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.35;
  color: #111;
}
.founder-photo-wrap {
  margin: 0;
  align-self: end;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}
.founder-photo-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 490px;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(1);
}

.about-team-members {
  background: #fff;
  border-bottom: 1px solid #d8d8d8;
}
.about-team-members-grid {
  display: grid;
  grid-template-columns: 28% 72%;
  padding-top: 48px;
  padding-bottom: 70px;
  min-height: 480px;
}
.team-members-intro {
  padding-right: clamp(1.5rem, 3vw, 3.5rem);
  display: flex;
  flex-direction: column;
}
.team-members-intro .pdf-heading {
  margin-bottom: 2rem;
}
.team-members-intro p {
  max-width: 290px;
  margin: 0 0 1.4rem;
  font-size: clamp(0.92rem, 1.08vw, 1.04rem);
  line-height: 1.48;
  color: #333;
}
.team-intro-divider {
  width: 55px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: auto;
}
.team-spot-runner {
  margin-top: 2rem;
  max-width: min(90%, 250px);
  height: auto;
  align-self: flex-start;
}
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.8rem);
}
.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.member-photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  background: #faeed2;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
.member-name {
  margin: 0 0 0.35rem;
  font-family: var(--body-font);
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
  line-height: 1.1;
  color: var(--yellow);
  font-weight: 400;
  letter-spacing: normal;
}
.member-role {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.01em;
}
.member-rule {
  width: 52px;
  height: 2px;
  background: var(--yellow);
  margin: 0 auto 1.1rem;
}
.member-bio {
  margin: 0;
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  line-height: 1.55;
  color: #45473e;
}

/* ==========================================================================
   Services & Portfolio Capabilities Page Styles
   ========================================================================== */
.services-page {
  background: #fff;
  color: #111;
}
.services-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid #d8d8d8;
}
.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: end;
}
.services-hero-grid h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0;
  max-width: none;
}
.services-hero-grid h1 em {
  display: block;
  color: var(--yellow);
  font-family: var(--body-font);
  font-size: 1.05em;
  line-height: 1.15;
  margin-top: 0.35rem;
  letter-spacing: normal;
}
.services-hero-grid > p {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: #45473e;
  margin-bottom: 0.5rem;
}
.services-list-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  border-bottom: 1px solid #d8d8d8;
}
.services-list-grid {
  display: grid;
  gap: clamp(3.5rem, 6vw, 6rem);
}
.service-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid #eeebe3;
}
.service-item-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.service-item-row.reverse .service-content {
  order: 2;
}
.service-item-row.reverse .service-visual {
  order: 1;
}
.service-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.service-content h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.service-lead {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 550;
  color: #2b2d26;
  margin-bottom: 1rem;
  line-height: 1.45;
}
.service-desc {
  font-size: clamp(0.88rem, 1.02vw, 1rem);
  line-height: 1.55;
  color: #55574e;
  margin-bottom: 1.5rem;
}
.service-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.2rem;
}
.service-deliverables li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #333;
}
.service-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.service-cta-link:hover {
  color: var(--yellow);
  transform: translateX(4px);
}
.service-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 11;
  background: #f4f3ec;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-visual:hover img {
  transform: scale(1.03);
}
.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.services-pillars-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: linear-gradient(180deg, #fff 0%, #faf8f2 100%);
  border-bottom: 1px solid #d8d8d8;
}
.services-pillars-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}
.services-pillars-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.services-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.service-pillar-card {
  background: #fff;
  border: 1px solid #e7e4dd;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.service-pillar-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}
.service-pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.service-pillar-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #55574e;
  margin: 0;
}

/* Responsive updates for Team and Services */
@media (max-width: 1100px) {
  .founder-card { grid-template-columns: 1fr 1fr; padding-left: 0; padding-top: 2rem; }
  .about-team-members-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-members-intro { padding-right: 0; }
  .team-spot-runner { margin-top: 1rem; }
  .services-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-item-row, .service-item-row.reverse { grid-template-columns: 1fr; }
  .service-item-row.reverse .service-content { order: 1; }
  .service-item-row.reverse .service-visual { order: 2; }
}

@media (max-width: 768px) {
  .team-cards-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .comparison {
    aspect-ratio: 16 / 10;
  }
  .project-card .comparison {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   School Partners / Campus Showcase Section
   ========================================================================== */
.school-partners-section {
  padding-top: clamp(2.5rem, 5vw, 4.25rem);
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
  background: #ffffff;
  border-top: 1px solid #eae7df;
}
.school-partners-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem) auto;
}
.school-partners-header .eyebrow {
  color: var(--yellow, #f6b800);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 0.65rem;
}
.school-partners-header h2 {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 400;
  color: var(--ink, #141513);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem 0;
  white-space: normal;
}
.school-partners-header h2 em {
  display: block;
  font-style: normal;
  font-family: var(--body-font), sans-serif;
  font-weight: 400;
  color: var(--yellow, #f6b800);
  margin-top: 0.15rem;
  letter-spacing: -0.025em;
}
.school-partners-header p {
  color: #55574e;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 680px;
}
/* Continuous Single-Line Motion Partner Logos (No Boxes) */
.school-logos-marquee-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  padding: clamp(0.75rem, 1.5vw, 1.25rem) 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.school-logos-marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
}
.school-logos-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  padding-right: clamp(2.5rem, 4.5vw, 4.5rem);
  animation: schoolLogosScroll 55s linear infinite;
  will-change: transform;
}
.school-logos-marquee-wrapper:hover .school-logos-marquee-group {
  animation-play-state: paused;
}
@keyframes schoolLogosScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.school-logo-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 85px;
  min-width: 82px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 0.65rem;
}
.school-logo-clean img {
  display: block;
  width: auto;
  height: auto;
  max-height: 76px;
  max-width: 255px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.25s ease;
}
/* Standardised optical scaling so all school names and crests are clearly legible */
.school-logo-clean.logo-compact img {
  max-height: 64px;
  max-width: 99px;
}
.school-logo-clean.logo-medium img {
  max-height: 70px;
  max-width: 184px;
}
.school-logo-clean.logo-wide img {
  max-height: 76px;
  max-width: 255px;
}
.school-logo-clean:hover img {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .school-logos-marquee-group {
    gap: 1.75rem;
    padding-right: 1.75rem;
    animation-duration: 40s;
  }
  .school-logo-clean {
    height: 68px;
    min-width: 61px;
    padding: 0 0.35rem;
  }
  .school-logo-clean.logo-compact img {
    max-height: 51px;
    max-width: 78px;
  }
  .school-logo-clean.logo-medium img {
    max-height: 56px;
    max-width: 143px;
  }
  .school-logo-clean.logo-wide img {
    max-height: 61px;
    max-width: 194px;
  }
}

/* =========================================================================
   Ruby PDF Page 2 — About Us Page Styles (about.php)
   ========================================================================= */
@font-face {
  font-family: "Brittany Signature Official";
  src: url("assets/fonts/BrittanySignatureScript.woff") format("woff"),
       url("assets/fonts/BrittanySignatureScript.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body.ruby-about-body,
body.ruby-about-body .site-header,
body.ruby-about-body .site-header.scrolled,
.ruby-about-main,
body.ruby-about-body .site-footer {
  background: #ffffff !important;
}

.ruby-about-main .container {
  width: min(calc(100% - var(--container-pad, 3rem)), var(--max));
  margin-inline: auto;
}

/* Section 1: About Us Hero */
.ruby-about-hero {
  border-bottom: none;
  background: #ffffff;
}

.ruby-about-hero-grid {
  display: grid;
  grid-template-columns: 34.5% 65.5%;
  padding-top: clamp(1rem, 2vw, 1.75rem);
  min-height: 590px;
  align-items: stretch;
}

.ruby-about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: clamp(2rem, 4.2vw, 4.25rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ruby-about-hero-copy .pdf-heading {
  align-self: flex-start;
  margin-bottom: 0;
}

.ruby-about-title-wrap {
  margin-block: auto;
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.ruby-about-h1 {
  margin: 0;
  font-family: var(--body-font);
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #111111;
}

.ruby-about-h1 > span {
  display: block;
}

.ruby-about-h1 .ruby-script-accent {
  display: block;
  margin-top: 0.45rem;
  font-family: "Brittany Signature Official", cursive;
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--yellow);
}

.ruby-about-intro {
  margin-top: auto;
}

.ruby-about-intro p {
  margin: 0 0 1.05rem;
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  text-align: justify;
}

.ruby-about-intro p:last-child {
  margin-bottom: 0;
}

.ruby-about-hero-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 590px;
}

.ruby-about-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.ruby-about-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Section 2: Who We Are */
.ruby-about-story {
  border-bottom: none;
  background: #ffffff;
}

.ruby-about-story-grid {
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: stretch;
}

.ruby-about-story-visual {
  margin: 0;
  padding-right: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.ruby-about-story-visual img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.ruby-about-story-copy {
  display: flex;
  flex-direction: column;
  padding-top: clamp(1.5rem, 2.6vw, 2.25rem);
  padding-bottom: 0;
}

.ruby-about-story-copy .pdf-heading {
  align-self: flex-start;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ruby-story-display {
  margin: 0 0 clamp(1.5rem, 2.8vw, 2.5rem);
  font-family: var(--body-font);
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #111111;
}

.ruby-story-body p {
  margin: 0 0 1.05rem;
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  text-align: justify;
}

.ruby-story-body p:last-child {
  margin-bottom: 0;
}

.ruby-story-stumps {
  margin-top: auto;
  align-self: flex-end;
  width: min(85%, 320px);
  padding-top: 0.75rem;
}

.ruby-story-stumps img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

/* Section 3: Our Bigger Purpose */
.ruby-about-purpose {
  background: #ffffff;
  padding: clamp(1.75rem, 3.2vw, 2.75rem) 0;
}

.ruby-about-purpose-grid {
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
  gap: 2rem;
}

.ruby-purpose-copy {
  max-width: 470px;
}

.ruby-purpose-copy .pdf-heading {
  margin-bottom: clamp(1.4rem, 2.2vw, 2rem);
}

.ruby-purpose-lead {
  display: block;
  margin: 0 0 0.95rem;
  font-size: clamp(0.92rem, 1.04vw, 1.02rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

.ruby-purpose-desc {
  margin: 0;
  font-size: clamp(0.86rem, 0.98vw, 0.96rem);
  line-height: 1.42;
  color: #1a1b18;
  text-align: justify;
}

.ruby-purpose-statement {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-right: clamp(0.5rem, 1.5vw, 1.5rem);
}

.ruby-purpose-one {
  font-family: "Brittany Signature Official", cursive;
  font-style: normal;
  font-size: clamp(4.2rem, 6.8vw, 6.8rem);
  line-height: 0.9;
  color: var(--yellow);
  display: inline-block;
}

.ruby-purpose-list {
  margin: 0;
  font-family: var(--body-font);
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: #111111;
}

/* Section 4: Terra Values */
.ruby-about-values {
  background: #f5f4f0;
  padding: clamp(1.5rem, 2.5vw, 2rem) 0 clamp(2.25rem, 3.5vw, 3rem);
}

.ruby-about-values .pdf-heading {
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.ruby-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ruby-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.85rem, 1.6vw, 1.5rem) 1rem;
  border-right: 1px solid #c9c7c0;
  text-align: center;
}

.ruby-value-card:last-child {
  border-right: 0;
}

.ruby-value-icon svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: #222421;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ruby-value-name {
  margin: 0.85rem 0 0;
  font-family: "Brittany Signature Official", cursive;
  font-size: clamp(1.85rem, 2.5vw, 2.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  color: #1a1b18;
}

.ruby-value-initial {
  color: var(--yellow);
}

/* Section 5: Bottom Conversation Callout Bar */
.ruby-about-conversation {
  background: #ffffff;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}

.ruby-conversation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr auto;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.ruby-conv-statement {
  margin: 0;
  font-size: clamp(0.86rem, 0.98vw, 0.96rem);
  line-height: 1.42;
  color: #141513;
  max-width: 390px;
}

.ruby-conv-prompt {
  padding-left: clamp(1.5rem, 3vw, 2.75rem);
  border-left: 1px solid #d5d3cc;
}

.ruby-conv-prompt strong {
  display: block;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  font-weight: 600;
  color: #141513;
  margin-bottom: 0.2rem;
}

.ruby-conv-prompt p {
  margin: 0;
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #6e7068;
  max-width: 360px;
}

.ruby-conv-cta .button {
  min-width: 230px;
}

@media (max-width: 1024px) {
  .ruby-about-hero-grid,
  .ruby-about-story-grid,
  .ruby-about-purpose-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ruby-about-hero-copy {
    padding-right: 0;
  }
  .ruby-about-hero-images {
    min-height: 380px;
    height: clamp(380px, 45vw, 520px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 6px;
  }
  .ruby-about-photo {
    height: 100%;
  }
  .ruby-about-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ruby-about-story-visual {
    padding-right: 0;
    order: 2;
  }
  .ruby-about-story-copy {
    order: 1;
    padding-bottom: 1rem;
  }
  .ruby-about-story-visual img {
    min-height: 0;
    height: auto;
    max-height: 440px;
    object-fit: contain;
  }
  .ruby-purpose-copy {
    max-width: 100%;
  }
  .ruby-purpose-statement {
    justify-content: flex-start;
    padding-right: 0;
    padding-top: 0.5rem;
  }
  .ruby-values-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }
  .ruby-value-card:nth-child(3) {
    border-right: 0;
  }
  .ruby-conversation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ruby-conv-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .ruby-about-main .container {
    width: min(calc(100% - 2rem), var(--max));
  }
  .ruby-about-title-wrap {
    padding-block: 1.25rem;
  }
  .ruby-about-hero-images {
    min-height: 0;
    height: clamp(230px, 58vw, 320px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 6px;
  }
  .ruby-about-photo {
    height: 100%;
  }
  .ruby-about-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ruby-about-intro p,
  .ruby-story-body p,
  .ruby-purpose-desc {
    text-align: left;
  }
  .ruby-story-stumps {
    width: min(75%, 240px);
  }
  .ruby-purpose-statement {
    gap: 1.15rem;
  }
  .ruby-purpose-one {
    font-size: clamp(3.4rem, 15vw, 4.8rem);
  }
  .ruby-purpose-list {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  }
  .ruby-values-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0;
  }
  .ruby-value-card {
    border-bottom: 1px solid #d6d2c9;
    padding: 1.15rem 0.75rem;
  }
  .ruby-value-card:nth-child(3) {
    border-right: 1px solid #c9c7c0;
  }
  .ruby-value-card:nth-child(2n) {
    border-right: 0;
  }
  .ruby-value-card:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .ruby-conversation-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .ruby-conv-prompt {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid #d5d3cc;
  }
  .ruby-conv-cta .button {
    width: 100%;
    min-width: 0;
  }
}






/* =========================================================================
   Journal & Blogs: Mosaic Grid & Article Detail Styles
   ========================================================================= */
.blogs-page,
.blog-detail-page {
  background: #ffffff !important;
}

.blogs-hero-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 1.5rem;
  background: #ffffff;
}

.blogs-hero-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(20, 21, 19, 0.12);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}

.blogs-hero-copy {
  max-width: 680px;
}

.blogs-title {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.blogs-title em {
  display: inline;
}

.blogs-lead {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  margin: 0;
}

.blogs-hero-vignette {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 220px);
}

.blogs-hero-vignette img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Mosaic Grid Layout */
.blogs-mosaic-section {
  padding: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
  background: #ffffff;
}

.blogs-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: stretch;
}

/* Base Card Styling */
.blog-card {
  background: #ffffff;
  border: 1px solid #eae7df;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 21, 19, 0.08);
  border-color: rgba(246, 184, 0, 0.55);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #f7f6f0;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card-content {
  padding: clamp(1.4rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.blog-card-meta {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta-sep {
  color: #bbb;
}

.blog-card-title {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.blog-card-excerpt {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #55574e;
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 750;
  color: #141513;
  margin-top: auto;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover .blog-card-cta {
  color: var(--yellow);
  transform: translateX(4px);
}

/* Mosaic Card Variations */
/* 1. Featured Lead Card: Spans 7 columns with taller photo */
.blog-card.mosaic-featured {
  grid-column: span 7;
}
.blog-card.mosaic-featured .blog-card-media {
  height: clamp(280px, 26vw, 380px);
}
.blog-card.mosaic-featured .blog-card-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

/* 2. Standard Card: Spans 5 columns (paired with featured) or 4 columns in 3-card rows */
.blog-card.mosaic-standard {
  grid-column: span 5;
}
.blog-card.mosaic-standard .blog-card-media {
  height: clamp(220px, 20vw, 280px);
}

/* When 3 cards follow, let them span 4 columns each */
.blogs-mosaic-grid > .blog-card:nth-child(n+3) {
  grid-column: span 4;
}

/* 3. Wide Card option */
.blog-card.mosaic-wide {
  grid-column: span 6 !important;
}
.blog-card.mosaic-wide .blog-card-media {
  height: clamp(240px, 22vw, 320px);
}

/* =========================================================================
   Blog Detail Article Page Styles
   ========================================================================= */
.blog-detail-main {
  background: #ffffff;
  padding-top: calc(var(--header-height, 96px) + clamp(1.5rem, 3vw, 2.5rem));
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.article-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #141513;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.breadcrumb-back:hover {
  color: var(--yellow);
  transform: translateX(-3px);
}

.breadcrumb-sep {
  color: #bbb;
}

.breadcrumb-category {
  color: var(--yellow);
}

.article-title {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.article-subtitle {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  margin: 0 0 1.75rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(20, 21, 19, 0.1);
  border-bottom: 1px solid rgba(20, 21, 19, 0.1);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.86rem;
  color: #666;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #f7f6f0;
  color: #141513;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-share-btn:hover {
  background: #25d366;
  color: #ffffff;
}

.article-hero-media {
  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem);
  width: 100%;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 21, 19, 0.08);
}

.article-hero-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Article Body Typography */
.article-body-content {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  margin-bottom: 3.5rem;
}

.article-body-content p {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.6;
  color: #55574e;
  margin-bottom: 1.75rem;
}

.article-body-content h2 {
  font-family: var(--body-font), sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 2.75rem 0 1.15rem;
  letter-spacing: -0.025em;
  color: var(--ink, #141513);
}

.article-body-content h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.25;
  margin: 2.2rem 0 1rem;
}

.article-body-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--yellow);
  background: #fdfcf9;
  font-style: italic;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.6;
  color: #141513;
}

.article-body-content ul,
.article-body-content ol {
  margin: 1.5rem 0 2rem 1.5rem;
  padding: 0;
}

.article-body-content li {
  margin-bottom: 0.65rem;
}

.article-body-content img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 4px;
}

/* Article Author / Discussion Card */
.article-author-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: #faf8f2;
  border: 1px solid #eae7df;
  margin-bottom: 3rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  padding: 8px;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.author-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #141513;
  margin-bottom: 0.25rem;
}

.author-bio {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #55574e;
  margin: 0;
}

.author-cta .button {
  white-space: nowrap;
}

/* Related Stories Section */
.article-related-section {
  border-top: 1px solid rgba(20, 21, 19, 0.1);
  padding: clamp(3.5rem, 5vw, 5.5rem) 0;
  background: #ffffff;
}

.related-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Responsive Rules for Blog Section */
@media (max-width: 980px) {
  .blogs-hero-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .blogs-hero-vignette {
    align-self: flex-end;
  }
  .blogs-mosaic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-card.mosaic-featured,
  .blog-card.mosaic-standard,
  .blog-card.mosaic-wide,
  .blogs-mosaic-grid > .blog-card:nth-child(n+3) {
    grid-column: span 1 !important;
  }
  .blog-card.mosaic-featured {
    grid-column: 1 / -1 !important;
  }
  .related-stories-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .blogs-mosaic-grid {
    grid-template-columns: 1fr;
  }
  .blog-card.mosaic-featured,
  .blog-card.mosaic-standard,
  .blog-card.mosaic-wide,
  .blogs-mosaic-grid > .blog-card:nth-child(n+3) {
    grid-column: auto !important;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-author-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .author-cta .button {
    width: 100%;
  }
  .related-stories-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Large Screen & High-Resolution Display Adaptation (1440px to 1920x1200)
   ========================================================================== */
@media (min-width: 1400px) {
  /* Blogs Mosaic Grid on Wide Screens */
  .blogs-mosaic-grid {
    gap: 2.25rem;
  }
  .blog-card.mosaic-featured .blog-card-media {
    height: 440px;
  }
  .blog-card.mosaic-standard .blog-card-media {
    height: 270px;
  }
  .blog-card.mosaic-wide .blog-card-media {
    height: 310px;
  }
  .blog-card-title {
    font-size: 1.45rem;
  }
  .blog-card.mosaic-featured .blog-card-title {
    font-size: 2.2rem;
  }

  /* Ruby About Section on Wide Screens */
  .ruby-about-hero-grid {
    min-height: 660px;
    grid-template-columns: 33% 67%;
  }
  .ruby-about-hero-images {
    min-height: 660px;
  }
  .ruby-about-story-grid {
    min-height: 620px;
    grid-template-columns: 46% 54%;
  }
  .ruby-about-story-images {
    min-height: 620px;
  }

  /* School Partners on Wide Screens */
  .school-partners-header {
    max-width: 1100px;
    margin-inline: auto;
  }
  /* Standardized Typography on Wide Screens */
  h1,
  .hero-copy h1,
  .projects-section .section-heading-row h1,
  .ruby-about-h1,
  .process-ruby-header__title,
  body.contact-page h1,
  .blogs-title,
  .article-title,
  .project-hero-header h1 {
    font-size: clamp(2.5rem, 3.2vw, 3.5rem) !important;
  }
  h2,
  .school-partners-header h2,
  .projects-blogs-header h2,
  .projects-blogs-section .section-heading-row h2,
  .ruby-story-display,
  .contact-box-title,
  .milestone-title,
  .comparison-header-row h2,
  .story-copy h2,
  .gallery-section-header h2,
  .blog-card-title {
    font-size: clamp(2.1rem, 2.7vw, 2.75rem) !important;
  }
  p,
  body,
  .school-partners-header p,
  .projects-blogs-desc-col .projects-intro-text,
  .projects-blogs-section .projects-intro-text,
  .projects-blogs-section .section-heading-row > p,
  .ruby-about-intro p,
  .milestone-lead,
  .milestone-desc,
  .contact-intro-p,
  .story-copy p,
  .article-body p {
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
  }
  .school-logos-marquee-group {
    gap: 3rem;
  }
  .school-logo-clean {
    height: 95px;
    min-width: 92px;
    padding: 0 0.75rem;
  }
  .school-logo-clean.logo-compact img {
    max-height: 72px;
    max-width: 112px;
  }
  .school-logo-clean.logo-medium img {
    max-height: 79px;
    max-width: 204px;
  }
  .school-logo-clean.logo-wide img {
    max-height: 86px;
    max-width: 279px;
  }
}

@media (min-width: 1800px) {
  /* Blogs Mosaic Grid on 23-inch 1920x1200 Screens */
  .blogs-mosaic-grid {
    gap: 2.75rem;
  }
  .blog-card.mosaic-featured .blog-card-media {
    height: 520px;
  }
  .blog-card.mosaic-standard .blog-card-media {
    height: 320px;
  }
  .blog-card.mosaic-wide .blog-card-media {
    height: 370px;
  }
  .blog-card-title {
    font-size: 1.65rem;
  }
  .blog-card.mosaic-featured .blog-card-title {
    font-size: 2.5rem;
  }
  .article-body-inner {
    max-width: 1060px;
  }

  /* Ruby About Section on 23-inch 1920x1200 Screens */
  .ruby-about-hero-grid {
    min-height: 760px;
    grid-template-columns: 32% 68%;
  }
  .ruby-about-hero-images {
    min-height: 760px;
  }
  .ruby-about-story-grid {
    min-height: 720px;
    grid-template-columns: 44% 56%;
  }
  .ruby-about-story-images {
    min-height: 720px;
  }

  /* School Partners on 23-inch 1920x1200 Screens */
  .school-partners-header {
    max-width: 1300px;
    margin-inline: auto;
  }
  /* Standardized Typography on 23-inch 1920x1200 Screens */
  h1,
  .hero-copy h1,
  .projects-section .section-heading-row h1,
  .ruby-about-h1,
  .process-ruby-header__title,
  body.contact-page h1,
  .blogs-title,
  .article-title,
  .project-hero-header h1 {
    font-size: clamp(2.8rem, 3.5vw, 4.0rem) !important;
  }
  h2,
  .school-partners-header h2,
  .projects-blogs-header h2,
  .projects-blogs-section .section-heading-row h2,
  .ruby-story-display,
  .contact-box-title,
  .milestone-title,
  .comparison-header-row h2,
  .story-copy h2,
  .gallery-section-header h2,
  .blog-card-title {
    font-size: clamp(2.35rem, 2.9vw, 3.1rem) !important;
  }
  p,
  body,
  .school-partners-header p,
  .projects-blogs-desc-col .projects-intro-text,
  .projects-blogs-section .projects-intro-text,
  .projects-blogs-section .section-heading-row > p,
  .ruby-about-intro p,
  .milestone-lead,
  .milestone-desc,
  .contact-intro-p,
  .story-copy p,
  .article-body p {
    font-size: 1.15rem !important;
    line-height: 1.62 !important;
  }
  .school-logos-marquee-group {
    gap: 3.85rem;
  }
  .school-logo-clean {
    height: 105px;
    min-width: 102px;
    padding: 0 0.85rem;
  }
  .school-logo-clean.logo-compact img {
    max-height: 80px;
    max-width: 122px;
  }
  .school-logo-clean.logo-medium img {
    max-height: 87px;
    max-width: 224px;
  }
  .school-logo-clean.logo-wide img {
    max-height: 94px;
    max-width: 306px;
  }
}
