/* StudioLoop portfolio — one page, no build step, no external assets or trackers. */

:root {
  --bg: #f6f3ee;
  --bg-alt: #efeae2;
  --ink: #121212;
  --ink-soft: #2a2a2a;
  --line: #121212;
  --btn: #121212;
  --btn-text: #f6f3ee;
  --focus: #0b3d91;
  --max: 68rem;
  --text: 40rem;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--focus);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--ink);
  color: var(--btn-text);
  padding: 0.5rem 0.85rem;
}

.skip:focus {
  top: 0.75rem;
  color: var(--btn-text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.wordmark {
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:hover {
  color: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-right: auto;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
  color: var(--focus);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}

.btn-primary,
.btn-header {
  background: var(--btn);
  color: var(--btn-text);
}

.btn-primary:hover,
.btn-header:hover {
  background: var(--focus);
  border-color: var(--focus);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--focus);
  border-color: var(--focus);
}

.hero,
.section,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.hero {
  padding-top: 3.75rem;
  padding-bottom: 4rem;
  border-bottom: 2px solid var(--line);
}

.eyebrow {
  margin: 0 0 1rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-size: clamp(2.35rem, 7vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.lede,
.support,
.section p,
.trust li,
.audience p,
.offerings,
.pending,
.note,
.contact-email,
.site-footer p {
  max-width: var(--text);
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.28rem;
  color: var(--ink);
}

.support,
.note,
.pending,
.site-footer .privacy {
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.hero-secondary {
  margin: 0;
  font-size: 1.1rem;
}

.section {
  border-bottom: 1px solid var(--line);
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.section h2,
.cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.audience li {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--line);
  padding-top: 1rem;
}

.audience p {
  margin: 0;
}

.pending {
  margin: 1.25rem 0 0;
  font-size: 1.2rem;
  font-weight: 650;
}

.offerings {
  margin: 0;
  padding-left: 1.2rem;
}

.offerings li {
  margin: 0.45rem 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 2px solid var(--line);
}

.pricing {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.pricing th,
.pricing td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pricing thead th {
  background: var(--bg-alt);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing tbody th {
  font-weight: 650;
}

.pricing td:nth-child(2),
.pricing th:nth-child(2) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pricing tbody tr:last-child th,
.pricing tbody tr:last-child td {
  border-bottom: 0;
}

.pricing tr:target {
  background: var(--bg-alt);
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 2px solid var(--line);
  counter-increment: step;
}

.steps h3::before {
  content: counter(step) ". ";
}

.steps p {
  margin: 0;
}

.trust {
  margin: 0;
  padding-left: 1.2rem;
}

.trust li {
  margin: 0.7rem 0;
}

.cta {
  border-bottom: 2px solid var(--line);
}

.contact-email {
  margin: 1rem 0 0;
  font-weight: 650;
}

.site-footer {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
}

@media (min-width: 720px) {
  body {
    font-size: 1.2rem;
  }

  .audience,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .section,
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 560px) {
  .pricing thead {
    display: none;
  }

  .pricing,
  .pricing tbody,
  .pricing tr,
  .pricing th,
  .pricing td {
    display: block;
    width: 100%;
  }

  .pricing tr {
    padding: 0.85rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .pricing tbody tr:last-child {
    border-bottom: 0;
  }

  .pricing th,
  .pricing td {
    border: 0;
    padding: 0.15rem 0;
    text-align: left;
  }

  .pricing td:nth-child(2),
  .pricing th:nth-child(2) {
    text-align: left;
  }

  .pricing td:nth-child(2)::before {
    content: "Price: ";
    font-weight: 650;
  }

  .pricing td:nth-child(3)::before {
    content: "Turnaround: ";
    font-weight: 650;
  }

  .btn-header {
    width: 100%;
    text-align: center;
  }
}
