/* Infinity Roofers homepage redesign preview. Scoped tokens; brand red #C00802 and ink #1F0A0C kept from the live theme. */
@layer reset, tokens, base, layout, components, sections, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; interpolate-size: allow-keywords; scroll-padding-top: 120px; }
  body { margin: 0; }
  img { display: block; max-width: 100%; height: auto; }
  h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  button { font: inherit; color: inherit; }
}

@layer tokens {
  :root {
    --paper: #F6F1EA;
    --paper-2: #EDE5DA;
    --paper-3: #E3D8CA;
    --white: #FFFDFB;
    --ink: #1F0A0C;
    --ink-2: #4A3A3B;
    --ink-3: #6E5F5F;
    --line: #D9CDBF;
    --line-soft: #E7DED3;
    --red: #C00802;
    --red-press: #9A0601;
    --red-tint: #FBECED;
    --on-dark: #F6F1EA;
    --on-dark-2: #C9BDB3;
    --line-dark: #3B2628;

    --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
    --step-0: clamp(1.0625rem, 1.02rem + 0.18vw, 1.125rem);
    --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
    --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
    --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.25rem);
    --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5.25rem);

    --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
    --wrap: 1280px;
    --measure: 66ch;
    --radius: 6px;
    --radius-lg: 10px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: 220ms;
    --shadow: 0 1px 0 rgba(31,10,12,.04), 0 10px 30px -18px rgba(31,10,12,.35);
  }
}

@layer base {
  body {
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font: 400 var(--step-0)/1.62 var(--f-body);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 82%; line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; }
  h1 { font-size: var(--step-4); line-height: .96; }
  h2 { font-size: var(--step-3); }
  h3 { font-size: var(--step-1); line-height: 1.15; font-stretch: 88%; font-weight: 750; }
  p, li { text-wrap: pretty; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
  .prose a, a.inline { color: var(--red); text-decoration-line: underline; text-decoration-color: color-mix(in srgb, var(--red) 40%, transparent); transition: text-decoration-color var(--dur) var(--ease); }
  .prose a:hover, a.inline:hover { text-decoration-color: var(--red); }
  :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
  ::selection { background: var(--red); color: #fff; }
  strong { font-weight: 700; }
}

@layer layout {
  .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
  .section { padding-block: clamp(3.5rem, 2.5rem + 4.2vw, 6.5rem); }
  .section + .section.is-flush { padding-top: 0; }
  .prose { max-width: var(--measure); }
  .prose > * + * { margin-top: 1.05em; }
  .prose ul, .prose ol { padding-left: 1.2em; }
  .eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 var(--step--1)/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
  .eyebrow::before { content: ""; width: 22px; height: 12px; background: currentColor; clip-path: polygon(0 100%, 30% 0, 50% 55%, 70% 0, 100% 100%, 86% 100%, 70% 40%, 50% 95%, 30% 40%, 14% 100%); }
  .lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
  .head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
  .head h2 { max-width: 20ch; }
  .muted { color: var(--ink-3); }
}

@layer components {
  /* Buttons */
  .btn { --bg: var(--red); --fg: #fff; --bd: var(--red);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.35rem;
    background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: var(--radius);
    font: 600 1rem/1.1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 120ms var(--ease);
    touch-action: manipulation; }
  .btn:hover { --bg: var(--red-press); --bd: var(--red-press); }
  .btn:active { transform: translateY(1px); }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
  .btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
  .btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
  .btn--light:hover { --bg: #fff; --bd: #fff; }
  .btn--outline-light { --bg: transparent; --fg: var(--on-dark); --bd: color-mix(in srgb, var(--on-dark) 45%, transparent); }
  .btn--outline-light:hover { --bg: var(--on-dark); --fg: var(--ink); --bd: var(--on-dark); }
  .btn-phone { font-variant-numeric: tabular-nums; }

  .arrow-link { display: inline; font-weight: 600; color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
  .arrow-link svg { display: inline-block; width: 16px; height: 16px; margin-left: .35rem; vertical-align: -3px; transition: transform var(--dur) var(--ease); }

  /* Peak-marker list: the two roof peaks from the logo as the bullet */
  .peaks { list-style: none; padding: 0; display: grid; gap: .7rem; }
  .peaks li { position: relative; padding-left: 2rem; }
  .peaks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 18px; height: 10px; background: var(--red);
    clip-path: polygon(0 100%, 30% 0, 50% 55%, 70% 0, 100% 100%, 86% 100%, 70% 40%, 50% 95%, 30% 40%, 14% 100%); }

  /* Photo frames: zoom stays inside the frame */
  .frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-3); }
  .frame picture { display: contents; }
  .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
  figcaption { font-size: var(--step--1); color: var(--ink-3); margin-top: .6rem; line-height: 1.45; }

  /* Whole-card link */
  .card-link { position: relative; }
  .card-link a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
  .card-link:hover .frame img { transform: scale(1.04); }
  .card-link:hover .arrow-link svg { transform: translateX(4px); }
  .card-link:has(a.stretch:focus-visible) { outline: 2px solid var(--red); outline-offset: 4px; }
  .card-link a.stretch:focus-visible { outline: none; }

  /* Stars */
  .stars { display: inline-flex; gap: 2px; color: #E7A10E; }
  .stars svg { width: 16px; height: 16px; }

  /* Chips */
  .chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
  .chips li { font-size: .875rem; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); }
}

@layer sections {
  /* Skip link */
  .skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius); }
  .skip:focus { top: 1rem; }

  .preview-bar { background: var(--ink); color: var(--on-dark); text-align: center; font-size: .85rem; padding: .55rem var(--gutter); }

  /* Header: same as the live site at the top (transparent over the hero), pinned on a dark bar after scrolling */
  .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; }
  .site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0e0909; box-shadow: 0 2px 14px rgba(0,0,0,.28); opacity: 0; transition: opacity 200ms linear; pointer-events: none; }
  .site-header.is-scrolled::before { opacity: 1; }
  .hwrap { display: flex; align-items: center; justify-content: space-between; height: 88px; padding-inline: 24px; }
  .brand { display: block; line-height: 0; }
  .brand img { width: 178px; height: 59px; }
  .nav { display: none; }
  .nav > ul { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
  .nav > ul > li > a { display: inline-flex; align-items: center; padding: 0 16px; line-height: 25.6px; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; }
  .has-sub { position: relative; display: flex; align-items: center; }
  .has-sub > a { padding-right: 2px !important; }
  .menu-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
  .menu-btn svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
  .nav > ul > li > a:hover, .menu-btn:hover { opacity: .8; }
  .sub, .sub2 { position: absolute; list-style: none; margin: 0; padding: 0; min-width: 240px; background: #000; border-top: 2px solid #000; box-shadow: 0 4px 10px -2px rgba(0,0,0,.1);
    opacity: 0; visibility: hidden; translate: 0 -4px; transition: opacity 160ms var(--ease), translate 160ms var(--ease), visibility 0s 160ms; }
  .sub { top: 100%; left: 0; }
  .sub2 { top: -2px; left: 100%; }
  .sub a { display: block; padding: 14.4px 16px; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }
  .sub a:hover { color: #ff5a52; }
  .has-sub2 { position: relative; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub, .has-sub2:hover > .sub2, .has-sub2:focus-within > .sub2 { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
  .has-sub:hover > .menu-btn svg, .has-sub.open > .menu-btn svg { transform: rotate(180deg); }
  .sub::before { content: ""; position: absolute; inset: -40px 0 auto 0; height: 40px; }
  .header-cta { display: none; justify-content: flex-end; }
  .call-now { display: inline-block; padding: 18px 24px; border: 2px solid #fff; border-radius: 8px; background: #fff; color: #000; font-size: 18px; font-weight: 700; line-height: 1; text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
  .call-now:hover { background: #fff; color: #000; border-color: #000; }
  .burger { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 2px; background: none; color: #fff; cursor: pointer; }
  .burger svg { width: 18px; height: 18px; }
  @media (min-width: 1181px) {
    .hwrap { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 19px; max-width: 1240px; height: 104px; margin-inline: auto; padding-inline: 20px; }
    .nav, .header-cta { display: flex; }
    .burger { display: none; }
  }

  /* Mobile menu (popover) */
  #mobile-menu { inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
  #mobile-menu::backdrop { background: rgba(31,10,12,.4); }
  .mm-top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
  .mm-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: none; font-weight: 600; cursor: pointer; }
  .mm-close svg { width: 16px; height: 16px; }
  .mm-body { padding: 1.5rem var(--gutter) 7rem; display: grid; gap: 1.75rem; }
  .mm-group h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--f-body); font-weight: 600; color: var(--ink-3); margin-bottom: .5rem; }
  .mm-group ul { list-style: none; padding: 0; margin: 0; }
  .mm-group a { display: flex; align-items: center; min-height: 48px; font: 700 1.35rem/1.1 var(--f-display); font-stretch: 85%; text-decoration: none; border-bottom: 1px solid var(--line-soft); }

  /* Hero: real job footage behind the text */
  .hero { position: relative; isolation: isolate; overflow: clip; background: #140607; color: #fff; min-height: min(100svh, 1000px); display: grid; align-items: center; padding-block: calc(88px + clamp(2.5rem, 1.5rem + 5vw, 5rem)) clamp(4.5rem, 3rem + 4vw, 6rem); }
  @media (min-width: 1181px) { .hero { padding-top: calc(104px + clamp(2.5rem, 1.5rem + 5vw, 5rem)); } }
  .hero-media { position: absolute; inset: 0; z-index: -1; }
  .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-media video { opacity: 0; }
  .hero-media video.is-playing { opacity: 1; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,6,8,.55) 0%, rgba(20,6,8,.72) 40%, rgba(20,6,8,.9) 100%); }
  @media (min-width: 1000px) { .hero-media::after { background: linear-gradient(90deg, rgba(20,6,8,.9) 0%, rgba(20,6,8,.74) 42%, rgba(20,6,8,.25) 100%), linear-gradient(0deg, rgba(20,6,8,.55), transparent 35%); } }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 1.7rem + 3.2vw, 4.6rem); color: #fff; }
  .hero h1 .accent { color: #ff5a52; }
  .hero-intro { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; color: rgba(255,255,255,.88); max-width: 56ch; }
  .hero-intro a { color: #fff; font-weight: 700; text-decoration-color: #ff5a52; text-decoration-thickness: 2px; white-space: nowrap; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .spec { margin-top: 2.25rem; border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: 1fr 1fr; max-width: 680px; }
  .spec li { padding: .9rem .5rem .9rem 0; border-bottom: 1px solid rgba(255,255,255,.22); font-weight: 500; font-size: .98rem; display: flex; gap: .6rem; align-items: baseline; color: #fff; }
  .spec li:nth-child(odd) { padding-right: 1rem; }
  .spec li::before { content: ""; flex: none; width: 8px; height: 8px; background: #ff5a52; border-radius: 1px; translate: 0 -1px; }
  @media (max-width: 480px) { .spec { grid-template-columns: 1fr; } .spec li:nth-child(odd) { padding-right: 0; } }
  .badges { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 1.75rem; }
  .badges img { height: 64px; width: auto; }
  .lic { display: inline-grid; gap: .15rem; text-decoration: none; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(20,6,8,.45); color: #fff; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
  .lic:hover { border-color: #fff; background: rgba(20,6,8,.7); }
  .lic b { font: 700 1rem/1.1 var(--f-display); font-stretch: 88%; font-variant-numeric: tabular-nums; }
  .lic span { font-size: .8rem; color: rgba(255,255,255,.75); }
  .hero-foot { position: absolute; right: var(--gutter); bottom: 1rem; display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: rgba(255,255,255,.72); }
  .hero-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(20,6,8,.4); color: #fff; cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
  .hero-toggle:hover { background: rgba(20,6,8,.75); border-color: #fff; }
  .hero-toggle svg { width: 16px; height: 16px; }
  @media (max-width: 640px) { .hero-foot { left: var(--gutter); justify-content: space-between; } }

  /* Trust row */
  .trust { border-block: 1px solid var(--line); background: var(--white); }
  .trust .wrap { display: grid; gap: 1.25rem; padding-block: 1.6rem; align-items: center; }
  .trust h2 { font: 600 var(--step--1)/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .logos { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; align-items: center; list-style: none; margin: 0; padding: 0; }
  .logos img { height: 44px; width: auto; }
  @media (min-width: 900px) { .trust .wrap { grid-template-columns: 220px 1fr; } .logos { justify-content: space-between; } }

  /* Services */
  .services-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
  .svc { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
  .svc:hover { border-color: var(--line); background: #fff; }
  .svc .frame { border-radius: 0; aspect-ratio: 16 / 10; }
  .svc-body { display: grid; grid-template-rows: auto 1fr auto; gap: .7rem; padding: 1.35rem 1.35rem 1.5rem; }
  .svc-body p { color: var(--ink-2); font-size: 1rem; }
  .svc-body .arrow-link { margin-top: .35rem; }
  .svc--lead h3 { font-size: var(--step-2); }
  @media (min-width: 700px) and (max-width: 1099.98px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .svc:last-child:nth-child(odd) { grid-column: 1 / -1; } }
  @media (min-width: 1100px) {
    .services-grid { grid-template-columns: repeat(12, 1fr); }
    .svc { grid-column: span 4; }
    .svc--lead { grid-column: span 7; }
    .svc--lead + .svc--lead { grid-column: span 5; }
    .svc--lead .frame { aspect-ratio: auto; height: clamp(280px, 26vw, 400px); }
  }

  /* Decision board (replaces the repair vs replacement table) */
  .split { display: grid; gap: clamp(2rem, 4vw, 4rem); }
  @media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split .sticky { position: sticky; top: 104px; align-self: start; } }
  .board { display: grid; gap: 1rem; margin-top: 2.25rem; align-items: start; }
  @media (min-width: 900px) { .board { grid-template-columns: 1.15fr 1fr .9fr; } }
  .lane { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-soft); overflow: hidden; display: grid; align-content: start; }
  .lane-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.1rem; background: var(--ink); color: var(--on-dark); }
  .lane-head .lane-title { font: 800 1.15rem/1.1 var(--f-display); font-stretch: 85%; }
  .lane-head small { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
  .lane--replace .lane-head { background: var(--red); color: #fff; }
  .lane--replace .lane-head small { opacity: 1; }
  .lane--check .lane-head { background: var(--paper-2); color: var(--ink); }
  .finding { padding: 1rem 1.1rem 1.1rem; border-top: 1px solid var(--line-soft); }
  .finding:first-of-type { border-top: 0; }
  .finding dt { font-weight: 700; line-height: 1.35; }
  .finding dd { margin-top: .35rem; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
  .finding .verdict { display: inline-block; margin-top: .55rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }

  /* Fire rule band */
  .dark { background: var(--ink); color: var(--on-dark); }
  .dark .muted, .dark .prose p { color: var(--on-dark-2); }
  .dark .prose strong { color: var(--on-dark); }
  .dark .prose a { color: #fff; text-decoration-color: color-mix(in srgb, #ff6a63 70%, transparent); }
  .dark .prose a:hover { text-decoration-color: #ff6a63; }
  .dark .eyebrow { color: #ff6a63; }
  .fire-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-dark); margin-block: 2.5rem; }
  .fig { padding: 1.4rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line-dark); }
  .fig:nth-child(odd) { padding-right: 1.25rem; border-right: 1px solid var(--line-dark); }
  .fig:nth-child(even) { padding-left: 1.25rem; }
  .fig b { display: block; font: 800 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 var(--f-display); font-stretch: 78%; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .fig span { display: block; margin-top: .5rem; font-size: .95rem; line-height: 1.45; color: var(--on-dark-2); }
  @media (min-width: 900px) { .fire-figures { grid-template-columns: repeat(4, 1fr); } .fig, .fig:nth-child(odd), .fig:nth-child(even) { padding: 1.4rem 1.25rem; border-right: 1px solid var(--line-dark); } .fig:first-child { padding-left: 0; } .fig:last-child { border-right: 0; } }
  .fire-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
  @media (min-width: 1000px) { .fire-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
  .options { display: grid; gap: 1rem; margin-top: 1.75rem; }
  @media (min-width: 640px) { .options { grid-template-columns: 1fr 1fr; } }
  .opt { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 1.15rem 1.2rem; background: #2A1416; }
  .opt small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #ff8a84; margin-bottom: .45rem; font-weight: 600; }
  .opt p { color: var(--on-dark); font-weight: 500; line-height: 1.45; }
  .opt--both { grid-column: 1 / -1; background: transparent; border-style: dashed; }
  .tip { margin-top: 1.25rem; padding: 1rem 1.15rem; border-left: 3px solid #ff6a63; background: #2A1416; border-radius: 0 var(--radius) var(--radius) 0; color: var(--on-dark); font-weight: 500; }
  .photo-stack { position: sticky; top: 104px; align-self: start; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; align-content: start; }
  .photo-stack figure:first-child { grid-column: 1 / -1; }
  .photo-stack .frame { aspect-ratio: 16 / 10; }
  .photo-stack figure:not(:first-child) .frame { aspect-ratio: 3 / 4; }
  .dark figcaption { color: var(--on-dark-2); }

  /* Permit card */
  .permit { display: grid; gap: 1.5rem; margin-top: clamp(3rem, 5vw, 5rem); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); color: var(--ink); border-radius: var(--radius-lg); }
  .permit h3 { font-size: var(--step-2); }
  .permit h3 a { text-decoration: none; }
  .permit h3 a:hover { color: var(--red); }
  .kv { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .kv div { padding: .9rem 1rem; background: var(--paper); border-radius: var(--radius); }
  .kv dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
  .kv dd { margin-top: .3rem; font-weight: 700; line-height: 1.3; }
  .permit .prose p { color: var(--ink-2); }
  .dark .permit .prose a { color: var(--red); text-decoration-color: color-mix(in srgb, var(--red) 40%, transparent); }
  .dark .permit .prose a:hover { text-decoration-color: var(--red); }
  @media (min-width: 1000px) { .permit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

  /* Repair */
  .repair-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
  @media (min-width: 1000px) { .repair-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
  .repair-grid .frame { aspect-ratio: 4 / 5; }
  .signs { display: grid; gap: .6rem; margin-block: 1.25rem; }
  @media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
  .signs li { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: .9rem 1rem .9rem 2.6rem; }
  .signs li::before { left: 1rem; top: 1.35em; }
  .note { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem 1.25rem; background: var(--red-tint); border-radius: var(--radius-lg); }
  .note svg { width: 26px; height: 26px; color: var(--red); margin-top: .15rem; }

  /* Wear section */
  .wear { background: var(--paper-2); }
  .wear-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
  @media (min-width: 1000px) { .wear-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; } }
  .census { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 1.75rem; }
  .census div { background: var(--paper); border-radius: var(--radius-lg); padding: 1.15rem; }
  .census b { display: block; font: 800 clamp(2rem, 1.5rem + 2vw, 3rem)/1 var(--f-display); font-stretch: 78%; color: var(--red); }
  .census span { display: block; margin-top: .45rem; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
  .wear-photos { position: sticky; top: 104px; display: grid; gap: 1rem; grid-template-columns: 1.2fr 1fr; }
  .wear-photos .frame { aspect-ratio: 3 / 4; }
  .wear-photos figure:last-child { margin-top: 3rem; }

  /* Hiring checks */
  .checks { counter-reset: chk; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; list-style: none; padding: 0; }
  @media (min-width: 800px) { .checks { grid-template-columns: 1fr 1fr; } }
  .checks li { counter-increment: chk; background: var(--white); padding: 1.4rem 1.4rem 1.5rem 4.2rem; position: relative; font-size: 1rem; color: var(--ink-2); line-height: 1.55; }
  .checks li::before { content: counter(chk, decimal-leading-zero); position: absolute; left: 1.3rem; top: 1.25rem; font: 800 1.5rem/1 var(--f-display); font-stretch: 78%; color: var(--red); font-variant-numeric: tabular-nums; }
  .checks strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: .3rem; }
  .myths { display: grid; gap: 1rem; margin-top: 1.5rem; }
  @media (min-width: 900px) { .myths { grid-template-columns: repeat(3, 1fr); } }
  .myth { border-radius: var(--radius-lg); background: var(--paper-2); padding: 1.4rem; display: grid; gap: .8rem; align-content: start; }
  .myth blockquote { font: 750 1.2rem/1.25 var(--f-display); font-stretch: 88%; color: var(--ink); }
  .myth small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
  .myth p { color: var(--ink-2); font-size: .98rem; }
  .myth .fact { color: var(--red); }

  /* Process */
  .steps { display: grid; gap: 1.5rem; list-style: none; padding: 0; counter-reset: st; }
  @media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
  .step { display: grid; gap: 1rem; align-content: start; }
  .step .frame { aspect-ratio: 4 / 3; }
  .step-n { display: flex; align-items: center; gap: .75rem; font: 800 .95rem/1 var(--f-display); letter-spacing: .06em; color: var(--red); text-transform: uppercase; }
  .step-n::after { content: ""; height: 1px; flex: 1; background: var(--line); }
  .step p { color: var(--ink-2); font-size: 1rem; }

  /* Why choose */
  .counters { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
  .counter { padding: 1.6rem 1rem 1.6rem 0; border-bottom: 1px solid var(--line-dark); }
  .counter b { display: block; font: 800 clamp(2.8rem, 2rem + 3.6vw, 5rem)/.95 var(--f-display); font-stretch: 75%; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .counter b sup { font-size: .5em; vertical-align: .55em; color: #ff6a63; margin-left: .05em; }
  .counter span { display: block; margin-top: .5rem; color: var(--on-dark-2); font-size: .98rem; }
  @media (min-width: 900px) { .counters { grid-template-columns: repeat(4, 1fr); } .counter { padding-inline: 1.25rem; border-right: 1px solid var(--line-dark); } .counter:first-child { padding-left: 0; } .counter:last-child { border-right: 0; } }
  .why-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 4vw, 4rem); }
  @media (min-width: 1000px) { .why-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; } }
  .pillars { display: block; columns: 2 220px; column-gap: 2rem; }
  .pillars li { break-inside: avoid; margin-bottom: .8rem; color: var(--on-dark); }
  .pillars li::before { background: #ff6a63; }
  .why-grid .frame { aspect-ratio: 3 / 2; }
  .dark .arrow-link { color: #fff; }

  /* Work gallery */
  .work-section { overflow-x: clip; }
  .rail-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .rail-ctrl { display: none; gap: .5rem; }
  @media (min-width: 900px) { .rail-ctrl { display: flex; } }
  .icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
  .icon-btn:hover { background: var(--ink); color: var(--paper); }
  .icon-btn svg { width: 18px; height: 18px; }
  .rail { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)); padding-right: var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-top: 2rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
  .rail > * { scroll-snap-align: start; }
  .work { all: unset; cursor: pointer; display: grid; gap: .6rem; border-radius: var(--radius-lg); }
  .work .frame { aspect-ratio: 4 / 3; }
  .work:hover .frame img { transform: scale(1.04); }
  .work:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
  .work span { font-size: .95rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: .5rem; }
  .work span svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; }

  /* Video cards (testimonials, project clips) */
  .vrow { display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 240px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-bottom: 2rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .vrow > * { scroll-snap-align: start; }
  @media (min-width: 900px) { .vrow { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 300px)); overflow: visible; } }
  .vrow--work { margin: 2rem 0 0; }
  .vcard { all: unset; cursor: pointer; display: grid; gap: .65rem; border-radius: var(--radius-lg); }
  .vcard .frame { aspect-ratio: 4 / 5; background: #140607; }
  .vcard .frame img { object-position: 50% 22%; }
  .vcard:hover .frame img { transform: scale(1.04); }
  .vcard:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
  .vcard .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; background: rgba(246,241,234,.94); color: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); transition: background-color var(--dur) var(--ease); }
  .vcard:hover .play { background: #fff; }
  .vcard .play svg { width: 26px; height: 26px; margin-left: 3px; }
  .vcard .dur { position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .5rem; border-radius: 4px; background: rgba(20,6,8,.78); color: #fff; font-size: .8rem; font-variant-numeric: tabular-nums; }
  .vcard .vtitle { display: grid; gap: .1rem; font-weight: 700; line-height: 1.3; }
  .vcard .vtitle small { font-weight: 500; color: var(--ink-3); font-size: .88rem; }

  /* Video player overlay (YouTube with our own controls) */
  dialog.lb.lb--video { width: min(560px, calc(100% - 1rem)); }
  .vstage { position: relative; background: #000; aspect-ratio: 9 / 16; max-height: 64dvh; margin-inline: auto; width: min(100%, calc(64dvh * 9 / 16)); }
  .vstage:fullscreen { max-height: none; width: 100%; height: 100%; aspect-ratio: auto; }
  #yt-host, .vstage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .vstage-hit { all: unset; position: absolute; inset: 0; cursor: pointer; }
  .vblocked { display: none; position: absolute; inset: 0; z-index: 2; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; color: #fff; background: #111; }
  .vblocked p { max-width: 28ch; color: rgba(255,255,255,.88); }
  .vstage.is-blocked .vblocked { display: grid; }
  .vctrl { display: flex; align-items: center; gap: .35rem; padding: .6rem .75rem; border-top: 1px solid #2c1a1c; }
  .vctrl button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color var(--dur) var(--ease); }
  .vctrl button:hover { background: rgba(255,255,255,.12); }
  .vctrl button svg { width: 22px; height: 22px; }
  .vctrl input[type=range] { flex: 1; min-width: 60px; accent-color: #ff5a52; height: 44px; cursor: pointer; }
  .vtime { font-size: .8rem; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.8); white-space: nowrap; }
  @media (max-width: 420px) { .vtime { display: none; } }
  .vyt { color: #ff8a84; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; display: inline-flex; align-items: center; }

  /* Reviews */
  .reviews-grid { columns: 1; column-gap: 1rem; }
  @media (min-width: 720px) { .reviews-grid { columns: 2; } }
  @media (min-width: 1100px) { .reviews-grid { columns: 3; } }
  .review { break-inside: avoid; margin-bottom: 1rem; position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.35rem 1.35rem 1.2rem; display: grid; gap: .9rem; cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
  .review:hover { border-color: var(--line); background: #fff; }
  .review[hidden] { display: none; }
  .review-top { display: flex; justify-content: space-between; align-items: center; }
  .review blockquote { font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
  .review-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .9rem; border-top: 1px solid var(--line-soft); padding-top: .8rem; }
  .review-foot b { display: block; }
  .review-foot small { color: var(--ink-3); }
  .review .open { all: unset; position: absolute; inset: 0; border-radius: inherit; cursor: pointer; }
  .review .open:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  .review .read { font-weight: 600; font-size: .9rem; color: var(--red); white-space: nowrap; }
  .g-src { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-soft); background: #fff; }
  .g-src svg { width: 18px; height: 18px; }
  .g-src:hover { border-color: var(--ink-3); }
  .review--feature blockquote { font: 750 clamp(1.25rem, 1.05rem + .7vw, 1.6rem)/1.28 var(--f-display); font-stretch: 90%; letter-spacing: -0.005em; }
  .more-wrap { display: flex; justify-content: center; margin-top: 1.5rem; }

  /* Dialogs */
  dialog.lb { padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); width: min(720px, calc(100% - 2rem)); max-height: min(88dvh, 900px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
    opacity: 1; translate: 0 0; transition: opacity 200ms var(--ease), translate 200ms var(--ease), display 200ms allow-discrete, overlay 200ms allow-discrete; }
  dialog.lb::backdrop { background: rgba(20, 6, 8, .62); transition: opacity 200ms var(--ease); }
  @starting-style { dialog.lb[open] { opacity: 0; translate: 0 12px; } dialog.lb[open]::backdrop { opacity: 0; } }
  dialog.lb--photo { width: min(1200px, calc(100% - 2rem)); background: #140607; color: var(--on-dark); }
  .lb-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .75rem; background: inherit; border-bottom: 1px solid var(--line-soft); }
  .lb--photo .lb-bar { border-color: #2c1a1c; }
  .lb-bar button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border-radius: var(--radius); border: 1.5px solid currentColor; background: none; color: inherit; font-weight: 600; cursor: pointer; transition: background-color var(--dur) var(--ease); }
  .lb-bar button:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
  .lb-bar svg { width: 16px; height: 16px; }
  .lb-pos { font-variant-numeric: tabular-nums; font-size: .9rem; opacity: .8; }
  .lb-body { padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem) 2rem; display: grid; gap: 1.1rem; overflow-y: auto; }
  .lb-body .full { white-space: pre-line; line-height: 1.65; font-size: 1.05rem; }
  .lb-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; color: var(--ink-3); font-size: .95rem; }
  .lb-next { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
  .lb-stage { position: relative; display: grid; place-items: center; background: #0c0405; }
  .lb-stage img { max-height: 62dvh; width: auto; max-width: 100%; object-fit: contain; }
  .lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(246,241,234,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur) var(--ease); }
  .lb-nav:hover { background: #fff; }
  .lb-nav svg { width: 20px; height: 20px; }
  .lb-prev { left: .75rem; } .lb-next-btn { right: .75rem; }
  .lb-cap { padding: 1rem 1.25rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .thumbs { display: flex; gap: .4rem; overflow-x: auto; padding: 0 1.25rem 1.25rem; }
  .thumbs button { all: unset; cursor: pointer; flex: none; width: 72px; height: 54px; border-radius: 4px; overflow: hidden; opacity: .55; outline-offset: 2px; transition: opacity var(--dur) var(--ease); }
  .thumbs button[aria-current="true"], .thumbs button:hover { opacity: 1; }
  .thumbs button[aria-current="true"] { outline: 2px solid #ff6a63; }
  .thumbs button:focus-visible { outline: 2px solid #fff; }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }

  /* Areas + locations */
  .areas-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
  @media (min-width: 1000px) { .areas-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
  .locs { display: grid; gap: 1rem; margin-top: 2.5rem; }
  @media (min-width: 1000px) { .locs { grid-template-columns: 1.1fr 1fr 1fr; } }
  .loc { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
  .loc-head { padding: 1.4rem 1.4rem 0; display: grid; gap: .6rem; }
  .loc-tag { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--red); }
  .loc-body { padding: 1rem 1.4rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
  .loc-body > p { color: var(--ink-2); font-size: .98rem; }
  .loc dl { display: grid; gap: .55rem; font-size: .97rem; }
  .loc dl div { display: grid; grid-template-columns: 70px 1fr; gap: .5rem; }
  .loc dt { color: var(--ink-3); }
  .loc dd a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
  .loc dd a:hover { color: var(--red); }
  .loc .map { border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.4rem 1.2rem; position: relative; }
  .loc .map.is-loaded { aspect-ratio: 16 / 10; padding: 0; }
  .map-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .4rem; font-weight: 600; color: var(--red); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--red) 40%, transparent); text-underline-offset: .2em; }
  .map-link:hover { text-decoration-color: var(--red); }
  .loc .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .map-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border-radius: var(--radius); border: 1.5px solid var(--ink); background: var(--white); font-weight: 600; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
  .map-btn:hover { background: var(--ink); color: var(--paper); }
  .map-btn svg { width: 18px; height: 18px; }
    .standard { margin-top: clamp(3rem, 5vw, 5rem); display: grid; gap: 1.25rem; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
  @media (min-width: 1000px) { .standard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

  /* Final CTA */
  .cta { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); }
  .cta-grid { display: grid; gap: 2rem; align-items: end; }
  @media (min-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
  .cta h2 { color: #fff; max-width: 16ch; }
  .cta .prose p { color: var(--on-dark-2); font-size: var(--step-1); line-height: 1.5; }
  .cta .prose a { color: #fff; }
  .cta-phone { display: block; font: 800 clamp(2.4rem, 1.6rem + 4vw, 4.6rem)/1 var(--f-display); font-stretch: 78%; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; transition: color var(--dur) var(--ease); }
  .cta-phone:hover { color: #ff8a84; }
  .cta-actions { display: grid; gap: .75rem; }
  .cta-actions .btn { width: 100%; }
  .cta-photo { position: absolute; inset: 0; opacity: .1; pointer-events: none; }
  .cta-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
  .cta .wrap { position: relative; }

  /* Footer */
  .site-footer { background: #170708; color: var(--on-dark-2); padding-block: clamp(3rem, 5vw, 5rem) 7rem; font-size: .97rem; }
  .foot-grid { display: grid; gap: 2rem; }
  @media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
  .site-footer h3 { font: 700 .8rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1rem; }
  .site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
  .site-footer .two-col { display: block; columns: 2; column-gap: 1.5rem; }
  .site-footer a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; transition: color var(--dur) var(--ease); }
  .site-footer a:hover { color: #fff; }
  .foot-logo { width: 170px; filter: brightness(0) invert(.94); margin-bottom: 1rem; }
  .foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
  @media (min-width: 1100px) { .site-footer { padding-bottom: 3rem; } }

  /* Social profiles in the footer (Follow Us) */
  .site-footer .foot-social-h { margin-top: 1.5rem; }
  .site-footer .foot-social a { gap: .55rem; overflow-wrap: anywhere; }
  .site-footer .foot-social svg { flex: none; width: 18px; height: 18px; }

  /* Mobile action bar */
  .actionbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transition: translate 260ms var(--ease); }
  .actionbar .btn { min-height: 50px; padding-inline: .75rem; font-size: .98rem; }
  .actionbar.is-hidden { translate: 0 110%; }
  @media (min-width: 1100px) { .actionbar { display: none; } }

  /* Scroll reveal: transform + opacity only, small travel, off for reduced motion */
  @media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
      .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
      @keyframes rise { from { opacity: .001; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  }
}

@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .mt-2 { margin-top: 2rem; }
}
