/* Libre Franklin, served from this site (SIL Open Font License, see fonts/OFL.txt) */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/libre-franklin-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/libre-franklin-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Beyond Tuesday website. Colors, type and logo follow brand/beyond-tuesday-brand-guide.html in this repo. */
:root {
  --navy: #172A45;
  --navy-deep: #0F1C30;
  --orange: #E85D04;
  --white: #FFFFFF;
  --slate: #5A6473;
  --ink-2: #3B4656;
  --fog: #ECEEF0;
  --tint: #FDEFE6;
  --rule: #D5DAE1;
  --on-navy: #C9D1DC;
  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Libre Franklin', 'Franklin Gothic Medium', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--white); padding: 8px 12px; }

/* Logo: the name stacked in heavy caps inside an orange box. Sized with font-size. */
.logo {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  font-weight: 800; line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--navy); border: max(0.09em, 2px) solid var(--orange);
  padding: 0.34em 0.42em 0.3em; white-space: nowrap; text-decoration: none;
}
.logo.rev { color: var(--white); }

/* Type */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 16px; max-width: 64ch; text-wrap: pretty; }
.label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.lead { font-size: clamp(19px, 2vw, 21px); line-height: 1.55; color: var(--ink-2); }
.bar { width: 72px; height: 6px; border-radius: 3px; background: var(--orange); margin: 22px 0 26px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 4px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn.light:hover { background: var(--tint); border-color: var(--tint); }
.btn:hover .arrow { transform: translateX(3px); }
.link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-head .logo { font-size: 15px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.site-nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav .btn { min-height: 42px; padding: 8px 16px; font-size: 15px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 50%, #22395C 100%);
  color: var(--white); overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero-copy { padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); align-self: center; }
.hero .label { color: var(--on-navy); }
.hero h1 span { display: block; color: var(--on-navy); font-weight: 700; }
.hero .lead { color: var(--on-navy); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero-actions .link { color: var(--white); }
.scene {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
}

/* Sections */
section { padding: clamp(52px, 6vw, 80px) 0; }
main > section:not(.contact) + section:not(.contact) > .wrap::before { content: ""; display: block; grid-column: 1 / -1; border-top: 1px solid var(--rule); margin-bottom: clamp(52px, 6vw, 80px); }
main > section:not(.contact) + section:not(.contact) { padding-top: 0; }
.fog { background: var(--fog); }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(32px, 6vw, 88px); }

.pull { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin: 0; max-width: 22ch; }
.pull-wrap { border-left: 6px solid var(--orange); padding: 4px 0 4px 24px; margin-top: 8px; }

/* What I do */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.areas .card { background: var(--white); border: 0; }
.steps-head { margin-top: 64px; }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { border-top: 2px solid var(--navy); padding: 16px 0 0; counter-increment: step; }
.steps li::before { content: counter(step) "."; display: block; font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--ink-2); margin: 0; }
.note { margin-top: 28px; font-size: 16px; color: var(--ink-2); }
.note strong { color: var(--navy); }

/* Approach */
.cards { display: grid; gap: 16px; }
.card { border: 1px solid var(--rule); border-radius: 14px; padding: 24px 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.card li + li { margin-top: 4px; }
.approach-quote { margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--rule); }

/* Who */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 40px; }
.who .card { background: var(--white); border: 0; }
.who .card .label { margin-bottom: 10px; }
.goal { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.4; max-width: 46ch; margin: 0; }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding-bottom: 0; overflow: hidden; }
.contact .label { color: var(--on-navy); }
.contact p { color: var(--on-navy); }
.contact .lead { color: var(--on-navy); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 14px; align-items: baseline; font-size: 18px; font-weight: 600; color: var(--white); }
.promise li::before { content: ""; flex: 0 0 18px; height: 3px; background: var(--orange); transform: translateY(-5px); }
.contact .email { margin-top: 18px; font-size: 15px; }
.contact .email a { color: var(--white); }
.cranes { margin-top: 56px; width: 100%; height: auto; }

/* Footer */
.site-foot { background: var(--navy-deep); color: var(--on-navy); padding: 40px 0; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-foot .logo { font-size: 16px; }
.site-foot .meta { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-foot a { color: var(--white); }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-nav a:not(.btn) { display: none; }
  .hero .wrap, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .two-col { row-gap: 28px; }
  .hero-copy { padding-bottom: 8px; }
  .scene { margin: 0 auto; max-width: 560px; }
  .who, .areas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .site-head .logo { font-size: 13px; }
  .site-nav .btn { padding: 8px 12px; font-size: 14px; }
  .hero-actions .btn { width: 100%; }
}

/* Revisions: thesis headline, two-up service cards, notes, contact button */
.hero h1 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.12; }
@media (min-width: 861px) { .hero .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.areas.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.areas.two .card { background: var(--fog); }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; max-width: 900px; }
.notes h3 { margin-bottom: 6px; }
.notes p { margin: 0; color: var(--ink-2); font-size: 16px; }
#how .lead { max-width: 56ch; }
.contact-cta { padding-top: 8px; }
@media (max-width: 860px) {
  .areas.two, .notes { grid-template-columns: 1fr; }
}

/* Services as a plain list with rules instead of cards */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 8px 0 0; max-width: 980px; }
.service-list > div { border-top: 1px solid var(--rule); padding: 18px 0 22px; }
.service-list dt { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.service-list dd { margin: 0; color: var(--ink-2); font-size: 16px; }
.notes { padding-top: 28px; border-top: 1px solid var(--rule); margin-top: 0; max-width: 980px; }
.contact h2 { margin-bottom: 20px; }
@media (max-width: 860px) {
  .service-list { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal { padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.legal .wrap > * { max-width: 680px; }
.legal h1 { font-size: clamp(32px, 4vw, 42px); }
.legal .effective { color: var(--slate); font-size: 15px; margin: 8px 0 28px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; line-height: 1.6; }

/* "Small changes you'll keep": orange step rules and numbers.
   Numbers are set large because orange on white only passes contrast at large sizes. */
#how .steps { gap: 16px; }
#how .steps li { background: var(--tint); border-top: 0; border-radius: 6px; padding: 22px 22px 24px; }
#how .steps li::before { content: counter(step); font-size: 32px; font-weight: 800; line-height: 1; color: var(--orange); margin-bottom: 10px; }
#how .note { border-left: 4px solid var(--orange); padding-left: 14px; }

/* Self-assessment band */
main > section.assess-band { padding: 0 0 clamp(52px, 6vw, 80px); }
main > section.assess-band + section > .wrap::before { display: none; }
.assess-band > .wrap::before { display: none !important; }
.assess-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; background: var(--navy); color: var(--white); border-radius: 8px; padding: clamp(24px, 4vw, 40px); }
.assess-box h2 { color: var(--white); margin-bottom: 8px; }
.assess-box p { color: var(--on-navy); margin: 0; max-width: 52ch; }
/* Orange button: white on orange only passes contrast at large bold sizes, so the label is 19px bold. */
.assess-box .btn { background: var(--orange); color: var(--white); border-color: var(--orange); font-size: 19px; font-weight: 700; }
.assess-box .btn:hover { background: #C94F03; border-color: #C94F03; }

/* Self-assessment dialog */
.as-dialog { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 8px; padding: 0; color: var(--navy); background: var(--white); box-shadow: 0 20px 60px rgba(15, 28, 48, .35); }
.as-dialog::backdrop { background: rgba(15, 28, 48, .6); }
.as-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
.as-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.as-close { font: inherit; font-size: 28px; line-height: 1; background: none; border: 0; color: var(--slate); cursor: pointer; padding: 4px 8px; }
.as-close:hover { color: var(--navy); }
.as-body { padding: 24px 24px 28px; }
.as-body h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; margin-bottom: 12px; outline: none; }
.as-body h3 { font-size: 19px; margin: 0 0 4px; }
.as-body p { font-size: 16px; color: var(--ink-2); }
.as-fine { font-size: 15px !important; color: var(--slate) !important; }
.as-progress { font-size: 14px !important; color: var(--slate) !important; margin: 0 0 8px; }
.as-bar { height: 6px; background: var(--fog); border-radius: 3px; margin-bottom: 20px; overflow: hidden; }
.as-bar span { display: block; height: 100%; background: var(--orange); }
.as-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 8px; }
.as-option { font: inherit; font-weight: 600; text-align: left; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); color: var(--navy); cursor: pointer; }
.as-option:hover { border-color: var(--orange); background: var(--tint); }
.as-option[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.as-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.as-skip, .as-back { font: inherit; font-size: 15px; background: none; border: 0; padding: 4px 0; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; cursor: pointer; }
.as-back { color: var(--slate); text-decoration-color: var(--rule); }
.as-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 16px; }
.as-results > div { background: var(--tint); border-radius: 6px; padding: 16px 18px; }
.as-results p { margin: 0; font-size: 15px; }
.as-area { font-size: 13px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate) !important; margin-bottom: 6px !important; }
.as-form { display: grid; gap: 14px; }
.as-field { display: grid; gap: 6px; }
.as-field label { font-size: 15px; font-weight: 600; }
.as-field input, .as-field textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #9AA4B2; border-radius: 4px; color: var(--navy); width: 100%; }
.as-field input:focus, .as-field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.as-check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.as-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.as-error { color: #B42318 !important; font-weight: 600; margin: 0; min-height: 1em; }
.as-error:empty { display: none; }
/* Audience choice: one per row */
.as-who { grid-template-columns: 1fr; }
@media (max-width: 560px) {
  .as-options, .as-results { grid-template-columns: 1fr; }
  .as-body { padding: 20px 18px 24px; }
  .as-head { padding: 12px 18px; }
}

/* Spam trap field, hidden from people */
.as-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.as-dialog .btn[disabled] { opacity: .7; cursor: default; }

/* Full-width item in the services list */
.service-list > .wide { grid-column: 1 / -1; }
.service-list dd a { font-weight: 600; white-space: nowrap; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.as-field select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #9AA4B2; border-radius: 4px; color: var(--navy); background: var(--white); width: 100%; }
.as-field select:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }

/* About: short bio with photo */
.bio { display: flex; gap: 20px; align-items: flex-start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.bio img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bio h3 { font-size: 19px; margin: 2px 0 6px; }
.bio p { font-size: 16px; color: var(--ink-2); margin: 0 0 8px; }
.bio p:last-child { margin-bottom: 0; }
.bio a { font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 480px) { .bio { flex-direction: column; } .bio img { width: 96px; height: 96px; } }
