/* dralexjader.com
   Constraint removed: no home of his own on the web; every profile linked to a different place.
   Number it moves: booked calls and contact-form messages per month.
   Design: Websites/DESIGN_DIRECTION.md (type and space), plus Alex's rule of 20 Nov 2026:
   image-led, never text-only. Accent is the red of his tie. */

@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 400; src: url("/fonts/inter-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 500; src: url("/fonts/inter-500.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #0B0D0F;
  --ink: #FAFAF8;
  --muted: #A3A9B0;
  --rule: #25282C;
  --red: #B01C2E;      /* fills: buttons, rules */
  --red-text: #E5566A; /* red used as text on the dark ground */
  --gutter: clamp(1rem, 6vw, 8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.65 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.label { font: 500 .75rem/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--red); margin-bottom: 1rem; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.75rem); line-height: 1.05; letter-spacing: -.02em; }
h3 { font: 500 1.35rem/1.3 Inter, sans-serif; margin: 0 0 .4rem; }
p { max-width: 62ch; }

.btn {
  display: inline-block; padding: .95rem 1.6rem; background: var(--red); color: #fff;
  font: 500 1rem/1 Inter, sans-serif; text-decoration: none; border-radius: 2px;
  transition: background .3s;
}
.btn:hover { background: #8E1524; }
.btn.ghost { background: transparent; border: 1px solid var(--ink); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }

/* Hero: the picture carries it, words sit bottom-left */
.hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.6rem); line-height: 1.04; }
.hero { position: relative; min-height: clamp(560px, 92vh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,15,.75) 0%, rgba(11,13,15,.2) 55%, transparent 70%), linear-gradient(0deg, rgba(11,13,15,.9) 0%, transparent 45%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(3rem, 9vh, 7rem); }
.hero .copy { max-width: 46rem; }
.hero .name { font: 500 .8rem/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--ink); }
.hero p.sub { color: #DCDEE2; font-size: 1.2rem; margin: 1.4rem 0 2rem; }
.hero .creds { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }

nav.top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
nav.top .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; }
nav.top a { text-decoration: none; font-size: .95rem; margin-left: 1.6rem; opacity: .9; }
nav.top a.home { font-family: "Instrument Serif", serif; font-size: 1.5rem; margin: 0; }

section.band { padding: clamp(5rem, 12vh, 9rem) 0; border-top: 1px solid var(--rule); }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.door { position: relative; min-height: clamp(520px, 70vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,15,.95) 10%, rgba(11,13,15,.35) 60%, rgba(11,13,15,.15)); }
.door .in { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4rem); }
.door h2 { margin: .8rem 0 1rem; }

/* Teaching areas: numbered rows, never a card grid */
.rows { list-style: none; margin: 3rem 0 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 5rem 1fr 1.4fr; gap: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--rule); }
.rows .n { font-family: "Instrument Serif", serif; font-size: 3rem; line-height: 1; color: var(--red-text); }
.rows .topics { color: var(--muted); font-size: .95rem; }

/* Speaking */
.speak { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.video { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: var(--red); }
.video span::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.articles a { text-decoration: none; display: block; }
.articles img { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 1rem; background: #15181b; }
.articles .src { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

/* Contact */
form { display: grid; gap: 1rem; max-width: 40rem; margin-top: 2.5rem; }
input, textarea { width: 100%; padding: .9rem 1rem; background: #121417; color: var(--ink); border: 1px solid var(--rule); border-radius: 2px; font: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--red-text); outline-offset: 1px; }
textarea { min-height: 9rem; resize: vertical; }
.hp { display: none; }

footer { padding: 3rem 0 4rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Reveal on scroll (motion is lost without JS, content is not) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 800px) {
  .hero { min-height: auto; display: block; }
  .hero picture, .hero picture img { position: relative; height: auto; aspect-ratio: 5/4; }
  .hero::after { display: none; }
  .hero .wrap { padding-top: 1.5rem; padding-bottom: 3rem; }
  nav.top .links { display: none; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 60vh; }
  .rows li { grid-template-columns: 3rem 1fr; }
  .rows li .topics { grid-column: 2; }
  .speak, .articles { grid-template-columns: 1fr; }
}

/* /links page */
.links-page { max-width: 34rem; margin: 0 auto; padding: 0 1rem 4rem; text-align: center; }
.links-page .cover { margin: 0 -1rem; position: relative; }
.links-page .cover img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.links-page .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--paper) 2%, transparent 45%); }
.links-page h1 { margin-top: -2.5rem; position: relative; }
/* two separate boxes: call, and message */
.contact-boxes { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; margin-top: 3rem; }
.box { background: #121417; border: 1px solid var(--rule); border-top: 3px solid var(--red); padding: clamp(1.5rem, 3vw, 2.5rem); }
.box h3 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 2rem; margin-bottom: .6rem; }
.box form { margin-top: 1.5rem; }
select { width: 100%; padding: .9rem 1rem; background: #0e1012; color: var(--ink); border: 1px solid var(--rule); border-radius: 2px; font: inherit; }
.newsletter { margin-top: 3rem; max-width: 46rem; }
form.nl { grid-template-columns: 1fr auto; align-items: end; max-width: none; }
@media (max-width: 800px) { .contact-boxes { grid-template-columns: 1fr; } form.nl { grid-template-columns: 1fr; } }
.links-page h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.08; }
.links-page .tag { color: var(--muted); margin: .6rem auto 2rem; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; text-align: left; }
.link-list a { display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; align-items: center; padding: .95rem 1.1rem; background: #121417; border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; transition: border-color .3s, background .3s; }
.link-list a:hover { border-color: var(--red-text); background: #16191c; }
.link-list a.primary { background: var(--red); border-color: var(--red); }
.link-list i { width: 1.5rem; height: 1.5rem; background: currentColor; justify-self: center;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
form label { display: grid; gap: .4rem; font-size: .95rem; color: var(--muted); }
.link-list b { display: block; font-weight: 500; }
.link-list small { color: var(--muted); font-size: .85rem; line-height: 1.35; display: block; }
.link-list a.primary small { color: #F5D6DA; }

/* Door pages (/boards/, /organisations/, /coaching/): hero, video, reading column.
   Copy rule: red only on buttons, so the label bar and numbers go neutral here. */
.door-page .label::before { background: var(--muted); }
.door-page .hero .label { margin-bottom: 1.2rem; color: var(--ink); }
.door-page .hero .more { margin-top: 1rem; font-size: .95rem; }
.door-page .hero .more a, .door-page .quiet a { color: var(--muted); }
.hero.portrait picture { left: auto; width: 55%; }
.hero.portrait picture img { object-position: center 20%; }
.hero.portrait picture img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero.portrait::after { background: linear-gradient(0deg, rgba(11,13,15,.9) 0%, transparent 40%); }
.door-page .vid + .band { border-top: 0; }
.narrow { max-width: 52rem; }
.vid { padding: clamp(2rem, 5vh, 3.5rem) 0 0; }
.video .soon { position: absolute; left: 1rem; bottom: 1rem; padding: .7rem 1.2rem; background: rgba(11,13,15,.78); color: var(--ink); font: 500 .95rem/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.video[data-id=""] { cursor: default; }
.video[data-id=""] span, .video:not([data-id=""]) .soon { display: none; }
.door-page section.band { padding: clamp(3.5rem, 9vh, 6rem) 0; }
.door-page .band h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1.4rem; }
.door-page .band p, .door-page .band li { color: #DCDEE2; }
.door-page .band p + p { margin-top: 1rem; }
.door-page .band .btn { margin-top: 1rem; color: #fff; }
.door-page ul.ticks, .door-page ol.steps { padding: 0; margin: 1.5rem 0; list-style: none; display: grid; gap: .9rem; max-width: 62ch; }
.door-page ul.ticks li { padding-left: 1.4rem; position: relative; }
.door-page ul.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 1px; background: var(--ink); }
.door-page ol.steps { counter-reset: s; gap: 1.4rem; }
.door-page ol.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; }
.door-page ol.steps li::before { content: counter(s, decimal-leading-zero); font-family: "Instrument Serif", serif; font-size: 1.9rem; line-height: 1; color: var(--muted); }
.door-page b, .door-page strong { color: var(--ink); font-weight: 500; }
blockquote { margin: 2.2rem 0 0; padding: 1.6rem 0 0 1.6rem; border-left: 1px solid var(--muted); max-width: 46rem; }
blockquote p { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: var(--ink) !important; margin: 0; }
blockquote footer { border: 0; padding: .9rem 0 0; font-size: .9rem; }
.strip { margin: 0; }
.strip img { width: 100%; aspect-ratio: 21/8; object-fit: cover; }
.door-page .strip + .band { border-top: 0; }
@media (max-width: 800px) {
  .door-page .hero picture, .door-page .hero picture img { width: 100%; aspect-ratio: 16/10; }
  .hero.portrait picture img { object-position: center 18%; -webkit-mask-image: none; mask-image: none; }
  .strip img { aspect-ratio: 16/10; }
  .video .soon { font-size: .8rem; }
}
.after-quote { margin-top: 2.2rem; }
/* Library pass, 26 Nov 2026 (Ogilvy, Halbert, Schwartz, Hopkins, Caples) */
.door-page .vid:has(.video[data-id=""]) { display: none; } /* placeholder hidden until a video id is set */
.door-page .hero .creds { font-size: 1rem; color: #DCDEE2; }
.door-page .hero .more { color: var(--muted); }
.door-page ul.names { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 2rem; max-width: 40rem; color: var(--ink); }
.door-page .promise { margin-top: 1.8rem; padding-left: 1.6rem; border-left: 1px solid var(--muted); font-size: 1.15rem; color: var(--ink); max-width: 46rem; }
@media (max-width: 520px) { .door-page ul.names { grid-template-columns: 1fr 1fr; gap: .35rem 1rem; font-size: .95rem; } } /* two columns on phones: the list no longer fills a screen */
.door .more { margin-top: 1rem; font-size: .95rem; } .door .more a { color: var(--muted); }
.strip figcaption { padding: .7rem clamp(1rem, 4vw, 2rem) 0; font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
/* Name first, so a visitor who does not know the face knows whose page this is (Alex, 26 Nov 2026) */
.door-page .hero .name { font-family: "Instrument Serif", serif; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; color: var(--ink); margin: 0 0 1.4rem; }

/* Home: three doors (Alex, 27 Nov 2026) */
.doors.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 800px) { .doors.three { grid-template-columns: 1fr; } }
/* Coaching portrait on phones: smaller, set to the right, fading into the dark, not a flat full-width face */
@media (max-width: 800px) {
  .door-page .hero.portrait picture { width: 78%; margin-left: auto; aspect-ratio: 4/5; display: block; }
  .door-page .hero.portrait picture img { aspect-ratio: 4/5; object-position: center 12%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
  .door-page .hero.portrait .copy { margin-top: -5rem; position: relative; }
}

/* Home doors readable at a glance (Alex, 27 Nov 2026): short name, even dark veil, white type never on a bright image */
.doors.three .door::after { background: linear-gradient(0deg, rgba(11,13,15,.97) 30%, rgba(11,13,15,.72) 65%, rgba(11,13,15,.5)); }
.doors.three .door h2 { font-size: clamp(2rem, 2.8vw, 2.8rem); line-height: 1.05; margin: .6rem 0 .9rem; }
.doors.three .door .label { color: #fff; font-weight: 600; }
.doors.three .door .in p:not(.label):not(.more) { color: #DCDEE2; max-width: 32ch; }

/* Enquiry through his office (Alex, 27 Nov 2026): one form, no free-call box on the public site */
.contact-boxes.one { grid-template-columns: 1fr; max-width: 40rem; }
.door-page #enquire { border-top: 0; padding-top: 0; }

/* Coaching hero (Alex, 27 Nov 2026): the word coaching must be seen in the first second */
.door-page .hero .label { font-size: .85rem; color: #fff; font-weight: 600; }
