:root {
  color-scheme: light;
  --page: #f6f0e8;
  --paper: #fffaf3;
  --surface: #eadfd2;
  --surface-strong: #dfcdbd;
  --ink: #2a211d;
  --muted: #6c5c53;
  --line: rgba(42, 33, 29, 0.17);
  --line-strong: rgba(42, 33, 29, 0.3);
  --ember: #b65336;
  --ember-hover: #8f3a27;
  --ember-on-dark: #e88969;
  --ember-text: #fffaf3;
  --night: #261e1a;
  --night-raised: #332822;
  --night-text: #fff6eb;
  --night-muted: #d4c3b6;
  --work: #19362d;
  --focus: #176b63;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --shell: 1280px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --radius: 0.25rem;
  --section: clamp(3.5rem, 4vw, 3.75rem);
  --shadow: 0 28px 80px rgba(52, 35, 27, 0.14);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #211a16;
  --paper: #2c231e;
  --surface: #392c25;
  --surface-strong: #4a342b;
  --ink: #fff6eb;
  --muted: #c7b7ab;
  --line: rgba(255, 241, 228, 0.14);
  --line-strong: rgba(255, 241, 228, 0.28);
  --ember: #e88969;
  --ember-hover: #f2a184;
  --ember-on-dark: #f2a184;
  --ember-text: #241813;
  --night: #14110f;
  --night-raised: #211a16;
  --night-text: #fff6eb;
  --night-muted: #c7b7ab;
  --work: #102922;
  --focus: #ffb492;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ember);
  color: var(--ember-text);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9.7vw, 8.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-decoration: none;
}

.wordmark span {
  color: var(--ember);
}

.masthead {
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.masthead__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  min-height: clamp(8.5rem, 11vw, 9.75rem);
  padding-block: 1.35rem 1.7rem;
}

.masthead__discipline {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.masthead__controls {
  display: flex;
  gap: 0.65rem;
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: 700 0.78rem/1 var(--sans);
  cursor: pointer;
}

.theme-toggle {
  font-size: 1.15rem;
}

.theme-toggle__sun,
:root[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle__sun {
  display: inline;
}

.theme-toggle__moon {
  display: inline;
}

.menu-toggle {
  display: none;
  min-width: 64px;
}

.masthead__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 64px;
  border-top: 1px solid var(--line);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.25rem);
}

.desktop-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav > a:not(.button):hover {
  color: var(--ember);
}

.mobile-nav {
  display: grid;
  padding-block: 0.75rem 1.25rem;
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav a:last-child {
  justify-content: center;
  margin-top: 0.75rem;
  border: 0;
  background: var(--ember);
  color: var(--ember-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--ember);
  border-radius: var(--radius);
  background: var(--ember);
  color: var(--ember-text);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--ember-hover);
  background: var(--ember-hover);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.84rem;
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--ember-hover);
  font-weight: 700;
  text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
  text-underline-offset: 0.28em;
}

.text-link:hover {
  color: var(--ember);
}

.kicker {
  margin: 0;
  color: var(--ember-hover);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker--light {
  color: var(--ember);
}

.hero {
  background:
    linear-gradient(90deg, var(--night) 0 63%, color-mix(in srgb, var(--night-raised) 82%, var(--night)) 63% 100%);
  color: var(--night-text);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(21rem, 0.6fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  min-height: 600px;
  padding-block: clamp(3.75rem, 5.5vw, 5.5rem);
}

.hero__copy {
  min-width: 0;
}

.hero h1 {
  max-width: 13ch;
  margin: 1.15rem 0 1.6rem;
  font-size: clamp(3.3rem, 6.2vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero__lede {
  max-width: 48ch;
  margin: 0;
  color: var(--night-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.6rem;
  align-items: center;
  margin-top: 1.75rem;
}

.hero__actions .button {
  min-height: 58px;
  padding-inline: 1.8rem;
  font-size: 1rem;
}

.hero__actions .text-link {
  color: var(--ember-on-dark);
}

.hero__actions .text-link:hover {
  color: var(--night-text);
}

.hero .kicker {
  color: var(--ember-on-dark);
}

.review-ticket {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.review-ticket::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 4px;
  background: var(--ember);
}

.review-ticket__label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.review-ticket__lead {
  margin: 1.1rem 0 1.2rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.review-ticket__deliverable {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.review-ticket > a {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.hero__reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 246, 235, 0.18);
}

.hero__reassurance p {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid rgba(255, 246, 235, 0.18);
}

.hero__reassurance p:first-child {
  padding-left: 0;
}

.hero__reassurance p:last-child {
  border-right: 0;
}

.hero__reassurance strong {
  font-size: 0.9rem;
}

.hero__reassurance span {
  color: var(--night-muted);
  font-size: 0.86rem;
}

.review-section {
  padding-block: var(--section);
  background: var(--surface);
  color: var(--ink);
}

.review-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 0.45fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
}

.review-section h2,
.work-section h2,
.founder-section h2,
.packages-section h2,
.process-section h2,
.faq-section h2,
.closing-section h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.65rem, 4.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.review-section__intro > p {
  max-width: 45ch;
  margin: 0;
  color: var(--muted);
}

.sample-review {
  display: grid;
  grid-template-columns: minmax(18rem, 0.62fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

.sample-review__frame {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  margin: 0;
}

.sample-review__screen {
  position: relative;
  min-height: 22rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 235, 0.2);
  background: var(--night);
  color: var(--night-text);
  box-shadow: var(--shadow);
}

.sample-review__badge,
.sample-review__time {
  position: relative;
  z-index: 2;
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sample-review__time {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  color: var(--night-muted);
  letter-spacing: 0.04em;
}

.sample-page {
  position: absolute;
  inset: 4.2rem 2.2rem 3.7rem;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff8ee;
  color: #2a211d;
  transform: rotate(-1.5deg);
}

.sample-page span {
  width: 3.5rem;
  height: 0.35rem;
  background: #b65336;
}

.sample-page strong {
  max-width: 12ch;
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.sample-page i {
  width: 85%;
  height: 0.45rem;
  background: #d7c9bc;
}

.sample-page i:last-child {
  width: 62%;
}

.sample-review__play {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ember);
  color: var(--ember-text);
  font-size: 1rem;
  transform: translate(-50%, -50%);
}

.sample-review__frame figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.sample-review__notes {
  display: grid;
  align-content: start;
}

.diagnostic {
  border-block: 1px solid var(--line-strong);
}

.diagnostic article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.diagnostic article:last-child {
  border-bottom: 0;
}

.diagnostic span {
  display: block;
  color: var(--ember-hover);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnostic strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.3;
}

.diagnostic__decision {
  padding-inline: 1rem;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}

.priority-summary {
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.25rem 1rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.priority-summary > p {
  margin: 0;
  color: var(--ember-hover);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-summary ol {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
}

.priority-summary li {
  padding-left: 0.25rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.work-section {
  padding-block: var(--section);
  background: var(--paper);
}

.work-section__heading,
.packages-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.42fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
}

.work-section__heading > p,
.packages-section__heading > p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
}

.work-stage {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 3.5vw, 3.25rem);
  background: var(--work);
}

.work-stage__inner {
  position: relative;
  min-height: 500px;
}

.work-stage figure {
  margin: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.work-stage__desktop {
  width: min(82%, 980px);
}

.work-stage__desktop img {
  width: 100%;
}

.work-stage__mobile {
  position: absolute;
  right: 1.5%;
  bottom: -1.25rem;
  width: min(25%, 250px);
  border: 0.65rem solid #191512;
  border-radius: 1.6rem;
  overflow: clip;
}

.work-note {
  position: absolute;
  top: 1.5rem;
  right: 0;
  width: min(31%, 350px);
  padding: 1.5rem;
  background: #fff8ee;
  color: #2a211d;
  box-shadow: var(--shadow);
}

.work-note__label {
  margin: 0 0 2.5rem;
  color: #a64c31;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-note p:last-child {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.work-section__footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.work-section__footer > p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-section__footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.founder-section {
  padding-block: var(--section);
  background: var(--surface);
}

.founder-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.65fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: center;
}

.signature-line {
  margin: 1.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 7.5vw, 7.2rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.signature-line em {
  color: var(--ember-hover);
  font-weight: 400;
}

.founder-section__copy h2 {
  font-size: clamp(2.5rem, 4vw, 4.35rem);
}

.founder-section__copy > p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.founder-section__copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

.founder-section__copy li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.6rem;
  font-size: 0.98rem;
}

.founder-section__copy li::before {
  content: "—";
  color: var(--ember);
}

.packages-section {
  padding-block: var(--section);
  background: var(--page);
}

.package-ledger {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-strong);
}

.package-ledger article {
  display: grid;
  grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.15fr) minmax(9rem, 0.42fr) minmax(10rem, 0.48fr);
  gap: 2rem;
  align-items: center;
  padding-block: 1.55rem;
  border-bottom: 1px solid var(--line);
}

.package-ledger article > div {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.package-ledger article > div > span {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.package-ledger h3 {
  margin: 0;
  font-size: 1.2rem;
}

.package-ledger article > p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.package-price {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.package-price span {
  font-size: 0.42em;
  letter-spacing: -0.02em;
}

.package-ledger article > a {
  justify-self: end;
  color: var(--ember-hover);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
  text-underline-offset: 0.25em;
}

.package-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.package-note strong {
  color: var(--ink);
}

.package-note span {
  font-weight: 600;
}

.package-scope {
  margin-top: 1.5rem;
  border-block: 1px solid var(--line-strong);
}

.package-scope > summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.package-scope > summary::-webkit-details-marker {
  display: none;
}

.package-scope > summary::after {
  content: "+";
  color: var(--ember);
  font-size: 1.4rem;
  font-weight: 400;
}

.package-scope[open] > summary::after {
  content: "–";
}

.package-scope__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.package-scope__intro {
  margin: 1.25rem 0 0.65rem;
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-scope__intro--terms {
  margin-top: 1.5rem;
}

.package-scope__grid article {
  padding: 1.4rem;
  background: var(--paper);
  border-top: 2px solid var(--ember);
}

.package-scope__grid h3 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.package-scope__grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.package-scope__grid li,
.package-scope__terms p {
  color: var(--muted);
  font-size: 0.94rem;
}

.package-scope__terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-block: 1.25rem 1.5rem;
}

.package-scope__terms p {
  margin: 0;
}

.package-scope__terms strong {
  color: var(--ink);
}

.process-section {
  padding-block: var(--section);
  background: var(--night-raised);
  color: var(--night-text);
}

.process-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(22rem, 0.8fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.process-section ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 246, 235, 0.16);
}

.process-section li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(255, 246, 235, 0.16);
}

.process-section li > span {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.process-section strong {
  display: block;
  font-size: 1.05rem;
}

.process-section li p {
  margin: 0.35rem 0 0;
  color: var(--night-muted);
  font-size: 0.96rem;
}

.faq-section {
  padding-block: var(--section);
  background: var(--paper);
}

.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(22rem, 0.78fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--ember);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  max-width: 58ch;
  margin: 0;
  padding: 0 2rem 1.25rem 0;
  color: var(--muted);
}

.closing-section {
  padding-block: clamp(3.5rem, 4.5vw, 4.5rem);
  background: var(--ember);
  color: #fff8ef;
}

.closing-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
}

.closing-section h2 {
  max-width: 17ch;
  color: #fff8ef;
}

.closing-section__actions {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 29rem;
}

.closing-section__reminder {
  margin: 0 0 0.25rem;
  color: #fff8ef;
  font-size: 0.96rem;
}

.button--light {
  border-color: #fff8ef;
  background: #fff8ef;
  color: #3b2118;
}

.button--light:hover {
  border-color: #f7ddca;
  background: #f7ddca;
}

.text-link--light {
  color: #fff8ef;
}

.text-link--light:hover {
  color: #fff8ef;
}

.site-footer {
  padding-block: clamp(3.5rem, 4.5vw, 4.5rem) 1.875rem;
  background: var(--night);
  color: var(--night-text);
}

.site-footer__brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.32fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(255, 246, 235, 0.17);
}

.wordmark--footer {
  color: var(--night-text);
  font-size: clamp(6rem, 16.5vw, 13rem);
}

.site-footer__brand > div {
  color: var(--night-muted);
  font-size: 0.94rem;
}

.site-footer__brand p {
  margin: 0;
}

.site-footer__brand p + p {
  margin-top: 0.8rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 0.65fr 1.25fr 0.9fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 1.5rem;
}

.site-footer__links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.site-footer__links strong {
  margin-bottom: 0.4rem;
  color: var(--night-text);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links a,
.site-footer__links span {
  color: var(--night-muted);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--ember);
}

/* Owner-review polish: keep masthead text on one crisp paint layer. The
   shared motion foundation transitions colour on generic buttons; that
   interpolation can leave a transient fringe during theme or hover changes.
   Masthead interaction remains visible through colour, border, background and
   position changes without animating the text colour itself. */
body.hws-homepage .masthead .desktop-nav > a,
body.hws-homepage .masthead .mobile-nav a,
body.hws-homepage .masthead .button {
  filter: none;
  text-shadow: none;
  transition-property: background-color, border-color, transform;
}

/* Align the oversized brand and the first line of its supporting copy from a
   shared top edge. Give the contact column enough width for the address to
   remain a single readable link at desktop sizes. */
body.hws-homepage .site-footer__brand {
  align-items: start;
}

body.hws-homepage .site-footer__brand > div {
  padding-top: 0.15rem;
}

body.hws-homepage .site-footer__links {
  grid-template-columns: 0.62fr 1.18fr 0.85fr 1.1fr;
}

@media (min-width: 821px) {
  body.hws-homepage .site-footer__links a[href^="mailto:"] {
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

@media (max-width: 820px) {
  body.hws-homepage .site-footer__links a[href^="mailto:"] {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 821px) and (max-width: 1300px) {
  .masthead__top {
    min-height: 8.25rem;
    padding-block: 1.2rem 1.4rem;
  }

  .wordmark {
    font-size: clamp(4.5rem, 9.7vw, 7.5rem);
  }

  .hero__grid {
    min-height: 600px;
    padding-block: 3rem;
  }

  .hero__actions {
    margin-top: 1.25rem;
  }
}

@media (max-width: 1040px) {
  .masthead__top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.62fr);
    gap: 3rem;
    min-height: 620px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
  }

  .work-stage__inner {
    min-height: 520px;
  }

  .package-ledger article {
    grid-template-columns: minmax(8rem, 0.5fr) minmax(0, 1fr) minmax(7.5rem, 0.35fr) minmax(8rem, 0.42fr);
    gap: 1.2rem;
  }
}

@media (max-width: 820px) {
  :root {
    --section: 4.25rem;
  }

  .masthead__top {
    min-height: 7rem;
    padding-block: 1.5rem;
  }

  .wordmark {
    font-size: clamp(3.7rem, 14vw, 5.7rem);
  }

  .masthead__nav-row {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    background: var(--night);
  }

  .hero__grid,
  .review-section__intro,
  .sample-review,
  .work-section__heading,
  .founder-section__grid,
  .packages-section__heading,
  .process-section__grid,
  .faq-section__grid,
  .closing-section__grid,
  .site-footer__brand {
    grid-template-columns: 1fr;
  }

  .package-scope__grid,
  .package-scope__terms {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: 0;
    gap: 3.5rem;
    padding-block: 4.5rem;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .review-ticket {
    max-width: 38rem;
  }

  .diagnostic {
    width: 100%;
  }

  .diagnostic article,
  .diagnostic article:first-child {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
  }

  .diagnostic article:last-child {
    border-bottom: 0;
  }

  .diagnostic span {
    margin-bottom: 0.75rem;
  }

  .diagnostic__decision {
    padding-inline: 1.2rem !important;
  }

  .sample-review__screen {
    min-height: 25rem;
  }

  .work-stage__inner {
    min-height: 660px;
  }

  .work-stage__desktop {
    width: 100%;
  }

  .work-stage__mobile {
    right: 0;
    bottom: 0;
    width: min(34%, 230px);
  }

  .work-note {
    top: auto;
    right: auto;
    bottom: 1rem;
    left: 0;
    width: min(60%, 380px);
  }

  .work-section__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .package-ledger article {
    grid-template-columns: minmax(8rem, 0.6fr) minmax(0, 1fr) minmax(8rem, 0.45fr);
  }

  .package-ledger article > a {
    grid-column: 2 / -1;
    justify-self: start;
    text-align: left;
  }

  .closing-section__actions {
    margin-top: 0.5rem;
  }

  .site-footer__brand {
    gap: 1.5rem;
  }

  body.hws-homepage .site-footer__brand > div {
    padding-top: 0;
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 1.4rem;
    --section: 3.75rem;
  }

  .masthead__top {
    gap: 1rem;
  }

  .wordmark {
    font-size: clamp(3.5rem, 17vw, 4.65rem);
  }

  .theme-toggle,
  .menu-toggle {
    min-height: 46px;
  }

  .theme-toggle {
    min-width: 46px;
  }

  .menu-toggle {
    min-width: 60px;
  }

  .hero__grid {
    gap: 2.75rem;
    padding-block: 3.25rem;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 12vw, 3.55rem);
    line-height: 0.96;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    align-self: flex-start;
  }

  .review-ticket {
    padding: 1.3rem;
  }

  .sample-review__screen {
    min-height: 21rem;
    padding: 1.15rem;
  }

  .sample-page {
    inset: 3.75rem 1.5rem 3.5rem;
    padding: 1.2rem;
  }

  .diagnostic article {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .priority-summary {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero__reassurance {
    grid-template-columns: 1fr;
  }

  .hero__reassurance p,
  .hero__reassurance p:first-child {
    padding: 0.85rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__reassurance p:last-child {
    border-bottom: 0;
  }

  .review-section h2,
  .work-section h2,
  .founder-section h2,
  .packages-section h2,
  .process-section h2,
  .faq-section h2,
  .closing-section h2 {
    font-size: clamp(2.35rem, 10vw, 3.15rem);
  }

  .work-stage {
    padding-block: 1.4rem 2rem;
  }

  .work-stage__inner {
    min-height: 630px;
  }

  .work-stage__desktop {
    display: none;
  }

  .work-stage__mobile {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(78%, 280px);
    margin-left: auto;
  }

  .work-note {
    bottom: 1rem;
    width: min(88%, 330px);
    padding: 1.2rem;
  }

  .work-note__label {
    margin-bottom: 1.5rem;
  }

  .signature-line {
    font-size: clamp(3.5rem, 16vw, 5.2rem);
  }

  .package-ledger article {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-block: 1.5rem;
  }

  .package-ledger article > a {
    grid-column: auto;
  }

  .package-price {
    margin-top: 0.5rem;
  }

  .closing-section__actions .button {
    width: 100%;
  }

  .wordmark--footer {
    font-size: clamp(5.7rem, 27vw, 8rem);
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }

  body.hws-homepage .site-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Production compatibility: the legacy shared theme intentionally uses
   high-specificity light/dark rules for older routes. Keep this homepage's
   authored dark hero and inset artifacts explicit without weakening those
   protections site-wide. */
html[data-theme] body.hws-homepage .hero {
  background:
    linear-gradient(90deg, var(--night) 0 63%, color-mix(in srgb, var(--night-raised) 82%, var(--night)) 63% 100%);
  color: var(--night-text);
}

html[data-theme] body.hws-homepage .hero h1,
html[data-theme] body.hws-homepage .hero__reassurance strong {
  color: var(--night-text) !important;
}

html[data-theme] body.hws-homepage .hero__lede,
html[data-theme] body.hws-homepage .hero__reassurance p,
html[data-theme] body.hws-homepage .hero__reassurance span {
  color: var(--night-muted) !important;
}

html[data-theme] body.hws-homepage .hero .kicker,
html[data-theme] body.hws-homepage .hero__actions .text-link {
  color: var(--ember-on-dark) !important;
}

html[data-theme] body.hws-homepage .review-ticket {
  background: var(--paper);
  color: var(--ink);
}

html[data-theme] body.hws-homepage .review-ticket__lead,
html[data-theme] body.hws-homepage .review-ticket > a {
  color: var(--ink) !important;
}

html[data-theme] body.hws-homepage .review-ticket__label,
html[data-theme] body.hws-homepage .review-ticket__deliverable {
  color: var(--muted) !important;
}

html[data-theme] body.hws-homepage .sample-review__screen,
html[data-theme] body.hws-homepage .sample-review__screen p {
  color: var(--night-text) !important;
}

html[data-theme] body.hws-homepage .sample-page,
html[data-theme] body.hws-homepage .sample-page strong,
html[data-theme] body.hws-homepage .work-note,
html[data-theme] body.hws-homepage .work-note p {
  color: #2a211d !important;
}

html[data-theme] body.hws-homepage .process-section h2,
html[data-theme] body.hws-homepage .process-section strong {
  color: var(--night-text) !important;
}

html[data-theme] body.hws-homepage .process-section p {
  color: var(--night-muted) !important;
}

html[data-theme] body.hws-homepage .closing-section h2,
html[data-theme] body.hws-homepage .closing-section p {
  color: #fff8ef !important;
}
