@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* === VARIABLES === */
:root {
  --bg:         #F5F0E8;
  --green:      #2C3E2D;
  --green-soft: #E8EDE8;
  --beige:      #C4B49A;
  --text:       #1A1A1A;
  --muted:      #767676;
  --white:      #FFFFFF;
  --radius:     20px;
  --shadow:     0 2px 24px rgba(0,0,0,0.07);
  --nav-h:      72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* === TYPOGRAPHY === */
h1, h2 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.5vw, 44px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
section { padding: 88px 0; }

/* === BACKGROUNDS === */
.bg-default { background: var(--bg); }
.bg-white   { background: var(--white); }
.bg-green   { background: var(--green); }

/* === NAV === */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  height: var(--nav-h);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.btn-nav {
  background: var(--green); color: var(--white) !important;
  padding: 10px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: opacity 0.2s; white-space: nowrap;
}
.btn-nav:hover { opacity: 0.82; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  border: none; transition: all 0.2s; text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { opacity: 0.82; }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { opacity: 0.88; }

/* === SECTION LABEL === */
.label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card-number {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  border-radius: 100px; padding: 4px 12px;
  display: inline-block; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p  { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* === CLIENT STRIP === */
.client-strip {
  padding: 36px 0;
  border-top: 1px solid rgba(0,0,0,0.09);
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.client-list { display: flex; gap: 44px; flex-wrap: wrap; align-items: center; }
.client-name {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--beige);
}

/* === HERO (home) === */
.hero {
  padding: 80px 0 72px;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-subhead {
  font-size: 18px; color: var(--muted);
  line-height: 1.7; margin-bottom: 36px;
  max-width: 460px;
}
.hero-photo {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; background: var(--green);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

/* === PAGE HERO (inner pages) === */
.page-hero { padding: 80px 0 72px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .subhead {
  font-size: 18px; color: var(--muted);
  max-width: 620px; line-height: 1.75;
}

/* === QUOTE SECTION === */
.quote-section { padding: 100px 0; }
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-style: italic; line-height: 1.55;
  color: var(--white); max-width: 800px;
  margin-bottom: 32px;
}
.quote-body {
  font-size: 17px; line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 640px; margin-bottom: 40px;
}

/* === WHO FOR === */
.who-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.who-card {
  padding: 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border-left: 4px solid var(--green);
}
.who-card h3 { margin-bottom: 8px; font-size: 17px; }
.who-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* === SPLIT SECTION === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-photo {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; background: var(--beige);
}
.split-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.split-text h2 { margin-bottom: 20px; }
.split-text p { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 24px; }

/* === FOOTER CTA === */
.footer-cta { text-align: center; padding: 88px 0; }
.footer-cta h2 { margin-bottom: 14px; }
.footer-cta .sub { color: var(--muted); font-size: 17px; margin-bottom: 36px; }

/* === FOOTER === */
footer { background: var(--green); color: var(--white); padding: 40px 0; }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 15px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* =============================================
   CONFERENCE HERO — contained card
   ============================================= */
.conf-hero {
  padding: 40px 0 0;
  background: var(--bg);
}
.conf-hero-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 68vh;
  max-height: 620px;
  min-height: 420px;
  background-image: url('images/conference.jpg');
  background-size: cover;
  background-position: center 30%;
  background-color: #1a2b1a;
  display: flex;
  align-items: flex-end;
}
.conf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,20,10,0.88) 0%,
    rgba(10,20,10,0.35) 55%,
    rgba(10,20,10,0.1) 100%
  );
}
.conf-content {
  position: relative; z-index: 2;
  padding: 0 52px 52px;
  max-width: 720px;
}
.conf-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--beige); margin-bottom: 18px;
}
.conf-content h1 {
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.conf-sub {
  font-size: 17px; color: rgba(255,255,255,0.8);
  line-height: 1.75; margin-bottom: 32px;
  max-width: 520px;
}

/* AI card — wide, emerging style */
.card-ai {
  margin-top: 24px;
  background: var(--bg);
  border: 2px solid var(--beige);
  box-shadow: none;
  display: flex; gap: 32px; align-items: flex-start;
}
.card-ai .card-number {
  background: transparent;
  color: var(--beige);
  border: 1.5px solid var(--beige);
  white-space: nowrap;
  flex-shrink: 0;
}
.card-ai h3 { margin-bottom: 10px; }
.card-ai p  { color: var(--muted); font-size: 15px; }

/* =============================================
   LOGO MARQUEE
   ============================================= */
.marquee-section { padding: 48px 0; }
.marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
}
.marquee-fade-left,
.marquee-fade-right {
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.m-name {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0 28px;
  transition: color 0.25s;
  flex-shrink: 0;
}
.m-name:hover { color: var(--text); }
.m-sep {
  color: var(--beige); font-size: 16px;
  flex-shrink: 0; opacity: 0.6;
}

/* =============================================
   OFFICE PHOTO BREAK
   ============================================= */
.office-break {
  width: 100%;
  height: 420px;
  overflow: hidden;
  /* Fallback colour if image not yet added */
  background: var(--beige);
}
.office-break img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =============================================
   APPROACH PAGE
   ============================================= */

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-bottom: 48px; }
.stage {
  background: var(--white);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.stage:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stage:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.stage:not(:last-child)::after {
  content: '→';
  position: absolute; right: -14px; top: 36px;
  width: 28px; height: 28px;
  background: var(--green); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; z-index: 2;
  /* fake flex on pseudo element via line-height */
  line-height: 28px; text-align: center;
}
.stage-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.stage h3 { margin-bottom: 12px; font-size: 17px; }
.stage .desc { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.65; }
.stage .tools {
  font-size: 12px; color: var(--beige);
  font-style: italic; line-height: 1.7;
  margin-top: auto; padding-top: 16px;
}
.pipeline-note {
  text-align: center; color: var(--muted);
  font-size: 15px; font-style: italic;
}

/* Comparison table */
.compare {
  width: 100%; border-radius: var(--radius);
  overflow: hidden; background: var(--white);
  box-shadow: var(--shadow);
}
.compare thead th {
  padding: 20px 28px; text-align: left;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-bottom: 3px solid rgba(0,0,0,0.12);
}
.compare thead th:first-child {
  background: #DEDAD3;
  color: #555;
  border-bottom-color: #bbb;
}
.compare thead th:last-child {
  background: var(--green);
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}
.compare tbody tr:not(:last-child) td { border-bottom: 1px solid rgba(0,0,0,0.06); }
.compare td { padding: 18px 28px; font-size: 15px; vertical-align: top; line-height: 1.55; }
.compare td:first-child { background: #fafafa; color: var(--muted); }
.compare td:last-child  { background: var(--white); }

/* Pull quote block */
.pull-quote-block { padding: 80px 0; }
.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic; line-height: 1.65;
  color: var(--white);
  border-left: 3px solid var(--beige);
  padding-left: 32px;
  max-width: 760px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero-wrap {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 60px; align-items: end; padding-bottom: 0;
}
.about-headline {
  white-space: nowrap;
  font-size: clamp(28px, 3.8vw, 50px);
}
@media (max-width: 960px) {
  .about-headline { white-space: normal; }
}
.about-hero-text { padding-bottom: 60px; }
.about-photo-frame {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; background: #2a2a2a;
}
.about-photo-frame img {
  width: 100%; height: 480px;
  object-fit: cover; object-position: top center;
  filter: grayscale(100%); opacity: 0.88;
  display: block;
}
.body-text { max-width: 720px; }
.body-text p { font-size: 17px; color: var(--muted); line-height: 1.85; margin-bottom: 1.4em; }
.worked-with { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.co-name {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 32px;
}
.contact-row:not(:last-child) { border-bottom: 1px solid rgba(0,0,0,0.07); }
.c-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); min-width: 80px; padding-top: 3px;
}
.c-value { font-size: 16px; font-weight: 500; }
.c-value a { transition: color 0.2s; }
.c-value a:hover { color: var(--green); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  section { padding: 64px 0; }

  .hero { min-height: auto; padding: 60px 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 360px; aspect-ratio: 1/1; }

  .card-grid-3 { grid-template-columns: 1fr; }
  .who-grid    { grid-template-columns: 1fr; }
  .split       { grid-template-columns: 1fr; gap: 40px; }

  .pipeline { grid-template-columns: 1fr; gap: 16px; }
  .stage { border-radius: var(--radius) !important; }
  .stage:not(:last-child)::after { display: none; }

  .about-hero-wrap { grid-template-columns: 1fr; }
  .about-photo-frame { border-radius: var(--radius); }
  .about-photo-frame img { height: 280px; }
  .about-hero-text { padding-bottom: 0; }

  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .container { padding: 0 18px; }
  .quote-text { font-size: 20px; }
}
