/* Weekend Tech website — built on tokens.css (brand guide §8–9) */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--wt-space-4); top: -100px; z-index: 100;
  background: var(--wt-royal); color: var(--wt-white);
  padding: var(--wt-space-3) var(--wt-space-4); border-radius: var(--wt-radius-sm);
}
.skip:focus { top: var(--wt-space-4); }

.container {
  width: 100%;
  max-width: calc(var(--wt-container) + 2 * 72px);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 72px; } }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 32px; height: 32px; }

.overline {
  font-size: var(--wt-fs-overline); line-height: 16px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--wt-slate);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 var(--wt-space-6);
  border: 2px solid transparent; border-radius: var(--wt-radius-sm);
  font: 600 var(--wt-fs-body)/1 var(--wt-font); text-decoration: none; cursor: pointer;
  transition: background-color var(--wt-dur-fast) var(--wt-ease),
              border-color var(--wt-dur-fast) var(--wt-ease),
              color var(--wt-dur-fast) var(--wt-ease);
}
.btn-sm { min-height: 44px; }
.btn-primary { background: var(--wt-royal); color: var(--wt-white); }
.btn-primary:hover { background: var(--wt-royal-dark); }
.btn-secondary { background: var(--wt-white); border-color: var(--wt-royal); color: var(--wt-royal); }
.btn-secondary:hover { background: var(--wt-royal-tint); }
.btn-accent { background: var(--wt-orange); color: var(--wt-navy); }
.btn-accent:hover { background: var(--wt-orange-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--wt-white); border-bottom: 1px solid var(--wt-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--wt-space-6); }
/* Clear space = height of the capital E on every side of the wordmark */
.brand { display: block; padding-block: var(--wt-space-4); }
.brand img { width: 168px; height: auto; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: var(--wt-radius-sm); color: var(--wt-navy); cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: var(--wt-space-8); }
.site-nav ul { display: flex; gap: var(--wt-space-6); }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--wt-navy); text-decoration: none; font-weight: 600;
  transition: color var(--wt-dur-fast) var(--wt-ease);
}
.site-nav ul a:hover { color: var(--wt-royal); }

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--wt-space-4);
    padding: var(--wt-space-4) 16px var(--wt-space-6);
    background: var(--wt-white); border-bottom: 1px solid var(--wt-border);
    box-shadow: var(--wt-shadow-float);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { width: 100%; min-height: 48px; }
  .site-nav .btn { width: 100%; }
}

/* Sections */
.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.section-tint { background: var(--wt-surface); border-block: 1px solid var(--wt-border); }

.section-head { max-width: var(--wt-measure); margin-bottom: var(--wt-space-12); }
.section-head p { margin-top: var(--wt-space-4); font-size: var(--wt-fs-body-lg); line-height: 1.67; color: var(--wt-slate); }

/* Hero */
.hero { padding-block: 48px 64px; }
@media (min-width: 1024px) { .hero { padding-block: 96px; } }
.hero-grid { display: grid; gap: var(--wt-space-12); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: var(--wt-space-16); } }

.display {
  margin-top: var(--wt-space-4);
  font-size: var(--wt-fs-display); font-weight: 800; line-height: 1.125; letter-spacing: -0.03em;
  color: var(--wt-navy);
}
/* The logo's signature: heavy word, then a light orange one (once per page) */
.display .light { font-weight: 300; color: var(--wt-orange); letter-spacing: -0.02em; }
.lead { margin-top: var(--wt-space-6); max-width: 34em; font-size: var(--wt-fs-body-lg); line-height: 1.67; color: var(--wt-slate); }
.actions { display: flex; flex-wrap: wrap; gap: var(--wt-space-3); margin-top: var(--wt-space-8); }

.hero-panel {
  position: relative; display: grid; grid-template-columns: 1fr 14%;
  min-height: 360px; overflow: hidden;
  background: var(--wt-royal); color: var(--wt-white); border-radius: var(--wt-radius-lg);
}
.facts { padding: var(--wt-space-8); display: flex; flex-direction: column; justify-content: center; }
.facts > div + div { margin-top: var(--wt-space-6); padding-top: var(--wt-space-6); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.facts dt { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.facts dd { margin-top: var(--wt-space-2); font-size: var(--wt-fs-body); color: var(--wt-royal-tint); }

/* The orange band: one per page, right edge, label reads bottom to top */
.band { background: var(--wt-orange); display: flex; align-items: center; justify-content: center; min-width: 56px; }
.band span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); font-weight: 300; letter-spacing: -0.01em;
  color: var(--wt-navy); white-space: nowrap;
}

/* Offers */
.offers { display: grid; gap: var(--wt-space-6); }
@media (min-width: 1024px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer {
  display: flex; flex-direction: column;
  padding: var(--wt-space-8); background: var(--wt-white);
  border: 1px solid var(--wt-border); border-radius: var(--wt-radius-md);
}
.offer .icon { color: var(--wt-royal); }
.offer h3 { margin-top: var(--wt-space-6); font-size: var(--wt-fs-h3); }
.offer-meta { margin-top: var(--wt-space-1); font-size: var(--wt-fs-small); font-weight: 600; color: var(--wt-royal); }
.offer > p:not(.offer-meta) { margin-top: var(--wt-space-4); color: var(--wt-slate); }
.ticks { margin-top: var(--wt-space-6); padding-top: var(--wt-space-6); border-top: 1px solid var(--wt-border); display: grid; gap: var(--wt-space-3); }
.ticks li { position: relative; padding-left: var(--wt-space-8); font-size: var(--wt-fs-small); line-height: 22px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px;
  border-left: 2px solid var(--wt-royal); border-bottom: 2px solid var(--wt-royal);
  transform: rotate(-45deg);
}

/* Capabilities */
.build-grid { display: grid; gap: var(--wt-space-8); }
@media (min-width: 1024px) {
  .build-grid { grid-template-columns: 5fr 7fr; gap: var(--wt-space-16); align-items: start; }
  .build-grid .section-head { margin-bottom: 0; position: sticky; top: 120px; }
}
.capabilities { display: grid; gap: var(--wt-space-8); }
@media (min-width: 640px) { .capabilities { grid-template-columns: 1fr 1fr; } }
.capabilities li { display: flex; gap: var(--wt-space-4); }
.capabilities .icon {
  width: 48px; height: 48px; padding: 12px; box-sizing: border-box;
  color: var(--wt-royal); background: var(--wt-royal-tint); border-radius: var(--wt-radius-sm);
}
.capabilities h3 { font-size: var(--wt-fs-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.36; }
.capabilities p { margin-top: var(--wt-space-2); color: var(--wt-slate); }

/* Process — a real sequence, so it is numbered */
.steps { display: grid; gap: var(--wt-space-8); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--wt-space-6); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--wt-space-6); border-top: 2px solid var(--wt-royal); }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-right: var(--wt-space-3);
  font-weight: 700; color: var(--wt-royal); background: var(--wt-royal-tint); border-radius: var(--wt-radius-pill);
}

.steps h3 { margin-top: var(--wt-space-4); font-size: var(--wt-fs-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.36; }
.steps p { margin-top: var(--wt-space-2); color: var(--wt-slate); }

/* About */
.about-grid { display: grid; gap: var(--wt-space-12); }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--wt-space-16); } }
.about-copy { max-width: var(--wt-measure); }
.about-copy p { margin-top: var(--wt-space-4); font-size: var(--wt-fs-body-lg); line-height: 1.67; color: var(--wt-slate); }
.about-copy h2 + p { margin-top: var(--wt-space-6); }
.about-facts { display: grid; gap: var(--wt-space-8); }
.fact-block h3 { font-size: var(--wt-fs-body); font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: var(--wt-space-2); margin-top: var(--wt-space-3); }
.tags li {
  padding: var(--wt-space-1) var(--wt-space-3); border-radius: var(--wt-radius-pill);
  background: var(--wt-royal-tint); color: var(--wt-royal); font-size: var(--wt-fs-small); font-weight: 600;
}
.callout {
  padding: var(--wt-space-6); background: var(--wt-orange-tint);
  border-left: 6px solid var(--wt-orange); border-radius: 0 var(--wt-radius-md) var(--wt-radius-md) 0;
}
.callout strong { font-weight: 700; }

/* Contact */
.contact-grid { display: grid; gap: var(--wt-space-12); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--wt-space-16); } }
.contact-copy p { margin-top: var(--wt-space-4); font-size: var(--wt-fs-body-lg); line-height: 1.67; color: var(--wt-slate); }
.contact-copy .contact-direct { font-size: var(--wt-fs-body); color: var(--wt-navy); }

.contact-form {
  display: grid; gap: var(--wt-space-6);
  padding: var(--wt-space-8); border: 1px solid var(--wt-border); border-radius: var(--wt-radius-md);
}
@media (max-width: 639px) { .contact-form { padding: var(--wt-space-6) var(--wt-space-4); } }
.field { display: grid; gap: var(--wt-space-2); }
.field label { font-weight: 600; font-size: var(--wt-fs-small); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: var(--wt-space-3) var(--wt-space-4);
  font: 400 var(--wt-fs-body)/1.5 var(--wt-font); color: var(--wt-navy); background: var(--wt-white);
  border: 2px solid var(--wt-border-strong); border-radius: var(--wt-radius-sm);
  transition: border-color var(--wt-dur-fast) var(--wt-ease), box-shadow var(--wt-dur-fast) var(--wt-ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wt-royal); box-shadow: 0 0 0 4px var(--wt-royal-ring);
}
.field [aria-invalid="true"] { border-color: var(--wt-error); }
.error { font-size: var(--wt-fs-small); color: var(--wt-error-text); }
.contact-form .btn { justify-self: start; }
@media (max-width: 639px) { .contact-form .btn { justify-self: stretch; } }
.form-note:empty { display: none; }
.form-note { font-size: var(--wt-fs-small); color: var(--wt-slate); }
.form-note.is-error { color: var(--wt-error-text); }
.form-sent { padding: var(--wt-space-8); border: 1px solid var(--wt-border); border-radius: var(--wt-radius-md); }
.form-sent h3 { font-size: var(--wt-fs-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.36; }
.form-sent p { margin-top: var(--wt-space-2); color: var(--wt-slate); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Footer */
.site-footer { background: var(--wt-navy); color: var(--wt-white); padding-block: var(--wt-space-12); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--wt-space-6); }
.footer-inner img { width: 168px; height: auto; }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: var(--wt-space-2) var(--wt-space-6); }
.site-footer a { color: var(--wt-white); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer a:hover { color: var(--wt-orange-soft); }
.site-footer :focus-visible { outline-color: var(--wt-orange-soft); }
.legal { width: 100%; font-size: var(--wt-fs-small); color: #CBD5E1; padding-top: var(--wt-space-6); border-top: 1px solid rgba(255, 255, 255, 0.12); }
