/* Short Work Co. site. Direction: Dusk (warm, technically precise), 2026-09-24. See docs/design-contract.md. */
/* Self-hosted, latin subset. SIL Open Font License 1.1: see fonts/OFL-*.txt */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/BricolageGrotesque-normal.woff2') format('woff2'); }

:root {
  /* Dusk: taken from the sky behind Mike's portrait */
  --sky: #cbd7e4;
  --peach: #efd9cd;
  --blush: #e2c3bd;
  --mist: #f5f7fa;          /* page surface: cool, not cream */
  --white: #ffffff;
  --ink: #1b2540;           /* navy text */
  --ink-soft: #4a5570;
  --night: #141c33;         /* deep band */
  --night-text: #eef0f6;
  --night-soft: #b7c0d6;
  --coral: #b84a30;         /* text/buttons: 5.2:1 on white */
  --coral-light: #ef9377;   /* on night: decoration and accents */
  --rule: #d9dee8;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --measure: 36rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-soft) var(--mist); }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.6;
  caret-color: var(--coral);
  accent-color: var(--coral);
  font-variant-numeric: tabular-nums;
  font-variation-settings: 'opsz' 14;
}
::selection { background: var(--peach); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 80rem; margin: 0 auto; }
.masthead, .hero, .start, .method, .discovery, .about, .faq, .invite, .footer, .prose { padding-inline: 20px; }
@media (min-width: 40rem) { :root { --space: 96px; } }
@media (min-width: 72rem) { :root { --space: 128px; } }
@media (min-width: 40rem) { .masthead, .hero, .start, .method, .discovery, .about, .faq, .invite, .footer, .prose { padding-inline: 32px; } }
@media (min-width: 72rem) { .masthead, .hero, .start, .method, .discovery, .about, .faq, .invite, .footer, .prose { padding-inline: 48px; } }
.prose { margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.preview-note { margin: 0; padding: .45rem var(--gutter); background: var(--night); color: var(--night-text); font-size: .8125rem; text-align: center; }

/* Masthead and lockup */
.masthead { background: var(--sky); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.lockup { text-decoration: none; display: flex; align-items: center; gap: .9rem; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'opsz' 96; }
.wordmark--small { font-size: 1.15rem; }
.lockup__meta { display: grid; gap: .1rem; line-height: 1.25; }
.lockup__person { font-weight: 600; font-size: .95rem; }
.lockup__descriptor { font-size: .8125rem; color: var(--ink-soft); }
.masthead__cta { font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--ink); }
.masthead__cta:hover { background: var(--ink); color: var(--white); }

/* Buttons */
.button {
  display: inline-block; background: var(--ink); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 1.0625rem; padding: 1rem 1.6rem; border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(20, 28, 51, .55);
  transition: background-color .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out;
}
.button:hover { background: var(--coral); box-shadow: 0 10px 24px -10px rgba(184, 74, 48, .6); transform: translateY(-1px); }

/* Hero: the portrait's own dusk carries into the page */
.hero { background: linear-gradient(180deg, var(--sky) 0%, #dcd9dc 38%, var(--peach) 72%, var(--blush) 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.hero__text { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); max-width: 34rem; align-self: start; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); font-variation-settings: 'opsz' 96; }
.lede { font-size: 1.2em; line-height: 1.5; }
.hero__actions { margin-top: 2rem; margin-bottom: 1rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta span::before { content: ''; width: 14px; height: 3px; border-radius: 2px; background: var(--coral); }
.hero__photo { margin: 0 -20px 0 0; align-self: end; display: flex; justify-content: flex-end; }
.hero__photo img { display: block; width: 100%; max-width: 56rem; height: auto; margin-top: 1.5rem; }
@media (min-width: 40rem) { .hero__photo { margin-right: -32px; } }
@media (min-width: 72rem) { .hero__photo { margin-right: -48px; } }

h2 { font-size: clamp(2rem, 4vw, 3.1rem); }

/* Where I usually start */
.start { padding-block: var(--space); background: var(--white); }
.start__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
.start h2 { grid-column: 1 / span 4; }
.start__body { grid-column: 5 / span 7; max-width: var(--measure); }
.examples { list-style: none; padding: 0; margin: 1.75rem 0 2rem; }
.examples li { position: relative; padding: 1rem 0 1rem 2.5rem; border-top: 1px solid var(--rule); }
.examples li:last-child { border-bottom: 1px solid var(--rule); }
.examples li::before { content: ''; position: absolute; left: 0; top: 1.85rem; width: 1.4rem; height: 3px; border-radius: 2px; background: var(--coral); }
.idiom { grid-column: 3 / span 9; margin: clamp(3rem, 7vw, 5rem) 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; letter-spacing: -0.02em; }

/* Method: a precise system diagram on a deep band */
.method { background: var(--night); color: var(--night-text); padding-block: var(--space); }
.method h2 { max-width: 40rem; margin-bottom: 2.5rem; color: var(--white); }
.motif { margin: 0 0 3.5rem; max-width: 64rem; }
.motif__svg { display: block; width: 100%; height: auto; overflow: visible; }
.motif__svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.motif__tangle { stroke: var(--night-soft); stroke-width: 2.25; opacity: .45; }
.motif__straight { stroke: var(--coral-light); stroke-width: 7; }
.motif__morph { display: none; stroke: var(--coral-light); stroke-width: 3.5; }
.motif.is-enhanced .motif__morph { display: inline; }
.motif.is-enhanced .motif__straight { opacity: 0; transition: opacity .4s ease-out; }
.motif.is-enhanced.is-done .motif__straight { opacity: 1; }
.motif.is-enhanced.is-done .motif__morph { display: none; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; position: relative; }
.steps::before { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--coral-light), rgba(183, 192, 214, .35)); }
.steps li { position: relative; padding-top: 2rem; }
.steps li::before { content: ''; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--night); border: 2px solid var(--coral-light); }
.steps h3 { font-size: 1.45rem; margin-bottom: .6rem; color: var(--white); }
.steps p { color: var(--night-soft); font-size: 1rem; line-height: 1.65; }
.method__promise { margin: 3rem 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 1.75rem); max-width: 40rem; line-height: 1.3; color: var(--peach); }

/* Discovery */
.discovery { padding-block: var(--space); }
.discovery__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: start; }
.discovery__text { grid-column: 1 / span 5; }
.discovery__text h2 { margin-bottom: 1.5rem; }
.strong { font-weight: 600; }
.note { grid-column: 7 / span 6; background: var(--white); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 28, 51, .06), 0 16px 36px -18px rgba(20, 28, 51, .28); overflow: hidden; }
.note__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1.1rem 1.5rem; background: linear-gradient(90deg, var(--sky), var(--peach)); }
.note__head h3 { font-size: 1.25rem; }
.note__label { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--coral); background: var(--white); border-radius: 999px; padding: .25rem .7rem; }
.note__fields { margin: 0; padding: .5rem 1.5rem 1.25rem; }
.note__fields > div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.note__fields > div:last-child { border-bottom: 0; }
.note__fields dt { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.note__fields dd { margin: .3rem 0 0; font-size: 1rem; }
.tag { font-size: .75rem; font-weight: 600; color: var(--ink-soft); background: var(--mist); border-radius: 999px; padding: .15rem .5rem; margin-left: .25rem; white-space: nowrap; }

/* About */
.about { padding-block: var(--space); background: var(--white); }
.about__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
.about h2 { grid-column: 1 / span 5; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
.about__body { grid-column: 6 / span 6; max-width: var(--measure); }
.about__name-note { color: var(--ink-soft); font-size: .975rem; margin-top: 2rem; }

/* FAQ */
.faq { padding-block: var(--space); }
.faq__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
.faq h2 { grid-column: 1 / span 4; }
.faq__list { grid-column: 5 / span 8; }
details { border-top: 1px solid var(--rule); }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 0; position: relative; font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ''; position: absolute; right: .5rem; top: 50%; width: 14px; height: 2px; border-radius: 1px; background: var(--coral); transition: transform .2s ease-out; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
details p { max-width: var(--measure); color: var(--ink-soft); padding-bottom: .75rem; }

/* Invitation */
.invite { background: linear-gradient(180deg, var(--blush) 0%, var(--peach) 45%, var(--sky) 100%); padding-block: var(--space); }
.invite__inner { max-width: 50rem; }
.invite h2 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.invite p { max-width: var(--measure); font-size: 1.15em; }
.invite__alt { font-size: 1rem !important; }

.placeholder { background: var(--peach); padding: 0 .3rem; border-radius: 3px; font-size: .92em; }

.footer { padding-block: 2rem; font-size: .9rem; color: var(--ink-soft); background: var(--sky); }
.footer__inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; }
.footer .wordmark { color: var(--ink); }

/* Tablet */
@media (max-width: 64rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .steps::before { display: none; }
}

/* Phone */
@media (max-width: 44rem) {
  .lockup { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .wordmark { font-size: 1.45rem; }
  .masthead__inner { align-items: flex-start; }
  .masthead__cta { font-size: .8125rem; padding: .45rem .8rem; }
  .hero__inner, .start__inner, .discovery__inner, .about__inner, .faq__inner { display: block; }
  .hero__text { padding-bottom: 1.5rem; }
  .hero__actions .button { display: block; text-align: center; }
  .hero__photo { margin: 0; justify-content: center; }
  .hero__photo img { max-width: 20rem; margin: 0 auto; }
  .start h2, .faq h2, .about h2 { margin-bottom: 1.25rem; }
  .idiom { margin-top: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .discovery__text { margin-bottom: 2.5rem; }
  .invite .button { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .button:hover { transform: none; }
}

/* Privacy page */
.prose { max-width: 50rem; padding-block: clamp(3rem, 8vw, 5.5rem) var(--space); }
.prose h1 { font-size: clamp(2.4rem, 6vw, 3.75rem); margin-bottom: .75rem; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.prose__meta { color: var(--ink-soft); font-size: .95rem; margin-bottom: 2rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
