/* Self-hosted fonts: latin subsets, served from this site so no visitor request reaches a third party. Licences: assets/fonts/LICENSES.md */
@font-face { font-family: 'Permanent Marker'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/permanent-marker-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ReTaggo public site. Ink & Ember brand; the manila tag is the one bold element. */
:root {
  --ink: #16213E; --ink-2: #0F1730; --ember: #FF5A36; --teal: #2EC4B6; --teal-ink: #0B4F49;
  --manila: #EDD7A6; --manila-edge: #CFAF6C;
  --paper: #FFFFFF; --mist: #F2F4F8; --text: #1B1F2E; --soft: #545A70; --line: #DADDE6;
  --maxw: 1120px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0F1730; --mist: #16213E; --text: #EEF0F7; --soft: #AEB4CB; --line: #2A3558; }
}
:root[data-theme="dark"] { --paper: #0F1730; --mist: #16213E; --text: #EEF0F7; --soft: #AEB4CB; --line: #2A3558; }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.45em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
[hidden] { display: none !important; } /* layout classes such as .stack set display, which would otherwise un-hide hidden steps */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ember); color: var(--ink); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--soft); }
.nav a:hover { color: var(--text); }
.nav .signin { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* buttons: ember with ink text keeps 5:1 contrast */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 'Poppins', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ember); color: var(--ink); }
.btn-primary:hover { background: #FF7556; }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--text); }
.btn-quiet:hover { background: var(--text); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--soft); }
.hero .sw { font-size: 1rem; color: var(--soft); margin-top: -0.4em; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* the tag */
.tag-stage { position: relative; display: flex; justify-content: center; padding: 28px 0 12px; }
.tag-string { position: absolute; top: 0; left: 18%; width: 150px; height: 120px; color: var(--soft); }
.tag { position: relative; width: min(100%, 440px); background: var(--manila); color: var(--ink); padding: 28px 28px 26px 72px;
  border-radius: 14px; clip-path: polygon(13% 0, 100% 0, 100% 100%, 13% 100%, 0 80%, 0 20%);
  box-shadow: inset 0 0 0 2px var(--manila-edge); transform: rotate(-3deg); transform-origin: 8% 50%;
  animation: swing 1.4s cubic-bezier(.3, 1.6, .5, 1) 0.2s both; }
.tag::before { content: ""; position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 5px var(--manila-edge); }
@keyframes swing { from { transform: rotate(-9deg); } to { transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .tag { animation: none; } }
.tag .code { font: 700 1.05rem/1 'Space Grotesk', sans-serif; letter-spacing: 0.04em; display: flex; justify-content: space-between; align-items: center; }
.tag .hand { font-family: 'Permanent Marker', cursive; font-size: 1.75rem; line-height: 1.15; margin: 14px 0 16px; }
.tag dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 0.95rem; }
.tag dt { color: #5E4A1F; }
.tag dd { margin: 0; font-weight: 600; }
.tag .shelf { font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.06em; }
.status { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--teal); color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.tag-note { margin-top: 18px; font-size: 0.85rem; color: var(--soft); text-align: center; }
.qr { width: 58px; height: 58px; }

/* sections */
.band { padding: 80px 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--mist); }
.band.dark { background: var(--ink); color: #EEF0F7; border-top: 0; }
.band.dark p, .band.dark li { color: #C9CEE3; }
.section-intro { max-width: 60ch; margin-bottom: 36px; }
.section-intro p { color: var(--soft); }
.band.dark .section-intro p { color: #C9CEE3; }

/* journey: a real sequence, so it is numbered */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.journey li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--text); }
.journey li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  background: var(--manila); color: var(--ink); font: 700 1rem/1 'Space Grotesk', sans-serif; border-radius: 8px; }
.journey p { color: var(--soft); font-size: 0.97rem; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

/* two audiences */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split > div { padding-top: 20px; border-top: 6px solid var(--ember); }
.split > div.schools { border-top-color: var(--teal); }
.split ul { padding-left: 1.1em; margin: 0 0 1.2em; }
.split li { margin-bottom: 0.45em; }
.price { font: 700 2rem/1.1 'Space Grotesk', sans-serif; margin: 6px 0 4px; }
.price small { font: 400 1rem 'Poppins', sans-serif; color: var(--soft); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* privacy */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; margin: 0; padding: 0; list-style: none; }
.promises strong { display: block; color: #FFFFFF; font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; margin-bottom: 4px; }
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--soft); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
input, select, textarea { font: 400 1rem 'Poppins', sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--text); min-height: 48px; }
input:focus, select:focus { border-color: var(--teal); outline: none; }
.hint { font-weight: 400; color: var(--soft); font-size: 0.85rem; }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--mist); border-left: 4px solid var(--teal); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* footer */
.foot { padding: 40px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--soft); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* inner pages */
.page { padding: 48px 0 80px; }
.narrow { width: min(100% - 40px, 560px); margin-inline: auto; }
.results { list-style: none; padding: 0; margin: 16px 0 0; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.results li a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; text-decoration: none; border-top: 1px solid var(--line); }
.results li:first-child a { border-top: 0; }
.results li a:hover, .results li a:focus-visible { background: var(--mist); }
.results .area { color: var(--soft); }
.choice { display: grid; gap: 10px; margin: 18px 0; border: 0; padding: 0; }
.choice legend { padding: 0; margin-bottom: 4px; }
.choice label { grid-template-columns: auto 1fr; align-items: start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; font-weight: 400; cursor: pointer; }
.choice input { min-height: auto; margin-top: 4px; }
.choice b { display: block; }
.stack { display: grid; gap: 16px; }
.muted { color: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 8px; }
.tile { padding: 16px; border-radius: 12px; background: var(--mist); }
.tile b { display: block; font: 700 1.6rem/1 'Space Grotesk', sans-serif; margin-bottom: 4px; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
.school-hero { border-top: 8px solid var(--school, var(--teal)); padding-top: 28px; }
.mt { margin-top: 20px; }
.band.flush { padding-bottom: 0; }

/* photography (assets/img, credits in credits.html). No identifiable children, by rule. */
.hero { overflow-x: clip; } /* the swinging tag must never widen the page on phones */
.hero-visual { position: relative; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px -24px rgba(15, 23, 48, .55); }
.hero-visual .tag-stage { margin-top: -96px; padding-top: 0; }
.hero-visual .tag-string { display: none; }
@media (max-width: 560px) { .hero-visual .tag-stage { margin-top: -64px; } .tag { padding: 22px 18px 20px 58px; } .tag .hand { font-size: 1.45rem; } }
.journey li { position: relative; }
.journey li::before { position: absolute; top: 30px; left: 12px; z-index: 1; margin: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.step-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 14px; background: var(--mist); }
.aud-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 18px; background: var(--paper); }
.credits td, .credits th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits { border-collapse: collapse; width: 100%; font-size: .95rem; }
.credits img { width: 120px; height: auto; border-radius: 8px; }
.table-scroll { overflow-x: auto; }

/* school registration and owner sign-in */
.narrow.wide { width: min(100% - 40px, 700px); }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 24px 0 28px; counter-reset: step; }
.steps li { flex: 1; counter-increment: step; padding-top: 10px; border-top: 4px solid var(--line); font-size: 0.85rem; color: var(--soft); }
.steps li::before { content: counter(step) '. '; font-weight: 700; }
.steps li[aria-current="step"] { border-color: var(--ember); color: var(--text); font-weight: 600; }
.steps li.done { border-color: var(--teal); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.fields input, .fields select { width: 100%; min-width: 0; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
label.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; font-weight: 400; cursor: pointer; }
label.check input { min-height: auto; width: 22px; height: 22px; margin-top: 2px; padding: 0; accent-color: var(--ember); }
.row { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0 4px; min-height: 44px; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.notice.bad { border-left-color: var(--ember); }
[aria-invalid="true"] { border-color: var(--ember); }
.page .lead { font-size: 1.05rem; color: var(--soft); }
.ref { font: 700 1.5rem 'Space Grotesk', sans-serif; letter-spacing: 0.04em; white-space: nowrap; }
.howto { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.mt-lg { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
