/* Elevate Executive Coaching.
   Warm stone hero matched to the portrait; a deep evergreen band so the white Coffee embeds read as the brightest things on the page; brass only for small highlights. */
:root {
  --stone: #e2d8cf;
  --paper: #f7f4f0;
  --ink: #1b1d1c;
  --graphite: #59554f;
  --line: #d6cdc3;
  --evergreen: #17332c;
  --evergreen-2: #1f4038;
  --mist: #b7c6bf;
  --brass: #c9a45c;

  --panel-w: 380px;
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;

  /* Scale: 17 base, ratio 1.25 */
  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.3125rem;
  --t-xl: 1.625rem;
  --t-2xl: clamp(1.875rem, 3.2vw, 2.5rem);
  --t-3xl: clamp(2.625rem, 5.6vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--t-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: padding-right 0.3s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--evergreen); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: rgba(226, 216, 207, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 29, 28, 0.1);
}
/* Logo lockup: the mark is one cap-height tall and sits on the baseline of "Elevate"; the descriptor sits below */
.brand { display: grid; gap: 3px; text-decoration: none; color: var(--ink); }
.brand-word { display: flex; align-items: baseline; gap: 0.2em; font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; font-stretch: 125%; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.brand-mark { display: block; height: 1cap; width: auto; aspect-ratio: 104 / 92; fill: var(--evergreen); }
.brand-sub { font-size: 12px; line-height: 1.2; color: var(--graphite); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: var(--t-s); }
.nav-links a { text-decoration: none; color: var(--graphite); }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: var(--evergreen); font-weight: 600; }

.bts-switch {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(27, 29, 28, 0.25); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: inherit; font-size: var(--t-s); font-weight: 500; cursor: pointer;
}
.bts-track { width: 34px; height: 20px; border-radius: 999px; background: rgba(27, 29, 28, 0.18); position: relative; transition: background 0.2s; }
.bts-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.bts-switch[aria-checked='true'] { background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.bts-switch[aria-checked='true'] .bts-track { background: var(--brass); }
.bts-switch[aria-checked='true'] .bts-thumb { transform: translateX(14px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: var(--t-s);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-dark { background: var(--evergreen); color: #fff; }
.btn-dark:hover { background: #0f2620; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(27, 29, 28, 0.35); }
.btn-line:hover { border-color: var(--ink); }
.btn-brass { background: var(--brass); color: var(--evergreen); width: 100%; border-radius: 8px; }
.btn-brass:hover { background: #d6b26b; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Hero: the portrait is the loud element */
.hero { background: var(--stone); overflow: hidden; }
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end; gap: clamp(24px, 4vw, 64px);
  min-height: min(760px, calc(100vh - var(--nav-h)));
}
.hero-copy { align-self: center; padding: clamp(56px, 8vw, 96px) 0; }
.hero h1 { font-size: var(--t-3xl); max-width: 11ch; color: var(--ink); }
.lede { margin-top: 28px; font-size: var(--t-l); line-height: 1.5; max-width: 30em; color: #34322f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* The cut-out stands on the bottom edge of the hero, against a soft lighter glow */
.portrait {
  margin: 0; position: relative; align-self: end; justify-self: end;
  width: min(100%, 520px); padding-top: clamp(40px, 5vw, 64px);
}
.portrait::before {
  content: ''; position: absolute; inset: 8% 2% 0; z-index: 0;
  background: radial-gradient(closest-side, rgba(247, 244, 240, 0.85), rgba(247, 244, 240, 0));
}
.portrait img { position: relative; z-index: 1; width: 100%; }
.portrait figcaption {
  position: absolute; z-index: 2; right: 0; bottom: clamp(28px, 3.4vw, 44px);
  display: grid; gap: 1px; padding: 12px 22px 13px; min-width: 180px; box-sizing: border-box;
  background: rgba(247, 244, 240, 0.94); border-radius: 10px;
  box-shadow: 0 10px 30px -12px rgba(23, 51, 44, 0.45);
  font-size: var(--t-s); line-height: 1.35; color: var(--graphite);
}
@supports (backdrop-filter: blur(6px)) { .portrait figcaption { background: rgba(247, 244, 240, 0.86); backdrop-filter: blur(6px); } }
.portrait figcaption strong { color: var(--ink); font-weight: 600; }

/* AI twin */
.twin {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.twin-face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.twin h2 { font-size: var(--t-xl); }
.twin p { margin-top: 10px; max-width: 46em; color: var(--graphite); }

/* The evergreen band holds every embed */
.band { background: var(--evergreen); color: #fff; }
.block {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
  padding: clamp(64px, 8vw, 112px) var(--gutter);
}
.block + .block { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.block-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.kicker { font-size: var(--t-s); color: var(--brass); margin-bottom: 14px; }
.block h2 { font-size: var(--t-2xl); }
.block-copy > p:not(.kicker):not(.small) { margin-top: 18px; max-width: 32em; color: #d9e2de; }
.facts { margin: 24px 0 0; padding: 0; list-style: none; font-size: var(--t-s); color: var(--mist); }
.facts li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.facts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.small { margin-top: 14px; font-size: var(--t-xs); color: var(--mist); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; max-width: 380px; margin-top: 28px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.tabs button {
  font: inherit; font-size: var(--t-s); font-weight: 600; white-space: nowrap;
  padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--mist); cursor: pointer;
}
.tabs button[aria-selected='true'] { background: #fff; color: var(--evergreen); }

/* Embeds: white, lifted, the brightest surface on the page */
.embed-slot {
  position: relative; background: #fff; color: var(--ink);
  border-radius: 12px; min-height: 200px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 30px 70px -20px rgba(0, 0, 0, 0.55);
}
.embed-slot iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.embed-placeholder {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 44px; border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f6f3ef 100%);
}
.embed-placeholder strong { font-size: var(--t-l); font-weight: 600; color: var(--evergreen); }
.embed-placeholder p { color: var(--graphite); font-size: var(--t-s); max-width: 34em; }
.embed-placeholder code { font-size: var(--t-xs); background: #ece7e1; padding: 2px 6px; border-radius: 4px; }

/* Office hours */
.hours {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(64px, 8vw, 112px) var(--gutter);
}
.hours-time { display: grid; padding: 28px 32px; min-width: 240px; border-radius: 12px; background: var(--stone); }
.hours-day { font-size: var(--t-m); font-weight: 600; }
.hours-clock { font-size: 4.5rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; color: var(--evergreen); }
.hours-zone { font-size: var(--t-s); color: var(--graphite); }
.hours h2 { font-size: var(--t-2xl); }
.hours-copy p { margin-top: 16px; max-width: 36em; color: var(--graphite); }
.hours-copy .btn { margin-top: 28px; }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; justify-content: space-between;
  padding: 36px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  border-top: 1px solid var(--line); color: var(--graphite); font-size: var(--t-s);
}
.footer-brand .brand-word { font-size: 20px; }
.footer p { max-width: 48em; }

/* Behind the scenes: page annotations */
body.bts .embed-slot { outline: 2px solid var(--brass); outline-offset: 8px; }
body.bts .embed-slot::before {
  content: attr(data-module);
  position: absolute; top: -44px; left: -8px; z-index: 2;
  padding: 4px 10px; border-radius: 4px;
  background: var(--brass); color: var(--evergreen);
  font-size: var(--t-xs); font-weight: 600; white-space: nowrap;
}
body.bts .twin-face, body.bts [data-link='officeHours'] { outline: 2px solid var(--brass); outline-offset: 6px; }
body.bts .block-copy { top: calc(var(--nav-h) + 56px); }

/* Behind the scenes: panel */
.bts-panel {
  position: fixed; top: var(--nav-h); right: 0; bottom: 0; z-index: 35;
  width: var(--panel-w);
  display: flex; flex-direction: column;
  background: var(--ink); color: #fff;
  border-left: 1px solid rgba(201, 164, 92, 0.6);
  transform: translateX(100%); transition: transform 0.3s ease;
}
.bts-panel.is-open { transform: translateX(0); }
.bts-panel[hidden] { display: none; }
.bts-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.bts-title { font-weight: 600; }
.bts-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 6px; }
.bts-close:hover { background: rgba(255, 255, 255, 0.1); }
.bts-body { flex: 1; overflow-y: auto; padding: 24px; }
.bts-section { font-size: var(--t-xs); color: var(--brass); font-weight: 600; }
.bts-heading { margin-top: 8px; font-size: var(--t-xl); line-height: 1.15; }
.bts-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.bts-steps li {
  counter-increment: step; position: relative;
  padding: 12px 0 12px 40px; font-size: var(--t-s); line-height: 1.5; color: #cfd4d2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bts-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 11px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--brass); color: var(--brass);
  font-size: var(--t-xs); font-weight: 600;
}
.bts-steps strong { color: #fff; font-weight: 600; }
.bts-modules-label { margin-top: 24px; font-size: var(--t-xs); color: #8f9693; }
.bts-modules { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.bts-modules li { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: var(--t-xs); font-weight: 500; }
.bts-foot { padding: 20px 24px 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bts-hint { margin-top: 10px; font-size: var(--t-xs); color: #8f9693; }

@media (min-width: 1180px) { body.bts { padding-right: var(--panel-w); } }
@media (prefers-reduced-motion: reduce) { .bts-panel, .bts-thumb, .bts-track, body { transition: none; } }

/* Smaller screens */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .bts-switch { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-bottom: 8px; }
  .portrait { justify-self: center; width: min(100%, 400px); padding-top: 16px; }
  .block { grid-template-columns: 1fr; }
  .block-copy { position: static; }
  .hours { grid-template-columns: 1fr; }
  .twin { grid-template-columns: auto 1fr; }
  .twin .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .twin { grid-template-columns: 1fr; }
  .twin-face { width: 72px; height: 72px; }
  .hours-clock { font-size: 3.5rem; }
  .embed-placeholder { padding: 28px; }
  .bts-panel { top: auto; left: 0; width: auto; height: 58vh; border-left: 0; border-top: 1px solid rgba(201, 164, 92, 0.6); transform: translateY(100%); }
  .bts-panel.is-open { transform: translateY(0); }
  body.bts .embed-slot::before { white-space: normal; right: -8px; top: -48px; }
}
