@charset "UTF-8";

:root {

  --ink-900: #14110E;
  --ink-800: #1E1A16;
  --ink-700: #2A2521;
  --ink-500: #5C534A;
  --ink-300: #9A9088;
  --paper:   #F7F4EF;
  --paper-2: #EFEAE1;
  --white:   #FFFFFF;

  --brand:     #F5C518;
  --brand-600: #E0B00A;

  --brand-700: #7A5C00;
  --trust:     #2E7D64;
  --danger:    #C4442E;

  --font: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs:   clamp(0.78rem, 0.76rem + 0.10vw, 0.84rem);
  --fs-sm:   clamp(0.88rem, 0.85rem + 0.14vw, 0.95rem);
  --fs-base: clamp(1.00rem, 0.96rem + 0.20vw, 1.09rem);
  --fs-lg:   clamp(1.13rem, 1.05rem + 0.36vw, 1.31rem);
  --fs-h3:   clamp(1.25rem, 1.13rem + 0.55vw, 1.56rem);
  --fs-h2:   clamp(1.63rem, 1.34rem + 1.30vw, 2.63rem);
  --fs-h1:   clamp(2.00rem, 1.52rem + 2.14vw, 3.50rem);

  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --section-y: clamp(3.5rem, 2.4rem + 4.6vw, 6rem);

  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(20 17 14 / .06), 0 2px 8px rgb(20 17 14 / .05);
  --shadow-md: 0 4px 12px rgb(20 17 14 / .08), 0 12px 32px rgb(20 17 14 / .07);

  --wrap: 1180px;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);

  --sticky-h: 4.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;

  scroll-padding-top: 5rem;

  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--brand); color: var(--ink-900); text-shadow: none; }

html { scrollbar-color: var(--brand-700) var(--paper-2); scrollbar-width: thin; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb {
  background: var(--brand-700);
  border-radius: var(--r-pill);
  border: 3px solid var(--paper-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-900); }
::-webkit-scrollbar-corner { background: var(--paper-2); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100%;
  background: var(--ink-900); color: var(--white);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-md); z-index: 200;
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--ink-900); color: var(--paper); }
.section--tint { background: var(--paper-2); }
.stack > * + * { margin-top: var(--s-4); }

.section__head { max-width: 46rem; margin-bottom: var(--s-7); }
.section__head p { color: var(--ink-500); font-size: var(--fs-lg); margin-top: var(--s-4); }
.section--dark .section__head p { color: var(--ink-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-700);
}
.section--dark .eyebrow { color: var(--brand); }
.eyebrow::before {
  content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-weight: 800; font-size: var(--fs-base); text-decoration: none;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  min-height: 3rem;
}
.btn:active { transform: translateY(1px); }
.btn--call    { background: var(--brand); color: var(--ink-900); }
.btn--call:hover { background: var(--brand-600); }
.btn--ghost   { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgb(255 255 255 / .1); }
.btn--onlight.btn--ghost:hover { background: rgb(20 17 14 / .06); }
.btn__icon { width: 1.25rem; height: 1.25rem; flex: none; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(247 244 239 / .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(20 17 14 / .08);
}
.header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 4.25rem; }

.header.is-scrolled { box-shadow: 0 2px 16px rgb(20 17 14 / .1); }
.header__logo { flex: none; display: flex; align-items: center; }
.header__logo img { width: 132px; height: 34px; }
.header__nav { margin-inline-start: auto; display: none; }
.header__nav ul { display: flex; gap: var(--s-5); align-items: center; }
.header__nav a {
  text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700);
  padding-block: var(--s-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.header__nav a:hover { color: var(--ink-900); border-bottom-color: var(--brand); }
.header__cta { margin-inline-start: auto; }
.header__cta .btn { padding: var(--s-3) var(--s-5); min-height: 2.75rem; }

.header__toggle {
  display: none; margin-inline-start: auto; flex: none;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: var(--r-md);
  background: none; cursor: pointer; align-items: center; justify-content: center;
}
.header__toggle:hover { background: rgb(20 17 14 / .06); }
.header__toggle-box { position: relative; width: 22px; height: 15px; }
.header__toggle-bar {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink-900);
  transition: transform .3s cubic-bezier(.65,0,.35,1), opacity .2s ease, top .3s cubic-bezier(.65,0,.35,1);
}
.header__toggle-bar:nth-child(1) { top: 0; }
.header__toggle-bar:nth-child(2) { top: 6.5px; }
.header__toggle-bar:nth-child(3) { top: 13px; }
.is-nav-open .header__toggle-bar:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.is-nav-open .header__toggle-bar:nth-child(2) { opacity: 0; }
.is-nav-open .header__toggle-bar:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

@media (max-width: 61.99rem) {
  .header__cta { display: none; }
  .header__toggle { display: flex; }
}

@media (min-width: 62rem) {
  .header__nav { display: block; }
  .header__cta { margin-inline-start: var(--s-5); }
}

html.has-mobile-nav-open { overflow: hidden; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 250;
  visibility: hidden; pointer-events: none;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }

.mobile-nav__panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: var(--s-6) var(--gutter);

  background:
    radial-gradient(120% 90% at 100% 0%, rgb(245 197 24 / .16), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgb(245 197 24 / .08), transparent 60%),
    linear-gradient(165deg, var(--ink-800), var(--ink-900) 55%);
  transform: translate3d(100%, 0, 0);
  transition: transform .55s cubic-bezier(.65,0,.35,1);
}
.mobile-nav.is-open .mobile-nav__panel { transform: translate3d(0, 0, 0); }

.mobile-nav__panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -3px; width: 3px;
  background: var(--brand);
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s ease .15s;
}
.mobile-nav.is-open .mobile-nav__panel::before { transform: scaleY(1); }

.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; flex: none; }
.mobile-nav__brand { display: flex; align-items: center; }
.mobile-nav__brand img { width: 112px; height: 29px; }

.mobile-nav__close {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; padding: 0;
  background: rgb(247 244 239 / .1); color: var(--white); cursor: pointer;
  opacity: 0; transform: scale(.7) rotate(-45deg);
  transition: opacity .3s ease, transform .35s ease, background .2s ease;
}
.mobile-nav__close:hover { background: rgb(247 244 239 / .18); }
.mobile-nav__close svg { width: 18px; height: 18px; }
.mobile-nav.is-open .mobile-nav__close { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: .3s; }

.mobile-nav__content {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: var(--s-7); text-align: center;
}

.mobile-nav__links ul { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.mobile-nav__links a {
  display: inline-block; color: var(--paper); font-size: var(--fs-h3); font-weight: 800;
  text-decoration: none; letter-spacing: -0.01em;
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .4s ease, transform .4s ease;
}
.mobile-nav.is-open .mobile-nav__links a {
  opacity: 1; transform: translate3d(0, 0, 0);
  transition-delay: calc(.12s + var(--i, 0) * 55ms);
}

.mobile-nav__call {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .4s ease, transform .4s ease;
}
.mobile-nav.is-open .mobile-nav__call { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: .48s; }

.mobile-nav__social { display: flex; justify-content: center; gap: var(--s-3); flex: none; padding-top: var(--s-6); }
.mobile-nav__social li {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .4s ease, transform .4s ease;
}
.mobile-nav.is-open .mobile-nav__social li { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: .56s; }
.mobile-nav__social a {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgb(247 244 239 / .1); color: var(--paper);
  transition: background .2s ease;
}
.mobile-nav__social a:hover { background: rgb(247 244 239 / .18); }
.mobile-nav__social svg { width: 20px; height: 20px; }

@media (min-width: 62rem) { .mobile-nav { display: none; } }

.hero { position: relative; isolation: isolate; background: var(--ink-900); color: var(--paper); }

.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top,    rgb(20 17 14 / .96) 0%, rgb(20 17 14 / .55) 45%, rgb(20 17 14 / .35) 100%),
    linear-gradient(to right,  rgb(20 17 14 / .88) 0%, rgb(20 17 14 / .45) 55%, rgb(20 17 14 / .15) 100%);
}

.hero__grid {
  display: grid;
  min-height: clamp(30rem, 24rem + 26vh, 44rem);
  align-items: end;
  padding-block: clamp(4rem, 2.5rem + 7vw, 7rem);
}
.hero__body { max-width: 42rem; }
.hero h1 { text-shadow: 0 2px 24px rgb(20 17 14 / .45); }
.hero__lead { margin-top: var(--s-5); font-size: var(--fs-lg); color: rgb(247 244 239 / .88); max-width: 36rem; }
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero__note { margin-top: var(--s-4); font-size: var(--fs-sm); color: rgb(247 244 239 / .72); }

@media (min-width: 56rem) {
  .hero__grid { align-items: center; }
}

.trustbar { background: var(--ink-800); color: var(--paper); border-top: 1px solid rgb(255 255 255 / .07); }
.trustbar ul {
  display: grid; gap: var(--s-4); padding-block: var(--s-5);
  grid-template-columns: 1fr;
}
.trustbar li { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-sm); font-weight: 600; }
.trustbar svg { width: 1.25rem; height: 1.25rem; color: var(--brand); flex: none; }
@media (min-width: 40rem) { .trustbar ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .trustbar ul { grid-template-columns: repeat(4, 1fr); } }

.grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 34rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 34rem) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 60rem) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 34rem) and (max-width: 59.99rem) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white); border: 1px solid rgb(20 17 14 / .07);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgb(245 197 24 / .5); }
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--ink-500); font-size: var(--fs-sm); }
.card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--r-md);
  background: rgb(245 197 24 / .16); color: var(--ink-900);
  display: grid; place-items: center; margin-bottom: var(--s-4);
}
.card__icon svg { width: 1.4rem; height: 1.4rem; }

.split { display: grid; gap: var(--s-6); align-items: center; }
.split__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 { margin-bottom: var(--s-4); }
.split__body p { color: var(--ink-500); }
.section--dark .split__body p { color: var(--ink-300); }
.split__punch {
  margin-top: var(--s-5); padding-inline-start: var(--s-4);
  border-inline-start: 3px solid var(--brand);
  font-size: var(--fs-lg); font-weight: 700; color: var(--ink-900);
}
.section--dark .split__punch { color: var(--paper); }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--flip .split__media { order: 2; }
}

.emergency {
  position: relative; isolation: isolate;
  background: var(--ink-900); color: var(--paper);
  overflow: clip;
}
.emergency__bg { position: absolute; inset: 0; z-index: -2; overflow: clip; }

.emergency__plate {
  position: absolute; inset-inline: 0; top: -12%;
  width: 100%; height: 124%;
  object-fit: cover; object-position: center;
  will-change: transform;
}
.emergency::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to right, rgb(20 17 14 / .94) 0%, rgb(20 17 14 / .74) 50%, rgb(20 17 14 / .55) 100%),
    linear-gradient(to top,   rgb(196 68 46 / .22), transparent 65%);
}
.emergency__inner { max-width: 46rem; }
.emergency h2 { margin-bottom: var(--s-4); text-shadow: 0 2px 20px rgb(20 17 14 / .5); }
.emergency p { color: rgb(247 244 239 / .84); }
.emergency .btn { margin-top: var(--s-6); }

.areas__tier + .areas__tier { margin-top: var(--s-6); }
.areas__tier h3 { font-size: var(--fs-lg); }
.areas__note { color: var(--ink-500); font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.areas__list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.areas__list li {
  background: var(--white); border: 1px solid rgb(20 17 14 / .09);
  border-radius: var(--r-pill); padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm); font-weight: 600;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.areas__list li:hover {
  border-color: var(--brand);
  color: var(--ink-900);
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgb(245 197 24 / .28);
}

.section--tint .areas__list li:hover { box-shadow: 0 2px 12px rgb(245 197 24 / .38); }
.areas__cta {
  margin-top: var(--s-7); padding: var(--s-5);
  background: var(--white); border: 1px dashed rgb(20 17 14 / .2); border-radius: var(--r-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
}

.gallery {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-md); aspect-ratio: 1;
}
@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery figure:first-child img { aspect-ratio: 1; }
}

.embed { position: relative; }
.embed__slot { min-height: var(--embed-h-m, 400px); }
@media (min-width: 48rem) { .embed__slot { min-height: var(--embed-h-d, 420px); } }

.embed__fallback {
  display: none;
  padding: var(--s-6); text-align: center;
  background: var(--white); border: 1px dashed rgb(20 17 14 / .2); border-radius: var(--r-lg);
  color: var(--ink-500);
}
.embed.is-failed .embed__slot { min-height: 0; display: none; }
.embed.is-failed .embed__fallback { display: block; }
.embed.is-loaded .embed__slot { min-height: 0; }

.embed__skeleton {
  position: absolute; inset: 0; border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--paper-2) 30%, var(--white) 50%, var(--paper-2) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.embed.is-loaded .embed__skeleton, .embed.is-failed .embed__skeleton { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

.footer { background: var(--ink-900); color: var(--ink-300); padding-block: var(--s-7) var(--s-6); }
.footer__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s-5);
}
.footer__logo img { width: 148px; height: 38px; }

.footer__actions { display: flex; gap: var(--s-3); }
.footer__actions a {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill);
  border: 1px solid rgb(255 255 255 / .16); color: var(--paper);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer__actions a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink-900); }
.footer__actions svg { width: 1.25rem; height: 1.25rem; }

.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); }
.footer__links a {
  text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
  display: inline-block; min-height: 24px; padding-block: 2px;
}
.footer__links a:hover { color: var(--brand); text-decoration: underline; }

.footer__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2);
  font-size: var(--fs-xs); color: rgb(247 244 239 / .5);
  padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / .1); width: 100%;
}
.footer__sep { opacity: .5; }
.footer__addr { display: inline; font-style: normal; }
@media (max-width: 32rem) { .footer__sep { display: none; } }

.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  display: flex; gap: var(--s-3);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgb(20 17 14 / .95); backdrop-filter: blur(10px);
  border-top: 1px solid rgb(255 255 255 / .1);
}
.sticky-cta .btn { flex: 1; min-height: 3rem; }
.sticky-cta .btn--ghost { color: var(--paper); flex: 0 0 auto; padding-inline: var(--s-5); }
@media (min-width: 62rem) { .sticky-cta { display: none; } }
@media (max-width: 61.99rem) { body { padding-bottom: var(--sticky-h); } }

.svc-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 34rem) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc { perspective: 900px; }

.svc__inner {
  position: relative; isolation: isolate;
  min-height: 17.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-5);
  border-radius: var(--r-lg); overflow: hidden;
  color: var(--paper);
  box-shadow: var(--shadow-sm);

  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}

.svc.is-tilting .svc__inner { transition: box-shadow .4s ease; box-shadow: var(--shadow-md); }

.svc__media { position: absolute; inset: 0; z-index: -2; }
.svc__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.svc:hover .svc__media img { transform: scale(1.06); }

.svc__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top,
    rgb(20 17 14 / .95) 0%, rgb(20 17 14 / .72) 38%, rgb(20 17 14 / .28) 100%);
}

.svc__glare {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
              rgb(255 255 255 / .20), transparent 42%);
  transition: opacity .35s ease;
}
.svc.is-tilting .svc__glare { opacity: 1; }

.svc__body h3 { color: var(--paper); margin-bottom: var(--s-2); }
.svc__body p { color: rgb(247 244 239 / .84); font-size: var(--fs-sm); }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .svc__inner { transform: none !important; }
  .svc__glare { display: none; }
  .svc:hover .svc__media img { transform: none; }
}

.bento { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }

.bento-card {
  position: relative; isolation: isolate;

  border-radius: var(--r-lg);
  padding: var(--s-5);
  overflow: hidden;

  background: rgb(20 17 14 / .10);
}
.bento-card::after {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  border-radius: calc(var(--r-lg) - 1px);
  background: var(--white);
}
.bento-card > * { position: relative; }
.bento-card h3 { margin-bottom: var(--s-2); }
.bento-card p { color: var(--ink-500); font-size: var(--fs-sm); }

.bento-card--media { padding: 0; }
.bento-card--media img {
  width: 100%; height: 100%; min-height: 13rem; object-fit: cover;
  border-radius: calc(var(--r-lg) - 1px);
}

.bento-card::before {
  content: ""; position: absolute; z-index: -2;
  left: 50%; top: 50%; width: 160%; aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(transparent 0 58%, var(--brand) 74%, transparent 88% 100%);
  opacity: 0;
  transition: opacity .6s ease;
}
.bento-card.is-lit::before {
  animation: glow-sweep 2.6s cubic-bezier(.35,0,.25,1) forwards;
}
@keyframes glow-sweep {
  0%   { opacity: 0;   rotate: 0deg; }
  18%  { opacity: 1; }
  100% { opacity: .38; rotate: 360deg; }
}

@media (min-width: 62rem) {
  .bento--why {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(13rem, auto);
    grid-template-areas:
      "ma ma b c"
      "mf mf d e";
  }
  .bento--why > .bento-card { grid-area: var(--area, auto); }

  .bento--why .bento-card--media { position: relative; }
  .bento--why .bento-card--media img {
    position: absolute; top: 1px; left: 1px;
    width: calc(100% - 2px); height: calc(100% - 2px);
    min-height: 0; object-fit: cover;
  }
}
.bento-card--media { display: grid; }

.contact-layout { display: grid; gap: var(--s-7); }
@media (min-width: 62rem) {
  .contact-layout { grid-template-columns: 1.7fr 1fr; gap: var(--s-8); align-items: start; }
}

.contact-list { display: flex; flex-direction: column; }
.contact-list__item { padding-block: var(--s-5); border-top: 1px solid rgb(20 17 14 / .1); }
.contact-list__item:first-child { border-top: 0; padding-top: 0; }
.contact-list__item:last-child { padding-bottom: 0; }

.contact-list__label {
  display: block; margin-bottom: var(--s-3);
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: var(--ink-500);
}
.contact-list__value {
  display: block; text-decoration: none;
  font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.01em;
  min-height: 24px; transition: color .2s ease;
}
.contact-list__value--sm { font-size: var(--fs-lg); font-weight: 700; margin-top: var(--s-2); }
.contact-list__value:hover { color: var(--brand-700); }
.contact-list__item small {
  display: block; margin-top: var(--s-3);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500);
}

.contact-social { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.contact-social a {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill);
  border: 1px solid rgb(20 17 14 / .14); color: var(--ink-800);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.contact-social a:hover {
  background: var(--brand); border-color: var(--brand); color: var(--ink-900);
  transform: translateY(-2px);
}
.contact-social svg { width: 1.25rem; height: 1.25rem; }

.to-top {
  position: fixed; z-index: 95;
  inset-inline-end: var(--gutter);
  inset-block-end: calc(var(--sticky-h) + var(--s-3));
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid rgb(20 17 14 / .12);
  background: var(--white); color: var(--ink-900);
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s,
              background-color .2s ease, color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: var(--ink-900); }
.to-top svg { width: 1.15rem; height: 1.15rem; }
@media (min-width: 62rem) { .to-top { inset-block-end: var(--s-6); } }

.prose { max-width: 44rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s-7); margin-bottom: var(--s-3); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--s-6); margin-bottom: var(--s-2); }
.prose p, .prose li { color: var(--ink-700); }
.prose p + p { margin-top: var(--s-4); }
.prose ul { list-style: disc; padding-inline-start: var(--s-5); margin-top: var(--s-4); }
.prose li + li { margin-top: var(--s-2); }

.prose a {
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}
.prose a:hover { text-decoration-color: var(--ink-900); }
.prose blockquote {
  margin: var(--s-6) 0; padding: var(--s-5);
  border-inline-start: 3px solid var(--brand);
  background: var(--paper-2); border-radius: var(--r-md);
}
.prose blockquote p { font-size: var(--fs-lg); font-weight: 600; color: var(--ink-800); }
.prose blockquote cite {
  display: block; margin-top: var(--s-3);
  font-style: normal; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-500);
}

.article__head { max-width: 44rem; margin-bottom: var(--s-6); }
.article__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-500);
  margin-bottom: var(--s-4);
}
.article__meta a { color: var(--ink-800); text-decoration: underline;
  text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article__meta a:hover { text-decoration-color: var(--ink-900); }
.article__excerpt { margin-top: var(--s-4); font-size: var(--fs-lg); color: var(--ink-500); }
.article__media { margin-bottom: var(--s-7); }
.article__media img {
  width: 100%; max-height: 26rem; object-fit: cover; border-radius: var(--r-lg);
}
.article__cta {
  max-width: 44rem; margin-top: var(--s-8); padding: var(--s-6);
  background: var(--ink-900); color: var(--paper); border-radius: var(--r-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.article__cta p { margin: 0; max-width: 26rem; }
.article__cta strong { display: block; color: var(--paper); }

.post-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .post-grid { grid-template-columns: repeat(2, 1fr); } }

.post-card {
  border: 1px solid rgb(20 17 14 / .08); border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.post-card__link { text-decoration: none; display: block; height: 100%; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: var(--s-5); }
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; color: var(--ink-500);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: var(--s-3);
}
.post-card__body h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.post-card__excerpt { color: var(--ink-500); font-size: var(--fs-sm); }

.loader {
  position: fixed; inset: 0; z-index: 999;
  animation: loaderFallbackOut .01ms linear 4s forwards;
}
.loader__panel {
  position: absolute; inset: 0 auto 0 0; width: 51%; height: 100%;
  background: var(--ink-900);
}
.loader__panel--r { left: auto; right: 0; }
.loader--exit .loader__panel--l { animation: loaderPanelOutL .75s cubic-bezier(.65,0,.35,1) .12s forwards; }
.loader--exit .loader__panel--r { animation: loaderPanelOutR .75s cubic-bezier(.65,0,.35,1) .12s forwards; }

.loader__mark {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.loader--exit .loader__mark { animation: loaderMarkOut .4s ease forwards; }

.loader__ring { position: absolute; transform: rotate(-90deg); }
.loader__ring-track, .loader__ring-fill { fill: none; }
.loader__ring-track {
  stroke: rgb(247 244 239 / .18); stroke-width: 2;
  animation: loaderTrackFade 1.1s ease .15s both;
}
.loader__ring-fill {
  stroke: var(--brand); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 301.6; stroke-dashoffset: 301.6;
  animation: loaderRingDraw 1.1s ease .15s both;
}

.loader__logo {
  position: relative; width: 112px; height: 29px;
  animation: loaderLogoIn .7s cubic-bezier(.2,.8,.25,1.15) .3s both;
}
.loader__underline {
  display: block; width: 40px; height: 2px; margin-top: var(--s-4);
  background: var(--brand); transform-origin: center;
  animation: loaderUnderline .5s cubic-bezier(.3,.8,.3,1) 1.05s both;
}

@keyframes loaderLogoIn {
  0%   { opacity: 0; transform: scale(.55); }
  65%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes loaderTrackFade {
  0%, 100% { opacity: 0; } 15%, 85% { opacity: 1; }
}
@keyframes loaderRingDraw {
  0%   { stroke-dashoffset: 301.6; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes loaderUnderline {
  0%   { transform: scaleX(0); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes loaderMarkOut { to { opacity: 0; transform: scale(1.08); } }
@keyframes loaderPanelOutL { to { transform: translate3d(-100%, 0, 0); } }
@keyframes loaderPanelOutR { to { transform: translate3d(100%, 0, 0); } }
@keyframes loaderFallbackOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.js [data-anim] { opacity: 0; will-change: transform, opacity; }
.js [data-anim="up"]   { transform: translate3d(0, 24px, 0); }
.js [data-anim="fade"] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
