/* Precision Carpets. Plain CSS, no build step. Tokens first, then layout, then components. */

:root {
  --ink: #1b2323;
  --sage: #567b79;
  --sage-deep: #3e5d5b;
  --sage-pale: #e2eae8;
  --mist: #eef2f1;
  --text: #2b3435;
  --muted: #5f6a69;
  --line: #d8e0de;
  --white: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero: clamp(3rem, 7.2vw, 6rem);
  --fs-h2: clamp(2rem, 3.8vw, 3.1rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.8rem);
  --fs-body: 1.0625rem;

  --measure: 62ch;
  --gutter: clamp(1rem, 4vw, 3rem);
  --wrap: 1280px;
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 2px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; }
p { margin: 0 0 1.2em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.15rem; line-height: 1.65; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

/* Short sage rule that opens each section heading. It marks a section start, nothing else. */
.rule { display: block; width: 56px; height: 2px; background: var(--sage); margin-bottom: 1.6rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  padding: .95rem 1.6rem; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn--solid:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link {
  font-weight: 600; font-size: .9375rem; color: var(--sage-deep); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link:hover { color: var(--ink); }

/* ------------------------------------------------------------------ header */
/* No backdrop-filter here on purpose: it would trap the fixed mobile panel. */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a { font-weight: 500; font-size: .9375rem; color: var(--text); text-decoration: none; padding-block: .4rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { padding: .7rem 1.2rem; color: #fff; }
.nav .btn:hover { color: #fff; }
.nav .btn::after { display: none; }
.header__phone { display: none; }

.menu-btn {
  display: none; align-items: center; gap: .6rem; background: none; border: 0; cursor: pointer;
  color: var(--ink); font-weight: 600; font-size: .9rem; padding: .5rem 0;
}
.menu-btn .bars { position: relative; width: 26px; height: 14px; }
.menu-btn .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s, top .25s;
}
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 6px; }
.menu-btn .bars span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile panel lives OUTSIDE the header in the DOM so it is never trapped by any ancestor. */
.panel {
  position: fixed; inset: 0; z-index: 40; background: var(--white);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s, visibility 0s linear .25s;
  overflow-y: auto;
}
.panel.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .25s, transform .25s; }
.panel nav { display: flex; flex-direction: column; }
.panel nav a {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: var(--ink); text-decoration: none;
  padding: .55rem 0; border-bottom: 1px solid var(--line);
  font-variation-settings: "opsz" 72;
}
.panel nav a[aria-current="page"] { color: var(--sage-deep); }
.panel__meta { margin-top: auto; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.panel__meta a { color: var(--ink); font-weight: 600; text-decoration: none; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 26px; }
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: min(92vh, 860px); display: grid; align-items: end;
  color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform-origin: 55% 45%; opacity: 0; transition: opacity 1.2s ease; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27,35,35,.18) 0%, rgba(27,35,35,0) 30%, rgba(27,35,35,.7) 100%),
    linear-gradient(90deg, rgba(27,35,35,.55) 0%, rgba(27,35,35,0) 60%);
}
.hero__in { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; margin-bottom: .35em; font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; letter-spacing: -0.02em; opacity: 0; transform: translateY(14px); transition: opacity .9s ease .25s, transform .9s ease .25s; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 400; margin: 0 0 1.8rem; color: rgba(255,255,255,.88); opacity: 0; transition: opacity .9s ease .55s; }
.hero .btn { opacity: 0; transition: opacity .9s ease .75s, background .2s, color .2s, border-color .2s; }
.is-ready .hero__media img { opacity: 1; animation: kenburns 26s ease-out .2s forwards; }
.is-ready .hero h1, .is-ready .hero__sub, .is-ready .hero .btn { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero h1, .hero__sub, .hero .btn { transition: none; animation: none; opacity: 1; transform: none; }
}
.hero__strip {
  display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.28); font-size: .9rem; color: rgba(255,255,255,.82);
}
.hero__strip span { white-space: nowrap; }

/* Inner page header */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: .25em; }
.page-head p { color: var(--muted); font-size: 1.1rem; }

/* --------------------------------------------------------------- sections */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .split--rev > :first-child { order: 2; } }
.split__text h2 { margin-bottom: .7em; }
.split__text .btn, .split__text .link { margin-top: 1.4rem; }

/* Service tiles (home) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tile {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  color: #fff; text-decoration: none; background: var(--ink);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,35,35,0) 45%, rgba(27,35,35,.72) 100%); }
.tile span {
  position: absolute; left: 1.1rem; bottom: .9rem; z-index: 1;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 400; letter-spacing: -.01em;
}
@media (max-width: 480px) { .tiles { gap: .5rem; } .tile span { left: .8rem; bottom: .6rem; } }

/* Services page rows */
.svc { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; margin-bottom: .5em; }
.svc .link { display: inline-block; margin-top: .6rem; }
@media (min-width: 820px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .svc:nth-of-type(even) .svc__media { order: 2; }
}

/* Team */
.team { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) { .team > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .5rem); justify-self: center; } }
@media (min-width: 640px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .team { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
.person { margin: 0; }
.person figure { margin: 0; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sage-pale); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person figcaption { padding-top: .75rem; }
.person__name { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.person__role { display: block; font-size: .875rem; color: var(--muted); margin-top: .2rem; }
.pet { display: grid; gap: 1rem 2rem; margin-top: 3rem; align-items: center; }
.pet__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sage-pale); max-width: 320px; }
.pet__photo img { width: 100%; height: 100%; object-fit: cover; }
.pet__text p { margin-top: .75rem; color: var(--muted); line-height: 1.6; max-width: 60ch; }
@media (min-width: 700px) { .pet { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }

/* Home team scroller: a row you can drag through, snapping per card. */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(180px, 22vw, 240px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
}
.scroller > * { scroll-snap-align: start; }
@media (min-width: 1100px) {
  /* Wide enough to show all seven at once, so nobody is hidden off the edge. */
  .scroller { margin-inline: 0; padding-inline: 0; grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; gap: 1.5rem; overflow: visible; }
}

/* Project cards: every card the same size, always. */
.grid { display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; text-decoration: none; color: var(--ink); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.06); }
.card__title { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-top: .8rem; line-height: 1.25; }
.card__meta { display: block; font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.card:hover .card__title { color: var(--sage-deep); }
@media (max-width: 480px) { .grid { gap: 1.5rem .75rem; } .card__title { font-size: 1.05rem; } .card__meta { font-size: .78rem; } }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 { margin: 0; }

/* Story / about copy */
.prose { max-width: var(--measure); }
.prose p { font-size: 1.05rem; }
.prose--2col { max-width: none; columns: 2; column-gap: 3.5rem; }
.prose--2col p { break-inside: avoid; }
@media (max-width: 820px) { .prose--2col { columns: 1; } }

.photo { overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }

/* Testimonials */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.quote { margin: 0; padding: 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 1rem; }
.section--mist .quote { border-color: transparent; }
.stars { display: inline-flex; gap: 3px; color: var(--sage); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; font-weight: 300; font-variation-settings: "opsz" 48; color: var(--ink); max-width: none; }
.quote cite { font-style: normal; font-size: .9rem; font-weight: 600; color: var(--text); margin-top: auto; }

/* Contact details */
.details { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.details h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; margin-bottom: .5rem; color: var(--ink); }
.details p, .details address { font-style: normal; color: var(--text); line-height: 1.8; margin: 0; }
.details a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.details a:hover { border-color: var(--sage); color: var(--sage-deep); }
.details .big { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; line-height: 1.2; display: inline-block; margin-bottom: .4rem; border: 0; }
.map { margin-top: clamp(2rem, 5vw, 4rem); height: clamp(280px, 32vw, 460px); border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Enquiry form */
.enquire { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .enquire { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.enquire__photo { aspect-ratio: 4 / 3; }
.form { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(86,123,121,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note {
  grid-column: 1 / -1; display: none; padding: 1rem 1.2rem; border-left: 3px solid var(--sage);
  background: var(--sage-pale); color: var(--ink); font-size: .95rem; line-height: 1.6;
}
.form__note.is-shown { display: block; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* Project page */
.crumb { font-size: .9rem; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.crumb:hover { color: var(--ink); }
.crumb svg { width: 14px; height: 14px; }
.project-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.project-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin: .5rem 0 .4em; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; }
.facts dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-size: 1rem; color: var(--ink); }
.project-body { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) { .project-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .project-body__text { position: sticky; top: calc(var(--header-h) + 2rem); } }
.gallery { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--mist); aspect-ratio: 4 / 3; }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery a:hover img { transform: scale(1.03); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.pager a { text-decoration: none; color: var(--ink); display: grid; gap: .25rem; }
.pager a:last-child { text-align: right; }
.pager small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.pager strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.pager a:hover strong { color: var(--sage-deep); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: rgba(20,26,26,.96); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(20,26,26,.9); }
.lightbox img { max-width: min(96vw, 1600px); max-height: 88vh; width: auto; height: auto; margin: auto; object-fit: contain; }
.lightbox__in { height: 100%; display: grid; place-items: center; position: relative; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox button svg { width: 18px; height: 18px; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Project list (services page) */
.list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.list a { display: block; padding: .8rem 0; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.list a:hover { color: var(--sage-deep); }
@media (max-width: 560px) { .list { columns: 1; } }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding-block: clamp(3rem, 6vw, 5rem) 0; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding-bottom: 3rem; }
.footer h3 { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: .8rem; }
.footer p, .footer address { margin: 0; font-style: normal; line-height: 1.9; }
.footer ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 1.2rem; }
.social { display: flex; gap: .8rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.14); padding: 1.3rem 0; font-size: .85rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; }
.footer__bar a { color: rgba(255,255,255,.85); }

@media (max-width: 480px) {
  :root { --fs-body: 1rem; }
  .btn { padding: .85rem 1.3rem; width: auto; }
  .hero { min-height: 78vh; }
  .hero__strip { gap: .3rem 1.4rem; font-size: .82rem; }
}

/* ------------------------------------------------------------ scroll reveal
   Only when html.js is set (inline head script, before first paint) AND motion
   is allowed. Without JS, or with reduced motion, everything renders as-is.
   --i is the index within the parent, set by site.js, for the stagger. */
html.js .rv { opacity: 0; transform: translateY(22px); }
html.js .rv.is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
html.js .rv.rv--soft { transform: translateY(12px); }
html.js .person.rv { transform: translateY(28px); }
html.js .person.rv.is-in { transition-delay: calc(var(--i, 0) * 110ms); }
html.js .rule { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1) .1s; }
html.js .rv.is-in .rule, html.js .rule.is-in { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .rule { opacity: 1; transform: none; transition: none; }
}

.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
