/* Revelation Lab
   Design tokens and layout translated from the Claude Design source
   "Deskwork Site.dc.html". Values are 1:1 with the design. */

:root {
  /* neutrals */
  --bg:            oklch(0.985 0 0);
  --surface:       oklch(0.955 0.003 250);
  --surface-alt:   oklch(0.965 0.002 250);
  --surface-soft:  oklch(0.975 0.002 250);
  --ink:           oklch(0.21 0.008 250);
  --body:          oklch(0.35 0.008 250);
  --body-soft:     oklch(0.32 0.008 250);
  --mute:          oklch(0.455 0.008 250);
  --rule:          oklch(0.885 0.004 250);
  --rule-strong:   oklch(0.855 0.005 250);
  --border:        oklch(0.80 0.006 250);

  /* accent */
  --accent:        oklch(0.49 0.17 33);
  --accent-deep:   oklch(0.38 0.14 33);
  --accent-bright: oklch(0.57 0.19 33);
  --accent-lift:   oklch(0.64 0.18 33);
  --accent-dim:    oklch(0.72 0.16 33);

  /* dark booking band */
  --dark:          oklch(0.20 0.01 250);
  --dark-lift:     oklch(0.26 0.01 250);
  --on-dark:       oklch(0.95 0.004 250);
  --on-dark-max:   oklch(0.97 0 0);
  --on-dark-soft:  oklch(0.76 0.006 250);
  --on-dark-mute:  oklch(0.68 0.006 250);
  --on-dark-faint: oklch(0.62 0.006 250);
  --dark-rule:     oklch(0.34 0.01 250);
  --dark-field:    oklch(0.40 0.01 250);
  --dark-edge:     oklch(0.52 0.01 250);

  --sans: Archivo, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --band-y: clamp(72px, 9vw, 132px);
  --band-y-tall: clamp(72px, 9vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: oklch(0.57 0.19 33 / 0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

@keyframes dw-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
}

/* ---------- shared ---------- */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
  width: 100%;
}

.band { border-top: 1px solid var(--rule); }
.band--tint { background: var(--surface); }
.band > .shell { padding-top: var(--band-y); padding-bottom: var(--band-y); }
.band--tall > .shell { padding-top: var(--band-y-tall); padding-bottom: var(--band-y-tall); }

.anchor { scroll-margin-top: 80px; }

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.h2--m20 { max-width: 20ch; }
.h2--m16 { max-width: 16ch; }

.rise {
  animation: dw-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.rise--onscroll {
  animation-timeline: view();
  animation-range: entry 2% cover 20%;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 3px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 220ms var(--ease), border-color 220ms var(--ease),
              transform 220ms var(--ease), color 220ms var(--ease);
}

.btn--sm { font-size: 15px; padding: 9px 16px; }

.btn--dark { background: var(--ink); color: var(--on-dark-max); }
.btn--dark:hover,
.btn--dark:focus-visible { background: var(--accent); color: var(--on-dark-max); }
.btn--dark:active { transform: translateY(1px); }

.btn--outline {
  border: 1px solid var(--border);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.btn--accent { background: var(--accent-bright); color: oklch(0.99 0 0); }
.btn--accent:hover,
.btn--accent:focus-visible { background: var(--accent-lift); color: oklch(0.99 0 0); }

.btn--ghost-dark {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 15px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--dark-edge);
  color: var(--on-dark);
}
.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible {
  border-color: var(--on-dark);
  background: var(--dark-lift);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.site-header .shell {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand:hover { color: var(--ink); }

.brand__dot {
  width: 5px;
  height: 5px;
  background: var(--accent-bright);
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 15px;
}

.nav-links a { color: var(--body-soft); text-decoration: none; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; }

/* The design swaps the link list out below 760px and leaves only the
   booking button. Done here in CSS so there is no first-paint flash. */
@media (max-width: 759px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */

.hero > .shell {
  padding-top: clamp(64px, 11vw, 148px);
  padding-bottom: clamp(56px, 8vw, 112px);
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
  max-width: 17ch;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  align-items: flex-end;
  margin-top: clamp(28px, 4vw, 52px);
}

.hero__lead { flex: 1 1 380px; max-width: 56ch; }

.hero__sub {
  font-size: clamp(1.09rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 38px);
}

.hero__mantra {
  flex: 0 1 300px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mute);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

/* ---------- signals ---------- */

.signals {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule-strong);
}

.signals li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(24px, 4vw, 64px);
  align-items: baseline;
  justify-content: space-between;
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--rule);
}

.signal__text {
  flex: 1 1 420px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-note {
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* ---------- method ---------- */

.steps {
  margin-top: clamp(44px, 5vw, 72px);
  display: flex;
  flex-direction: column;
}

.step {
  padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }

.step__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 80px);
}

.step__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-bright);
  flex: 0 0 auto;
  min-width: 44px;
  padding-top: 6px;
}

.step__title {
  flex: 1 1 260px;
  max-width: 16ch;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.step__body {
  flex: 1 1 340px;
  max-width: 52ch;
  color: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.09rem);
  text-wrap: pretty;
}

/* ---------- sprint ---------- */

.sprint > .shell {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 6vw, 96px);
}

.sprint__lead { flex: 1 1 420px; max-width: 34ch; }

.sprint__copy {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

.sprint__price {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink);
}
.sprint__price strong { font-weight: 600; }

.sprint__cta { margin-top: 26px; }

.sprint__list { flex: 1 1 320px; max-width: 46ch; align-self: center; }

.sprint__row {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.sprint__row dt {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mute);
  flex: 0 0 26px;
}
.sprint__row dd { font-size: 1.02rem; }

/* ---------- work ---------- */

.work__head {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  align-items: baseline;
  justify-content: space-between;
}
.work__head .h2 { flex: 1 1 480px; max-width: 20ch; }

.work__body {
  margin-top: clamp(36px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 72px);
}

.work__prose { flex: 1 1 380px; max-width: 60ch; }

.work__prose p {
  font-size: clamp(1.05rem, 1.25vw, 1.16rem);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.work__prose p + p { margin-top: 18px; }

.work__facts {
  flex: 1 1 320px;
  align-self: flex-start;
  border-top: 1px solid var(--rule-strong);
}

.fact {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.fact__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
  flex: 0 0 84px;
}
.fact__label--accent { color: var(--accent-bright); }

.fact__value { font-size: 1rem; }

.plates {
  margin-top: clamp(36px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.plates figure { margin: 0; }

.plate {
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--border);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 3px;
  box-sizing: border-box;
}

.plate span {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mute);
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.quote {
  margin: clamp(40px, 5vw, 72px) 0 0;
  max-width: 42ch;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.quote p {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote footer {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mute);
}

/* ---------- about ---------- */

.about > .shell {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
}

.about__portrait { flex: 1 1 260px; max-width: 340px; }

.about__portrait .plate {
  aspect-ratio: 4 / 5;
  background: var(--surface-soft);
}

.about__copy { flex: 1 1 460px; max-width: 62ch; }

.about__copy .h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
  max-width: 22ch;
}

.about__copy p {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.about__copy .h2 + p { margin-top: 24px; }

/* ---------- booking ---------- */

.book {
  scroll-margin-top: 64px;
  background: var(--dark);
  color: var(--on-dark);
}

.book > .shell {
  padding-top: var(--band-y);
  padding-bottom: var(--band-y);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 96px);
}

.book__lead { flex: 1 1 380px; max-width: 30ch; }
.book__lead .h2 { color: var(--on-dark-max); }

.book__copy {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 44ch;
  text-wrap: pretty;
}

.book__cta { margin-top: 28px; }

.book__hint {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--on-dark-faint);
}

.book__aside { flex: 1 1 380px; max-width: 46ch; }

.book :focus-visible { outline-color: var(--accent-dim); }

/* pre-call form */

.precall {
  border-top: 1px solid var(--dark-rule);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.precall__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--on-dark-mute);
}

.precall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--on-dark-soft);
}

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dark-field);
  padding: 8px 0;
  color: var(--on-dark-max);
  font-size: 16px;
  border-radius: 0;
  transition: border-color 200ms;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-dim);
  outline: none;
}

.field select option { color: oklch(0.2 0 0); }

.precall__sent {
  border-top: 1px solid var(--dark-rule);
  padding-top: 24px;
  font-size: 1.08rem;
  color: oklch(0.90 0.004 250);
}

[hidden] { display: none !important; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--rule); }

.site-footer .shell {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  color: var(--mute);
}

.site-footer__brand { font-weight: 600; color: var(--ink); }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }

.site-footer a { color: var(--mute); text-decoration: none; }
.site-footer a:hover { color: var(--mute); text-decoration: underline; }
