/* =========================================================
   NASH NERDS REPAIR — THEME STYLES
   Design system: the "claim ticket" — everything on this site
   is framed like a work order: stamped, numbered, dashed-perforated,
   corner-bracketed. Orange (#f5421b) is used the way a shop stamp
   ink is used: sparingly, for the thing that matters most.
   ========================================================= */

:root {
  /* ---- Color tokens ---- */
  --ink: #17170f;          /* near-black, warm */
  --ink-soft: #2a2a20;     /* card / panel surface on dark sections */
  --line: #3c3c30;         /* hairlines on dark surfaces */
  --paper: #f6f3ea;        /* warm ticket-paper background */
  --paper-line: #ddd6c4;   /* hairlines on paper surfaces */
  --muted: #8f8b78;        /* secondary text on dark */
  --muted-on-paper: #746f5c; /* secondary text on paper */
  --orange: #f5421b;       /* brand stamp ink */
  --orange-dark: #c22f10;
  --orange-tint: #fdece6;
  --white: #fffdf8;

  /* ---- Type ---- */
  --font-display: "Space Grotesk", "Archivo Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Layout ---- */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

/* ---- Reset-ish base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Mono "ticket label" utility ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .95em 1.5em;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost-light {
  border-color: rgba(246,243,234,.35);
  color: var(--paper);
}
.btn-ghost-light:hover { background: rgba(246,243,234,.1); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.site-branding img { height: 36px; width: auto; }
.site-branding .stamp-mark {
  width: 34px; height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--ink);
  transform: rotate(-8deg);
  flex-shrink: 0;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.primary-navigation a {
  font-size: .95rem;
  font-weight: 500;
  padding-block: .3em;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  font-family: var(--font-mono);
  font-size: .9rem;
  display: none;
}
@media (min-width: 900px) { .header-phone { display: inline-flex; } }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  width: 42px; height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
@media (max-width: 899px) {
  .menu-toggle { display: flex; }
  .primary-navigation {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-line);
    display: none;
    padding: 1rem var(--gutter) 1.5rem;
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { flex-direction: column; align-items: flex-start; gap: .25rem; width: 100%; }
  .primary-navigation li { width: 100%; }
  .primary-navigation a { display: block; padding-block: .6em; border-bottom: 1px dashed var(--paper-line); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(246,243,234,.14);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-ticket-no {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1.1em;
  display: block;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  color: var(--white);
  max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.8em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-panel {
  border: 1px solid rgba(246,243,234,.25);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: rgba(246,243,234,.04);
}
.hero-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: .85rem;
  border-bottom: 1px dashed rgba(246,243,234,.2);
  font-family: var(--font-mono);
  font-size: .88rem;
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-row .label { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.hero-panel-row .value { color: var(--white); text-align: right; }
.hero-panel-stamp {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45em .8em;
  border-radius: 2px;
  transform: rotate(-2deg);
}

/* =========================================================
   TRUST STRIP (below hero)
   ========================================================= */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--paper-line); }
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding-block: 1.1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--muted-on-paper);
}
.trust-strip-inner span { position: relative; padding-left: 1.3em; }
.trust-strip-inner span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
@media (max-width: 640px) { .trust-strip-inner { justify-content: flex-start; } }

/* =========================================================
   SECTION SCAFFOLDING
   ========================================================= */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 18ch; }
.section-ink .eyebrow { color: var(--orange); }
.section-ink .eyebrow::before { background: var(--orange); }

/* =========================================================
   SERVICE / REPAIR TICKET CARDS ("what we fix")
   ========================================================= */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.ticket-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: border-color .15s ease, transform .15s ease;
}
.ticket-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.ticket-card::before {
  content: "";
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 0;
  border-top: 1px dashed var(--paper-line);
}
.ticket-index {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted-on-paper);
  letter-spacing: .08em;
}
.ticket-card h3 { font-size: 1.2rem; margin-block: .55em .4em; }
.ticket-card p { color: var(--muted-on-paper); font-size: .95rem; margin-bottom: .9em; }
.ticket-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink);
  border-top: 1px solid var(--paper-line);
  padding-top: .8em;
  margin-top: .4em;
}
.ticket-meta span:last-child { color: var(--orange); }
.ticket-card a.card-link { position: absolute; inset: 0; border-radius: var(--radius); }

/* =========================================================
   PROJECT SHOWCASE ("completed" claim tickets)
   ========================================================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -18px rgba(23,23,15,.35); }
.project-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--ink-soft); position: relative; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb-split { display: flex; aspect-ratio: 4/3; }
.project-thumb-split .project-thumb-half { position: relative; width: 50%; height: 100%; overflow: hidden; }
.project-thumb-split .project-thumb-half + .project-thumb-half { border-left: 2px dashed rgba(246,243,234,.5); }
.project-thumb-split img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-thumb-tag {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(23,23,15,.65);
  color: var(--white);
  padding: .3em .55em;
  border-radius: 2px;
}
.project-stamp {
  position: absolute;
  top: 14px; right: 14px;
  border: 2px solid var(--orange);
  color: var(--orange);
  background: rgba(23,23,15,.55);
  backdrop-filter: blur(2px);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35em .6em;
  border-radius: 2px;
  transform: rotate(4deg);
}
.project-body { padding: 1.4rem 1.5rem 1.6rem; }
.project-cat {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: .5em;
}
.project-card h3 { font-size: 1.25rem; margin-bottom: .35em; }
.project-card p { color: var(--muted-on-paper); font-size: .93rem; }
.project-facts-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-top: .9em;
  padding-top: .8em;
  border-top: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted-on-paper);
}
.project-cost { color: var(--orange-dark); font-weight: 600; white-space: nowrap; }
.project-service-diff {
  margin-top: .9em;
  padding: .7em .8em;
  border-radius: var(--radius);
  background: var(--orange-tint);
  border: 1px solid rgba(245,66,27,.25);
  display: flex;
  flex-direction: column;
  gap: .3em;
  font-size: .82rem;
  color: var(--ink);
}
.project-service-diff b { font-weight: 700; color: var(--orange-dark); }
.project-card a.card-link { position: absolute; inset: 0; z-index: 2; }

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.25rem;
}
.project-filters a {
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .5em 1em;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  color: var(--muted-on-paper);
}
.project-filters a.is-active,
.project-filters a:hover { border-color: var(--orange); color: var(--orange); }

/* =========================================================
   BLOG — list & single
   ========================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.post-card {
  position: relative;
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 1.5rem;
}
.post-thumb { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); margin-bottom: 1.1rem; background: var(--ink-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-date {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
  display: block;
  margin-bottom: .5em;
}
.post-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.post-card p { color: var(--muted-on-paper); font-size: .93rem; }
.post-card-author {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .9em;
  padding-top: .8em;
  border-top: 1px solid var(--paper-line);
}
.post-card-author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
.post-card-author span { font-family: var(--font-mono); font-size: .78rem; color: var(--muted-on-paper); }
.post-card a.card-link { position: absolute; inset: 0; }

.single-article { max-width: 760px; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.single-article .post-date { margin-bottom: 1rem; }
.single-article h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6em; }
.single-article .entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.entry-content { font-size: 1.08rem; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.4em; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--radius); margin-block: 1.5em; }
.entry-content blockquote {
  border-left: 3px solid var(--orange);
  margin: 1.8em 0;
  padding: .2em 0 .2em 1.4em;
  font-style: italic;
  color: var(--muted-on-paper);
}
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.3em; list-style: revert; }
.entry-content a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   BLOG SINGLE — two-column layout with sticky author sidebar
   ========================================================= */
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 1080px;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
@media (max-width: 860px) {
  .single-layout { grid-template-columns: 1fr; max-width: 760px; }
}
.single-main .post-date { margin-bottom: 1rem; }
.single-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6em; }
.single-main .entry-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.single-main .entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-sidebar-sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.75rem; }
.single-sidebar .author-box { flex-direction: column; align-items: flex-start; margin-block: 0; }
.single-sidebar .author-box-photo img { width: 64px; height: 64px; }

.sidebar-recent {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-recent .eyebrow { margin-bottom: 1em; }
.sidebar-recent ul { display: flex; flex-direction: column; gap: .9rem; }
.sidebar-recent li a {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
}
.sidebar-recent-thumb {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-recent-title {
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.3;
}
.sidebar-recent li a:hover .sidebar-recent-title { color: var(--orange-dark); }

/* =========================================================
   SINGLE PROJECT (repair story / before-after)
   ========================================================= */
.project-hero { background: var(--ink); color: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }
.project-hero .eyebrow { color: var(--orange); }
.project-hero .eyebrow::before { background: var(--orange); }
.project-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); max-width: 20ch; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2.2rem;
  border-top: 1px solid rgba(246,243,234,.2);
  padding-top: 1.6rem;
}
.project-facts dt { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .4em; }
.project-facts dd { margin: 0; font-size: 1.05rem; color: var(--white); font-weight: 500; }
.project-hero-slim { padding-block: 2.2rem; }

/* =========================================================
   SINGLE PROJECT — two-column layout with sticky ticket sidebar
   ========================================================= */
.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 1080px;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 860px) {
  .project-layout { grid-template-columns: 1fr; max-width: 760px; }
}
.project-layout.project-layout-full {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.project-sidebar-sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.75rem; }
.project-ticket {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.project-ticket::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--paper-line);
  pointer-events: none;
}
.project-ticket-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.project-facts-vertical {
  display: flex;
  flex-direction: column;
}
.project-facts-vertical > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding-block: .7rem;
  border-bottom: 1px dashed var(--paper-line);
}
.project-facts-vertical > div:last-child { border-bottom: none; }
.project-facts-vertical dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-on-paper);
}
.project-facts-vertical dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}
.project-facts-vertical dd.cost { color: var(--orange-dark); }

.progress-photos { margin-block: 2.2rem; }
.progress-photos .eyebrow { margin-bottom: 1em; }
.progress-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .75rem;
}
.progress-photos-sidebar { margin-block: 0; }
.progress-photos-sidebar .progress-photos-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.progress-photo-item {
  display: block;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--paper-line);
}
.progress-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.progress-photo-item:hover img { transform: scale(1.06); }

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-block: 2.5rem;
}
@media (max-width: 640px) { .before-after { grid-template-columns: 1fr; } }
.before-after figure { margin: 0; }
.before-after img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.before-after figcaption {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .6em;
  color: var(--muted-on-paper);
}

.project-quote {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-block: 2.2rem;
  font-size: 1.1rem;
  font-style: italic;
}
.project-quote cite { display: block; margin-top: .8em; font-style: normal; font-family: var(--font-mono); font-size: .8rem; color: var(--muted-on-paper); }

.project-workorder {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  margin-block: 2rem;
  overflow: hidden;
}
.project-workorder-row {
  padding: 1.1rem 1.4rem;
}
.project-workorder-row + .project-workorder-row { border-top: 1px dashed var(--paper-line); }
.project-workorder-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: .4em;
}
.project-workorder-row p { margin: 0; font-size: 1rem; }
.project-workorder-differs {
  border-color: rgba(245,66,27,.35);
  box-shadow: 0 0 0 1px rgba(245,66,27,.12) inset;
}
.project-workorder-differs .project-workorder-row:last-child {
  background: var(--orange-tint);
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  background: var(--orange);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin: 0; max-width: 20ch; }
.cta-strip .btn { border-color: var(--white); color: var(--white); }
.cta-strip .btn:hover { background: var(--white); color: var(--orange-dark); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--muted); padding-block: 3.5rem 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--font-display); color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: .6em; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 1em;
}
.footer-col ul li { margin-bottom: .6em; font-size: .92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: .78rem;
}
.footer-socials { display: flex; gap: 1rem; }

/* =========================================================
   MISC — pagination, 404, forms
   ========================================================= */
.pagination { display: flex; gap: .6rem; margin-top: 3rem; font-family: var(--font-mono); font-size: .85rem; }
.pagination a, .pagination span {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: .5em .9em;
}
.pagination .current { border-color: var(--orange); color: var(--orange); }

.error-404 { text-align: center; padding-block: 6rem; }
.error-404 .code { font-family: var(--font-mono); font-size: 5rem; color: var(--orange); line-height: 1; }

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: .8em 1em;
  font-family: var(--font-body);
  margin-bottom: 1rem;
  background: var(--white);
}
.comment-form textarea { min-height: 130px; }

/* =========================================================
   SHARPIE-STYLE HOVER UNDERLINE
   ========================================================= */
.primary-navigation a,
.footer-col a,
.footer-socials a,
.sharpie-link,
.entry-content a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.primary-navigation a::after,
.footer-col a::after,
.footer-socials a::after,
.sharpie-link::after,
.entry-content a::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -6px;
  width: 104%;
  height: 10px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'%3E%3Cpath d='M2 9 Q 20 3 38 9 T 74 8 T 110 10 T 146 6 T 182 9 T 198 8' fill='none' stroke='%23f5421b' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.3,.9,.4,1);
  pointer-events: none;
}
.primary-navigation li:nth-child(3n+1) a::after,
.sharpie-link:nth-of-type(3n+1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'%3E%3Cpath d='M2 8 Q 24 12 42 6 T 80 9 T 118 5 T 156 10 T 198 7' fill='none' stroke='%23f5421b' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.primary-navigation li:nth-child(3n+2) a::after,
.sharpie-link:nth-of-type(3n+2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'%3E%3Cpath d='M2 7 Q 18 11 36 7 Q 54 3 72 8 Q 92 12 112 7 Q 132 3 150 8 T 198 6' fill='none' stroke='%23f5421b' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.footer-col a:hover::after,
.footer-col a:focus-visible::after,
.footer-socials a:hover::after,
.footer-socials a:focus-visible::after,
.sharpie-link:hover::after,
.sharpie-link:focus-visible::after,
.entry-content a:hover::after,
.entry-content a:focus-visible::after { transform: scaleX(1); }
.section-ink .sharpie-link::after,
.footer-col a::after,
.footer-socials a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'%3E%3Cpath d='M2 9 Q 20 3 38 9 T 74 8 T 110 10 T 146 6 T 182 9 T 198 8' fill='none' stroke='%23f6f3ea' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* =========================================================
   TICKET CARD — hand-drawn icon + click-for-quote affordance
   ========================================================= */
.ticket-card { cursor: pointer; padding-top: 1.5rem; }
.ticket-card.is-static { cursor: default; }
.ticket-card.is-static:hover { transform: none; border-color: var(--paper-line); }
.ticket-icon {
  width: 46px; height: 46px;
  margin-bottom: .8rem;
  color: var(--orange);
}
.ticket-icon svg { width: 100%; height: 100%; display: block; }
.ticket-card .ticket-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--muted-on-paper);
  border-top: none;
  padding-top: 0;
  margin-top: .6em;
}
.ticket-card .ticket-meta .see-pricing {
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .35em;
}
.ticket-card .ticket-meta .see-pricing::after { content: "\2192"; transition: transform .15s ease; }
.ticket-card:hover .ticket-meta .see-pricing::after { transform: translateX(3px); }
.ticket-card .ticket-meta-note { display: block; margin-top: .35em; font-size: .78rem; }

/* =========================================================
   WORK ORDER MODAL
   ========================================================= */
.wo-overlay {
  position: fixed; inset: 0;
  background: rgba(23,23,15,.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
}
.wo-overlay.is-open { display: flex; }
.wo-modal {
  background: var(--white);
  width: min(94vw, 720px);
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--paper-line);
  position: relative;
  padding: 2rem 2rem 1.75rem;
}
.wo-modal.wo-modal-wide { width: min(96vw, 820px); }
.wo-modal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--paper-line);
  pointer-events: none;
}
.wo-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.wo-stamp {
  position: absolute;
  top: 22px; right: 60px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3em .6em;
  border-radius: 2px;
  transform: rotate(-6deg);
}
.wo-header { margin-bottom: 1.4rem; }
.wo-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-paper);
  display: block;
  margin-bottom: .5em;
}
.wo-header h3 { font-size: 1.5rem; margin: 0; word-wrap: break-word; }

/* Column widths are no longer fixed percentages — each column sizes
   itself to its own content (so "Starts at $499 + parts" gets the room
   it needs instead of wrapping mid-phrase, and a table with short values
   doesn't leave columns looking arbitrarily bunched or spread out).
   Every column except the first (Service/Class name, which wraps and
   soaks up the remaining space) stays on one line via white-space:nowrap. */
.wo-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.2rem;
}
.wo-table thead th {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-on-paper);
  text-align: left;
  border-bottom: 1px solid var(--paper-line);
  padding: 0 1.3em .5em 0;
  white-space: nowrap;
}
.wo-table thead th:first-child { white-space: normal; padding-right: .75em; }
.wo-table thead th:not(:first-child) { text-align: right; padding-left: 1.1em; padding-right: 0; }
.wo-table thead th:last-child { padding-right: 0; }

.wo-table tbody td {
  padding: .7em 1.3em .7em 0;
  border-bottom: 1px dashed var(--paper-line);
  font-size: .92rem;
  vertical-align: top;
}
.wo-table tbody td:first-child {
  padding-right: .75em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.wo-table tbody td:not(:first-child) {
  text-align: right;
  font-family: var(--font-mono);
  font-size: .78rem;
  padding-left: 1.1em;
  padding-right: 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.wo-table tbody td:last-child { color: var(--orange-dark); font-weight: 600; padding-right: 0; }

/* Repair modal's optional 4th column — unlike the camps schedule, Cost
   stays column 3 here and keeps its bold/orange treatment; the new 4th
   column (whatever the shop defines — warranty, parts required, etc.)
   gets plain styling instead. */
.wo-table-repair-4col tbody td:nth-child(3) { color: var(--orange-dark); font-weight: 600; }
.wo-table-repair-4col tbody td:last-child { color: var(--ink); font-weight: 400; }
.wo-table-repair-4col tbody td:last-child { color: var(--ink); font-weight: 400; }
.wo-footnote {
  font-size: .82rem;
  color: var(--muted-on-paper);
  margin-top: 1rem;
}
.wo-actions { margin-top: 1.5rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* =========================================================
   SHOP GALLERY + LIGHTBOX
   ========================================================= */
.gallery-grid {
  columns: 4 220px;
  column-gap: 1.1rem;
}
@media (max-width: 640px) { .gallery-grid { columns: 2 150px; } }
.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--paper-line);
}
.gallery-item img, .gallery-item video { width: 100%; height: auto; display: block; transition: transform .2s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after {
  content: "\2295";
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(23,23,15,.55);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .15s ease;
}
.gallery-item:hover::after { opacity: 1; }

.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(23,23,15,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-figure { margin: 0; max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-figure img, .lightbox-figure video { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); display: block; margin: 0 auto; }
.lightbox-figure figcaption {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--paper);
  margin-top: 1rem;
  letter-spacing: .04em;
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(246,243,234,.5);
  background: transparent;
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
}

/* =========================================================
   ICON RENDERING — hand-drawn / Font Awesome / uploaded SVG or PNG
   ========================================================= */
.ticket-icon i[class*="fa-"] {
  font-size: 40px;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  line-height: 1;
}
.ticket-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================================================
   FAQ (details/summary) — Camps & Classes page
   ========================================================= */
.faq-item {
  border-bottom: 1px dashed rgba(246,243,234,.25);
  padding-block: 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .8rem; color: var(--muted); font-size: .95rem; }

/* =========================================================
   SHOP GALLERY CAROUSEL (homepage) — several photos visible at
   once, sliding one "page" at a time, arrows overlaid on the
   edge photos, dot-per-page pagination underneath.
   ========================================================= */
.shop-slider {
  --spv: 4;         /* slides per view */
  --gap: 14px;
  position: relative;
  padding-bottom: 2.6rem; /* room for dots below */
}
.shop-slider-viewport { overflow: hidden; }
.shop-slider-track {
  display: flex;
  gap: var(--gap);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.shop-slide {
  flex: 0 0 calc((100% - (var(--spv) - 1) * var(--gap)) / var(--spv));
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  position: relative;
  background: var(--ink-soft);
}
.shop-slide img, .shop-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1000px) { .shop-slider { --spv: 3; } }
@media (max-width: 720px)  { .shop-slider { --spv: 2; } }
@media (max-width: 460px)  { .shop-slider { --spv: 1.35; } }

.shop-slider-arrow {
  position: absolute;
  top: calc(50% - 1.3rem);
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(23,23,15,.35);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background .15s ease, color .15s ease;
}
.shop-slider-arrow:hover { background: var(--orange); color: var(--white); }
.shop-slider-prev { left: 10px; }
.shop-slider-next { right: 10px; }
.shop-slider-arrow[disabled] { opacity: .35; cursor: default; pointer-events: none; }

.shop-slider-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}
.shop-slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--paper-line);
  padding: 0;
  cursor: pointer;
}
.section-ink .shop-slider-dot { background: rgba(246,243,234,.3); }
.shop-slider-dot.is-active { background: var(--orange); }

/* =========================================================
   BLOG AUTHOR BOX (single post)
   ========================================================= */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-block: 2.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
}
@media (max-width: 520px) { .author-box { flex-direction: column; } }
.author-box-photo img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.author-box-body h3 { font-size: 1.15rem; margin: 0 0 .15em; }
.author-box-title {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--orange-dark);
  margin: 0 0 .6em;
}
.author-box-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .7em;
}
.author-box-tags span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: .3em .7em;
  color: var(--muted-on-paper);
}
.author-box-bio { margin: 0; font-size: .92rem; color: var(--muted-on-paper); }

/* =========================================================
   STICKY MOBILE CTA BAR
   ========================================================= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  height: 56px;
  max-height: 56px;
  isolation: isolate;
  transform: translateY(100%);
  transition: transform .25s ease;
}
@media (max-width: 720px) {
  .mobile-cta-bar { display: flex; }
  .mobile-cta-bar.is-visible { transform: translateY(0); }
  body { padding-bottom: 56px; }
  html { overscroll-behavior-y: none; }
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  height: 56px;
  min-height: 0;
}
.mobile-cta-call { background: var(--ink); color: var(--paper); }
.mobile-cta-start { background: var(--orange); color: var(--white); font-weight: 600; }
/* iOS Safari reveals a sliver of the page background below fixed bottom
   bars during its elastic overscroll bounce — this extends each button's
   own background further down (off-screen, invisible in normal use) so
   that if the bounce peeks past the bar's true edge, it still shows solid
   color instead of the page behind it. */
.mobile-cta-call::after,
.mobile-cta-start::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 100px;
  background: inherit;
}

/* =========================================================
   REPAIR CATALOG SEARCH + "NOT LISTED" CARD
   ========================================================= */
.repair-search { margin-bottom: 1.75rem; }
.repair-search input {
  width: 100%;
  max-width: 520px;
  padding: .9em 1.1em;
  border: 1.5px solid var(--paper-line);
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
}
.repair-search input:focus { border-color: var(--orange); outline: none; }

.not-listed-card {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius);
}
.not-listed-card h3 { margin-bottom: .4em; }
.not-listed-card p { color: var(--muted-on-paper); max-width: 46ch; margin-inline: auto; margin-bottom: 1.2em; }

/* =========================================================
   REVIEWS (homepage)
   ========================================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.review-card p {
  font-size: 1rem;
  font-style: italic;
  margin: 0 0 .9em;
  color: var(--ink);
}
.review-card cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .8rem;
  color: var(--muted-on-paper);
}

/* =========================================================
   BOOKING FORM MODAL
   ========================================================= */
.booking-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(23,23,15,.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1100;
}
.booking-modal-overlay.is-open { display: flex; }
.booking-modal {
  background: var(--white);
  width: min(94vw, 640px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid var(--paper-line);
  position: relative;
  padding: 2.25rem 2rem 2rem;
}
.booking-modal .wo-eyebrow { display: block; margin-bottom: .3em; }
.booking-modal-body { margin-top: .5rem; }
.booking-modal-body form { max-width: 100% !important; }

/* =========================================================
   CAMPS & CLASSES — section jump nav, notes blocks, schedule dividers
   ========================================================= */
.camps-jump-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--paper-line);
}
.camps-jump-nav a {
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .5em 1em;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  color: var(--muted-on-paper);
}
.camps-jump-nav a:hover { border-color: var(--orange); color: var(--orange); }

.camps-notes {
  max-width: 70ch;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.camps-notes-spaced { margin-top: 2.5rem; }
.camps-notes p { color: var(--ink); font-size: .96rem; margin-bottom: 1em; }
.camps-notes p:last-child { margin-bottom: 0; }

.wo-table-section-row td {
  padding-top: 1.4em;
  padding-bottom: .5em;
  border-bottom: none;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.wo-table tbody tr.wo-table-section-row:first-child td { padding-top: 0; }

/* =========================================================
   CLASS CARD META — stacked Time Frame / Cost rows (cleaner than a
   cramped side-by-side flex row when the values are longer, like
   "1.5 hours/session" or "Starting at $175/session")
   ========================================================= */
.class-card-meta {
  margin-top: .9em;
  padding-top: .8em;
  border-top: 1px solid var(--paper-line);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.class-card-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.class-card-meta dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-on-paper);
  flex-shrink: 0;
}
.class-card-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--orange-dark);
  font-weight: 600;
  text-align: right;
}

/* =========================================================
   CAREERS — application form and status banners
   ========================================================= */
.application-banner {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--paper-line);
  background: var(--white);
  font-size: .95rem;
}
.application-banner-success { border-color: rgba(34,139,34,.3); background: #eef7ee; }
.application-banner-error { border-color: rgba(245,66,27,.35); background: var(--orange-tint); }

.application-form { max-width: 560px; margin-top: 1.5rem; }
.application-form-row { margin-bottom: 1.3rem; }
.application-form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-on-paper);
  margin-bottom: .5em;
}
.application-form-row input[type=text],
.application-form-row input[type=email],
.application-form-row input[type=tel],
.application-form-row input[type=file],
.application-form-row textarea {
  width: 100%;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: .8em 1em;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
}
.application-form-row input:focus,
.application-form-row textarea:focus { border-color: var(--orange); outline: none; }
.application-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 520px) { .application-form-split { grid-template-columns: 1fr; } }
.application-form-honeypot { position: absolute; left: -9999px; top: -9999px; }

/* =========================================================
   ABOUT PAGE — two-column story with sticky photo
   ========================================================= */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1080px;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
@media (max-width: 800px) {
  .about-story { grid-template-columns: 1fr; }
}
.about-story-photo {
  position: sticky;
  top: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--paper-line);
}
.about-story-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 800px) {
  .about-story-photo { position: static; }
}
.about-story-text { padding-top: .3rem; }

.about-photo-tip {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--muted-on-paper);
  font-style: italic;
}

/* Modal tables use the same simple design at every screen size — no
   special mobile card-stacking. The table itself is already
   content-aware (auto layout, cells wrap normally) so it holds up fine
   at narrow widths without needing to be restructured. */
.wo-table-scroll { margin-block: 1.2rem; }
.wo-table-scroll .wo-table { margin-block: 0; }

/* =========================================================
   VIDEO SUPPORT — Shop Gallery & Project progress photos can mix
   images and videos from the same picker. Video thumbnails show a
   play-icon overlay; the lightbox and single-project pages play them
   back properly with controls.
   ========================================================= */
.media-play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(23,23,15,.65);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  padding-left: 3px; /* optically center the triangle */
  pointer-events: none;
  transition: background .15s ease, transform .15s ease;
}
.shop-slide:hover .media-play-icon,
.gallery-item:hover .media-play-icon,
.progress-photo-item:hover .media-play-icon {
  background: var(--orange);
  transform: translate(-50%, -50%) scale(1.08);
}
.progress-photo-item { position: relative; }
.progress-photo-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

#lightbox-video { background: #000; }

.project-video { margin-block: 2rem; }
.project-video video { width: 100%; border-radius: var(--radius); display: block; background: #000; }
