:root {
  --ink: #1e1f21;
  --ink-soft: #3d4046;
  --muted: #62676f;
  --paper: #f6f4f0;
  --paper-alt: #ece9e3;
  --card: #ffffff;
  --line: #d9d5cd;
  --rust: #b4532a;
  --rust-dark: #8f3f1e;
  --silver: #c4c9d0;
  --dark: #1e1f21;
  --dark-2: #26272a;
  --head: "Archivo", "Segoe UI", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scroll-padding-bottom: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--paper); padding-bottom: 64px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-dark); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 6.2vw, 3.9rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 4.2vw, 2.7rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 8px; padding: 12px 18px; border: 2px solid transparent; cursor: pointer; min-height: 48px; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { font-size: 1.08rem; padding: 15px 24px; min-height: 54px; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(0,0,0,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,240,.98); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 66px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--head); font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; text-transform: uppercase; }
.brand-text small { color: var(--muted); font-size: .85rem; }
.nav { display: none; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 2px; white-space: nowrap; }
.header-cta, .brand-text strong { white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--rust-dark); }
.header-cta { display: none; }
.menu-btn { width: 48px; height: 48px; border: 0; background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
.nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* top license bar */
.topbar { background: var(--dark); color: var(--silver); font-size: .88rem; letter-spacing: .02em; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 3px 0; }
.topbar strong { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar-loc { display: none; }

/* hero: text and photo side by side, photo never covered */
.hero { background: var(--dark); color: #fff; }
.hero-grid { display: grid; gap: 28px; padding: 40px 0 0; }
.lede { font-size: 1.2rem; color: #e1e3e6; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { margin: 0 -20px; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--dark); color: #e9eaec; }
.section-dark h2 { color: #fff; }
.section-dark a { color: #f0b08f; }
.kicker { font-family: var(--head); font-weight: 600; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-dark); margin-bottom: 10px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--rust); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.kicker-light { color: #f0b08f; }
.section-lede { max-width: 44em; color: var(--ink-soft); margin-bottom: 36px; }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 20px; }

/* problem cards */
.cards { display: grid; gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 22px 22px 8px; }
.card-body p { color: var(--ink-soft); font-size: 1.05rem; }
.card h3 a, .service h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover, .service h3 a:hover { color: var(--rust-dark); text-decoration: underline; }

/* services */
.services { display: grid; gap: 16px; margin-top: 30px; }
.service { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--rust); border-radius: var(--radius); padding: 22px; }
.service p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.service-main { border-left: 5px solid var(--rust); border-top: none; }
.service-main h3 { font-size: 1.4rem; }
.service-icon { width: 34px; height: 34px; color: var(--rust); margin-bottom: 12px; }
.service-icon svg { width: 100%; height: 100%; }
.service h3 a::after { content: "\2192"; margin-left: .4em; display: inline-block; opacity: .55; transition: translate .15s ease, opacity .15s ease; }
.service:hover h3 a::after, .service:focus-within h3 a::after { translate: 4px 0; opacity: 1; }

/* work: before/after pairs locked together */
.pairs { display: grid; gap: 26px; }
.pair { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 6px; }
.pair-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.pair-photos figure { margin: 0; position: relative; border-radius: 7px; overflow: hidden; }
.pair-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tag { position: absolute; left: 8px; top: 8px; font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 5px; color: #fff; }
.tag-before { background: rgba(30,31,33,.88); }
.tag-after { background: var(--rust); }
.pair h3 { margin: 0 6px .3em; }
.pair p { margin: 0 6px 1em; color: var(--ink-soft); font-size: 1.05rem; }

/* video clips (Our Work) and the About photo */
.clips { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 320px)); }
.clip { margin: 0; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: #000; }
.clips { justify-content: center; }
.clip figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }
.about-photo figcaption { margin-top: 10px; }

/* trust */
.trust { display: grid; gap: 36px; }
.trust-note { color: var(--silver); font-style: italic; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-list li { background: var(--dark-2); border: 1px solid #3a3c40; border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; }
.trust-list strong { font-family: var(--head); font-weight: 600; color: #fff; font-size: 1.12rem; }
.trust-list span { color: var(--silver); font-size: 1.03rem; }

/* steps */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 8px 74px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; display: grid; place-content: center; }
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--ink-soft); font-size: 1.05rem; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; }
summary { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.12rem; padding: 18px 52px 18px 20px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 400; color: var(--rust-dark); }
details[open] summary::after { content: "\2013"; }
details p { padding: 0 20px 6px; color: var(--ink-soft); }

/* estimate */
.estimate { display: grid; gap: 34px; }
.contact-direct { font-family: var(--head); font-weight: 600; font-size: 1.12rem; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
label { font-weight: 600; font-size: 1rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #857f73; border-radius: 8px; padding: 12px 14px; width: 100%; min-height: 50px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--rust); outline: 3px solid var(--rust); outline-offset: 1px; }
.field.invalid input, .field.invalid select { border-color: #a3261b; }
.field .err { color: #a3261b; font-size: .92rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--ink-soft); }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--rust); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.warn { background: #fdf1e7; border: 1px solid #e8c3a5; border-radius: 8px; padding: 14px 16px; font-weight: 400; }

/* footer */
.site-footer { background: var(--dark); color: var(--silver); padding: 48px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; font-family: var(--head); }
.footer-row { display: grid; gap: 22px; }
.footer-logo { width: 96px; margin-bottom: 14px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid #3a3c40; margin-top: 28px; padding-top: 18px; font-size: .9rem; color: #9299a2; }

/* mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--dark); border-top: 1px solid #3a3c40; }
.mobile-bar a { color: #fff; text-decoration: none; font-family: var(--head); font-weight: 600; text-align: center; padding: 17px 6px; font-size: 1rem; }
.mobile-bar a + a { border-left: 1px solid #3a3c40; }
.mobile-bar .mb-primary { background: var(--rust); }

/* scroll reveal (ported from the Legacy site, plus a reduced-motion guard) */
.js .reveal, .js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible, .js .reveal-stagger.visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.js .reveal-stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.js .reveal-stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.js .reveal-stagger.visible > *:nth-child(5) { transition-delay: .4s; }

@media (min-width: 640px) {
  .topbar-loc { display: inline; }
  .pairs { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(6, 1fr); }
  .service { grid-column: span 2; }
  .service-main { grid-column: span 3; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-row { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1140px) {
  body { padding-bottom: 0; }
  .mobile-bar, .menu-btn { display: none; }
  .nav { display: flex; gap: 22px; margin-right: 10px; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; padding: 64px 0; }
  .hero-photo { margin: 0; }
  .hero-photo img { border-radius: 12px; aspect-ratio: 4 / 3; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .section { padding: 96px 0; }
  .trust { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .estimate { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
  .pairs { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; } }

/* ---------- inner pages ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 44px 0 48px; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); max-width: 20em; margin-bottom: .35em; }
.page-hero .lede { margin: 0; }
.crumbs { font-size: .92rem; color: var(--silver); margin-bottom: 16px; }
.crumbs a { color: var(--silver); }
.crumbs span { margin: 0 6px; }

.split { display: grid; gap: 30px; align-items: center; }
.split .pairs { grid-template-columns: 1fr; }   /* one before/after card beside a photo: never squeeze it into thirds */
.prose .pairs { grid-template-columns: 1fr; max-width: 560px; margin: 8px 0 4px; }   /* a single pair inside an article */
.split img { border-radius: var(--radius); width: 100%; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.kicker + h2, .kicker + h1 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 18px; height: 10px; border-left: 3.5px solid var(--rust); border-bottom: 3.5px solid var(--rust); transform: rotate(-45deg) scale(.8); transform-origin: left; }

.cta-box { background: var(--dark); color: #e9eaec; border-radius: var(--radius); padding: 30px 26px; margin: 44px 0 0; }
.cta-box h2 { color: #fff; margin-top: 0; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.cta-box .hero-cta { margin-top: 18px; }

.quick { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--rust); border-radius: var(--radius); padding: 20px 22px 6px; margin: 0 0 28px; }
.quick strong.label { font-family: var(--head); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-dark); display: block; margin-bottom: 6px; }
.byline { color: var(--silver); font-size: .98rem; margin: 10px 0 0; }
.article-img { border-radius: var(--radius); margin: 0 0 30px; width: 100%; }
.illus { font-size: .88rem; color: var(--muted); margin: -22px 0 28px; }

.post-grid { display: grid; gap: 22px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s ease; }
.post:hover img { transform: scale(1.03); }
.post-body { padding: 20px 22px 12px; }
.post-body p { color: var(--ink-soft); font-size: 1.05rem; }
.post-more { font-family: var(--head); font-weight: 600; color: var(--rust-dark); }
.people { display: grid; gap: 14px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.person strong { font-family: var(--head); display: block; font-size: 1.15rem; }

@media (min-width: 640px) { .post-grid, .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .split { grid-template-columns: 1.1fr 1fr; gap: 56px; } .page-hero { padding: 60px 0 64px; } }

.fig0 { margin: 0; }
.mt { margin-top: 30px; }
.mt-lg { margin-top: 1.6em; }
.post-title { font-size: 1.35rem; }

/* long-form article parts */
.takeaways, .toc { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 8px; margin: 0 0 28px; }
.takeaways .label, .toc .label { font-family: var(--head); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-dark); display: block; margin-bottom: 8px; }
.takeaways ul, .toc ol { margin: 0 0 12px; padding-left: 1.2em; }
.takeaways li, .toc li { margin-bottom: .4em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2[id], #questions { scroll-margin-top: 96px; }

/* language toggle */
.topbar-right { display: flex; gap: 16px; align-items: center; }
.lang { color: #fff; font-weight: 600; text-decoration: none; border: 1px solid #55585e; border-radius: 5px; padding: 9px 12px; display: inline-block; }
.lang:hover { background: #fff; color: var(--dark); }

/* review fixes */
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.hero-cap { font-size: .82rem; color: #aab0b8; margin: 8px 20px 0; text-align: right; }
.page-hero .hero-cta { margin-top: 22px; }
.prose .hero-cta { margin: 6px 0 8px; }
.section-alt a:hover { color: var(--rust-dark); }
.nav.open { max-height: calc(100dvh - 70px); overflow-y: auto; }
body:has(.form :focus) .mobile-bar { display: none; }
.check a { white-space: nowrap; }
@media (max-width: 400px) { .brand { min-width: 0; } .brand img { width: 50px; } .brand-text strong { white-space: normal; font-size: .95rem; } }
@media (min-width: 1140px) { .hero-cap { margin: 8px 0 0; } }
@media print { .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; } .mobile-bar, .site-header, .topbar { display: none; } }

.hero-cta .btn-lg { padding: 14px 17px; font-size: 1.02rem; }
.hero-cta { gap: 10px; }

/* reviews + 4 small service cards */
.stars { color: #e2a33b; letter-spacing: .08em; }
.hero-rating { margin: 20px 0 0; font-size: 1rem; color: #e1e3e6; }
.hero-rating a { color: #f0b08f; }
.review-grid { display: grid; gap: 18px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 10px; border-top: 4px solid var(--rust); transition: translate .25s ease, box-shadow .25s ease; }
.review:hover { translate: 0 -4px; box-shadow: 0 16px 36px rgba(30,31,33,.11); }
.review p { color: var(--ink-soft); font-size: 1.05rem; }
.review .review-by { font-size: .92rem; color: var(--muted); }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(3, 1fr); } .services { grid-template-columns: repeat(12, 1fr); } .service { grid-column: span 6; } .service-main { grid-column: span 6; } }
@media (min-width: 1140px) { .service { grid-column: span 4; } .service-main { grid-column: span 6; } }

/* ===================== MODERN LAYER (start) ===================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

:root { --radius: 14px; interpolate-size: allow-keywords; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { letter-spacing: -.022em; }
h2 { letter-spacing: -.016em; }
.btn { border-radius: 10px; transition: background .15s, border-color .15s, color .15s, translate .15s, box-shadow .2s; }
.btn:active { translate: 0 1px; }
.btn-primary { box-shadow: 0 6px 18px rgba(180,83,42,.28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(180,83,42,.36); }
a.btn-primary[href$="#estimate"]::after, a.btn-primary[href$="/contact/"]::after, a.btn-primary[href$="/contacto/"]::after { content: "\2192"; margin-left: .55em; transition: translate .2s ease; }
a.btn-primary[href$="#estimate"]:hover::after, a.btn-primary[href$="/contact/"]:hover::after, a.btn-primary[href$="/contacto/"]:hover::after { translate: 4px 0; }

/* depth in the dark areas: a soft glow and a faint shingle-line texture */
.hero, .page-hero, .section-dark {
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(86,92,104,.55) 0%, rgba(86,92,104,0) 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 14px),
    var(--dark);
}
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(30,31,33,.10); }

/* hero photo: offset accent frame on large screens */
.hero-photo { position: relative; }
.hero-photo img { position: relative; z-index: 1; }

/* trust strip under the hero */
.trust-strip { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-strip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 22px 0; }
.ts { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); line-height: 1.35; }
.ts svg { width: 28px; height: 28px; flex: none; color: var(--rust); margin-top: 1px; }
.ts strong { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 1rem; }

/* cards lift; photos ease in */
.card, .post, .pair, .service, .steps li, .trust-list li, details { transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .post:hover, .pair:hover { translate: 0 -5px; box-shadow: 0 20px 44px rgba(30,31,33,.13); }
.service:hover, .steps li:hover { translate: 0 -3px; box-shadow: 0 12px 28px rgba(30,31,33,.09); border-color: #c9c3b8; }
.trust-list li:hover { border-color: #5a5d63; }
.card img, .pair-photos img { transition: scale .6s ease; }
.card:hover img, .pair:hover .pair-photos img { scale: 1.04; }
.steps li::before { background: var(--rust); }
details:hover { border-color: #c9c3b8; }
summary { transition: color .15s; }
summary:hover { color: var(--rust-dark); }
summary::after { transition: rotate .25s ease; }
details[open] summary::after { rotate: 180deg; }
details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
details[open]::details-content { height: auto; }

/* reading progress on articles */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--rust); }

@media (min-width: 640px) { .trust-strip-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1140px) {
  h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes photoIn { from { opacity: 0; scale: 1.03; translate: 0 14px; } to { opacity: 1; scale: 1; translate: 0 0; } }
  .hero-copy > *, .page-hero .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2), .page-hero .wrap > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3), .page-hero .wrap > *:nth-child(3) { animation-delay: .16s; }
  .page-hero .wrap > *:nth-child(4) { animation-delay: .24s; }
  .page-hero .wrap > *:nth-child(5) { animation-delay: .3s; }
  .hero-photo { animation: photoIn .9s .15s cubic-bezier(.2,.7,.2,1) both; }
  /* the little rust line beside each section label draws itself in */
  .js .kicker::before { width: 0; transition: width .6s .15s ease; }
  .js .kicker.visible::before { width: 28px; }
  /* bottom bar slides up once you've started scrolling */
  .js .mobile-bar { translate: 0 110%; transition: translate .35s ease; }
  .js .mobile-bar.show { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { .card:hover, .post:hover, .pair:hover, .service:hover, .steps li:hover { translate: none; } .card:hover img, .pair:hover .pair-photos img { scale: 1; } }
/* ===================== MODERN LAYER (end) ===================== */
