/* Fast Ink — Stitched & Patched
   Brand thread colors (logo blue, header blue, orange, navy) sewn onto cotton twill.
   Everything that holds content is a patch: a merrowed edge, a running stitch inside it. */

:root {
  --twill: #eef1f5;
  --twill-2: #e1e6ed;
  --cotton: #ffffff;
  --ink: #111418;
  --ink-2: #3c434b;
  --blue: #008cc6;      /* logo blue */
  --blue-deep: #1d5a9e; /* header blue, deepened */
  --navy: #0e2a4d;
  --denim: #1b3a62;
  --orange: #ec9043;
  --hoop: #c9a46e;
  --hoop-2: #a98450;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 80rem;
  --rail-h: 4.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* cotton twill weave, drawn — not a gradient stripe */
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%230e2a4d' stroke-opacity='.045' stroke-width='1.6'/%3E%3C/svg%3E");
  --weave-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--rail-h) + 1rem); overflow-x: clip; }
body {
  margin: 0;
  background: var(--twill) var(--weave);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.075rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--orange); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--twill-2); }
::-webkit-scrollbar-thumb { background: var(--blue-deep); border: 3px solid var(--twill-2); border-radius: 6px; }
html { scrollbar-color: var(--blue-deep) var(--twill-2); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--orange); }
:focus-visible { outline: 3px dashed var(--orange); outline-offset: 4px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--orange); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.12; }
h1 em, h2 em { font-style: italic; font-weight: 900; color: var(--blue-deep); }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
.lede { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.55; }
.label {
  font-family: var(--f-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Stitch utilities ---------- */
.patch, .panel, .callout, .pull, .form, .banner, .flow li {
  --patch: var(--cotton);
  --edge: var(--blue-deep);
  --thread: var(--blue-deep);
  position: relative;
  background: var(--patch) var(--weave);
  border-radius: 18px;
  box-shadow: 0 0 0 5px var(--edge), 0 14px 26px -14px rgb(14 42 77 / 0.55);
}
.patch::before, .panel::before, .callout::before, .pull::before, .form::before, .banner::before, .flow li::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 2px dashed var(--thread); border-radius: 11px; opacity: 0.75;
}
.patch--blue { --patch: var(--blue); --edge: var(--navy); --thread: #fff; }
.patch--deep { --patch: var(--blue-deep); --edge: var(--navy); --thread: #fff; color: #fff; }
.patch--orange { --patch: var(--orange); --edge: var(--navy); --thread: var(--navy); }
.patch--navy { --patch: var(--navy); --edge: var(--blue); --thread: var(--blue); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--blue-deep); --b-fg: #fff; --b-edge: var(--navy);
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0.8rem 1.4rem;
  background: var(--b-bg); color: var(--b-fg);
  border: 0; border-radius: 999px;
  box-shadow: 0 0 0 3px var(--b-edge), 0 8px 16px -10px rgb(14 42 77 / 0.7);
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; line-height: 1; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s;
}
.btn::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed currentColor; border-radius: inherit; opacity: 0.55; pointer-events: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--b-edge), 0 14px 22px -12px rgb(14 42 77 / 0.75); }
.btn:active { transform: translateY(1px); }
.btn--orange { --b-bg: var(--orange); --b-fg: var(--ink); }
.btn--white { --b-bg: #fff; --b-fg: var(--navy); --b-edge: var(--blue); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; --b-edge: currentColor; box-shadow: 0 0 0 2px currentColor; }

.textlink { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; text-decoration: none; border-bottom: 2px dashed currentColor; padding-bottom: 0.1em; }
.textlink svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease-out); }
.textlink:hover svg { transform: translateX(4px); }
.textlink:hover { border-bottom-style: solid; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.rail { position: sticky; top: 0; z-index: 50; background: var(--navy) var(--weave-dark); color: #fff; height: var(--rail-h); border-bottom: 2px dashed rgb(255 255 255 / 0.25); }
.rail .wrap { display: flex; align-items: center; height: 100%; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand-logo { width: 3.6rem; height: auto; flex: none; color: #fff; }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.brand-word small { display: block; font-weight: 500; font-size: 0.74rem; color: #a9bdd6; font-family: var(--f-body); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 0.45rem 0.7rem; border-radius: 999px; white-space: nowrap; border: 1.5px dashed transparent; transition: border-color 0.2s, background 0.2s; }
.nav a:hover { border-color: rgb(255 255 255 / 0.5); }
.nav a[aria-current="page"] { background: rgb(255 255 255 / 0.1); border-color: var(--orange); }
.rail-call { --b-edge: var(--orange); min-height: 2.75rem; padding: 0.6rem 1.1rem; font-size: 0.98rem; white-space: nowrap; }
.menu-btn { display: none; background: transparent; color: #fff; border: 2px dashed rgb(255 255 255 / 0.7); border-radius: 999px; font: 700 0.95rem var(--f-body); padding: 0.45rem 0.95rem; cursor: pointer; }
@media (max-width: 1320px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 640px) { .brand-word { display: none; } .rail-call .rail-call-num { display: none; } .rail-call { padding: 0.6rem 0.8rem; } }
.drawer { position: fixed; inset: var(--rail-h) 0 0 0; z-index: 49; background: var(--navy) var(--weave-dark); color: #fff; padding: 1.25rem var(--gutter) 3rem; overflow-y: auto; display: none; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li + li { border-top: 2px dashed rgb(255 255 255 / 0.18); }
.drawer a { display: block; padding: 0.95rem 0; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-decoration: none; }
.drawer a[aria-current="page"] { color: var(--orange); }

/* ---------- Hero: the hoop ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lede { margin-top: 1.5rem; max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem; color: var(--blue-deep); }

.hoop-wrap { position: relative; }
.hoop { width: 100%; max-width: 34rem; margin-inline: auto; overflow: visible; filter: drop-shadow(0 26px 30px rgb(14 42 77 / 0.28)); }
.hoop { --thread: var(--blue); --thread-2: #5cc2ec; }
.satin-a { fill: var(--thread, #008cc6); }
.satin-b { fill: var(--thread-2, #5cc2ec); }
.hoop .thread-stroke { stroke: var(--thread); transition: stroke 0.4s; }
.hoop .satin-a, .hoop .satin-b { transition: fill 0.4s; }

/* stitch-in on load: ring runs, letters fill left to right, border stitches around */
.js .hoop .ring-run { stroke-dasharray: 100; stroke-dashoffset: 100; animation: sew 1.6s var(--ease-out) 0.3s forwards; }
.js .hoop .border-run { stroke-dashoffset: 0; animation: border-sew 2.2s linear 1.1s both; }
.js .hoop .fill-clip { transform: scaleX(0); transform-origin: left; animation: fill 1.4s cubic-bezier(0.65, 0, 0.35, 1) 1s forwards; }
.js .hoop .arc-text { opacity: 0; animation: appear 0.6s ease-out 2.2s forwards; }
@keyframes sew { to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes appear { to { opacity: 1; } }
@keyframes border-sew { from { stroke-dasharray: 0 2000; } to { stroke-dasharray: 2000 0; } }

.spools { display: flex; justify-content: center; gap: 0.9rem; margin-top: 1.25rem; flex-wrap: wrap; align-items: center; }
.spools-label { width: 100%; text-align: center; color: var(--ink-2); }
.spool {
  display: grid; justify-items: center; gap: 0.35rem;
  background: none; border: 0; padding: 0.35rem; cursor: pointer; color: var(--ink);
  font: 600 0.82rem var(--f-body); border-radius: 12px;
}
.spool svg { width: 2.6rem; height: 3.2rem; transition: transform 0.3s var(--ease-out); }
.spool:hover svg { transform: translateY(-3px) rotate(-4deg); }
.spool[aria-pressed="true"] { outline: 2px dashed var(--blue-deep); outline-offset: 2px; }

/* ---------- Try your logo in the hoop ---------- */
.hoop { --fabric: var(--navy); }
.hoop .fabric { fill: var(--fabric); transition: fill 0.5s var(--ease-out); }
.hoop .fabric-weave-dark { opacity: 0; }
.hoop.is-light-fabric .fabric-weave-dark { opacity: 1; }
.hoop .your-logo { display: none; }
.hoop.is-yours .your-logo { display: inline; }
.hoop.is-yours .demo-logo { display: none; }
.hoop.is-sewing .your-clip { animation: sew-in 1.5s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes sew-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hoop.is-working .fabric { animation: hoop-wait 1s ease-in-out infinite alternate; }
@keyframes hoop-wait { to { opacity: 0.82; } }

.drop-cue {
  position: absolute; left: 50%; top: 0; width: min(100%, 34rem); aspect-ratio: 524 / 540; translate: -50% 0;
  display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity 0.25s var(--ease-out);
}
.drop-cue span {
  width: 72%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin-top: 4%;
  border: 3px dashed var(--orange); background: rgb(14 42 77 / 0.72); color: #fff;
  font: 800 clamp(1.1rem, 2.4vw, 1.5rem) var(--f-display); letter-spacing: -0.01em;
}
.hoop-wrap.is-over .drop-cue { opacity: 1; }

.try { display: grid; justify-items: center; gap: 0.6rem; margin-top: 1.5rem; text-align: center; }
.try-status { margin: 0; font-size: 0.92rem; color: var(--ink-2); max-width: 30rem; text-wrap: pretty; min-height: 1.5em; }
.try-status.is-error { color: #a3361b; }
.try-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.5rem; }
.try-actions[hidden] { display: none; }
.try-send { color: var(--blue-deep); }
.try-send[hidden] { display: none; }
.try-reset { background: none; border: 0; padding: 0.25rem; font: 600 0.92rem var(--f-body); color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.try-reset:hover { color: var(--ink); }

.fabrics { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; margin-top: 1.1rem; align-items: center; }
.fabrics[hidden], .spools[hidden] { display: none; }
.fabric-chip {
  display: inline-flex; align-items: center; gap: 0.45rem; background: none; border: 0; cursor: pointer;
  padding: 0.35rem 0.6rem 0.35rem 0.35rem; border-radius: 999px; font: 600 0.85rem var(--f-body); color: var(--ink);
}
.fabric-chip i { width: 1.5rem; height: 1.5rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(14 42 77 / 0.25), 0 1px 2px rgb(14 42 77 / 0.2); }
.fabric-chip:hover i { transform: scale(1.08); }
.fabric-chip[aria-pressed="true"] { outline: 2px dashed var(--blue-deep); outline-offset: 1px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hoop-wrap { order: -1; }
  .hoop { max-width: 22rem; }
  .drop-cue { width: min(100%, 22rem); }
}

/* ---------- Patch wall (services) ---------- */
.wall { background: var(--denim) var(--weave-dark); color: #fff; padding-block: clamp(4.5rem, 9vw, 7rem); }
.wall-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.wall-head p { color: #d5e1ef; margin: 0; }
@media (max-width: 860px) { .wall-head { grid-template-columns: 1fr; } }

/* Each service is a sewn patch: an SVG shape with a merrowed (overlocked) edge,
   twill weave in the cloth, and a satin-stitched motif. Rows interlock like a jacket back. */
.patches {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
  align-items: center; padding-block: 1rem;
}
.sp {
  --patch: var(--cotton); --edge: var(--blue-deep); --merrow: #3a78bd; --m1: var(--orange); --m2: var(--navy);
  --tilt: 0deg;
  position: relative; isolation: isolate;
  color: var(--ink); text-decoration: none;
  display: grid; gap: 0.55rem; align-content: center; justify-items: center; text-align: center;
  min-height: 22rem; padding: 3rem 2.75rem;
  transform: rotate(var(--tilt));
  transition: transform 0.45s var(--ease-out);
}
.sp--blue   { --patch: var(--blue);      --edge: var(--navy); --merrow: #24507f; --m1: var(--orange); --m2: #fff; }
.sp--orange { --patch: var(--orange);    --edge: var(--navy); --merrow: #24507f; --m1: var(--navy);   --m2: #fff; }
.sp--deep   { --patch: var(--blue-deep); --edge: var(--navy); --merrow: #2f6aa8; --m1: var(--orange); --m2: #fff; color: #fff; }

.sp-shape {
  /* padded so the drop-shadow's blur has room inside the filtered box instead of being cut off */
  position: absolute; inset: -3.5rem; width: calc(100% + 7rem); height: calc(100% + 7rem); padding: 3.5rem; box-sizing: border-box; max-width: none; z-index: -1; overflow: visible; pointer-events: none;
  filter: drop-shadow(0 3px 2px rgb(5 20 40 / 0.35)) drop-shadow(0 18px 22px rgb(5 20 40 / 0.4));
  transition: filter 0.45s var(--ease-out);
}
.sp-shape path { vector-effect: non-scaling-stroke; }
.sp-fill   { fill: var(--patch); }
.sp-weave  { fill: url(#spTwill); }
.sp-edge   { fill: none; stroke: var(--edge); stroke-width: 16; stroke-linejoin: round; }
.sp-merrow { fill: none; stroke: var(--merrow); stroke-width: 12; stroke-dasharray: 1.6 1.4; stroke-linejoin: round; }
.sp-lip    { fill: none; stroke: rgb(5 20 40 / 0.28); stroke-width: 1.5; transform: scale(0.9); transform-origin: center; transform-box: fill-box; opacity: 0; }

.sp-motif { width: 4.75rem; height: 4.75rem; margin-bottom: 0.35rem; overflow: visible; filter: drop-shadow(0 1.5px 0 rgb(5 20 40 / 0.35)); }
/* base layer colored from the patch; the satin <use> clone sits outside these scoped rules and inherits its pattern paint */
.sp-motif .mf1 { fill: var(--m1); stroke: rgb(5 20 40 / 0.45); stroke-width: 1.2; }
.sp-motif .mf2 { fill: var(--m2); stroke: rgb(5 20 40 / 0.35); stroke-width: 1; }
.sp-motif .ms1 { stroke: var(--m1); }
.sp-motif .ms2 { stroke: var(--m2); }
.mf1, .mf2 { stroke: none; stroke-linejoin: round; }
.ms1, .ms2 { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ms1.thin { stroke-width: 2.2; }
.sp-motif .ms1.thin { stroke: rgb(5 20 40 / 0.4); }

.sp .label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.sp h3 {
  font-size: clamp(1.55rem, 2.3vw, 2rem); line-height: 1.05; text-wrap: balance; margin: 0;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.22), 0 2px 2px rgb(5 20 40 / 0.22);
}
.sp p { margin: 0; font-size: 0.98rem; line-height: 1.5; max-width: 24ch; text-wrap: pretty; }
.sp .go {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem;
  font-weight: 700; font-size: 0.95rem; padding-bottom: 0.15rem;
  border-bottom: 2px dashed currentColor;
}
.sp .go svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease-out); }

.sp:hover, .sp:focus-visible { transform: rotate(0deg) translateY(-6px) scale(1.02); }
.sp:hover .sp-shape, .sp:focus-visible .sp-shape { filter: drop-shadow(0 3px 2px rgb(5 20 40 / 0.35)) drop-shadow(0 28px 30px rgb(5 20 40 / 0.5)); }
.sp:hover .go svg, .sp:focus-visible .go svg { transform: translateX(4px); }
.sp:focus-visible { outline: none; }
.sp:focus-visible .sp-edge { stroke: var(--orange); }

/* shapes: content room per silhouette */
.sp-circle { aspect-ratio: 1; min-height: 0; padding: 14%; }
.sp-shield { padding: 3rem 2.75rem 5.5rem; }
.sp-chamfer { padding-inline: 3rem; }

/* jacket-back arrangement: three across, one nested centered below */
.sp--screen     { grid-column: 1 / 3; --tilt: -2.5deg; }
.sp--embroidery { grid-column: 3 / 5; --tilt: 2deg; width: 114%; justify-self: center; padding: 8% 12% 16%; gap: 0.45rem; }
.sp--embroidery .sp-motif { width: 4.25rem; height: 4.25rem; }
.sp--promo      { grid-column: 5 / 7; --tilt: -1.5deg; }
.sp--spirit     { grid-column: 3 / 5; --tilt: 1.5deg; margin-top: -2.5rem; }

@media (max-width: 1080px) {
  .patches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sp--screen     { grid-column: 1 / 3; }
  .sp--embroidery { grid-column: 3 / 5; width: auto; }
  .sp--promo      { grid-column: 1 / 3; }
  .sp--spirit     { grid-column: 3 / 5; }
  .sp--spirit { margin-top: 0; }
}
@media (max-width: 640px) {
  .patches { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; justify-items: center; padding-inline: 0.5rem; }
  .sp { grid-column: 1 / -1 !important; width: 100%; max-width: 22rem; min-height: 0; padding: 2.75rem 2rem; margin-top: 0 !important; }
  .sp-circle { padding: 13%; }
  .sp--embroidery { padding: 7% 11% 15%; }
  .sp-shield { padding-bottom: 5rem; }
  .sp p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp, .sp-shape { transition: none; }
  .sp:hover, .sp:focus-visible { transform: rotate(var(--tilt)); }
}

/* ---------- Proof: stitch file vs finished ---------- */
.proof { padding-block: clamp(4.5rem, 9vw, 7rem); background: var(--cotton) var(--weave); border-block: 2px dashed rgb(14 42 77 / 0.15); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.toggle { display: inline-flex; padding: 0.3rem; border-radius: 999px; background: var(--twill-2); box-shadow: inset 0 0 0 2px rgb(14 42 77 / 0.12); }
.toggle button { border: 0; background: transparent; padding: 0.55rem 1.05rem; border-radius: 999px; font: 700 0.95rem var(--f-body); color: var(--ink-2); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.proof-art { padding: clamp(1.5rem, 3vw, 2.5rem); }
.proof-art svg { width: 100%; max-width: 26rem; margin-inline: auto; }
.proof-art .finished, .proof-art .stitchfile { transition: opacity 0.45s var(--ease-out); }
.proof-art[data-view="file"] .finished { opacity: 0; }
.proof-art:not([data-view="file"]) .stitchfile { opacity: 0; }
.proof-caption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; color: var(--ink-2); font-size: 0.92rem; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1rem; align-items: start; }
.steps li::before {
  content: counter(s); grid-row: span 2;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font: 800 1.15rem var(--f-display);
  box-shadow: 0 0 0 3px var(--navy), inset 0 0 0 5px var(--blue), inset 0 0 0 6.5px rgb(255 255 255 / 0.7);
}
.steps strong { font-family: var(--f-display); font-size: 1.15rem; }
.steps span { color: var(--ink-2); }

/* ---------- Woven labels (credentials) ---------- */
.woven { padding-bottom: clamp(5rem, 10vw, 8rem); }
.woven-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.wl { background: var(--navy) var(--weave-dark); color: #fff; padding: 1.5rem 1.6rem; border-radius: 4px; position: relative; box-shadow: 0 12px 22px -14px rgb(14 42 77 / 0.7); }
.wl::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgb(255 255 255 / 0.35); border-radius: 2px; pointer-events: none; }
.wl b { display: block; font: 800 1.45rem/1.1 var(--f-display); color: var(--orange); }
.wl span { display: block; margin-top: 0.4rem; font-size: 0.97rem; color: #d5e1ef; }
@media (max-width: 800px) { .woven-row { grid-template-columns: 1fr; } }

/* ---------- Close ---------- */
.close { background: var(--orange) var(--weave); padding-block: clamp(4.5rem, 9vw, 7rem); position: relative; }
.close-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
@media (max-width: 860px) { .close-inner { grid-template-columns: 1fr; } }
.close h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.close-phone { display: inline-block; margin-top: 1.5rem; font: 900 italic clamp(2.2rem, 6vw, 3.75rem)/1 var(--f-display); text-decoration: none; border-bottom: 3px dashed var(--ink); padding-bottom: 0.15rem; }
.close-phone:hover { border-bottom-style: solid; }
.close-card { padding: 1.75rem 1.9rem; }
.close-card dl { margin: 0; display: grid; gap: 1rem; }
.close-card dt { font: 800 1.05rem var(--f-display); }
.close-card dd { margin: 0.15rem 0 0; }

/* ---------- Footer ---------- */
.foot { background: var(--navy) var(--weave-dark); color: #c9d6e6; padding-block: 3.5rem 2rem; font-size: 0.95rem; border-top: 2px dashed rgb(255 255 255 / 0.2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot h2 { margin: 0 0 0.8rem; font: 800 1.02rem var(--f-display); color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--orange); }
.foot-badge { display: block; width: 7.5rem; height: auto; }
.foot-base { margin-top: 3rem; padding-top: 1.25rem; border-top: 2px dashed rgb(255 255 255 / 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #a9bdd6; }
.foot .fine { color: #a9bdd6; font-size: 0.85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(3rem, 6vw, 4.5rem); }
.banner { --patch: var(--blue); --edge: var(--navy); --thread: #fff; padding: clamp(2rem, 5vw, 3.5rem); color: var(--ink); }
.banner--red { --patch: var(--blue-deep); color: #fff; }
.banner--yellow { --patch: var(--orange); --thread: var(--navy); }
.banner--ink { --patch: var(--navy); --edge: var(--blue); --thread: var(--blue); color: #fff; }
.banner--cyan { --patch: var(--blue); }
.banner h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 14em; }
.banner .lede { margin: 1.1rem 0 0; max-width: 42rem; }
.crumb { display: inline-block; margin-bottom: 1rem; font-weight: 700; font-size: 0.9rem; text-decoration: none; border-bottom: 2px dashed currentColor; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { padding: clamp(1.75rem, 3vw, 2.4rem); }
.panel h3 { margin-bottom: 0.75rem; }
.panel--yellow { --patch: var(--orange); --thread: var(--navy); --edge: var(--navy); }
.panel--cyan { --patch: var(--blue); --thread: #fff; --edge: var(--navy); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.checklist li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: start; padding: 0.7rem 0; border-bottom: 2px dashed rgb(14 42 77 / 0.2); font-weight: 600; font-size: 1.08rem; }
.checklist .box { width: 1.35rem; height: 1.35rem; border: 2px dashed var(--blue-deep); border-radius: 50%; margin-top: 0.2rem; }

.callout { padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; --patch: var(--navy); --edge: var(--blue); --thread: var(--blue); color: #fff; }
.callout h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.callout p { color: #d5e1ef; margin: 0.75rem 0 0; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }


.faq details { border-bottom: 2px dashed rgb(14 42 77 / 0.22); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 0; font: 800 clamp(1.1rem, 1.8vw, 1.3rem)/1.25 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--blue-deep); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-deep); }
.faq .answer { padding: 0 0 1.4rem; max-width: 66ch; }
.faq .answer ul { padding-left: 1.2rem; margin: 0 0 1em; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: f; }
.flow li { counter-increment: f; padding: 1.6rem 1.4rem 1.5rem; }
.flow li::after { content: counter(f); position: absolute; top: -0.9rem; right: 1rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); font: 800 0.95rem var(--f-display); box-shadow: 0 0 0 3px var(--navy); }
.flow b { display: block; font: 800 1.2rem/1.15 var(--f-display); margin-bottom: 0.4rem; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }


.list-cols { columns: 2; column-gap: 2.5rem; padding: 0; list-style: none; margin: 0; }
.list-cols li { break-inside: avoid; padding: 0.55rem 0; border-bottom: 1.5px dashed rgb(14 42 77 / 0.28); font-weight: 600; }
.panel--cyan .list-cols li, .panel--yellow .list-cols li { border-color: rgb(14 42 77 / 0.35); }
@media (max-width: 560px) { .list-cols { columns: 1; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { display: grid; gap: 1rem; }
.contact-line { display: grid; grid-template-columns: 2rem 1fr; gap: 0.9rem; padding: 1.1rem 1.25rem; text-decoration: none; background: #fff; border-radius: 14px; box-shadow: 0 0 0 2px rgb(14 42 77 / 0.12); }
a.contact-line:hover { box-shadow: 0 0 0 2px var(--blue-deep); }
.contact-line .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: var(--blue-deep); }
.contact-line b { display: block; font: 800 1.2rem/1.2 var(--f-display); }
.map { border: 0; border-radius: 14px; box-shadow: 0 0 0 4px var(--navy); aspect-ratio: 16 / 10; width: 100%; background: var(--twill-2); display: block; }

.form { padding: clamp(1.75rem, 3vw, 2.5rem); }
.form h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; margin-top: 1.1rem; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--twill); border: 2px solid rgb(14 42 77 / 0.3); border-radius: 10px; padding: 0.75rem 0.85rem; min-height: 3rem; width: 100%; caret-color: var(--blue-deep); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border: 2px dashed var(--blue-deep); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #69717a; }
.field [aria-invalid="true"] { border-color: #b3230a; }
.field .err { color: #b3230a; font-size: 0.9rem; font-weight: 600; display: none; }
.field .err.is-on { display: block; }
fieldset.field { border: 0; padding: 0; margin: 1.1rem 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; border: 2px dashed rgb(14 42 77 / 0.45); border-radius: 999px; padding: 0.45rem 0.9rem; font-weight: 700; font-size: 0.93rem; transition: background 0.15s; }
.chip input:checked + span { background: var(--blue-deep); color: #fff; border-style: solid; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px dashed var(--orange); outline-offset: 2px; }
.chip:hover span { border-color: var(--blue-deep); }
.form-note { font-size: 0.9rem; color: var(--ink-2); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hoop .ring-run { stroke-dashoffset: 0; }
  .js .hoop .fill-clip { transform: none; }
  .js .hoop .arc-text { opacity: 1; }
  .hoop.is-sewing .your-clip, .hoop.is-working .fabric { animation: none; }
}

@media (min-width: 1321px) { .brand-word { display: none; } }
.brand-word { white-space: nowrap; }

/* ---------- Logo upload ---------- */
.field-label { font-weight: 700; font-size: 0.95rem; }
.field-label .opt, label .opt, .hint { font-weight: 400; color: var(--ink-2); }
.hint { font-size: 0.88rem; }
.drop {
  position: relative;
  display: grid; justify-items: center; gap: 0.35rem; text-align: center;
  padding: 1.6rem 1rem;
  border: 2px dashed var(--blue-deep); border-radius: 16px; background: var(--twill) var(--weave);
  transition: background 0.2s, border-color 0.2s;
}
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border-radius: inherit; }
.drop .icon { width: 2rem; height: 2rem; color: var(--blue-deep); }
.drop-main u { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.drop-hint { font-size: 0.85rem; color: var(--ink-2); }
.drop:hover, .drop.is-over { background-color: #fff; border-color: var(--blue); }
.drop.is-over { border-style: solid; }
.drop:focus-within { outline: 3px dashed var(--orange); outline-offset: 3px; }
.files { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.files li { display: grid; grid-template-columns: 3rem 1fr auto; gap: 0.8rem; align-items: center; padding: 0.5rem; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px rgb(14 42 77 / 0.15); }
.file-thumb { width: 3rem; height: 3rem; border-radius: 8px; object-fit: contain; display: grid; place-items: center; background: var(--twill-2); font: 800 italic 0.75rem var(--f-display); color: var(--navy); }
.file-meta { min-width: 0; display: grid; }
.file-meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-meta small { color: var(--ink-2); }
.file-remove { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.file-remove:hover { color: var(--blue-deep); background: var(--twill-2); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* spam trap: hidden from people, filled in by bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
