:root {
  color-scheme: light;
  --ink: #15151a;
  --ink-soft: #343541;
  --paper: #f7f8fb;
  --surface: #ffffff;
  --surface-strong: #f0f3f7;
  --line: #dfe5ec;
  --muted: #68707d;
  --teal: #008c7a;
  --coral: #ff6542;
  --amber: #f5aa1c;
  --blue: #2563eb;
  --violet: #6256e8;
  --shadow: 0 22px 70px rgba(21, 21, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 248, 251, 0.86);
  border-bottom: 1px solid rgba(223, 229, 236, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-action,
.button,
.text-link,
.preview-button,
.dialog-close {
  text-decoration: none;
  font-weight: 750;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--surface-strong);
}

.header-action {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(21, 21, 26, 0.16);
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(88px, 10vw, 136px) clamp(18px, 5vw, 72px) 34px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(21, 21, 26, 0.95) 0%, rgba(21, 21, 26, 0.84) 45%, rgba(21, 21, 26, 0.38) 100%),
    #15151a;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(0deg, rgba(21, 21, 26, 0.92), transparent);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(21, 21, 26, 0.32), rgba(21, 21, 26, 0.2) 54%, rgba(21, 21, 26, 0.1));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.78;
}

.hero-shot {
  position: absolute;
  width: min(44vw, 620px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-shot-a {
  top: 16%;
  right: 8%;
}

.hero-shot-b {
  top: 40%;
  right: 31%;
  width: min(34vw, 470px);
}

.hero-shot-c {
  top: 58%;
  right: 5%;
  width: min(30vw, 420px);
}

.hero-shot-d {
  top: 10%;
  right: 48%;
  width: min(28vw, 380px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  min-width: 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-section h2,
.method-section h2 {
  margin: 0;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(3.9rem, 10vw, 8.6rem);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.button-primary {
  color: #fff;
  background: var(--coral);
}

.button-primary:hover {
  background: #e84f30;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 58px 0 0;
}

.hero-stats div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stats dt {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.intro-band {
  display: flex;
  justify-content: center;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--teal);
}

.intro-band p {
  width: min(100%, 1120px);
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 760;
  letter-spacing: -0.025em;
}

.portfolio-section,
.sales-section,
.impact-section,
.method-section,
.contact-section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.portfolio-section,
.sales-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: end;
  width: min(100%, 1180px);
  margin: 0 auto 28px;
}

.section-heading h2,
.method-section h2,
.contact-section h2 {
  font-size: clamp(2.35rem, 5vw, 5.6rem);
}

.section-heading p:last-child,
.contact-section p,
.method-grid p {
  margin: 0;
  color: var(--muted);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.offer-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 270px;
  padding: 24px;
  background: var(--surface);
}

.offer-grid span {
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
}

.offer-grid h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.045em;
}

.offer-grid p {
  margin: 0;
  color: var(--muted);
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 140, 122, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(98, 86, 232, 0.2), transparent 42%),
    var(--ink);
}

.impact-copy {
  max-width: 760px;
}

.impact-copy .eyebrow {
  color: var(--amber);
}

.impact-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 6.4rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.impact-copy p {
  max-width: 640px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.impact-metrics {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.impact-metrics div {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.impact-metrics strong {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.impact-metrics span {
  color: rgba(255, 255, 255, 0.68);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 1180px);
  margin: 0 auto 22px;
}

.filter-button,
.preview-button,
.dialog-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
}

.filter-button {
  padding: 9px 14px;
  font-size: 0.9rem;
}

.filter-button.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.app-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(21, 21, 26, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 140, 122, 0.42);
  box-shadow: 0 24px 64px rgba(21, 21, 26, 0.12);
}

.app-card.is-hidden {
  display: none;
}

.app-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-strong);
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.app-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.app-meta span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.app-meta a {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-card h3,
.method-grid h3 {
  margin: 0;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link,
.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.text-link {
  color: #fff;
  background: var(--ink);
}

.text-link:hover {
  background: var(--teal);
}

.preview-button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.method-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 140, 122, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(255, 101, 66, 0.16), transparent 42%),
    var(--ink);
}

.method-section .section-heading {
  align-items: start;
  margin-bottom: 34px;
}

.method-section .eyebrow {
  color: var(--amber);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.method-grid div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.method-grid span {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 850;
}

.method-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
  background: var(--surface);
}

.contact-section > div:first-child {
  max-width: 780px;
}

.contact-section .contact-actions {
  margin-top: 24px;
}

.contact-section .eyebrow {
  color: var(--coral);
}

.contact-section .button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-strong);
}

.contact-section .button-secondary:hover {
  background: #e8edf3;
}

.booking-embed {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 18px 54px rgba(21, 21, 26, 0.08);
}

.booking-embed iframe {
  display: block;
  background: #fff;
}

.booking-embed noscript {
  display: block;
  padding: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 750;
  text-decoration: none;
}

.preview-dialog {
  width: min(1120px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-dialog::backdrop {
  background: rgba(21, 21, 26, 0.72);
  backdrop-filter: blur(6px);
}

.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.dialog-bar h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.dialog-close {
  padding: 8px 12px;
}

.preview-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #101015;
}

@media (max-width: 1080px) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-shot {
    width: 58vw;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    min-height: 720px;
    padding-top: 92px;
  }

  .hero-media {
    opacity: 0.24;
  }

  .hero::before {
    background: rgba(21, 21, 26, 0.58);
  }

  .hero-shot-a {
    top: 15%;
    right: -58%;
    width: 94vw;
  }

  .hero-shot-b {
    top: 47%;
    right: 24%;
    width: 78vw;
  }

  .hero-shot-c,
  .hero-shot-d {
    display: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 11.5vw, 3.15rem);
    letter-spacing: -0.055em;
  }

  .hero h1 span {
    display: block;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-heading,
  .impact-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .app-grid,
  .offer-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-grid div {
    min-height: auto;
  }

  .offer-grid article {
    min-height: auto;
  }

  .booking-embed iframe {
    min-height: 1040px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
