/* ============================================
   BRISA — design tokens
============================================ */
:root {
  --maroon: #49242E;
  --maroon-700: #5c2f3b;
  --maroon-900: #33191f;
  --cream: #EEE9E3;
  --cream-soft: #f6f3ef;
  --white: #fffdfb;
  --blue: #8BA8C2;
  --blue-soft: #dbe4ec;
  --text: #3a2129;
  --text-muted: #7c6a70;
  --border: rgba(73, 36, 46, 0.12);

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --section-pad: clamp(64px, 9vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--maroon);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p { margin: 0 0 16px; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-muted);
  max-width: 640px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

/* ============================================
   Buttons
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--maroon);
  color: var(--cream);
  box-shadow: 0 8px 24px -8px rgba(73, 36, 46, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(73, 36, 46, 0.6);
  background: var(--maroon-900);
}

.btn-small {
  padding: 11px 24px;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(238, 233, 227, 0.55);
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--cream);
  background: rgba(238, 233, 227, 0.08);
}

/* ============================================
   Header
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(238, 233, 227, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { flex-shrink: 0; position: relative; display: inline-flex; }
.brand-logo { height: 34px; width: auto; }
.brand-logo-white { opacity: 1; transition: opacity 0.3s ease; }
.brand-logo-color {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-header.scrolled .brand-logo-white { opacity: 0; }
.site-header.scrolled .brand-logo-color { opacity: 1; }

.nav {
  display: flex;
  gap: 32px;
  margin-right: auto;
  margin-left: 48px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.3s ease;
}
.nav a:hover { opacity: 1; }
.site-header.scrolled .nav a { color: var(--text); opacity: 0.75; }
.site-header.scrolled .nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--maroon); }
.site-header.nav-open .nav-toggle span { background: var(--maroon); }

/* ============================================
   Hero
============================================ */
.hero {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0 clamp(90px, 11vw, 140px);
  overflow: hidden;
  background: var(--maroon-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transform: scale(1.06);
  filter: saturate(0.9);
  opacity: 0.95;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(30,14,18,0.94) 0%, rgba(30,14,18,0.82) 32%, rgba(51,25,31,0.55) 58%, rgba(51,25,31,0.28) 100%),
    linear-gradient(0deg, rgba(30,14,18,0.5) 0%, rgba(30,14,18,0) 30%);
}

.hero-wave {
  position: absolute;
  inset: auto 0 -40px 0;
  height: 60%;
  pointer-events: none;
  opacity: 0.5;
}
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  opacity: 0.55;
}

.hero-inner { position: relative; max-width: 820px; }

.hero h1 {
  margin-bottom: 24px;
  color: var(--cream);
}
.hero h1 .accent { color: var(--blue); }
.hero .lead {
  margin-bottom: 40px;
  max-width: 600px;
  color: rgba(238, 233, 227, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Page-specific hero colors (Coffee / Football sub-pages) */
.hero-coffee { background: #2e1e14; }
.hero-coffee .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(46,30,20,0.9) 0%, rgba(46,30,20,0.72) 40%, rgba(46,30,20,0.82) 100%),
    radial-gradient(60% 70% at 50% 45%, rgba(46,30,20,0.2) 0%, rgba(46,30,20,0.6) 100%);
}

.hero-football { background: #16273a; }
.hero-football .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(22,39,58,0.9) 0%, rgba(22,39,58,0.72) 40%, rgba(22,39,58,0.82) 100%),
    radial-gradient(60% 70% at 50% 45%, rgba(22,39,58,0.2) 0%, rgba(22,39,58,0.6) 100%);
}

.hero-coffee .hero-inner,
.hero-football .hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-coffee .lead,
.hero-football .lead {
  margin-left: auto;
  margin-right: auto;
}
.hero-coffee .hero-actions,
.hero-football .hero-actions {
  justify-content: center;
}

/* ============================================
   Sections
============================================ */
.section {
  padding: var(--section-pad) 0;
}
.section-alt { background: var(--cream-soft); }

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: 56px; }

/* split layout (how-we-work) */
.split-content { max-width: 640px; }

/* roots layout (image + text) */
.roots-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.roots-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 48px -20px rgba(73, 36, 46, 0.35);
}
.roots-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pull-line {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin-top: 28px;
}

/* ============================================
   Cards / grids
============================================ */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 20px;
}
.card-icon svg { width: 100%; height: 100%; }

.card p { color: var(--text-muted); margin-bottom: 0; }

.how-section { background: var(--blue); }
.how-section h2 { color: var(--white); }
.how-section .lead { color: rgba(255, 255, 255, 0.85); }

.how-steps {
  display: flex;
  align-items: flex-start;
  max-width: 780px;
}
.how-step-item {
  flex: 1 1 0;
  max-width: 320px;
}
.how-step-item h3 { color: var(--maroon-900); }
.how-step-item p { color: rgba(51, 25, 31, 0.72); margin-bottom: 0; }

.how-step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--maroon);
  margin-bottom: 22px;
}
.how-step-icon svg { width: 28px; height: 28px; }
.how-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--maroon-900);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step-connector {
  flex: 0 0 auto;
  align-self: flex-start;
  width: 80px;
  height: 1.5px;
  margin: 34px 20px 0;
  background: var(--maroon-900);
  opacity: 0.35;
}

@media (min-width: 901px) {
  .how-section .section-head {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .how-section .lead { margin-left: auto; margin-right: auto; }
  .how-steps { margin: 0 auto; justify-content: center; }
  .how-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.expertise-card {
  position: relative;
  padding: 0;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-color: transparent;
  text-decoration: none;
  color: inherit;
}
.expertise-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.expertise-card:hover .expertise-photo { transform: scale(1.05); }

.expertise-overlay {
  position: absolute;
  inset: 0;
}
.expertise-coffee .expertise-overlay {
  background: linear-gradient(0deg, rgba(30,14,18,0.97) 0%, rgba(30,14,18,0.8) 45%, rgba(30,14,18,0.3) 100%);
}
.expertise-football .expertise-overlay {
  background: linear-gradient(0deg, rgba(20,26,32,0.97) 0%, rgba(30,25,30,0.78) 45%, rgba(30,25,30,0.25) 100%);
}

.expertise-content {
  position: relative;
  z-index: 1;
  padding: 44px 40px;
}
.expertise-card .card-icon { color: var(--blue); }
.expertise-card h3 { color: var(--cream); }
.expertise-card p { color: rgba(238, 233, 227, 0.8); }
.expertise-sub {
  font-weight: 700;
  color: var(--cream) !important;
  opacity: 0.95;
}
.expertise-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease;
}
.expertise-card:hover .expertise-link { transform: translateX(4px); }

/* ============================================
   Who we work with
============================================ */
.who-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.who-grid .card {
  flex: 0 1 280px;
}

/* ============================================
   Leadership
============================================ */
.founders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.founder-card {
  flex: 0 1 260px;
  text-align: center;
}
.founder-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 2px dashed rgba(73, 36, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--blue);
}
.founder-photo svg { width: 52px; height: 52px; }
.founder-card h3 { margin-bottom: 4px; }
.founder-role {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.founder-din {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 0;
}
.who-card {
  position: relative;
  padding: 32px 28px 30px;
  overflow: hidden;
}
.who-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.who-card p { color: var(--text-muted); margin-bottom: 22px; }
.who-bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--maroon));
  opacity: 0.85;
}

/* ============================================
   Statement band
============================================ */
.statement {
  position: relative;
  background: var(--maroon);
  color: var(--cream);
  padding: var(--section-pad) 0;
  text-align: center;
  overflow: hidden;
}
.statement .container { position: relative; z-index: 1; max-width: 780px; }
.statement h2 { color: var(--cream); }
.statement p { color: rgba(238,233,227,0.82); }

.statement-icon {
  position: absolute;
  bottom: -12%;
  right: -8%;
  width: clamp(420px, 46vw, 680px);
  height: auto;
  fill: var(--cream);
  opacity: 0.05;
  pointer-events: none;
}
.statement-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream) !important;
  max-width: 640px;
  margin: 8px auto 0;
}

/* ============================================
   Final CTA
============================================ */
.cta-final { text-align: center; }
.cta-final .container { max-width: 720px; }
.cta-final .lead { margin-left: auto; margin-right: auto; }

/* ============================================
   Footer
============================================ */
.site-footer {
  background: var(--maroon-900);
  color: var(--cream);
  padding: 56px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-logo { height: 30px; opacity: 0.95; }
.footer-multilingual {
  font-size: 0.85rem;
  color: rgba(238,233,227,0.6);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 14px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(238, 233, 227, 0.3);
  color: var(--cream);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(139, 168, 194, 0.1);
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(238,233,227,0.7);
  margin: 0;
}
.footer-copy {
  font-size: 0.85rem;
  color: rgba(238,233,227,0.55);
  margin: 0;
}

/* ============================================
   Reveal-on-scroll
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 16px; }
  .roots-grid { grid-template-columns: 1fr; gap: 32px; }
  .who-grid .card { flex: 1 1 100%; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; gap: 32px; }
  .how-step-item { max-width: none; }
  .how-step-connector { display: none; }
}

@media (max-width: 900px) {
  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px 28px 32px;
    border-bottom: 1px solid var(--border);
    margin: 0;
    gap: 18px;
  }
  .site-header.nav-open .nav a {
    color: var(--text);
    opacity: 0.75;
  }
  .site-header.nav-open .nav a:hover { opacity: 1; }
}

@media (max-width: 560px) {
  .btn { width: 100%; justify-content: center; padding: 15px 24px; }
  .header-inner .btn-small { display: none; }
  .expertise-card, .card { padding: 30px 24px; }
}
