/* ECANI — Highland green · saffron gold · Belfast mist */
:root {
  --green-deep: #063528;
  --green: #0a4d3c;
  --green-mid: #156b52;
  --gold: #d4a84b;
  --gold-soft: #e8c878;
  --ember: #a83828;
  --ink: #121916;
  --ink-soft: #2a3530;
  --mist: #eef2ef;
  --mist-deep: #dce5df;
  --paper: #f7f9f7;
  --white: #ffffff;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Literata", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 53, 40, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  background:
    linear-gradient(135deg, var(--green-mid) 0 33%, var(--gold) 33% 66%, var(--ember) 66%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(212, 168, 75, 0.55);
  color: var(--gold-soft) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(212, 168, 75, 0.15);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform 0.3s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -0.675rem;
}

.nav-toggle-bar::before {
  top: 0.7rem;
}

.nav-toggle-bar::after {
  bottom: 0.7rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  background: rgba(212, 168, 75, 0.1);
}

/* —— Hero: square frame crawler (10 top/bottom, 8 left/right) —— */
.hero {
  --cols: 10;
  --edge: min(98vw, calc(100svh - var(--header-h) - 1rem), 1280px);
  --frame: calc(var(--edge) / var(--cols));
  --frame-top: calc(var(--header-h) + 0.45rem);
  position: relative;
  min-height: calc(var(--frame-top) + var(--edge) + 0.6rem);
  height: calc(var(--frame-top) + var(--edge) + 0.6rem);
  color: var(--white);
  overflow: hidden;
  background: var(--green-deep);
  padding: var(--frame-top) 0.6rem 0.6rem;
}

.frame {
  position: absolute;
  top: var(--frame-top);
  left: 50%;
  width: var(--edge);
  height: var(--edge);
  max-height: calc(100svh - var(--header-h) - 1.1rem);
  transform: translateX(-50%);
  z-index: 0;
}

.frame-side {
  position: absolute;
  overflow: hidden;
  z-index: 1;
}

.frame-track {
  display: flex;
  gap: 0;
  width: max-content;
  height: max-content;
  will-change: transform;
}

.frame-shot {
  margin: 0;
  flex: 0 0 auto;
  width: var(--frame);
  height: var(--frame);
  overflow: hidden;
}

.frame-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.04);
}

/*
  Asymmetric corner joins (9 tiles each side):
  - Left wins only at BOTTOM-LEFT (extends down)
  - Right wins only at TOP-RIGHT (extends up)
  - Top-left & bottom-right stay with the horizontal strips
*/
.frame-top {
  top: 0;
  left: 0;
  width: 100%;
  height: var(--frame);
  z-index: 1;
}

.frame-top .frame-track {
  animation: frame-rtl 42s linear infinite;
}

.frame-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--frame);
  z-index: 1;
}

.frame-bottom .frame-track {
  animation: frame-ltr 42s linear infinite;
}

/* Left: 9 tiles — starts under top, extends over bottom-left */
.frame-left {
  top: var(--frame);
  left: 0;
  width: var(--frame);
  height: calc(100% - var(--frame));
  z-index: 2;
}

.frame-left .frame-track {
  flex-direction: column;
  animation: frame-down 42s linear infinite;
}

/* Right: 9 tiles — starts over top-right, ends above bottom */
.frame-right {
  top: 0;
  right: 0;
  width: var(--frame);
  height: calc(100% - var(--frame));
  z-index: 2;
}

.frame-right .frame-track {
  flex-direction: column;
  animation: frame-up 42s linear infinite;
}

@keyframes frame-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes frame-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Vertical: track down = images flow top → bottom */
@keyframes frame-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

/* Vertical: track up = images flow bottom → top */
@keyframes frame-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}


.frame-core {
  position: absolute;
  inset: var(--frame);
  z-index: 0;
  overflow: hidden;
  background: #0a2f24;
  box-shadow:
    inset 0 0 0 1px rgba(212, 168, 75, 0.35),
    0 0 0 1px rgba(6, 53, 40, 0.4);
}

.frame-core-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}

.frame-core-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      165deg,
      rgba(4, 36, 28, 0.78) 0%,
      rgba(6, 42, 34, 0.62) 42%,
      rgba(3, 26, 20, 0.82) 100%
    ),
    radial-gradient(ellipse 75% 65% at 50% 38%, rgba(212, 168, 75, 0.14), transparent 62%);
  pointer-events: none;
}

.hero-content {
  /* Sit exactly in the middle image box (same bounds as .frame-core) */
  --core: calc(var(--edge) - (var(--frame) * 2));
  position: absolute;
  z-index: 3;
  top: calc(var(--frame-top) + var(--frame));
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: calc(var(--core) - 0.5rem);
  max-width: calc(var(--core) - 0.5rem);
  height: calc(var(--core) - 0.5rem);
  max-height: calc(var(--core) - 0.5rem);
  margin: 0;
  padding: clamp(0.75rem, 2.5vw, 2.25rem) clamp(0.85rem, 3vw, 2rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
}

.brand-lockup {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5em;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--gold-soft);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.type-text {
  white-space: nowrap;
}

.type-cursor {
  display: inline-block;
  width: 0.12em;
  height: 1em;
  margin-left: 0.12em;
  background: var(--gold);
  animation: blink 0.9s steps(1) infinite;
  vertical-align: -0.08em;
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  width: 100%;
  max-width: 28rem;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.hero-lede {
  margin: 0 0 1.35rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  width: 100%;
  max-width: 32rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-actions .btn {
  padding: 0.8rem 1.25rem;
  font-size: 0.88rem;
}

.hero-unity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
}

.hero-unity svg {
  width: clamp(2.4rem, 5vw, 3.1rem);
  height: clamp(2.4rem, 5vw, 3.1rem);
  overflow: visible;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.hero-unity .unity-link {
  stroke: var(--gold);
  stroke-width: 3.4;
}

.hero-unity .unity-link-b {
  stroke: var(--gold-soft);
}

.hero-unity .unity-clasp {
  fill: rgba(6, 53, 40, 0.55);
  stroke: var(--gold);
  stroke-width: 1.6;
}

.hero-unity .unity-node {
  fill: var(--gold);
}

.hero-unity-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: 0.12s;
}
[data-delay="2"] {
  transition-delay: 0.24s;
}
[data-delay="3"] {
  transition-delay: 0.36s;
}
[data-delay="4"] {
  transition-delay: 0.48s;
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 1.75rem);
}

.section-intro {
  max-width: 1120px;
  margin: 0 auto 3.25rem;
}

.section-intro.narrow {
  max-width: 640px;
}

.section-intro.centered {
  text-align: center;
}

.section-intro.centered .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
}

.eyebrow.light {
  color: var(--gold);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.section-title.light {
  color: var(--white);
}

.section-lede {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* —— About —— */
.about {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-rail {
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.identity-list {
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 2px solid var(--green);
}

.identity-list > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mist-deep);
}

.identity-list dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--green-mid);
  white-space: nowrap;
}

.identity-list dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* —— Vision band —— */
.vision-band {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(212, 168, 75, 0.12), transparent 55%),
    linear-gradient(160deg, var(--green-deep) 0%, var(--green) 55%, #0c3d32 100%);
  color: var(--white);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.vision-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.vision-block h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.vision-block p:last-child,
.mission-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.mission-block {
  align-self: end;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(212, 168, 75, 0.35);
}

/* —— Pillars —— */
.pillars {
  background: var(--mist);
}

.pillars .section-intro,
.pillar-stack {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.pillar-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 2.15rem 0;
  border-top: 1px solid rgba(10, 77, 60, 0.12);
}

.pillar:last-child {
  border-bottom: 1px solid rgba(10, 77, 60, 0.12);
}

.pillar-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--gold);
  line-height: 1.2;
  padding-top: 0.15rem;
}

.pillar-body h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-deep);
}

.pillar-body > p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 48rem;
}

.pillar-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pillar-tags li {
  padding: 0.45rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--green-deep);
  background: rgba(10, 77, 60, 0.07);
  border-left: 2px solid var(--gold);
}

/* —— Culture break —— */
.culture-break {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.culture-break-media {
  position: absolute;
  inset: 0;
}

.culture-break-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.culture-break-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 53, 40, 0.85) 0%,
    rgba(6, 53, 40, 0.25) 55%,
    transparent 100%
  );
}

.culture-break-quote {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--white);
  width: 100%;
  text-align: center;
}

/* —— Values —— */
.values {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 168, 75, 0.08), transparent 60%),
    var(--paper);
}

.values-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0.5rem 0 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 100%;
  padding: 2.1rem 1.35rem 2.15rem;
  background: var(--white);
  border-top: 3px solid var(--green);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.value-item:hover {
  transform: translateY(-3px);
  border-top-color: var(--gold);
}

.value-num {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  background: rgba(212, 168, 75, 0.22);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.value-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--green-deep);
}

.value-item p {
  margin: 0;
  max-width: 18rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* —— Belong —— */
.belong {
  background:
    linear-gradient(160deg, var(--mist) 0%, var(--paper) 45%, #e6efe8 100%);
}

.belong-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.belong-copy p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.belong-paths {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.path-link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  background: var(--white);
  border-left: 3px solid var(--green);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.path-link::before {
  content: "";
  grid-row: 1 / 3;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.path-link:hover,
.path-link:focus-visible {
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.path-label {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-deep);
}

.path-desc {
  grid-column: 2;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* —— Founders —— */
.founders {
  background: var(--mist);
}

.founder-grid {
  list-style: none;
  margin: 0.75rem auto 0;
  padding: 0;
  max-width: 1120px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  justify-items: stretch;
}

.founder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.9rem 1rem 1.65rem;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  transition: transform 0.35s var(--ease);
}

.founder-item:hover {
  transform: translateY(-4px);
}

.founder-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  background: var(--green-deep);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--green-deep);
}

.founder-role {
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
}

/* —— Contact —— */
.contact {
  background: var(--green-deep);
  color: var(--white);
}

.contact-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-intro p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(232, 200, 120, 0.85) !important;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select option {
  color: var(--ink);
  background: var(--white);
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.contact .btn-primary {
  align-self: start;
  margin-top: 0.25rem;
}

/* —— Footer —— */
.site-footer {
  background: #04281e;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.75rem clamp(1.25rem, 4vw, 1.75rem);
  border-top: 1px solid rgba(212, 168, 75, 0.18);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  max-width: 26rem;
}

.footer-meta-block {
  text-align: right;
}

.footer-meta {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
}

.footer-credit {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.footer-credit span {
  color: var(--gold-soft);
}

/* —— Large screens —— */
@media (min-width: 1400px) {
  .header-inner,
  .about,
  .vision-inner,
  .pillars .section-intro,
  .pillar-stack,
  .values .section-intro,
  .values-grid,
  .belong-layout,
  .founder-grid,
  .contact-layout,
  .footer-inner {
    max-width: 1240px;
  }

  .hero {
    --edge: min(98vw, calc(100svh - var(--header-h) - 1rem), 1360px);
  }
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(6, 53, 40, 0.97);
    backdrop-filter: blur(12px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-color: rgba(212, 168, 75, 0.55);
  }

  .site-header {
    background: rgba(6, 53, 40, 0.88);
  }

  .hero {
    --edge: min(96vw, calc(100svh - var(--header-h) - 0.9rem));
    --frame-top: calc(var(--header-h) + 0.3rem);
    padding: calc(var(--header-h) + 0.35rem) 0.35rem 0.35rem;
    /* Hug the square so centering isn’t against a tall empty viewport */
    min-height: calc(var(--frame-top) + var(--edge) + 0.35rem);
    height: calc(var(--frame-top) + var(--edge) + 0.35rem);
  }

  .frame {
    top: var(--frame-top);
  }

  .hero-content {
    --core: calc(var(--edge) - (var(--frame) * 2));
    top: calc(var(--frame-top) + var(--frame));
    width: calc(var(--core) - 0.35rem);
    max-width: calc(var(--core) - 0.35rem);
    height: calc(var(--core) - 0.35rem);
    max-height: calc(var(--core) - 0.35rem);
    padding: 0.65rem 0.7rem;
  }

  .about-grid,
  .vision-inner,
  .belong-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .founder-item:last-child {
    grid-column: 1 / -1;
    max-width: 280px;
    justify-self: center;
    width: 100%;
  }

  .pillar {
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
  }

  .mission-block {
    padding-top: 0;
    border-top: 0;
  }

  .culture-break-quote {
    text-align: center;
  }

  .footer-meta-block {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .value-item {
    padding: 1.45rem 1.1rem 1.55rem;
  }

  .section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}

@media (max-width: 560px) {
  .hero {
    --edge: min(97vw, calc(100svh - var(--header-h) - 0.7rem));
    --frame-top: calc(var(--header-h) + 0.25rem);
    min-height: calc(var(--frame-top) + var(--edge) + 0.3rem);
    height: calc(var(--frame-top) + var(--edge) + 0.3rem);
    padding: calc(var(--header-h) + 0.25rem) 0.25rem 0.3rem;
  }

  .hero-content {
    padding: 0.55rem 0.55rem;
    /* Keep the stack inside the middle image — never spill onto the frame */
    overflow: hidden;
  }

  .frame-core-veil {
    background:
      linear-gradient(
        165deg,
        rgba(6, 53, 40, 0.8) 0%,
        rgba(6, 40, 32, 0.68) 50%,
        rgba(4, 28, 22, 0.84) 100%
      );
  }

  .brand-lockup {
    margin-bottom: 0.1rem;
    font-size: clamp(1.65rem, 8.5vw, 2.15rem);
  }

  .hero-type {
    margin-bottom: 0.25rem;
    font-size: clamp(0.9rem, 3.8vw, 1rem);
    min-height: 1.3em;
  }

  .type-text {
    white-space: normal;
  }

  .hero-title {
    margin-bottom: 0.25rem;
    font-size: clamp(0.92rem, 3.8vw, 1.02rem);
    max-width: none;
    line-height: 1.28;
  }

  .hero-lede {
    margin-bottom: 0.55rem;
    font-size: clamp(0.8rem, 3.3vw, 0.88rem);
    max-width: none;
    line-height: 1.35;
  }

  /* Row buttons save a full button-height vs stacking — keeps the block centered */
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    gap: 0.4rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 0.55rem 0.55rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .hero-unity {
    margin-top: 0.45rem;
    gap: 0.15rem;
  }

  .hero-unity svg {
    width: 1.85rem;
    height: 1.85rem;
  }

  .hero-unity-label {
    font-size: 0.55rem;
  }

  .values-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-item:last-child {
    grid-column: auto;
    max-width: none;
  }

  .pillar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }

  .pillar-index {
    font-size: 1.15rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .identity-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Extra-small phones: keep the middle stack centered with real breathing room */
@media (max-width: 380px) {
  .hero-content {
    padding: 0.45rem 0.4rem;
  }

  .brand-lockup {
    font-size: clamp(1.45rem, 8vw, 1.85rem);
  }

  .hero-type {
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: 0.9rem;
  }

  .hero-lede {
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
  }

  .hero-actions .btn {
    padding: 0.48rem 0.4rem;
    font-size: 0.68rem;
  }

  .hero-unity {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .frame-track,
  .type-cursor,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
