/* The Open Hand by Dr. Dwayne: coaching site styles.
   Layout: one calm column on charcoal, cream type, a taupe-gold rule as the only ornament.
   The brand is dark by design, so the site keeps one look in every theme. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }

:root {
  --ink: #262626;          /* page background, from the LinkedIn banner */
  --ink-raised: #302e2b;   /* panels, warmed toward the gold */
  --line: #4a453d;         /* hairlines */
  --cream: #f2ece1;        /* primary text */
  --cream-dim: #c7bfb1;    /* secondary text */
  --gold: #b9a37f;         /* the taupe-gold rule and accents */
  --gold-bright: #d4bf98;  /* links and focus */
  --font: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --measure: 38rem;
  --wide: 68rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
strong { font-weight: 600; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 0; background: var(--cream); color: var(--ink); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.1rem; }
.brand { color: var(--cream); text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.brand b { font-weight: 600; font-size: 1.15rem; }
.brand span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.nav a { color: var(--cream-dim); text-decoration: none; padding-block: 0.25rem; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }

/* Shared blocks */
main { display: block; }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.rule { width: 4.5rem; height: 2px; background: var(--gold); border: 0; margin: 0; }
.lead { font-size: var(--step-1); color: var(--cream); max-width: var(--measure); }
.prose { display: grid; gap: 1.1rem; max-width: var(--measure); }
.prose p, .prose li { color: var(--cream-dim); }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.stack { display: grid; gap: 1.5rem; }
.muted { color: var(--cream-dim); }
.small { font-size: 0.88rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 400; font-size: 0.98rem;
  padding: 0.8rem 1.4rem; border-radius: 2px; border: 1px solid var(--gold);
  color: var(--cream); background: transparent; line-height: 1.3;
}
.btn:hover { background: var(--ink-raised); color: var(--cream); }
.btn-solid { background: var(--cream); color: var(--ink); border-color: var(--cream); font-weight: 600; }
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }

.notice {
  border-left: 2px solid var(--gold); padding: 0.2rem 0 0.2rem 1rem;
  color: var(--cream-dim); font-size: 0.92rem; max-width: var(--measure);
}
.email-line { color: var(--cream-dim); font-size: 0.92rem; }
.email-line .addr { color: var(--cream); user-select: all; }

/* Home hero */
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.portrait { margin: 0; min-width: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 30%; }
.portrait-wide img { aspect-ratio: 3 / 2; object-position: 50% 25%; }
.home-photo img { aspect-ratio: 2 / 3; object-position: 50% 100%; }

/* Steps on Home: a real sequence, so they are numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--gold); min-width: 0; }
.steps li::before { content: "Step " counter(step); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.steps p { color: var(--cream-dim); }

/* Pricing */
.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier { background: var(--ink-raised); padding: 1.6rem; display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.tier h3 { font-size: 1.05rem; font-weight: 400; color: var(--cream-dim); }
.price { font-size: 2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { display: block; font-size: 0.85rem; font-weight: 300; color: var(--gold); letter-spacing: 0.02em; margin-top: 0.35rem; }
.tier p { color: var(--cream-dim); font-size: 0.95rem; }

/* About */
.about .wrap { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
.credential { font-weight: 400; letter-spacing: 0.04em; color: var(--gold-bright); }
.life { display: grid; gap: 1.5rem; }
.life figure { margin: 0; }
.life img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 0; }
.site-foot .wrap { display: grid; gap: 0.8rem; padding-block: 2rem 2.5rem; font-size: 0.85rem; color: var(--cream-dim); }
.foot-cred { color: var(--cream); line-height: 1.6; }
.signoff { margin-top: 1.5rem; font-weight: 600; color: var(--cream); }
.signoff span { display: block; font-weight: 300; color: var(--gold-bright); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.social { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: -0.6rem; }
.social svg { width: 1.25rem; height: 1.25rem; }
.site-foot a { color: var(--cream-dim); }
.site-foot a:hover { color: var(--cream); }

.door { display: grid; gap: 1.1rem; max-width: var(--measure); }
.field { display: grid; gap: 0.4rem; }
.field label { color: var(--cream); }
.field input, .field textarea {
  font: inherit; color: var(--cream); background: var(--ink-raised);
  border: 1px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-bright); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--cream-dim); }
.form-msg { display: none; max-width: var(--measure); border-left: 2px solid var(--gold); padding-left: 1rem; }
.form-msg:target { display: block; }
@media (max-width: 760px) {
  .hero .wrap, .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .portrait { order: -1; max-width: 22rem; }
  .steps, .tiers { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Keep expressions on one line; readability first. */
.nw { white-space: nowrap; }
p, li { text-wrap: pretty; hyphens: manual; }
.tier ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.tier li { color: var(--cream-dim); font-size: 0.95rem; }
.tier .tag { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.02em; }

/* Embeds: third-party frames live only on their own page, loaded when the visitor opens it. */
.embed { max-width: var(--measure); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed-form { background: var(--cream); padding: 0.5rem; border-radius: 2px; }
.embed-form iframe { height: 320px; background: #fff; }
.embed-video iframe { aspect-ratio: 16 / 9; height: auto; }
.embed-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
/* Work with me intro: fewer words per line, more air */
.intro { display: grid; gap: 1rem; max-width: 34rem; margin-bottom: 1.5rem; }
.h1-sub { display: block; margin-top: 0.5rem; font-size: var(--step-1); font-weight: 300; letter-spacing: 0; color: var(--cream-dim); }
.intro .lead { margin: 0.5rem 0 0; line-height: 1.5; }
.intro-note { margin: 0; font-size: var(--step-1); font-weight: 600; line-height: 1.5; color: var(--cream); }
@media (max-width: 420px) { .intro h1 { font-size: 1.8rem; } }
/* A quiet section label: same size as the package text, so it doesn't outweigh the message above it */
.label-head { font-size: 0.95rem; font-weight: 600; line-height: 1.7; color: var(--cream-dim); margin-top: 0.5rem; }
