/* Beyond the Glances — shared styles */

@font-face {
  font-family: 'DIN 1451 Std Engschrift';
  src: url('fonts/DIN_1451_Std_Engschrift.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d71920;
  --cream: #fff9eb;
  --black: #000;
  --white: #fff;

  --display: 'Impact', 'Anton', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --label: 'Impact', 'Anton', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --din: 'DIN 1451 Std Engschrift', 'DIN 1451 Engschrift', 'DIN Condensed', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --cond: 'Freeman', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --body: clamp(17px, 1.65vw, 25px);
  --wrap: 72vw;       /* main content column used on most pages */
  --wrap-left: 14vw;  /* its left edge */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cond);
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.08;
  color: var(--black);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
/* Body paragraphs: a touch of tracking and more open leading for readability */
main p { letter-spacing: .03em; line-height: 1.15; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 20; background: #fff; color: #000; padding: 8px 14px; font-family: var(--ui); }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: 0;
}
.label {
  font-family: var(--label);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}
.red { color: var(--red); }
.black { color: var(--black); }
.cream { color: var(--cream); }
.white { color: var(--white); }

/* Fit-to-width lines: JS (site.js) scales font-size so the text spans a share of the
   viewport width. The vw sizes below are the fallback if JS is off. */
[data-fit] { display: block; width: max-content; white-space: nowrap; }
[data-fit] > span { display: block; width: max-content; white-space: nowrap; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(14px, 1.7vw, 26px) 4% clamp(14px, 1.7vw, 26px) 8%;
}
.logo img { width: clamp(120px, 13.8vw, 200px); height: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(6px, 1.2vw, 18px); }
.nav a {
  font: 600 clamp(11px, 1.25vw, 18px)/1 var(--ui);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 999px;
  padding: .55em 1.5em;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { background: var(--white); color: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 clamp(13px, 1.25vw, 18px)/1 var(--ui);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: .7em 2em;
  text-align: center;
}
.btn-light { background: var(--white); color: var(--black); }
.btn-red { background: var(--red); color: var(--white); }
.btn:hover { filter: brightness(.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(60px, 8vw, 120px) 0 clamp(70px, 10vw, 150px); }
.footer-inner {
  width: var(--wrap);
  margin-left: var(--wrap-left);
  display: grid;
  grid-template-columns: 42.6% 21% 1fr;
  align-items: center;
}
.footer-inner .logo img { width: clamp(130px, 17vw, 250px); }
.footer-inner h2 { font-family: var(--label); font-weight: 400; font-size: clamp(22px, 2.3vw, 34px); text-transform: uppercase; margin-bottom: clamp(14px, 1.8vw, 28px); }
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 1.9vw, 28px); font-size: clamp(14px, 1.2vw, 18px); font-weight: 400; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-inner .cols { align-self: start; }

/* ---------- HOME ---------- */
.hero { background: var(--cream); text-align: center; padding-top: clamp(20px, 3vw, 44px); }
.hero h1 { font-size: 7.4vw; }
.hero h1 [data-fit] { margin: 0 auto; }
.hero img { width: 56.5%; margin: clamp(14px, 2.4vw, 40px) auto 0; }

.strip { background: var(--red); color: var(--white); padding: clamp(36px, 5.5vw, 90px) 0 clamp(40px, 5vw, 80px); }
.strip .inner { width: min(72.5vw, 1200px); margin: 0 auto; }
.strip h2 { font-size: 6.3vw; }
.strip p { margin: clamp(16px, 3vw, 44px) 0 0 42.5%; }

.pillars { background: var(--black); color: var(--cream); padding: clamp(36px, 4.5vw, 70px) 0 clamp(40px, 5vw, 80px); }
.pillars .inner { width: min(72.5vw, 1200px); margin: 0 auto; }
.pillars h2 { font-size: 6vw; }
.pillars .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.2vw, 36px); margin-top: clamp(18px, 2.4vw, 34px); }
.pillars h3 { font-family: var(--label); font-weight: 400; font-size: clamp(26px, 3.2vw, 46px); text-transform: uppercase; color: var(--red); margin-bottom: .35em; }
.pillars p { color: var(--white); }
.pillars .col { display: flex; flex-direction: column; align-items: center; }
.pillars .col > div { width: 100%; }
.pillars .btn { margin-top: clamp(20px, 2.6vw, 40px); }

.cta { background: var(--white); text-align: center; padding: clamp(36px, 5vw, 80px) 0 clamp(50px, 7vw, 110px); }
.cta .big { font-size: 22vw; }
.cta .big [data-fit] { margin: 0 auto; line-height: .88; }
.cta p { width: min(72vw, 1100px); margin: clamp(14px, 2vw, 30px) auto 0; text-align: left; }
.cta .btn { margin-top: clamp(16px, 2vw, 30px); }

/* ---------- ABOUT ---------- */
.about-hero { background: var(--black); padding: clamp(30px, 4.5vw, 70px) 0 clamp(40px, 6vw, 100px); }
.about-hero h1 { margin-left: var(--wrap-left); color: var(--red); font-size: 8vw; }
.about-copy { background: var(--cream); padding: clamp(40px, 6vw, 100px) 0 clamp(30px, 5vw, 80px); }
.about-copy .text { width: var(--wrap); margin-left: var(--wrap-left); display: grid; gap: 1.25em; }
.about-copy .statement { margin: clamp(40px, 7vw, 120px) 0 0 var(--wrap-left); display: grid; gap: .2em; }
.about-copy .statement [data-fit] { line-height: .9; }

/* ---------- EXPERIENCES ---------- */
.exp-hero { background: #d82028; padding: clamp(18px, 2.8vw, 44px) 0 clamp(18px, 2.8vw, 44px); }
.exp-hero h1 { text-align: center; }
.exp-hero h1 [data-fit] { margin: 0 auto; line-height: .95; }
.exp-intro .trio { width: min(72vw, 1100px); margin: 0 auto clamp(18px, 2.4vw, 38px); }
.exp-intro .trio img { width: 100%; height: auto; }
.exp-intro { background: var(--cream); padding: clamp(18px, 2.4vw, 38px) 0 clamp(26px, 3.5vw, 56px); }
.exp-intro p { width: var(--wrap); margin-left: var(--wrap-left); }

.profile { margin-bottom: clamp(28px, 4.5vw, 72px); background: var(--cream); }
.profile .top { --h: clamp(250px, 50vw, 740px); background: #d82028; height: var(--h); display: flex; justify-content: center; align-items: stretch; padding: 0 4%; overflow: hidden; }
.profile .top img { height: calc(var(--h) * var(--ph)); width: auto; max-width: none; align-self: flex-end; }
.profile .top picture { display: contents; }
/* Nudges a portrait down so a soft/transparent bottom edge sits below the red band */
.profile .top img.drop { transform: translateY(1.5%); }
.profile .top .name { align-self: center; color: var(--cream); line-height: .9; position: relative; z-index: 1; }
.profile.photo-left .top .name { margin-left: calc(var(--h) * var(--ph) * var(--asp) * var(--ov) * -1); }
.profile.photo-right .top .name { margin-right: calc(var(--h) * var(--ph) * var(--asp) * var(--ov) * -1); }
.profile .qa { background: var(--black); color: var(--white); padding: clamp(24px, 3vw, 48px) 0 clamp(30px, 4vw, 64px); }
.profile .qa .inner { width: var(--wrap); margin-left: var(--wrap-left); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.6vw, 26px); align-items: start; }
.qa .col { display: grid; gap: 1.1em; }
.qa h3 { font: 700 var(--body)/1.08 var(--cond); color: var(--red); }
.qa p + p { margin-top: 1.1em; }
.qa p.a { margin-top: .05em; }
.qa .q p { color: var(--white); }

/* ---------- UNDERSTANDING ---------- */
.u-title { background: var(--white); text-align: center; padding: clamp(14px, 2vw, 30px) 0 clamp(26px, 5vw, 80px); }
.u-title h1 { color: var(--red); }
.u-title h1 [data-fit] { margin: 0 auto; line-height: .95; }
.u-intro { background: var(--white); padding: 0 0 clamp(30px, 5vw, 80px); }
.u-intro .inner { width: 71.4vw; margin: 0 auto; display: grid; grid-template-columns: 45.5% 1fr; gap: 5%; align-items: center; }
.u-intro .copy { display: grid; gap: 1em; }
.u-intro .lead [data-fit] { line-height: .98; }
.u-intro .lead [data-fit] + [data-fit] { margin-top: .08em; }

.stats { background: var(--cream); padding: clamp(24px, 3.4vw, 54px) 0; }
.stats .row { width: min(70vw, 1050px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 20px); }
.flip { perspective: 1200px; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: inherit; cursor: pointer; height: clamp(200px, 34vw, 490px); border-radius: clamp(12px, 1.5vw, 24px); }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.4, .1, .2, 1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: clamp(12px, 1.5vw, 24px); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.face.is-red { background: var(--red); }
.face.is-black { background: var(--black); }
.front { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 16px; }
.front .num { font-family: var(--display); font-size: clamp(32px, 5.4vw, 82px); line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; }
.front.is-red .num { color: var(--black); }
.front.is-black .num { color: var(--red); }
.front .cap { font-family: var(--display); font-size: clamp(14px, 2.2vw, 34px); line-height: 1.15; letter-spacing: .05em; text-transform: uppercase; color: var(--white); margin-top: .15em; }
.back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 9%; text-align: center; color: var(--cream); font-family: var(--din); text-transform: uppercase; hyphens: auto; -webkit-hyphens: auto; }
.back .txt { font-size: clamp(13px, 1.45vw, 21px); line-height: 1.15; letter-spacing: .05em; }
.back .cite { position: absolute; left: 9%; right: 9%; bottom: 6%; font-size: clamp(8px, .78vw, 11px); line-height: 1.3; letter-spacing: .03em; text-transform: none; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

.challenge { background: var(--red); color: var(--cream); padding: clamp(30px, 4vw, 64px) 0 clamp(40px, 5vw, 80px); }
.challenge .inner { width: min(70vw, 1050px); margin: 0 auto; }
.challenge h2 { font-size: 7.4vw; }
.challenge .two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 32px); margin-top: clamp(20px, 3vw, 46px); align-items: start; }
.challenge .two > div { min-width: 0; }
.challenge h3 { overflow-wrap: break-word; font-family: var(--label); font-weight: 400; font-size: clamp(30px, 4.6vw, 66px); line-height: .92; text-transform: uppercase; color: var(--cream); margin-bottom: .25em; }
.challenge h3 .k { color: var(--black); }
.challenge .third { width: 50%; margin: clamp(22px, 3.4vw, 54px) 0 0 26%; }
.challenge .third p { width: 100%; }

.closer { background: var(--cream); text-align: center; padding: clamp(28px, 4vw, 64px) 0 clamp(36px, 5vw, 84px); }
.closer [data-fit] { margin: 0 auto; line-height: .92; }

/* ---------- REFLECT ---------- */
.r-title { background: var(--white); padding: clamp(18px, 2.6vw, 40px) 0 clamp(24px, 3.5vw, 56px); }
.r-title h1 { margin-left: 14vw; line-height: .98; }
.r-cards { background: var(--white); padding: 0 0 clamp(20px, 3vw, 50px); }
.r-cards .grid { width: min(72vw, 1070px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 22px); }
.card { position: relative; border-radius: clamp(6px, .7vw, 10px); min-height: clamp(180px, 24.8vw, 380px); padding: clamp(18px, 2.4vw, 38px); color: var(--cream); font-family: var(--din); text-transform: uppercase; font-size: clamp(22px, 3.35vw, 50px); line-height: 1.12; }
.card.is-black { background: var(--black); }
.card.is-red { background: var(--red); }
.card p { position: relative; z-index: 1; letter-spacing: normal; line-height: inherit; }
.card { display: flex; align-items: center; justify-content: center; text-align: center; }

/* Eye artwork below the questions; its black lines run off the bottom edge straight into the black footer. */
.r-art { background: var(--white); line-height: 0; }
.r-art img { display: block; width: 100%; height: auto; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --body: 18px; --wrap: 88vw; --wrap-left: 6vw; }
  .site-header { flex-direction: column; align-items: center; padding: 14px 4%; gap: 12px; }
  .nav { justify-content: center; }
  .nav a { font-size: 12px; padding: .55em 1.1em; }
  .logo img { width: 150px; }

  .hero h1 { font-size: 9vw; }
  .hero img { width: 92%; }
  .strip .inner, .pillars .inner { width: 88vw; }
  .strip h2 { font-size: 11vw; }
  .strip p { margin-left: 0; }
  .pillars h2 { font-size: 10vw; }
  .pillars .grid { grid-template-columns: 1fr; gap: 36px; }
  .cta p { width: 88vw; }

  .about-hero h1 { font-size: 12vw; }

  .profile .top { height: auto; min-height: 0; flex-direction: column; align-items: center; padding: 0 4%; }
  .profile .top img { max-width: 70%; height: auto; width: 70%; order: 2; }
  .profile .top .name { order: 1; margin: 22px 0 0 !important; align-self: center; }
  .profile .qa .inner { grid-template-columns: 1fr; gap: 1.1em; }

  .u-intro .inner { grid-template-columns: 1fr; gap: 28px; width: 88vw; }
  .stats .row { width: 92vw; grid-template-columns: 1fr; }
  .flip { height: 260px; }
  .back { padding: 8%; }
  .back .cite { left: 8%; right: 8%; bottom: 5%; }
  .back .txt { font-size: 20px; }
  .back .cite { font-size: 11px; }
  .challenge .inner { width: 88vw; }
  .challenge .two { grid-template-columns: 1fr; }
  .challenge h3 { font-size: 13vw; }
  .challenge .third { width: 100%; margin-left: 0; }

  .r-title h1 { margin-left: 6vw; font-size: 13vw; }
  .r-cards .grid { grid-template-columns: 1fr; width: 90vw; }
  .card { font-size: 30px; min-height: 240px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 16px; width: 88vw; }
  .footer-inner .logo { grid-column: 1 / -1; }
  .footer-inner .logo img { width: 200px; }
}
