@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  --paper: #f3efe6;
  --paper-deep: #e9e3d7;
  --ink: #121514;
  --ink-soft: #545a55;
  --line: rgba(18, 21, 20, 0.19);
  --white: #fffdf7;
  --cobalt: #1d4ed8;
  --cobalt-soft: #dce6ff;
  --signal: #ff6848;
  --signal-soft: #ffe2d9;
  --evergreen: #183f35;
  --marigold: #f3b72f;
  --max: 1240px;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --shadow: 0 28px 70px rgba(25, 31, 27, 0.13);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 7% 0%, rgba(255, 104, 72, 0.1), transparent 27rem),
    linear-gradient(90deg, rgba(18, 21, 20, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 52px 52px, auto;
  color: var(--ink);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: '';
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.89);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.brand-mark::after {
  width: 6px;
  height: 6px;
  margin: -22px -25px 0 0;
  border-radius: 50%;
  background: var(--signal);
  content: '';
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  justify-content: flex-start;
  gap: 30px;
}

.nav-links a,
.text-link {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--ink);
}

.nav-actions {
  gap: 18px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button::after {
  content: '↗';
  font-size: 16px;
  line-height: 1;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 21, 20, 0.16);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--white);
  color: var(--ink);
}

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

.button-small {
  min-height: 40px;
  padding: 8px 15px;
}

.eyebrow,
.label,
.legal-kicker {
  margin: 0 0 18px;
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.105em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  content: '';
  box-shadow: 0 0 0 6px rgba(255, 104, 72, 0.15);
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-block: 104px 82px;
}

.hero h1,
.section-heading,
.legal-hero h1 {
  margin: 0;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(60px, 8vw, 114px);
  line-height: 0.88;
}

.hero h1 em {
  color: var(--cobalt);
  font-weight: 400;
}

.hero-copy {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-copy strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.company-map {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.company-map::before,
.company-map::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: '';
}

.company-map::before {
  width: 370px;
  height: 370px;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
}

.company-map::after {
  width: 234px;
  height: 234px;
  top: 136px;
  left: 50%;
  transform: translateX(-50%);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.map-title {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 2;
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-center,
.map-node {
  position: absolute;
  z-index: 3;
}

.map-center {
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  background: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 40px;
  transform: translate(-50%, -50%);
}

.map-node {
  width: 174px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.map-node strong,
.map-node span {
  display: block;
}

.map-node strong {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.map-node span {
  margin-top: 2px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.map-node-fencing {
  top: 98px;
  right: 24px;
  background: rgba(29, 78, 216, 0.86);
}

.map-node-rides {
  bottom: 68px;
  left: 22px;
  background: rgba(24, 63, 53, 0.93);
}

.map-status {
  position: absolute;
  right: 25px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.map-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  content: '';
  box-shadow: 0 0 0 5px rgba(110, 231, 183, 0.12);
}

.fact-strip {
  border-block: 1px solid var(--ink);
  background: rgba(255, 253, 247, 0.4);
}

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

.fact {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 30px;
  border-left: 1px solid var(--line);
}

.fact:last-child {
  border-right: 1px solid var(--line);
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.fact span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.section {
  padding-block: 118px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, .65fr);
  gap: 54px;
  margin-bottom: 64px;
}

.section-heading {
  max-width: 850px;
  font-size: clamp(46px, 6vw, 80px);
  line-height: .98;
}

.section-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.product-dossier {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-dossier + .product-dossier {
  margin-top: 34px;
}

.product-fencing {
  background: var(--cobalt);
  color: #f7f9ff;
}

.product-rides {
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--evergreen);
  color: #f7f3e7;
}

.product-dossier::after {
  position: absolute;
  width: 410px;
  height: 410px;
  right: -160px;
  bottom: -220px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  content: '';
  box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.025);
}

.dossier-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .6fr);
  min-height: 560px;
}

.dossier-main,
.dossier-side {
  padding: clamp(34px, 5vw, 70px);
}

.dossier-main {
  display: flex;
  flex-direction: column;
}

.dossier-side {
  border-left: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.12);
}

.product-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-number::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: '';
}

.product-title {
  margin: auto 0 18px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(60px, 8vw, 108px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.product-description {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.product-actions .text-link {
  color: rgba(255,255,255,.84);
}

.side-heading {
  margin: 0 0 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feature-list,
.policy-list,
.footer-links,
.legal-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 18px 0 18px 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.feature-list li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.feature-list strong {
  color: #fff;
}

.status-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
}

.status-card span,
.status-card strong {
  display: block;
}

.status-card span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-card strong {
  margin-top: 6px;
  font-size: 16px;
}

.commerce-section {
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.commerce-grid {
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, .58fr);
  gap: 64px;
}

.commerce-section .section-heading {
  max-width: 640px;
}

.commerce-intro {
  color: rgba(255,255,255,.68);
  font-size: 18px;
}

.pricing-ledger {
  border-top: 1px solid rgba(255,255,255,.3);
}

.ledger-group {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.ledger-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.ledger-title h3 {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
}

.ledger-title span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 12px 0;
  color: rgba(255,255,255,.75);
}

.price-row strong {
  color: #fff;
  font-weight: 600;
}

.ledger-note {
  margin: 16px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.clarity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.clarity-item {
  min-height: 310px;
  padding: 34px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.clarity-index {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}

.clarity-item h3 {
  margin: 58px 0 12px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.clarity-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.note-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 52px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--signal-soft);
}

.note-panel h2 {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .95;
}

.note-panel p {
  margin: 0;
  font-size: 19px;
}

.note-panel p + p {
  margin-top: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, .36fr) minmax(0, .64fr);
  gap: 70px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

details {
  border-bottom: 1px solid var(--ink);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: '+';
  font-family: 'DM Mono', monospace;
  font-weight: 400;
}

details[open] summary::after {
  content: '−';
}

details p {
  max-width: 720px;
  margin: -4px 50px 26px 0;
  color: var(--ink-soft);
}

.closing {
  padding-block: 40px 120px;
}

.closing-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 38px;
  padding: clamp(40px, 7vw, 90px);
  border-radius: var(--radius-lg);
  background: var(--cobalt);
  color: var(--white);
}

.closing-card::after {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -180px;
  right: -60px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  content: '';
  box-shadow: 0 0 0 64px rgba(255,255,255,.05), 0 0 0 128px rgba(255,255,255,.03);
}

.closing-card h2 {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(50px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.closing-card .button {
  position: relative;
  z-index: 3;
}

.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(130px, .42fr));
  gap: 42px;
  padding-block: 62px;
}

.footer-description {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 17px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Legal and contact pages */
.legal-main {
  padding-block: 74px 120px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(260px, .26fr);
  gap: 60px;
  align-items: end;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--ink);
}

.legal-hero h1 {
  max-width: 850px;
  font-size: clamp(64px, 9vw, 120px);
  line-height: .86;
}

.legal-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
  padding-top: 70px;
}

.legal-aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

.legal-nav li + li {
  margin-top: 10px;
}

.legal-nav a {
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--ink);
}

.legal-content section {
  scroll-margin-top: 110px;
}

.legal-content section + section {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 20px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #3e4540;
  font-size: 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 9px;
}

.legal-callout {
  margin: 34px 0;
  padding: 24px;
  border-left: 5px solid var(--signal);
  background: var(--signal-soft);
}

.legal-callout p {
  margin: 0;
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.contact-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: rgba(255,253,247,.55);
}

.contact-card h2 {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.contact-card p {
  color: var(--ink-soft);
}

.contact-card a:not(.button) {
  font-weight: 700;
  text-underline-offset: 4px;
}

.business-record {
  margin-top: 24px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--white);
}

.business-record dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
}

.business-record dt {
  color: rgba(255,255,255,.56);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.business-record dd {
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(.2,.7,.2,1), transform 650ms cubic-bezier(.2,.7,.2,1);
}

.reveal-ready [data-reveal][data-visible] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .nav {
    gap: 20px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .company-map {
    min-height: 520px;
  }

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

  .fact:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .fact:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .dossier-grid,
  .commerce-grid,
  .note-panel {
    grid-template-columns: 1fr;
  }

  .dossier-side {
    border-top: 1px solid rgba(255,255,255,.22);
    border-left: 0;
  }

  .product-title {
    margin-top: 120px;
  }

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

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

@media (max-width: 800px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    grid-template-columns: 1fr;
    min-height: 68px;
    padding-block: 12px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .nav-actions {
    display: none;
  }

  .js .nav {
    grid-template-columns: 1fr auto;
    padding-block: 0;
  }

  .js .nav-actions {
    display: flex;
  }

  .js .menu-button {
    display: grid;
    place-items: center;
  }

  .js .nav-actions > .text-link,
  .js .nav-actions > .button {
    display: none;
  }

  .js .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    display: none;
    padding: 14px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 16px 30px rgba(18,21,20,.12);
  }

  .js .nav-links[data-open] {
    display: grid;
  }

  .js .nav-links a {
    padding: 13px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .hero {
    padding-block: 78px 60px;
  }

  .hero h1 {
    font-size: clamp(58px, 16vw, 84px);
  }

  .company-map {
    min-height: 480px;
  }

  .map-node {
    width: 150px;
  }

  .section {
    padding-block: 82px;
  }

  .section-intro,
  .faq-grid,
  .legal-hero,
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-intro {
    margin-bottom: 44px;
  }

  .legal-aside {
    position: static;
  }

  .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .legal-nav li + li {
    margin-top: 0;
  }

  .closing-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-grid,
  .business-record dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .product-actions .button,
  .closing-card .button {
    width: 100%;
  }

  .company-map {
    min-height: 430px;
    border-radius: 28px;
  }

  .company-map::before {
    width: 300px;
    height: 300px;
  }

  .company-map::after {
    width: 180px;
    height: 180px;
  }

  .map-center {
    width: 74px;
    height: 74px;
  }

  .map-node {
    width: 138px;
    padding: 13px;
  }

  .map-node strong {
    font-size: 21px;
  }

  .map-node-fencing {
    top: 82px;
    right: 12px;
  }

  .map-node-rides {
    bottom: 58px;
    left: 12px;
  }

  .map-status {
    right: 15px;
    bottom: 18px;
  }

  .fact-strip-inner,
  .clarity-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(2),
  .fact:nth-child(3),
  .fact:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .fact:first-child {
    border-top: 0;
  }

  .dossier-main,
  .dossier-side {
    padding: 30px 24px;
  }

  .product-title {
    margin-top: 88px;
    font-size: 62px;
  }

  .product-description,
  .section-copy,
  .note-panel p {
    font-size: 17px;
  }

  .ledger-title,
  .price-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row {
    display: flex;
    gap: 3px;
  }

  .clarity-item {
    min-height: 260px;
  }

  .footer-bottom {
    display: flex;
  }

  .legal-main {
    padding-block: 32px 80px;
  }

  .legal-hero {
    padding-block: 58px 42px;
  }

  .legal-hero h1 {
    font-size: clamp(44px, 15vw, 64px);
    overflow-wrap: anywhere;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .legal-aside,
  .button {
    display: none !important;
  }

  body {
    background: #fff;
  }

  body::before {
    display: none;
  }

  .legal-grid {
    display: block;
  }
}
