:root {
  --ink: #1b1f29;
  --muted: #65615f;
  --paper: #fff4ec;
  --header: #f9e3d9;
  --white: #ffffff;
  --red: #d51f1f;
  --orange: #ed4927;
  --gold: #fcb900;
  --line: #eadfdb;
  --shadow: 0 24px 80px rgba(27, 31, 41, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, #fff7f1 0%, var(--paper) 42%, #fff1e7 100%);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: linear-gradient(135deg, rgba(249, 227, 217, .94), rgba(255, 241, 232, .92));
  border-bottom: 1px solid rgba(213, 31, 31, .22);
  box-shadow: 0 10px 30px rgba(213, 31, 31, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img { width: 70px; height: 92px; object-fit: contain; }

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--orange);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: .08em;
}

.brand-text small {
  color: var(--ink);
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 800;
  letter-spacing: .02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.banner-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #120f0f;
}

.banner-track {
  display: flex;
  width: 200%;
  transform: translateX(0);
  transition: transform .55s ease;
}

.banner-slider[data-active="1"] .banner-track {
  transform: translateX(-50%);
}

.banner-slide {
  flex: 0 0 50%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #120f0f;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: calc(100vh - 88px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 6vw, 92px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(252, 185, 0, .22), transparent 28%),
    linear-gradient(135deg, rgba(213, 31, 31, .12), transparent 38%),
    repeating-linear-gradient(120deg, transparent 0 22px, rgba(237, 73, 39, .05) 23px 24px);
  pointer-events: none;
}

.hero-content, .hero-panel { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.05; margin: 0; }

.hero h1 {
  font-size: clamp(48px, 8.6vw, 112px);
  letter-spacing: 0;
  color: var(--orange);
}

.hero h2 {
  margin-top: 8px;
  color: var(--orange);
  font-size: clamp(28px, 5vw, 64px);
}

.hero-subtitle {
  margin: 10px 0 0;
  max-width: none;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions, .social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(213, 31, 31, .22); }
.btn.primary { background: var(--ink); color: var(--white); }
.btn.ghost { background: rgba(255, 255, 255, .64); }

.placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 2px dashed rgba(213, 31, 31, .42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(252,185,0,.12)),
    repeating-linear-gradient(-45deg, rgba(27,31,41,.06) 0 8px, transparent 8px 18px);
  color: var(--red);
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow);
}

.placeholder.tall { min-height: 560px; }
.placeholder.map { min-height: 360px; }
.placeholder.book { min-height: 420px; }

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: clamp(220px, 28vw, 340px);
  max-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease, filter .45s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.02);
}

.media-frame figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(27, 31, 41, .72);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.media-frame.tall {
  aspect-ratio: 4 / 3;
  height: clamp(340px, 40vw, 560px);
  max-height: 560px;
}

.hero-panel .media-frame.tall {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
}

.media-frame.map {
  aspect-ratio: 16 / 10;
  height: clamp(220px, 28vw, 320px);
  max-height: 320px;
}

.media-frame.book {
  aspect-ratio: 3 / 4;
  height: clamp(440px, 52vw, 680px);
  max-height: 680px;
}

.service-detail .media-frame {
  aspect-ratio: 16 / 9;
  height: clamp(220px, 28vw, 360px);
  max-height: 360px;
}

.service-detail .media-frame.service-media-full {
  aspect-ratio: auto;
  height: auto;
  max-height: none;
  align-self: start;
}

.service-detail .media-frame.service-media-full img {
  height: auto;
  object-fit: contain;
  transform: none;
}

.book-section .media-frame {
  background: #f7f0ed;
}

.book-section .media-frame img,
.service-detail .media-frame img {
  object-fit: contain;
  padding: 0;
}

.hero-panel .media-frame img {
  object-fit: contain;
  object-position: center center;
  padding: 0;
}

.split-section, .goal-band, .service-detail, .book-section, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 110px) clamp(18px, 6vw, 92px);
}

.section-copy h2, .section-heading h2, .page-hero h1, .contact-hero h1 {
  font-size: clamp(34px, 5vw, 72px);
}

.page-hero .eyebrow,
.contact-hero .eyebrow {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

.page-hero .eyebrow + h1,
.contact-hero h1 {
  margin-top: 16px;
  color: var(--muted);
  font-family: inherit;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.16;
}

.page-hero > h1:only-child {
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
}

.glass-card, .team-card, .contact-card, .map-card, .contact-form, .google-form-card {
  border: 1px solid rgba(213, 31, 31, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow);
}

.stats-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(213, 31, 31, .28);
  background:
    linear-gradient(135deg, rgba(255, 246, 238, .98), rgba(255, 231, 220, .92)),
    var(--white);
  box-shadow: 0 24px 70px rgba(213, 31, 31, .14), 0 8px 24px rgba(27, 31, 41, .08);
}

.stats-card div {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
}

.stats-card strong { color: var(--red); font-size: clamp(38px, 5vw, 64px); line-height: 1; white-space: nowrap; }
.stats-card span { color: var(--muted); font-weight: 700; }

.capabilities, .service-preview, .clients, .team-grid {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 6vw, 92px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 32px;
}

.content-block {
  max-width: 1050px;
  padding: clamp(20px, 4vw, 44px);
  border-left: 6px solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow);
}

.goal-band {
  background: var(--ink);
  color: var(--white);
}

.goal-band .eyebrow { color: var(--gold); }
.goal-band .placeholder { box-shadow: none; }

.service-grid, .client-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(213, 31, 31, .22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 247, 242, .98), rgba(255, 236, 226, .9));
  box-shadow: 0 18px 48px rgba(213, 31, 31, .12), 0 8px 24px rgba(27, 31, 41, .07);
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 28px 60px rgba(213, 31, 31, .24);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(213, 31, 31, .1);
  border: 1px solid rgba(213, 31, 31, .2);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.service-card:hover span {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
}

.service-card h3 { margin-top: 24px; font-size: 20px; }

.client-logo {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(213, 31, 31, .2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 248, 244, .98), rgba(255, 238, 229, .92));
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(213, 31, 31, .1), 0 6px 20px rgba(27, 31, 41, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.client-logo:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 31, 31, .4);
  box-shadow: 0 26px 56px rgba(213, 31, 31, .18);
}

.client-logo img {
  width: 86px;
  height: 72px;
  object-fit: contain;
}

.client-logo span {
  margin-top: 10px;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 130px) clamp(18px, 6vw, 92px);
  background:
    linear-gradient(135deg, rgba(255, 244, 236, .96), rgba(255, 225, 213, .9)),
    repeating-linear-gradient(120deg, transparent 0 26px, rgba(213, 31, 31, .07) 27px 28px);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -40% 42%;
  height: 80%;
  background:
    linear-gradient(90deg, transparent, rgba(252, 185, 0, .14)),
    repeating-linear-gradient(90deg, rgba(213,31,31,.09) 0 1px, transparent 1px 18px);
  transform: rotate(-10deg);
  pointer-events: none;
}

.page-hero.compact { min-height: 360px; display: grid; align-content: center; }
.page-hero > * { position: relative; z-index: 1; }

.service-detail {
  border-top: 1px solid var(--line);
}

#brand {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  align-items: start;
}

.service-detail.flip .media-frame { order: 2; }
.service-detail article { max-width: 780px; }
.service-detail h2 { color: var(--red); font-size: clamp(30px, 4vw, 54px); }
.service-detail h3 { margin-top: 24px; font-size: 22px; }

.service-detail.text-only {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.book-cover {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.book-section .glass-card { padding: clamp(22px, 4vw, 42px); }

.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.team-text-grid {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  gap: 28px;
}

.team-text-grid .team-card:nth-child(4) {
  grid-column: 2;
}

.team-card {
  padding: 22px;
  text-align: center;
  transition: transform .22s ease;
}

.team-card:hover { transform: translateY(-8px); }

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: min(100%, 190px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border: 2px dashed rgba(213, 31, 31, .42);
  border-radius: 50%;
  background: rgba(252, 185, 0, .12);
  color: var(--red);
  font-weight: 900;
  overflow: hidden;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.team-card h2 { font-size: 24px; }
.team-card p { color: var(--red); font-weight: 900; }

.team-text-card {
  min-height: 230px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(145deg, rgba(255, 247, 242, .98), rgba(255, 236, 226, .9));
  border: 1px solid rgba(213, 31, 31, .24);
}

.team-text-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(213, 31, 31, .1);
  border: 1px solid rgba(213, 31, 31, .22);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.team-text-card h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  white-space: nowrap;
}

.team-text-card p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.map-link {
  display: block;
}

.map-link .media-frame {
  transition: transform .22s ease, box-shadow .22s ease;
}

.map-link:hover .media-frame {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(213, 31, 31, .2);
}

.contact-brand-line {
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.25;
}

.contact-brand-line span {
  color: var(--orange);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: .08em;
}
.social-row { justify-content: center; margin-top: 16px; }
.social-row span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 900; }

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  align-items: center;
  padding: clamp(72px, 9vw, 130px) clamp(18px, 6vw, 92px);
  background: var(--ink);
  color: var(--white);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  color: var(--ink);
}

.contact-card a {
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.google-form-card {
  overflow: hidden;
  min-height: 500px;
}

.google-form-card iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

label { display: grid; gap: 8px; font-weight: 900; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
}

textarea { min-height: 150px; resize: vertical; }
.map-card { padding: clamp(22px, 4vw, 38px); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr .7fr 1.4fr;
  gap: 24px;
  align-items: start;
  padding: 46px clamp(18px, 6vw, 92px) 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #23191b;
  color: #f7ebe7;
}

.site-footer img { width: 48px; height: auto; }
.site-footer address { font-style: normal; }

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  font-size: 24px;
  letter-spacing: .08em;
  color: var(--orange);
}

.footer-brand p,
.footer-bottom {
  margin: 0;
  color: #d8c7c1;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-heading {
  color: var(--orange);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  color: #f7ebe7;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .service-grid, .client-grid, .team-grid, .team-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-text-grid .team-card:nth-child(4) { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 87px 14px auto 14px;
    display: grid;
    padding: 14px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .22s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero, .split-section, .goal-band, .service-detail, .book-section, .contact-grid, .contact-hero {
    grid-template-columns: 1fr;
  }

  #brand {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(42px, 12vw, 72px); }
  .hero-subtitle { font-size: clamp(25px, 7vw, 38px); }
  .hero p:not(.eyebrow) { max-width: 100%; }
  .placeholder.tall,
  .media-frame.tall { max-height: 420px; }
  .service-detail.flip .media-frame { order: 0; }
}

@media (max-width: 560px) {
  .brand img { width: 56px; height: 74px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 9px; }
  .site-header { gap: 12px; padding: 12px 16px; }
  .hero { padding: 44px 18px 54px; }
  .service-grid, .client-grid, .team-grid, .team-text-grid, .book-cover { grid-template-columns: 1fr; }
  .stats-card div { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .media-frame,
  .media-frame.map,
  .media-frame.book {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .media-frame.tall {
    aspect-ratio: 4 / 3;
  }

  .hero-panel .media-frame.tall {
    aspect-ratio: 16 / 9;
  }

  .service-detail .media-frame.service-media-full {
    aspect-ratio: auto;
  }
}
