@charset "utf-8";
/* =========================================================================
   AAJ Tiling — stylesheet
   Design language: AWS Cloudscape–inspired
   fg #0f141a / canvas #ffffff / muted #424650 / border #8c8c94 / accent #295eff
   Open Sans · spacing 4·8·12·20·40 · radius 0/8/12 · flat (no shadow)
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* colour */
  --c-fg:        #0f141a;
  --c-canvas:    #ffffff;
  --c-muted:     #424650;
  --c-border:    #8c8c94;
  --c-accent:    #295eff;

  /* derived near-white working surfaces */
  --c-surface:   #f7f8f8;
  --c-surface-2: #eef0f1;
  --c-hairline:  #d8dade;
  --c-inverse:   #ffffff;

  /* typography */
  --font-sans: "Open Sans", "Helvetica Neue", Helvetica, Arial,
               "Malgun Gothic", "맑은 고딕", sans-serif;
  --fs-display: 42px;
  --lh-display: 48px;
  --tr-display: -1.26px;
  --fs-title:   28px;
  --fs-heading: 20px;
  --lh-heading: 24px;
  --tr-heading: -0.2px;
  --fs-body:    14px;
  --lh-body:    20px;
  --fs-lead:    16px;
  --fs-small:   12px;

  /* spacing */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 20px;
  --s-xl: 40px;
  --s-2xl: 60px;
  --s-3xl: 80px;

  /* geometry */
  --r-sharp:   0;
  --r-control: 8px;
  --r-card:    12px;

  --container: 1200px;
  --header-h:  84px;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-canvas);
  color: var(--c-fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* blockquote and figure carry a UA margin of 1em 40px — inside a scroll
   container that margin overflows and clips the card's bottom border. */
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---------- 3. Typography ------------------------------------------------ */
.display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: 400;
}
.title {
  font-size: var(--fs-title);
  line-height: 34px;
  letter-spacing: -0.6px;
  font-weight: 600;
}
.heading {
  font-size: var(--fs-heading);
  line-height: var(--lh-heading);
  letter-spacing: var(--tr-heading);
  font-weight: 600;
}
.eyebrow {
  font-size: var(--fs-small);
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-accent);
}
.lead   { font-size: var(--fs-lead); line-height: 24px; color: var(--c-muted); }
.muted  { color: var(--c-muted); }
.prose p + p { margin-top: var(--s-md); }
.prose ul { margin-top: var(--s-md); display: grid; gap: var(--s-sm); }
.prose ul li { position: relative; padding-left: var(--s-lg); color: var(--c-muted); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--c-accent);
}

/* ---------- 4. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-lg);
}
.section { padding-block: var(--s-3xl); }
.section--tight { padding-block: var(--s-2xl); }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--c-fg); color: var(--c-inverse); }
.section--dark .lead,
.section--dark .muted { color: #c9ccd1; }

.section-head { max-width: 720px; margin-bottom: var(--s-xl); }
.section-head .eyebrow { margin-bottom: var(--s-md); display: block; }
.section-head .title { margin-bottom: var(--s-md); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--s-lg); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xl); align-items: center; }

/* ---------- 4b. Carousel ------------------------------------------------- */
/* A grid marked data-carousel scrolls horizontally at every width: arrow
   buttons on pointer devices, finger swipe on touch. main.js wraps it in
   .carousel and injects .carousel__nav. */
.carousel { position: relative; }
.carousel__nav {
  display: flex; justify-content: flex-end; gap: var(--s-sm);
  margin-bottom: var(--s-md);
}
.carousel__btn {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  background: var(--c-canvas); color: var(--c-fg);
  border: 1px solid var(--c-border); border-radius: var(--r-control);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: border-color .15s ease, opacity .15s ease;
}
.carousel__btn:hover:not([disabled]) { border-color: var(--c-fg); }
.carousel__btn[disabled] { opacity: .3; cursor: default; }

.grid--swipe {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - var(--s-sm) * 2) / 3);
  gap: var(--s-sm);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.grid--swipe::-webkit-scrollbar { display: none; }
.grid--swipe > * { scroll-snap-align: start; }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  padding: 12px var(--s-lg);
  border-radius: var(--r-control);
  border: 1px solid transparent;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: var(--lh-body);
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--c-fg); color: var(--c-inverse); }
.btn--primary:hover { background: #000; }
.btn--secondary {
  background: transparent; color: var(--c-accent);
  border-color: var(--c-accent);
}
.btn--secondary:hover { background: rgba(41, 94, 255, .06); }
.btn--ghost {
  background: transparent; color: var(--c-fg); border-color: var(--c-border);
}
.btn--ghost:hover { border-color: var(--c-fg); }
.btn--inverse { background: var(--c-inverse); color: var(--c-fg); }
.btn--inverse:hover { background: var(--c-surface-2); }
.btn--outline-inverse {
  background: transparent; color: var(--c-inverse); border-color: rgba(255,255,255,.55);
}
.btn--outline-inverse:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-md); }

.link-more {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  font-weight: 600; color: var(--c-accent);
}
.link-more::after { content: "→"; }

/* ---------- 6. Header ---------------------------------------------------- */
.topbar {
  background: var(--c-fg);
  color: #c9ccd1;
  font-size: var(--fs-small);
  line-height: 16px;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-md); min-height: 36px; padding-block: var(--s-sm);
}
.topbar__list { display: flex; flex-wrap: wrap; gap: var(--s-lg); }
.topbar__list li { display: flex; align-items: center; gap: var(--s-xs); }
.topbar a { color: #fff; }
.topbar__abn { color: #8c9199; }

/* Marquee variant — hidden until the narrow breakpoint swaps it in. */
.topbar__marquee { display: none; }
.topbar__track { display: flex; width: max-content; }
.topbar__run { display: flex; flex: none; }
.topbar__cell { display: inline-flex; align-items: center; white-space: nowrap; }
.topbar__cell::after {
  content: "•";
  margin-inline: var(--s-md);
  color: #575d66;
}
@keyframes topbar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* exactly one copy of the run */
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--c-canvas);
  border-bottom: 1px solid var(--c-hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-lg); min-height: var(--header-h);
}

/* Wordmark logo. The SVG viewBox is cropped to the artwork, so height alone
   controls the visual size — no built-in padding to compensate for. */
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 56px; width: auto; }

/* desktop nav */
.nav { display: flex; align-items: center; gap: var(--s-xs); }
.nav__cta { display: none; }   /* drawer-only CTA block; shown at <=900px */
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px var(--s-md);
  border-radius: var(--r-control);
  color: var(--c-fg); font-weight: 600; white-space: nowrap;
}
.nav__link:hover { background: var(--c-surface-2); text-decoration: none; }
.nav__item.is-active > .nav__link { color: var(--c-accent); }
.nav__caret { font-size: 9px; line-height: 1; color: var(--c-muted); }

.nav__panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 250px; padding: var(--s-sm);
  background: var(--c-canvas);
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-card);
  display: none;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { display: block; }
.nav__panel a {
  display: block; padding: var(--s-sm) var(--s-md);
  border-radius: var(--r-control);
  color: var(--c-fg); font-weight: 400;
}
.nav__panel a:hover { background: var(--c-surface-2); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-md); }
.header-phone {
  display: inline-flex; flex-direction: column; line-height: 1.15;
  color: var(--c-fg); text-decoration: none;
}
.header-phone small { font-size: 11px; color: var(--c-muted); }
.header-phone b { font-size: 16px; letter-spacing: -0.2px; white-space: nowrap; }
.header-phone:hover { text-decoration: none; }
.header-phone:hover b { color: var(--c-accent); }

/* hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-hairline);
  border-radius: var(--r-control); cursor: pointer;
}
.nav-toggle span {
  position: relative; display: block; width: 18px; height: 2px;
  background: var(--c-fg); transition: background .15s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--c-fg); transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(15, 20, 26, .5);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero { position: relative; background: var(--c-fg); color: var(--c-inverse); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__inner { position: relative; padding-block: 120px; max-width: 760px; }
.hero .eyebrow { color: #7ea1ff; }
.hero h1 { margin-block: var(--s-md) var(--s-lg); }
.hero__lead { font-size: var(--fs-lead); line-height: 26px; color: #d5d8dc; max-width: 620px; }
.hero .btn-row { margin-top: var(--s-xl); }
.hero__facts {
  position: relative; display: flex; flex-wrap: wrap; gap: var(--s-xl);
  padding-block: var(--s-lg);
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero__facts div { min-width: 120px; }
.hero__facts b { display: block; font-size: var(--fs-heading); font-weight: 600; }
.hero__facts small { font-size: var(--fs-small); color: #a7abb2; letter-spacing: .4px; text-transform: uppercase; }

/* page banner (inner pages) */
.page-banner { position: relative; background: var(--c-fg); color: var(--c-inverse); overflow: hidden; }
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-banner__inner { position: relative; padding-block: var(--s-2xl); max-width: 760px; }
.page-banner h1 { margin-block: var(--s-md) var(--s-md); }
.page-banner p { color: #d5d8dc; font-size: var(--fs-lead); line-height: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s-sm); font-size: var(--fs-small); color: #a7abb2; }
.breadcrumb a { color: #a7abb2; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: var(--s-sm); color: #6b7078; }

/* ---------- 8. Cards ----------------------------------------------------- */
.card {
  background: var(--c-canvas);
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s ease;
}
.card:hover { border-color: var(--c-fg); }
.card__media { aspect-ratio: 4 / 3; background: var(--c-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s-lg); display: flex; flex-direction: column; gap: var(--s-md); flex: 1; }
.card__body p { color: var(--c-muted); }
.card__body .link-more { margin-top: auto; }

/* flat feature card (Cloudscape "component directory" treatment) */
.flatcard {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-border);
  border-radius: var(--r-sharp);
  box-shadow: none;
  padding-top: var(--s-lg);
  display: flex; flex-direction: column; gap: var(--s-md);
}
.flatcard__num {
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 1.2px;
  color: var(--c-accent);
}
.flatcard p { color: var(--c-muted); }

/* tile-type grid — the artwork is already circular, so no frame is drawn */
.tilegrid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: var(--s-lg) var(--s-md); }
.tilechip { text-align: center; }
.tilechip img { aspect-ratio: 1/1; object-fit: contain; width: 100%; }
.tilechip span {
  display: block; padding-top: var(--s-sm); min-height: 32px;
  font-size: var(--fs-small); line-height: 16px; font-weight: 600;
}

/* process */
.step { display: flex; flex-direction: column; gap: var(--s-md); }
.step__media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--c-hairline); background: var(--c-surface); }
.step__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.step__num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--r-control);
  background: var(--c-accent); color: #fff; font-weight: 700; font-size: var(--fs-small);
}

/* promise / badges */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-xl); }
.promise__item { display: flex; gap: var(--s-md); align-items: flex-start; }
.promise__item img { width: 56px; flex: none; }
.promise__item h3 { margin-bottom: var(--s-xs); }
.promise__item p { color: #c9ccd1; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); }
.stat { border-left: 2px solid var(--c-accent); padding-left: var(--s-md); }
.stat b { display: block; font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.8px; }
.stat span { color: var(--c-muted); font-size: var(--fs-small); }

/* ---------- 9. Testimonials --------------------------------------------- */
.quote {
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-card);
  padding: var(--s-lg);
  background: var(--c-canvas);
  display: flex; flex-direction: column; gap: var(--s-md);
  height: 100%;
}
.quote__stars { color: #f0a04b; letter-spacing: 2px; font-size: var(--fs-body); }
.quote__text { color: var(--c-fg); }
.quote__who { display: flex; align-items: center; gap: var(--s-md); margin-top: auto; }
.quote__avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-surface-2); color: var(--c-muted);
  font-size: var(--fs-small); font-weight: 700; text-transform: uppercase;
}
.quote__who b { display: block; font-weight: 600; }
.quote__who small { color: var(--c-muted); font-size: var(--fs-small); }

/* ---------- 10. Accordion (FAQ) ------------------------------------------ */
.accordion { border-top: 1px solid var(--c-hairline); }
.accordion__item { border-bottom: 1px solid var(--c-hairline); }
.accordion__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s-md); padding: var(--s-lg) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: var(--fs-heading); line-height: var(--lh-heading);
  letter-spacing: var(--tr-heading); font-weight: 600; color: var(--c-fg);
}
.accordion__btn:hover { color: var(--c-accent); }
.accordion__icon { flex: none; width: 20px; height: 20px; position: relative; margin-top: 2px; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; background: var(--c-accent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.accordion__icon::before { width: 14px; height: 2px; }
.accordion__icon::after  { width: 2px; height: 14px; transition: transform .2s ease; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion__panel { display: none; padding-bottom: var(--s-lg); max-width: 900px; }
.accordion__item.is-open .accordion__panel { display: block; }
.accordion__panel p { color: var(--c-muted); }
.accordion__panel p + p { margin-top: var(--s-md); }

/* ---------- 11. Gallery -------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-md); }
.gallery__item {
  padding: 0; border: 1px solid var(--c-hairline); border-radius: var(--r-control);
  overflow: hidden; background: var(--c-surface-2); cursor: zoom-in;
  transition: border-color .15s ease;
}
.gallery__item:hover { border-color: var(--c-fg); }
.gallery__item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.filterbar { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-bottom: var(--s-lg); }
.filterbar button {
  padding: var(--s-sm) var(--s-md); border-radius: var(--r-control);
  border: 1px solid var(--c-hairline); background: transparent;
  font-weight: 600; cursor: pointer;
}
.filterbar button.is-active { background: var(--c-fg); color: #fff; border-color: var(--c-fg); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,20,26,.92);
  display: none; align-items: center; justify-content: center;
  padding: var(--s-xl);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: var(--r-control); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-control);
  width: 44px; height: 44px; cursor: pointer; font-size: 18px; line-height: 1;
}
.lightbox__close { top: var(--s-lg); right: var(--s-lg); }
.lightbox__nav--prev { left: var(--s-lg); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--s-lg); top: 50%; transform: translateY(-50%); }

/* ---------- 12. Forms ---------------------------------------------------- */
.form { display: grid; gap: var(--s-md); }
.field { display: grid; gap: var(--s-xs); }
.field label { font-weight: 600; font-size: var(--fs-small); letter-spacing: .3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px var(--s-md);
  border: 1px solid var(--c-border); border-radius: var(--r-control);
  background: var(--c-canvas); color: var(--c-fg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--c-accent); outline-offset: 0; border-color: var(--c-accent);
}
.field textarea { min-height: 120px; resize: vertical; }
.field__error { color: #d13212; font-size: var(--fs-small); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d13212; }
.field.has-error .field__error { display: block; }
.form__note { font-size: var(--fs-small); color: var(--c-muted); }
.form__status {
  display: none; padding: var(--s-md);
  border: 1px solid var(--c-accent); border-radius: var(--r-control);
  background: rgba(41,94,255,.06); color: var(--c-fg);
}
.form__status.is-visible { display: block; }

.infolist { display: grid; gap: var(--s-lg); }
.infolist__row { display: grid; gap: var(--s-xs); padding-bottom: var(--s-lg); border-bottom: 1px solid var(--c-hairline); }
.infolist__row:last-child { border-bottom: 0; padding-bottom: 0; }
.infolist__row dt { font-size: var(--fs-small); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-accent); }
.infolist__row dd { margin: 0; font-size: var(--fs-lead); }

/* ---------- 13. CTA band ------------------------------------------------- */
.ctaband { background: var(--c-fg); color: var(--c-inverse); }
.ctaband__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-lg); padding-block: var(--s-xl);
}
.ctaband p { color: #c9ccd1; margin-top: var(--s-sm); max-width: 560px; }

/* ---------- 14. Footer --------------------------------------------------- */
.site-footer { background: var(--c-fg); color: #c9ccd1; }
.site-footer a { color: #c9ccd1; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-xl); padding-block: var(--s-3xl) var(--s-xl); }
.footer__brand .brand__logo { height: 58px; }
.footer__about { margin-top: var(--s-lg); max-width: 34ch; }
.footer h4 {
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: #fff; margin-bottom: var(--s-md);
}
.footer__links { display: grid; gap: var(--s-sm); }
.footer__contact { display: grid; gap: var(--s-md); }
.footer__contact div span { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #8c9199; }
.footer__contact div a, .footer__contact div p { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-md); justify-content: space-between;
  padding-block: var(--s-lg); border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--fs-small);
}
.footer__bottom nav { display: flex; gap: var(--s-lg); flex-wrap: wrap; }

/* sticky mobile call bar */
.callbar { display: none; }

/* ---------- 15. Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tilegrid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr; gap: var(--s-lg); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --fs-display: 32px; --lh-display: 38px; --tr-display: -0.8px; --fs-title: 24px; }
  .split { grid-template-columns: 1fr; gap: var(--s-lg); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section { padding-block: var(--s-2xl); }
  .hero__inner { padding-block: 72px; }

  .brand__logo { height: 38px; }

  /* Touch territory: two cards per view, swiped rather than clicked. */
  .carousel__nav { display: none; }
  .grid--swipe {
    grid-template-columns: none;                       /* see note at 640px */
    grid-auto-columns: calc((100% - var(--s-sm)) / 2);
  }

  /* announcement bar scrolls right-to-left instead of wrapping */
  .topbar__inner { display: none; }
  .topbar__marquee { display: block; overflow: hidden; padding-block: var(--s-sm); }
  .topbar__track { animation: topbar-scroll 24s linear infinite; }

  /* mobile nav drawer */
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
    width: min(340px, 88vw);
    background: var(--c-canvas);
    border-left: 1px solid var(--c-hairline);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-lg);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav__item { border-bottom: 1px solid var(--c-hairline); }
  .nav__link {
    justify-content: space-between; width: 100%;
    padding: var(--s-md) var(--s-xs); border-radius: 0; font-size: var(--fs-lead);
  }
  .nav__link:hover { background: transparent; }
  .nav__panel {
    position: static; display: none; min-width: 0; border: 0; padding: 0 0 var(--s-md) var(--s-md);
    border-left: 2px solid var(--c-hairline); margin-left: var(--s-xs);
  }
  .nav__item.is-expanded > .nav__panel { display: block; }
  .nav__item.is-expanded > .nav__link .nav__caret { transform: rotate(180deg); }
  .nav__caret { transition: transform .2s ease; }
  .nav__cta { margin-top: var(--s-lg); display: grid !important; gap: var(--s-sm); }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--c-border);
    border-top: 1px solid var(--c-fg);
  }
  .callbar a {
    padding: 14px var(--s-md); text-align: center; font-weight: 700;
    background: var(--c-fg); color: #fff; text-decoration: none;
  }
  .callbar a.callbar--accent { background: var(--c-accent); }
  body { padding-bottom: 52px; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* One card per view, swiped by finger. The 86% width lets the next card
     peek in so it is obvious the row scrolls; the negative margin bleeds it
     to the screen edges while scroll-padding keeps the first card lined up
     with the container gutter. Arrows are pointless on touch, so hide them. */
  .carousel__nav { display: none; }
  .grid--swipe {
    /* re-assert: the .grid-3 override above this rule would otherwise put the
       first card in an explicit 1fr column and size only the rest */
    grid-template-columns: none;
    grid-auto-columns: 86%;
    margin-inline: calc(var(--s-lg) * -1);
    padding-inline: var(--s-lg);
    scroll-padding-inline: var(--s-lg);
  }
  /* Every card in the row is as tall as the tallest, so keep them compact. */
  .grid--swipe .quote { padding: var(--s-md); gap: var(--s-sm); }
  .grid--swipe .quote__who { padding-top: var(--s-xs); }
  .tilegrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-sm); }
  .stats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-lg); padding-block: var(--s-xl) var(--s-lg); }
  .topbar__list { gap: var(--s-md); }
  .topbar__abn { display: none; }
  .hero__facts { gap: var(--s-lg); }
  .btn-row .btn { width: 100%; }
  .lightbox { padding: var(--s-md); }
  .lightbox__nav { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  /* The marquee is stopped by the rule above, so let it be swiped instead of
     leaving the second half of the message permanently off-screen. */
  .topbar__marquee { overflow-x: auto; }
  .topbar__run[aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .topbar, .nav, .callbar, .site-footer, .ctaband { display: none !important; }
}
