/* ==========================================================================
   Domora Home Improvements — Design System
   Concept: the site reads as a job ticket / work order — the real paper
   artifact of trade work. Kraft paper surfaces, tape-measure tick rules,
   spec-sheet line items, stamped verification marks. Boldness lives in the
   ticket devices; everything around them stays quiet and disciplined.
   ========================================================================== */

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand ink & paper — true brand black/white, no tan */
  --ink: #131313;
  --ink-soft: #3a3a3a;
  --paper: #f7f7f5;
  --paper-card: #ffffff;
  --paper-line: #e3e3e1;
  --paper-line-strong: #cccccb;

  /* Brand red — the one loud color, spent on purpose */
  --red: #f90808;
  --red-dark: #c50606;

  /* Neutral supporting text — no warm/brass tint, brand is red/black/white */
  --steel: #58585a;
  --steel-dim: #8c8c8e;

  --white: #ffffff;

  /* Type */
  --font-display: "Gilroy", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Layout */
  --container-width: 1180px;
  --header-height: 96px;
  --radius-sm: 3px;
  --radius-md: 5px;
  --shadow-card: 0 1px 0 var(--paper-line-strong), 0 14px 26px -18px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 22px 40px -20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink h2,
.section--ink h3 {
  color: var(--white);
}

.section--card {
  background: var(--paper-card);
}

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.tag-label::before {
  content: "[";
}

.tag-label::after {
  content: "]";
}

.section--ink .tag-label {
  color: #ff6a5c;
}

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
}

.section-head p {
  color: var(--steel);
  font-size: 16.5px;
  max-width: 560px;
}

.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

.section--ink .section-head p {
  color: #c9c0ac;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  z-index: 999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Ruler-tick divider — the recurring measuring-tape motif
   ========================================================================== */

.ruler {
  height: 26px;
  background-repeat: repeat-x;
  background-position: left bottom;
  background-image: repeating-linear-gradient(
      to right,
      var(--ink) 0,
      var(--ink) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(to right, var(--ink) 0, var(--ink) 1.5px, transparent 1.5px, transparent 40px),
    repeating-linear-gradient(to right, var(--ink) 0, var(--ink) 2px, transparent 2px, transparent 160px);
  background-size: 8px 9px, 40px 16px, 160px 24px;
  border-bottom: 2px solid var(--ink);
  opacity: 0.85;
}

.section--ink + .section .ruler,
.ruler--light {
  opacity: 1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: #000;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}

.section--ink .btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-bar {
  background: var(--ink);
  color: #c9c0ac;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.header-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.header-bar a {
  color: #c9c0ac;
  transition: color 0.15s ease;
}

.header-bar a:hover {
  color: var(--white);
}

.header-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-bar-links span,
.header-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.main-nav a.nav-link:hover,
.main-nav .nav-item.is-active > a.nav-link {
  color: var(--red);
  background: var(--paper-card);
}

.nav-item {
  position: relative;
}

.nav-item.has-dropdown > a.nav-link {
  display: inline-flex;
  gap: 6px;
}

.nav-item.has-dropdown > a.nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  opacity: 0.6;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 280px;
  background: var(--paper-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: var(--paper);
  color: var(--red);
}

.dropdown a strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
}

.dropdown a span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-call {
  display: none;
}

.header-call a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-call .icon-mark {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-call strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
}

.header-call span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink);
  background: var(--paper-card);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
}

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 600;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-nav-head img {
  height: 44px;
}

.mobile-nav-close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink);
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid var(--paper-line-strong);
}

.mobile-nav a.nav-link {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}

.mobile-submenu {
  padding: 0 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-submenu a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--steel);
}

.mobile-nav .btn {
  margin-top: 22px;
}

body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero — the work order ticket
   ========================================================================== */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ticket {
  position: relative;
  background: var(--paper-card);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
}

.ticket-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.ticket-corner--tl {
  top: -1.5px;
  left: -1.5px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}

.ticket-corner--tr {
  top: -1.5px;
  right: -1.5px;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
}

.ticket-corner--bl {
  bottom: -1.5px;
  left: -1.5px;
  border-bottom: 3px solid var(--red);
  border-left: 3px solid var(--red);
}

.ticket-corner--br {
  bottom: -1.5px;
  right: -1.5px;
  border-bottom: 3px solid var(--red);
  border-right: 3px solid var(--red);
}

.hero-ticket {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1.5px dashed var(--paper-line-strong);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.ticket-head strong {
  color: var(--ink);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero .lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.tear-line {
  display: none;
}

.hero-checklist {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px dashed var(--paper-line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--steel);
}

.hero-checklist li::before {
  content: "\2713";
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink);
  flex-shrink: 0;
}

.hero-photo {
  position: relative;
  border-left: 1.5px dashed var(--paper-line-strong);
  padding-left: 40px;
}

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(135deg, #f2f2f1 0 2px, #e6e6e4 2px 4px);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame--wide {
  aspect-ratio: 16 / 10;
}

.photo-frame--square {
  aspect-ratio: 1 / 1;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--steel);
  text-align: center;
  padding: 20px;
}

.photo-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.photo-stamp {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: var(--paper-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  transform: rotate(-3deg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  box-shadow: var(--shadow-lift);
}

.photo-stamp strong {
  display: block;
  color: var(--red);
  font-size: 12.5px;
}

/* ==========================================================================
   Punch list (value props)
   ========================================================================== */

.punch-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--ink);
  border: 1.5px solid var(--ink);
}

.punch-item {
  background: var(--paper-card);
  padding: 32px 26px;
}

.punch-item .num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
}

.punch-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.punch-item p {
  color: var(--steel);
  font-size: 14.5px;
  margin: 0;
}

/* ==========================================================================
   Spec-sheet service rows
   ========================================================================== */

.spec-sheet {
  border-top: 1.5px solid var(--ink);
}

.spec-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1.5px solid var(--ink);
}

.spec-row .num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--steel);
  align-self: start;
  padding-top: 4px;
}

.spec-row-main h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.spec-row-main p {
  color: var(--steel);
  font-size: 15.5px;
  max-width: 620px;
  margin-bottom: 14px;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tags li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border: 1px solid var(--paper-line-strong);
  border-radius: 100px;
  color: var(--ink-soft);
}

.spec-row-cta {
  align-self: start;
  padding-top: 6px;
}

.spec-row-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--red);
}

.spec-row-cta a:hover {
  color: var(--red);
}

/* ==========================================================================
   Process — ticket stub steps (a real sequence, numbering earns its keep)
   ========================================================================== */

.stub-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stub {
  position: relative;
  padding: 28px 24px;
  border: 1.5px dashed var(--paper-line-strong);
  border-left: none;
}

.stub:first-child {
  border-left: 1.5px dashed var(--paper-line-strong);
}

.stub-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}

.stub h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.stub p {
  font-size: 14px;
  color: var(--steel);
  margin: 0;
}

/* ==========================================================================
   Service area
   ========================================================================== */

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 15px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper-card);
}

.area-group {
  margin-bottom: 22px;
}

.area-group:last-child {
  margin-bottom: 0;
}

.area-group h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin: 0 0 12px;
}

.map-frame {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
}

/* ==========================================================================
   Ratings / testimonial ticket stubs
   ========================================================================== */

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

.rating-summary .stars {
  display: flex;
  gap: 3px;
  color: var(--red);
}

.rating-summary .stars svg {
  width: 17px;
  height: 17px;
}

.rating-summary strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}

.rating-summary span {
  font-size: 12.5px;
  color: var(--steel);
}

.rating-summary a {
  font-weight: 500;
  font-size: 12.5px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.rating-summary a:hover {
  color: var(--red-dark);
}

.testimonial-carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-track-wrap {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 4px;
}

.review-stub {
  position: relative;
  background: var(--paper-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stub::before {
  content: "";
  position: absolute;
  top: -1.5px;
  bottom: -1.5px;
  right: 92px;
  border-left: 1.5px dashed var(--paper-line-strong);
}

.review-stub-main {
  flex: 1;
  padding-right: 92px;
}

.review-stub .stars {
  display: flex;
  gap: 3px;
  color: var(--red);
  margin-bottom: 12px;
}

.review-stub .stars svg {
  width: 14px;
  height: 14px;
}

.review-stub p.quote {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}

.review-stub-tag {
  position: absolute;
  top: 30px;
  right: 32px;
  width: 60px;
  text-align: center;
}

.review-stub-tag .initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  margin: 0 auto 8px;
}

.review-stub-tag strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
}

.review-stub-tag span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 4px;
  line-height: 1.3;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.carousel-arrow--prev {
  left: -21px;
}

.carousel-arrow--next {
  right: -21px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.carousel-dot.is-active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .review-stub {
    padding: 26px 22px;
  }
  .review-stub::before {
    display: none;
  }
  .review-stub-main {
    padding-right: 0;
  }
  .review-stub-tag {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    margin-top: 4px;
  }
  .review-stub-tag .initials {
    margin: 0;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .carousel-arrow--prev {
    left: -6px;
  }
  .carousel-arrow--next {
    right: -6px;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1.5px solid var(--ink);
}

.faq-item:first-child {
  border-top: 1.5px solid var(--ink);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-family: var(--font-mono);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 4px 22px;
  color: var(--steel);
  font-size: 15px;
  max-width: 620px;
}

/* ==========================================================================
   CTA — the tear-off stub
   ========================================================================== */

.cta-ticket {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}

.cta-ticket h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 6px;
}

.cta-ticket p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 13px;
}

.cta-ticket .btn-ink {
  flex-shrink: 0;
}

/* ==========================================================================
   Forms — the work-order intake form
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink);
  background: var(--paper-card);
  color: var(--ink);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(249, 8, 8, 0.14);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel);
  margin-top: 14px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: var(--paper-card);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-card);
}

.gallery-item .photo-frame {
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
}

.gallery-caption {
  padding: 16px 18px;
}

.gallery-caption strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.gallery-caption span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel);
}

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */

.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 44px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.breadcrumbs a {
  color: var(--steel-dim);
}

.breadcrumbs a:hover {
  color: var(--paper);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(28px, 3.8vw, 40px);
  margin-bottom: 12px;
  max-width: 780px;
}

.page-header p {
  color: #c9c0ac;
  max-width: 620px;
  margin: 0;
  font-size: 16px;
}

/* ==========================================================================
   Misc components
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 24px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
}

.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

.grid {
  display: grid;
  gap: 26px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  padding: 30px;
  background: var(--paper-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
}

.value-card .num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--steel);
  font-size: 15px;
  margin: 0;
}

.notice-banner {
  background: var(--paper-card);
  border: 1.5px solid var(--paper-line-strong);
  border-left: 4px solid var(--red);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin-bottom: 30px;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
}

.article-card .photo-frame {
  aspect-ratio: 16 / 10;
  border: none;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
}

.article-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 12px;
}

.article-meta span {
  color: var(--steel);
}

.article-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.article-card p {
  color: var(--steel);
  font-size: 15px;
  flex: 1;
  margin-bottom: 16px;
}

.article-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  align-self: flex-start;
  padding-bottom: 2px;
}

.article-card:hover .card-link {
  color: var(--red);
}

/* Post typography */
.post-body {
  max-width: 720px;
  margin: 0 auto;
}

.post-body h2 {
  font-size: 26px;
  margin-top: 1.6em;
}

.post-body h3 {
  font-size: 20px;
  margin-top: 1.4em;
}

.post-body p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.75;
}

.post-body ul {
  margin: 0 0 1.4em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
}

.post-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.post-pull {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 22px;
  margin: 2em 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.4;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--steel-dim);
  margin-bottom: 8px;
}

.post-meta-row span {
  color: var(--red);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #c9c0ac;
  padding: 68px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1.5px dashed #4a4235;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14.5px;
  color: #a49a83;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #4a4235;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.social-row a:hover {
  background: var(--red);
  border-color: var(--red);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: #a49a83;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #a49a83;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #857c66;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #857c66;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

/* ==========================================================================
   404
   ========================================================================== */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px;
}

.error-page .code {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 90px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 1000px) {
  .header-call {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 999px) {
  .main-nav,
  .header-call,
  .header-cta > .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-ticket {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-photo {
    border-left: none;
    padding-left: 0;
    border-top: 1.5px dashed var(--paper-line-strong);
    padding-top: 28px;
    order: -1;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .punch-list,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stub-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stub {
    border-left: 1.5px dashed var(--paper-line-strong);
    border-top: none;
  }

  .stub:nth-child(1),
  .stub:nth-child(2) {
    border-top: 1.5px dashed var(--paper-line-strong);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .spec-row {
    grid-template-columns: 44px 1fr;
  }

  .spec-row-cta {
    grid-column: 1 / -1;
    padding-top: 4px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .punch-list,
  .stub-steps,
  .gallery-grid,
  .article-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stub {
    border-left: 1.5px dashed var(--paper-line-strong) !important;
    border-top: 1.5px dashed var(--paper-line-strong) !important;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cta-ticket {
    padding: 34px 26px;
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .header-bar .container > .header-bar-links:last-child {
    display: none;
  }

  .header-bar-links a:nth-child(2) {
    display: none;
  }

  .hero-checklist {
    gap: 14px 20px;
  }
}
