:root {
  --background: oklch(1.0000 0 0);
  --foreground: oklch(0.2135 0.0158 244.4904);
  --card: oklch(0.9784 0.0011 197.1387);
  --card-foreground: oklch(0.2135 0.0158 244.4904);
  --popover: oklch(1.0000 0 0);
  --popover-foreground: oklch(0.2135 0.0158 244.4904);
  --primary: oklch(0.3708 0.1731 262.1219);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.5960 0.1368 257.2144);
  --secondary-foreground: oklch(1.0000 0 0);
  --muted: oklch(0.9222 0.0013 286.3737);
  --muted-foreground: oklch(0.2135 0.0158 244.4904);
  --accent: oklch(0.9392 0.0166 250.8453);
  --accent-foreground: oklch(0.5916 0.1389 258.2505);
  --destructive: oklch(0.6185 0.2379 26.5147);
  --destructive-foreground: oklch(1.0000 0 0);
  --border: oklch(0.9317 0.0118 231.6594);
  --input: oklch(0.9809 0.0025 228.7836);
  --ring: oklch(0.5916 0.1389 258.2505);
  --chart-1: oklch(0.5916 0.1389 258.2505);
  --chart-2: oklch(0.6676 0.0939 249.3917);
  --chart-3: oklch(0.8271 0.1608 84.1796);
  --chart-4: oklch(0.7069 0.1795 152.4216);
  --chart-5: oklch(0.5913 0.2183 11.6649);
  --sidebar: oklch(0.9784 0.0011 197.1387);
  --sidebar-foreground: oklch(0.2135 0.0158 244.4904);
  --sidebar-primary: oklch(0.3708 0.1731 262.1219);
  --sidebar-primary-foreground: oklch(1.0000 0 0);
  --sidebar-accent: oklch(0.9392 0.0166 250.8453);
  --sidebar-accent-foreground: oklch(0.5916 0.1389 258.2505);
  --sidebar-border: oklch(0.9271 0.0101 238.5177);
  --sidebar-ring: oklch(0.3708 0.1731 262.1219);
  --font-sans: "Inter", ui-sans-serif, sans-serif, system-ui;
  --font-serif: "Lora", ui-serif, serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
  --radius: 1.325rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --shadow-x: 0px;
  --shadow-y: 2px;
  --shadow-blur: 0px;
  --shadow-spread: 0px;
  --shadow-opacity: 0;
  --shadow-color: #1d9df2;
  --shadow-2xs: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-xs: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-sm: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-md: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 2px 4px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-lg: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 4px 6px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-xl: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 8px 10px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-2xl: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --tracking-normal: 0em;
  --spacing: 0.26rem;
  --hero-overlay-start: oklch(0.2135 0.0158 244.4904 / 0.88);
  --hero-overlay-end: oklch(0.2135 0.0158 244.4904 / 0.44);
}

.dark {
  --background: oklch(0 0 0);
  --foreground: oklch(0.9328 0.0025 228.7857);
  --card: oklch(0.2097 0.0080 274.5332);
  --card-foreground: oklch(0.8853 0 0);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.9328 0.0025 228.7857);
  --primary: oklch(0.6601 0.1644 246.7942);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9622 0.0035 219.5331);
  --secondary-foreground: oklch(0.2135 0.0158 244.4904);
  --muted: oklch(0.2090 0 0);
  --muted-foreground: oklch(0.5637 0.0078 247.9662);
  --accent: oklch(0.2154 0.0403 246.3912);
  --accent-foreground: oklch(0.6601 0.1644 246.7942);
  --destructive: oklch(0.6185 0.2379 26.5147);
  --destructive-foreground: oklch(1.0000 0 0);
  --border: oklch(0.2674 0.0047 248.0045);
  --input: oklch(0.3020 0.0288 244.8244);
  --ring: oklch(0.6727 0.1619 245.2131);
  --chart-1: oklch(0.6633 0.1643 246.7844);
  --chart-2: oklch(0.6914 0.1528 161.4868);
  --chart-3: oklch(0.8271 0.1608 84.1796);
  --chart-4: oklch(0.7069 0.1795 152.4216);
  --chart-5: oklch(0.5913 0.2183 11.6649);
  --sidebar: oklch(0.2097 0.0080 274.5332);
  --sidebar-foreground: oklch(0.8853 0 0);
  --sidebar-primary: oklch(0.6727 0.1619 245.2131);
  --sidebar-primary-foreground: oklch(1.0000 0 0);
  --sidebar-accent: oklch(0.2154 0.0403 246.3912);
  --sidebar-accent-foreground: oklch(0.6601 0.1644 246.7942);
  --sidebar-border: oklch(0.3795 0.0220 240.5943);
  --sidebar-ring: oklch(0.6727 0.1619 245.2131);
  --font-sans: "Inter", ui-sans-serif, sans-serif, system-ui;
  --font-serif: "Lora", ui-serif, serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
  --radius: 1.325rem;
  --shadow-x: 0px;
  --shadow-y: 2px;
  --shadow-blur: 0px;
  --shadow-spread: 0px;
  --shadow-opacity: 0;
  --shadow-color: #1d9df2;
  --shadow-2xs: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-xs: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-sm: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 1px 2px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-md: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 2px 4px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-lg: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 4px 6px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-xl: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00), 0px 8px 10px -1px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --shadow-2xl: 0px 2px 0px 0px hsl(203.9437 89.1213% 53.1373% / 0.00);
  --hero-overlay-start: oklch(0 0 0 / 0.88);
  --hero-overlay-end: oklch(0 0 0 / 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-sans);
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.hero {
  min-height: 92vh;
  color: #fff;
  background:
    linear-gradient(90deg, var(--hero-overlay-start), var(--hero-overlay-end)),
    url("https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=1800&q=80") center / cover;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 18, 32, 0.62);
  box-shadow: none;
  backdrop-filter: blur(18px);
  transition: background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.topbar.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 32, 0.78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--secondary-foreground);
  background: var(--secondary);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.menu {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.menu a,
.contact-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

.menu a {
  position: relative;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.78);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--chart-2);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #fff;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.contact-menu {
  justify-self: end;
  position: relative;
}

.contact-link {
  padding: 10px 14px;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-link:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 10;
}

.contact-menu.is-open .contact-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-dropdown a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-dropdown a:hover,
.contact-dropdown a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 86px 0 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-foreground);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: var(--chart-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5.4vw, 4.65rem);
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: var(--primary-foreground);
  background: var(--primary);
}

.button.primary:hover {
  background: var(--secondary);
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro,
.calculator,
.cta,
.footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.intro-copy {
  color: var(--muted-foreground);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.service-grid,
.portfolio-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.portfolio article,
blockquote,
.quiz,
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.service-card span {
  color: var(--accent-foreground);
  font-weight: 900;
}

.service-card p,
.portfolio p,
blockquote p,
.calculator-copy p,
.cta p,
.footer p {
  color: var(--muted-foreground);
}

.service-card:hover {
  transform: translateY(-4px);
  transition: transform 160ms ease;
}

.calculator {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--foreground);
  color: var(--background);
}

.calculator-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.quiz,
.contact-form {
  padding: 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .button {
  justify-self: start;
  width: fit-content;
  min-width: 236px;
}

.quiz {
  color: var(--foreground);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--foreground);
  background: var(--input);
  font-weight: 400;
}

input::placeholder,
textarea::placeholder {
  font-weight: 400;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

textarea {
  resize: vertical;
}

.quiz-result {
  margin: 18px 0;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
}

.quiz-result strong {
  color: var(--accent-foreground);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.brand-row span {
  min-height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted-foreground);
  font-weight: 900;
}

.portfolio article {
  overflow: hidden;
}

.portfolio article img {
  height: 230px;
  object-fit: cover;
}

.portfolio article h3,
.portfolio article p {
  padding-inline: 20px;
}

.portfolio article h3 {
  padding-top: 20px;
}

.portfolio article p {
  padding-bottom: 20px;
}

.video-preview {
  margin-top: 20px;
  min-height: 250px;
  padding: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, var(--hero-overlay-start), var(--hero-overlay-end)),
    url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.play-button {
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: var(--chart-3);
  cursor: pointer;
  position: relative;
}

.play-button::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-left: 22px solid var(--foreground);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

blockquote {
  margin: 0;
  padding: 24px;
}

blockquote p {
  font-size: 1.06rem;
}

cite {
  color: var(--foreground);
  font-style: normal;
  font-weight: 800;
}

.cta {
  align-items: center;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  border-top: 1px solid var(--border);
}

.footer .logo {
  margin-bottom: 14px;
}

.footer-links,
address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.footer a:hover {
  color: var(--accent-foreground);
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .menu,
  .contact-menu {
    display: none;
  }

  .menu.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 8px;
  }

  .menu.is-open a {
    justify-content: center;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
  }

  .menu.is-open a::after {
    display: none;
  }

  .intro,
  .calculator,
  .cta,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 86px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .service-grid,
  .portfolio-grid,
  .review-grid,
  .brand-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-form .button {
    width: fit-content;
  }

  .video-preview {
    grid-template-columns: 1fr;
  }

  .quiz-result {
    display: grid;
  }
}
