/* AnJ Printshop — coming-soon page
   Design tokens first; component classes below. */

:root {
  /* colour */
  --green: #00ae42;        /* brand green: fills, marks, rules */
  --green-ink: #007a2f;    /* green dark enough for text on white */
  --green-wash: #e6f6ec;
  --graphite: #1f2427;     /* printer-frame grey: text, dark band */
  --graphite-2: #2c3338;
  --steel: #5a6368;        /* secondary text */
  --plate: #f2f4f3;        /* page background, build-plate grey */
  --white: #ffffff;
  --line: #d9dedc;

  /* type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  /* space + shape */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 9vw, 7rem);
  --radius: 14px;
  --layer: 4px;            /* one "printed layer" — rule thickness */
}

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

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

body {
  margin: 0;
  background: var(--plate);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--green-ink); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { max-width: 82rem; }

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

.site-header { padding-block: 1.25rem; }

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--graphite);
  text-decoration: none;
}

.wordmark__mark { width: 1.75rem; height: 1.75rem; fill: var(--green); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--green-wash);
  color: var(--green-ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
}

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

.hero { padding-top: clamp(2rem, 6vw, 4.5rem); }

.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--steel);
}

/* The photo "prints" in from the bottom, one layer at a time. */
.print-reveal {
  position: relative;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--graphite);
  aspect-ratio: 16 / 9;
}

.print-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: print-up 2.4s steps(30, end) 0.3s both;
}

.print-reveal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--layer);
  background: var(--green);
  opacity: 0;
  animation: nozzle 2.4s steps(30, end) 0.3s both;
}

@keyframes print-up {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes nozzle {
  0%   { top: 100%; opacity: 1; }
  96%  { top: 0; opacity: 1; }
  100% { top: 0; opacity: 0; }
}

/* ---------- three ways ---------- */

.ways { padding-block: var(--section); }

.ways h2,
.feature h2,
.trust h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ways__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.way {
  padding-top: 1.25rem;
  border-top: var(--layer) solid var(--green);
}

.way h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.way p { margin-top: 0.75rem; color: var(--steel); }

.ways__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
  color: var(--steel);
}

/* ---------- photo + text features ---------- */

.feature { padding-bottom: var(--section); }

.feature__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.feature__photo { margin: 0; }

.feature__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature__text > p {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--steel);
}

@media (min-width: 48rem) {
  .feature--flip .feature__photo { order: 2; }
}

/* numbered because the run really is a sequence */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.125rem;
  height: 2.125rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

/* the line joining one step to the next */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.0625rem - 1px);
  top: 2.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: var(--line);
}

.steps h3 { font-size: 1.1875rem; font-weight: 700; }

.steps p { margin-top: 0.3rem; color: var(--steel); max-width: 30rem; }

/* ---------- payments + privacy ---------- */

.trust {
  background: var(--graphite);
  color: var(--white);
  padding-block: var(--section);
}

.trust__lede {
  margin-top: 1rem;
  max-width: 34rem;
  color: #b9c2c0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 0 clamp(2rem, 6vw, 5rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.fact {
  padding-block: 1.5rem;
  border-top: 1px solid var(--graphite-2);
}

.fact dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: #5fe08f;
}

.fact dd {
  margin: 0.5rem 0 0;
  max-width: 32rem;
  color: #d5dbd9;
}

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

.site-footer {
  background: var(--graphite);
  color: #b9c2c0;
  border-top: 1px solid var(--graphite-2);
  padding-block: 1.75rem;
  font-size: 0.9375rem;
}

.site-footer__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
}

.site-footer a { color: #5fe08f; }

/* ---------- motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  .print-reveal img,
  .print-reveal::after { animation: none; }
}
