@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #F6F6F2;
  --ink: #17202E;
  --muted: #4E5866;
  --sign: #0F5E45;
  --sign-deep: #0A4734;
  --lane: #F2C230;
  --rule: #D9DBD3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lane); outline-offset: 3px; border-radius: 4px; }

.top, main, .foot { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: .01em; }
.mark svg { width: 2.1rem; height: 2.1rem; }
.top-cta { font-weight: 600; font-size: 1rem; text-decoration: none; border-bottom: 2px solid var(--sign); padding-bottom: 2px; }
.top-cta:hover { color: var(--sign); }

/* The one loud element: a highway guide sign. */
.sign { position: relative; margin-top: .5rem; background: var(--sign); color: #fff; border-radius: 22px; padding: 10px; }
.sign-inner { border: 3px solid #fff; border-radius: 14px; padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 7vw, 5rem); }
.sign-route { margin: 0 0 1.25rem; font-size: 1rem; font-weight: 600; opacity: .88; }
.sign h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 10vw, 7.5rem); line-height: .92; letter-spacing: -.005em; max-width: 11ch; }
.sign-sub { margin: 1.5rem 0 2rem; font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 34ch; }
.sign-cta { display: inline-block; background: #fff; color: var(--sign-deep); font-weight: 600; text-decoration: none; padding: .85rem 1.4rem; border-radius: 10px; }
.sign-cta:hover { background: var(--lane); color: var(--ink); }
.sign-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sign-alt { display: inline-block; background: var(--lane); color: var(--ink); font-weight: 600; text-decoration: none; padding: .85rem 1.4rem; border-radius: 10px; }
.sign-alt:hover { background: #fff; color: var(--sign-deep); }
.tryit { padding-top: 4.5rem; }
.tryit h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1; margin: 0 0 .75rem; }
.tryit > p { color: var(--muted); max-width: 62ch; }
.try { margin-top: 2rem; color: var(--muted); }
.try a { color: var(--sign); font-weight: 600; text-underline-offset: 3px; }

/* Lane line that doubles as a stitch: drawn once on load. */
.lane { display: block; position: absolute; left: 10px; right: 10px; bottom: -26px; width: calc(100% - 20px); height: 12px; overflow: visible; }
.lane line { stroke: var(--lane); stroke-width: 6; stroke-dasharray: 34 22; stroke-linecap: butt; }
@media (prefers-reduced-motion: no-preference) {
  .lane line { stroke-dashoffset: 1200; animation: lay 1.6s cubic-bezier(.2,.7,.2,1) .25s both; clip-path: inset(0 100% 0 0); }
  @keyframes lay { to { stroke-dashoffset: 0; clip-path: inset(0 0 0 0); } }
}

.block { padding: 4.5rem 0 0; }
.block h2, .contact h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1; margin: 0 0 1.75rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .35rem; }
p { margin: 0; }

.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 2.5rem; }
.items li { border-top: 3px solid var(--ink); padding-top: 1rem; }
.items p { color: var(--muted); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.25rem; padding: 1.4rem 0; border-top: 2px dashed var(--rule); }
.steps li:last-child { border-bottom: 2px dashed var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: .9; color: var(--sign); }
.steps p { color: var(--muted); max-width: 62ch; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.split p { max-width: 52ch; }
.fine ul { margin: 0; padding-left: 1.1rem; }
.fine li { margin-bottom: .55rem; }
.fine li::marker { color: var(--sign); }

.contact { margin: 5rem 0 0; padding: 3rem 0 3.5rem; border-top: 3px solid var(--ink); }
.contact p { color: var(--muted); margin-bottom: 1.25rem; }
.contact-mail { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 5.5vw, 3.4rem); color: var(--sign); text-decoration-thickness: 3px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--sign-deep); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--muted); }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps li { grid-template-columns: 3rem 1fr; }
  .steps li::before { font-size: 2.3rem; }
  .top-cta { display: none; }
}

/* Logo preview tool */
.tool { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 2.5rem; margin-top: 2rem; align-items: start; }
  .stage { background: #fff; border: 2px solid var(--rule); border-radius: 18px; padding: 1rem; position: sticky; top: 1rem; }
  .stage svg { display: block; width: 100%; height: auto; touch-action: none; }
  .stage-note { margin: .75rem .25rem 0; font-size: .95rem; color: var(--muted); }
  .controls { display: grid; gap: 1.75rem; }
  .controls fieldset { border: 0; margin: 0; padding: 0; }
  .controls legend, .controls label.lbl { font-weight: 600; margin-bottom: .6rem; display: block; padding: 0; }
  .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
  .chips input { position: absolute; opacity: 0; pointer-events: none; }
  .chips label { cursor: pointer; border: 2px solid var(--ink); border-radius: 999px; padding: .4rem .95rem; font-size: 1rem; background: #fff; }
  .chips input:checked + label { background: var(--ink); color: #fff; }
  .chips input:focus-visible + label { outline: 3px solid var(--lane); outline-offset: 2px; }
  .swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
  .swatches input { position: absolute; opacity: 0; pointer-events: none; }
  .swatches label { width: 2.4rem; height: 2.4rem; border-radius: 50%; cursor: pointer; border: 2px solid rgba(0,0,0,.25); box-shadow: inset 0 0 0 3px #fff; }
  .swatches input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--lane); }
  .swatches input:focus-visible + label { outline: 3px solid var(--lane); outline-offset: 3px; }
  .file { display: block; width: 100%; border: 2px dashed var(--sign); border-radius: 12px; padding: 1rem; background: #fff; font: inherit; font-size: 1rem; }
  .hint { font-size: .95rem; color: var(--muted); margin-top: .45rem; }
  input[type=range] { width: 100%; accent-color: var(--sign); }
  .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
  .btn { font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; border-radius: 10px; padding: .8rem 1.2rem; border: 2px solid var(--sign); background: var(--sign); color: #fff; text-decoration: none; display: inline-block; }
  .btn.ghost { background: transparent; color: var(--sign); }
  .btn:hover { background: var(--sign-deep); border-color: var(--sign-deep); color: #fff; }
  .back { display: inline-block; margin-top: .5rem; font-weight: 600; }
  .intro h1 { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .95; margin: 1.5rem 0 1rem; }
  .intro p { max-width: 60ch; color: var(--muted); }
  @media (max-width: 820px) { .tool { grid-template-columns: 1fr; } .stage { position: static; } }
.check { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: 1rem; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--sign); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stage { background: linear-gradient(180deg, #ffffff 0%, #eeeee9 100%); }
.sign { display: block; }
.sign-shirt { position: absolute; right: clamp(1.5rem, 5vw, 4rem); top: 50%; transform: translateY(-50%) rotate(-4deg); width: min(36%, 380px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.28)); transition: transform .25s ease; }
.sign-shirt img { width: 100%; height: auto; display: block; }
.sign-shirt:hover { transform: translateY(-50%) rotate(-1deg) scale(1.02); }
@media (max-width: 900px) { .sign-shirt { display: none; } }
@media (prefers-reduced-motion: reduce) { .sign-shirt { transition: none; } }
