/* ==========================================================================
   Ontario Webs — main.css
   Neo-Brutalist design system. No gradients, no blur, 2px black borders.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/assets/fonts/cabinet-grotesk-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/assets/fonts/cabinet-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --red:      #E03127;
  --charcoal: #171E19;
  --sage:     #B7C6C2;
  --white:    #FFFFFF;
  --black:    #000000;
  --grey-dk:  #4A4A4A;
  --grey-lt:  #F4F4F5;
  --grey-mid: #272727;

  --font-display: 'Cabinet Grotesk', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body:    'Satoshi', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --bd: 2px solid var(--black);
  --sh-sm: 4px 4px 0 var(--black);
  --sh-lg: 8px 8px 0 var(--black);
  --sh-xl: 12px 12px 0 var(--black);

  --ease: cubic-bezier(.175, .885, .32, 1.275);
  --header-h: 80px;

  --wrap: 1200px;
  --pad: 24px;
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  padding-top: var(--header-h);
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}
.header :focus-visible,
.footer :focus-visible,
.cta-final :focus-visible {
  outline-color: var(--white);
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.125rem; }

/* Highlighted word in the hero H1: white with the same hard, zero-blur
   offset shadow the buttons use. */
.hl-word {
  color: var(--white);
  text-shadow: 4px 4px 0 var(--black);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; }

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }

.section--red      { background: var(--red); }
.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--sage     { background: var(--sage); }
.section--white    { background: var(--white); }

.bd-y { border-top: var(--bd); border-bottom: var(--bd); }

.dots {
  position: relative;
}
.dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--black) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.10;
  pointer-events: none;
}
.dots > * { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border: var(--bd);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: all .2s var(--ease);
}
.btn:hover,
.btn:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--black);
}
.btn--lg {
  padding: 19px 34px;
  font-size: 1.0625rem;
  box-shadow: var(--sh-lg);
}
.btn--lg:hover,
.btn--lg:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: var(--sh-sm);
}

.btn--black { background: var(--black); color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--red   { background: var(--red);   color: var(--white); }
.btn--sage  { background: var(--sage);  color: var(--black); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: var(--bd);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--sh-sm);
}
.card--lg { box-shadow: var(--sh-lg); }
.card--red { background: var(--red); color: var(--white); }
.card--sage { background: var(--sage); }
.card--dark { background: var(--grey-mid); color: var(--white); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9688rem; line-height: 1.6; }

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

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--sage);
  border: var(--bd);
  border-radius: 12px;
  margin-bottom: 18px;
  transition: background .2s var(--ease);
}
.icon-box svg { width: 26px; height: 26px; stroke: var(--black); fill: none; stroke-width: 2.2; }
.card:hover .icon-box { background: var(--red); }
.card:hover .icon-box svg { stroke: var(--white); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: var(--bd);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--red);
  border-bottom: var(--bd);
  z-index: 900;
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
/* The wordmark keeps its specified colours (Ontario red / webs black / .ca grey),
   so on the red header it sits on a white plate to stay legible. */
.logo { flex-shrink: 0; display: block; }
.logo__plate {
  display: block;
  background: var(--white);
  border: var(--bd);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: var(--sh-sm);
  transition: all .2s var(--ease);
}
.logo:hover .logo__plate,
.logo:focus-visible .logo__plate {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--black);
}
.logo svg { height: 26px; width: auto; display: block; }
.footer__logo svg { height: 28px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}
.nav a {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s linear;
}
.nav a:hover, .nav a[aria-current='page'] { border-bottom-color: var(--black); }

.header__right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header__tel {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  white-space: nowrap;
}
.header__tel:hover { text-decoration: underline; }
.header .btn { padding: 12px 22px; font-size: 0.9375rem; }

.burger {
  display: none;
  width: 48px;
  height: 48px;
  background: var(--black);
  border: var(--bd);
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
  box-shadow: var(--sh-sm);
  transition: all .2s var(--ease);
}
.burger:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--black); }
.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--white);
  margin: 3px auto;
  transition: transform .2s linear, opacity .2s linear;
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--red);
  z-index: 890;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 32px var(--pad) 48px;
  overflow-y: auto;
}
.mobile-menu[data-open='true'] { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--white);
  padding: 12px 0;
  border-bottom: var(--bd);
}
.mobile-menu .btn { margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--red);
  border-bottom: var(--bd);
  padding-block: clamp(48px, 7vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin: 22px 0 20px; }
.hero .lead { max-width: 33em; margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   10. Browser mockup (hero right column)
   -------------------------------------------------------------------------- */
.browser {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  background: var(--white);
  border: var(--bd);
  border-radius: 16px;
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  padding: 12px 14px;
}
.browser__bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: var(--red); }
.dot--g { background: #8A8A8A; }
.dot--s { background: var(--sage); }
.browser__url { flex: 1; height: 16px; margin-left: 6px; background: #333; border-radius: 8px; }

.browser__screen { padding: 22px; }
.browser__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.browser__top .eyebrow { color: #8A8A8A; margin-bottom: 6px; }
.browser__top h3 { font-size: 1.75rem; }
.browser__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  border: var(--bd);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.browser__badge svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; }

.mini { border: var(--bd); border-radius: 12px; overflow: hidden; background: var(--white); }
.mini__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: var(--bd);
}
.mini__logo { width: 14px; height: 14px; border-radius: 4px; background: var(--red); }
.mini__brand { font-family: var(--font-display); font-size: 0.625rem; font-weight: 800; }
.mini__links { display: flex; gap: 7px; margin-left: auto; }
.mini__links span { width: 20px; height: 4px; border-radius: 2px; background: #E4E4E4; }
.mini__navbtn { width: 34px; height: 13px; border-radius: 4px; background: var(--charcoal); margin-left: 4px; }

.mini__hero { padding: 16px 14px; background: #DDE4DA; border-bottom: var(--bd); }
.mini__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 82%;
}
.mini__title em { font-style: normal; color: var(--red); }
.mini__lines { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; }
.mini__lines i { display: block; height: 4px; border-radius: 2px; background: var(--sage); }
.mini__lines i:nth-child(1) { width: 70%; }
.mini__lines i:nth-child(2) { width: 52%; }
.mini__cta {
  display: inline-block;
  margin-top: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  border: var(--bd);
}
.mini__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 11px; }
.mini__tile {
  border: 1.5px solid var(--black);
  border-radius: 7px;
  padding: 8px 7px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mini__tile b { display: block; width: 12px; height: 12px; border-radius: 3px; }
.mini__tile i { display: block; height: 4px; border-radius: 2px; background: #E4E4E4; }
.mini__tile:nth-child(1) b { background: var(--red); }
.mini__tile:nth-child(2) b { background: var(--sage); }
.mini__tile:nth-child(3) b { background: var(--charcoal); }
.mini__foot { background: var(--charcoal); padding: 9px 11px; display: flex; align-items: center; gap: 6px; }
.mini__foot i { display: block; height: 4px; border-radius: 2px; background: #3A3A3A; width: 34px; }
.mini__foot i:last-child { background: var(--red); width: 16px; margin-left: auto; }

/* --------------------------------------------------------------------------
   11. Trust marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--charcoal);
  border-top: var(--bd);
  border-bottom: var(--bd);
  overflow: hidden;
  padding-block: 18px;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--sage);
  opacity: 0.5;
  white-space: nowrap;
  padding-right: 24px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   12. How it works (steps)
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 28px; position: relative; }
.steps--h { grid-template-columns: repeat(6, 1fr); gap: 18px; }
.steps--h::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--grey-mid);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--white);
}
.step:nth-child(3n+1) .step__num { border: 4px solid var(--red); }
.step:nth-child(3n+2) .step__num { border: 4px solid var(--sage); }
.step:nth-child(3n+3) .step__num { border: 4px solid var(--white); }
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: 0.875rem; line-height: 1.55; color: var(--sage); }

/* --------------------------------------------------------------------------
   13. Included (bento)
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento .card { display: flex; flex-direction: column; gap: 8px; }
/* 8 cards over 4 columns: two wide + four narrow + two wide = 12 cells, 3 clean rows. */
.bento .card:nth-child(1),
.bento .card:nth-child(2),
.bento .card:nth-child(7),
.bento .card:nth-child(8) { grid-column: span 2; }
.tag {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--bd);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--sage);
}
.tag--red { background: var(--red); color: var(--white); }
.closing-note {
  margin-top: 32px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  max-width: 46em;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   14. Timeline strip
   -------------------------------------------------------------------------- */
.strip {
  background: var(--sage);
  border-bottom: var(--bd);
  padding-block: clamp(32px, 4.5vw, 52px);
  text-align: center;
}
.strip p {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.375rem, 3.2vw, 2.125rem);
  line-height: 1.15;
}

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--white);
  border: var(--bd);
  border-radius: 24px 2px 24px 2px;
  padding: 28px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--red); }
.quote-card blockquote { font-size: 0.9688rem; line-height: 1.65; }
.quote-card cite { font-style: normal; font-weight: 700; font-size: 0.875rem; margin-top: auto; }

/* --------------------------------------------------------------------------
   16. Final CTA
   -------------------------------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 20px; }
.cta-final .tel-big {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  margin-block: 8px 28px;
}
.cta-final .tel-big:hover { -webkit-text-stroke: 2px var(--black); }
.cta-final .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--charcoal);
  color: var(--white);
  border-top: var(--bd);
  padding-block: clamp(48px, 6vw, 72px) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h4 {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer li { margin-bottom: 10px; }
.footer a { font-size: 0.9375rem; }
.footer a:hover { color: var(--red); }
.footer__logo { margin-bottom: 16px; }
.footer__logo svg { height: 28px; width: auto; }
.footer__desc { font-size: 0.9375rem; color: var(--sage); max-width: 30em; }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--grey-mid);
  border: 2px solid #4A4A4A;
  border-radius: 10px;
  transition: background .15s linear, border-color .15s linear;
}
.socials svg { width: 18px; height: 18px; fill: var(--white); }
.socials a:hover { background: var(--red); border-color: var(--black); }
.socials a:hover svg { fill: var(--black); }

.footer__bottom {
  margin-top: 48px;
  border-top: 2px solid var(--grey-mid);
  padding-block: 22px;
  font-size: 0.875rem;
  color: var(--sage);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   18. Sticky contact bar
   -------------------------------------------------------------------------- */
.sticky-contact {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 12px;
  z-index: 999;
}
.sticky-contact a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: var(--bd);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  transition: all .2s var(--ease);
}
.sticky-contact a:hover,
.sticky-contact a:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--black);
}
.sticky-contact svg { width: 26px; height: 26px; fill: var(--white); }
.sc--call { background: var(--red); }
.sc--wa   { background: var(--charcoal); }

/* --------------------------------------------------------------------------
   19. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--red);
  border-bottom: var(--bd);
  padding-block: clamp(48px, 6vw, 76px);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 40em; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8125rem; font-weight: 700; margin-bottom: 20px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: 0.6; }

/* --------------------------------------------------------------------------
   20. Services blocks
   -------------------------------------------------------------------------- */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: var(--bd);
}
.svc:last-of-type { border-bottom: 0; }
.svc h2 { margin-bottom: 16px; }
.svc p { margin-bottom: 20px; }

.ticks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 0.9688rem;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--red);
  border: var(--bd);
  border-radius: 5px;
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { text-align: center; }
.price-card .amount {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1;
  margin-block: 6px 10px;
}

/* --------------------------------------------------------------------------
   21. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; }
.faq details {
  border: var(--bd);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.125rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after,
.faq summary::before {
  content: '';
  position: absolute;
  right: 24px;
  background: var(--red);
  transition: transform .2s linear, opacity .2s linear;
}
.faq summary::before { top: 50%; width: 16px; height: 3px; margin-top: -1.5px; }
.faq summary::after  { top: 50%; width: 3px; height: 16px; margin-top: -8px; right: 30.5px; }
.faq details[open] summary::after { opacity: 0; transform: rotate(90deg); }
.faq details[open] summary { border-bottom: var(--bd); }
.faq .faq__body { padding: 20px 22px 24px; }
.faq .faq__body p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   22. Contact page + form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-list li { margin-bottom: 24px; }
.contact-list .eyebrow { color: var(--grey-dk); display: block; margin-bottom: 4px; }
.contact-list strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.375rem;
  display: block;
}
.contact-list a strong:hover { color: var(--red); }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 8px; }
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--white);
  border: var(--bd);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  transition: box-shadow .15s linear;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  box-shadow: var(--sh-sm);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-note { font-size: 0.8125rem; color: var(--grey-dk); margin-top: 14px; }

.form-status {
  display: none;
  margin-top: 20px;
  border: var(--bd);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: var(--sh-sm);
}
.form-status[data-state='ok']   { display: block; background: var(--sage); }
.form-status[data-state='err']  { display: block; background: var(--red); color: var(--white); }

/* --------------------------------------------------------------------------
   22b. Portfolio
   -------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.work {
  background: var(--white);
  border: var(--bd);
  border-radius: 16px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s var(--ease);
}
.work:hover { transform: translate(4px, 4px); box-shadow: var(--sh-sm); }

.work__shot {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: var(--bd);
  background: var(--grey-lt);
}
.work__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work h3 { font-size: 1.375rem; }
.work p { font-size: 0.9688rem; }
.work__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid var(--grey-lt);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.work__url { font-weight: 700; font-size: 0.875rem; color: var(--grey-dk); }
.work__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.875rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.work__link:hover { color: var(--red); }
.work__link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* Capability showcase */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat {
  background: var(--white);
  border: var(--bd);
  border-radius: 16px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Every shot fills its frame edge to edge — no letterboxing. The box is tall
   enough that portrait phone screenshots still read as phone screens. */
.feat__shot {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-bottom: var(--bd);
  background: var(--grey-lt);
}
/* Shots whose subject sits in the middle of the frame rather than the top. */
.feat__shot--center { object-position: center; }
.feat__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.feat h3 { font-size: 1.125rem; }
.feat p { font-size: 0.9063rem; }

/* --------------------------------------------------------------------------
   23. Blog
   -------------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 12px; transition: all .2s var(--ease); }
.post-card:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--black); }
.post-card h3 { font-size: 1.25rem; }
.post-card .meta { font-size: 0.8125rem; color: var(--grey-dk); font-weight: 700; margin-top: auto; }

.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul { margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  background: var(--red);
  border: var(--bd);
  border-radius: 3px;
}
.prose blockquote {
  border-left: 6px solid var(--red);
  background: var(--grey-lt);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-weight: 700;
}
.prose img { border: var(--bd); border-radius: 12px; box-shadow: var(--sh-sm); margin: 28px 0; }
.prose a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.author-box { display: flex; gap: 18px; align-items: center; margin-top: 48px; }
.author-box .avatar {
  width: 64px; height: 64px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--red);
  border: var(--bd);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.875rem; font-weight: 700; margin-top: 18px; }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps--h { grid-template-columns: repeat(3, 1fr); }
  .steps--h::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card:nth-child(1),
  .bento .card:nth-child(2),
  .bento .card:nth-child(7),
  .bento .card:nth-child(8) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .nav, .header__tel { display: none; }
  .burger { display: grid; }
  .header .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .sticky-contact { left: auto; right: 20px; }
  .work-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .steps--h { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .sticky-contact { bottom: 16px; right: 16px; }
  .browser__top h3 { font-size: 1.375rem; }
  .logo svg { height: 21px; }
  .logo__plate { padding: 7px 11px; }
  .mobile-menu .btn { width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .work__body { padding: 20px 20px 22px; }
}

/* --------------------------------------------------------------------------
   25. Motion preferences
   -------------------------------------------------------------------------- */
@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;
  }
  .marquee__track { animation: none; transform: none; }
  .btn:hover, .btn--lg:hover, .burger:hover,
  .sticky-contact a:hover, .post-card:hover,
  .logo:hover .logo__plate, .work:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   26. Print
   -------------------------------------------------------------------------- */
@media print {
  .header, .sticky-contact, .mobile-menu, .marquee { display: none !important; }
  body { padding-top: 0; }
  * { box-shadow: none !important; }
}
