/* Light is the default; an explicit saved choice enables the dark palette. */
:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --bg-alt: #e9eef0;
  --surface: #fff;
  --ink: #101417;
  --muted: #5a6970;
  --line: #dbe2e5;
  --accent: #286c7c;
  --hot: #20d6c7;
  --hot-ink: #021a18;
  --contact: #e1edef;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0e10;
  --bg-alt: #111619;
  --surface: #161c20;
  --ink: #eef2f3;
  --muted: #a0b0b7;
  --line: #2b373d;
  --accent: #7dc2cc;
  --contact: #14262c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

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

h1,
h2,
h3 {
  font-family: 'Space Grotesk', 'Trebuchet MS', system-ui, sans-serif;
  letter-spacing: -0.025em;
}

h1,
h2 {
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

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

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

.container {
  width: min(1040px, calc(100% - 44px));
  margin-inline: auto;
}

.section {
  padding-block: 84px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: var(--hot);
  color: var(--hot-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.button:hover {
  background: #69e5db;
  transform: translateY(-2px);
}

.button-ghost {
  background: #ffffff12;
  border-color: #ffffff9c;
  color: white;
}

.button-ghost:hover {
  background: #ffffff24;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-block: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 30;
  padding: 10px 18px;
  background: var(--hot);
  color: var(--hot-ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

/* Navigation stays dark in both themes, as in the original design. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #080b0df2;
  color: white;
  border-bottom: 1px solid #ffffff12;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 70px;
}

.wordmark {
  flex-shrink: 0;
  font-family: 'Trebuchet MS', system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.wordmark span {
  color: var(--hot);
}

.desktop-nav {
  display: flex;
  gap: 23px;
  margin-left: auto;
}

.desktop-nav a {
  font-size: 0.85rem;
  color: #d5dde0;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: white;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: var(--hot);
  color: var(--hot-ink);
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.theme-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
}

.theme-toggle:hover {
  background: #ffffff15;
}

.mobile-nav {
  display: none;
}

/* Full-width photographic hero with the original layered silhouette. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: #080b0d;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, #080b0d 0%, #080b0d 56%, #080b0d96 75%, #080b0d14 100%),
    url('/assets/dji-neo.jpg');
  background-size:
    auto,
    auto 118%;
  background-position:
    0 0,
    100% 72%;
  background-repeat: no-repeat;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding-block: 86px 140px;
}

.hero-copy {
  position: relative;
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border: 1px solid #ffffff50;
  border-radius: 99px;
  background: #ffffff10;
  font-size: 0.77rem;
}

.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--hot);
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5rem);
  max-width: 12ch;
  letter-spacing: -0.035em;
}

h1 em {
  font-style: normal;
  color: var(--hot);
}

.hero-description {
  max-width: 40ch;
  margin-top: 24px;
  font-size: 1.13rem;
  color: #dce5e9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-hills {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: -1;
}

.hero-hill-front {
  fill: var(--bg);
}

.capabilities {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -45px;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 50px #0002;
}

.capabilities p {
  padding: 22px 24px;
}

.capabilities p + p {
  border-left: 1px solid var(--line);
}

.capabilities strong {
  display: block;
  color: var(--accent);
  font-size: 1.23rem;
  line-height: 1.4;
}

.capabilities span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Services and the request for real portfolio samples. */
.section-heading {
  margin-bottom: 34px;
}

.section-heading > p {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.service {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.service > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service .service-output {
  margin-top: 22px;
  color: var(--accent);
  font-size: 0.75rem;
}

.work-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-alt);
}

.work-note h3 {
  font-size: 1.05rem;
}

.work-note p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}

.work-note .text-link {
  flex-shrink: 0;
}

/* About and pricing keep the original rounded surfaces. */
.about-section {
  padding-block: 84px;
  background: var(--bg-alt);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
}

.about-copy > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-copy .large-copy {
  color: var(--ink);
  font-size: 1.05rem;
}

.about-facts {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.about-facts > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.83rem;
}

.about-facts dt {
  color: var(--accent);
  font-weight: 700;
}

.about-facts dd {
  margin: 0;
  color: var(--muted);
}

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

.price-plan {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.price-plan h3 {
  font-size: 1.13rem;
}

.price-plan .price {
  font-family: 'Trebuchet MS', system-ui, sans-serif;
  margin-top: 18px;
  color: var(--ink);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.price span {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.price-plan > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.price-plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.price-plan li {
  position: relative;
  padding: 5px 0 5px 22px;
}

.price-plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.price-plan .text-link {
  align-self: start;
  margin-top: auto;
}

.combined {
  border: 2px solid var(--hot);
}

.small-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Native disclosure controls work even without JavaScript. */
.faq-layout {
  padding-top: 0;
}

.faq-list {
  margin-top: 30px;
}

.faq-list details {
  margin-bottom: 10px;
  padding-inline: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 19px;
  font-size: 0.94rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-section {
  padding-block: 0 50px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--contact), var(--bg-alt));
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.93rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: clamp(0.9rem, 1.65vw, 1.15rem);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.contact-copy .contact-location {
  font-size: 0.8rem !important;
}

#inquiry-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

label {
  font-size: 0.79rem;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.9rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

textarea::placeholder {
  color: var(--muted);
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.form-note:empty {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding-block: 30px 44px;
}

.site-footer p,
.site-footer > a:last-child {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer > a:last-child {
  text-decoration: none;
}

@media (min-width: 1500px) {
  .hero::before {
    background-position:
      0 0,
      calc(50% + 440px) 72%;
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 16px;
  }
  .desktop-nav {
    gap: 16px;
  }
  .hero::before {
    background-image:
      linear-gradient(90deg, #080b0d 0%, #080b0de8 33%, #080b0d30 100%), url('/assets/dji-neo.jpg');
  }
  .hero-copy {
    max-width: 540px;
  }
  .capabilities p {
    padding: 20px 16px;
  }
  .capabilities strong {
    font-size: 1.05rem;
  }
  .about-layout {
    gap: 35px;
  }
  .service,
  .price-plan {
    padding: 22px;
  }
  .contact-layout {
    padding: 30px;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 85px;
  }
  .header-inner {
    min-height: 66px;
    gap: 12px;
  }
  .desktop-nav {
    display: none;
  }
  .header-contact {
    margin-left: auto;
    padding: 8px 13px;
    font-size: 0.72rem;
    gap: 8px;
  }
  .header-contact span {
    display: none;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav summary {
    font-size: 0.8rem;
    padding-block: 10px;
  }
  .mobile-nav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    padding: 16px 22px;
    background: #111619;
    border-bottom: 1px solid #2b373d;
    box-shadow: 0 15px 25px #0004;
  }
  .mobile-nav a {
    padding: 10px;
    color: white;
    text-decoration: none;
  }
  .hero::before {
    background-image:
      linear-gradient(180deg, #080b0d 0%, #080b0d 55%, #080b0d18 74%, #080b0d28 100%),
      url('/assets/dji-neo.jpg');
    background-size:
      auto,
      100% auto;
    background-position:
      0 0,
      50% 100%;
  }
  .hero-inner {
    min-height: 910px;
    align-items: start;
    padding-block: 56px 100px;
  }
  .hero-copy {
    max-width: 550px;
  }
  .badge {
    font-size: 0.68rem;
    padding: 6px 11px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(2.8rem, 9vw, 4.2rem);
    max-width: 13ch;
  }
  .hero-description {
    margin-top: 20px;
    font-size: 1rem;
    max-width: 38ch;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }
  .hero-actions .button {
    font-size: 0.83rem;
    padding: 12px 19px;
  }
  .hero-hills {
    height: 70px;
  }
  .capabilities {
    grid-template-columns: 1fr 1fr;
    margin-top: -24px;
    border-radius: 18px;
  }
  .capabilities p {
    padding: 18px;
  }
  .capabilities p + p {
    border-left: 0;
  }
  .capabilities p:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .capabilities p:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .capabilities span {
    font-size: 0.72rem;
  }
  .section,
  .about-section {
    padding-block: 60px;
  }
  .services,
  .pricing,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .services,
  .pricing {
    gap: 16px;
  }
  .work-note {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
  }
  .about-layout {
    gap: 28px;
  }
  .price-plan {
    padding: 26px;
  }
  .price-plan ul {
    margin-block: 18px;
  }
  .faq-layout {
    padding-top: 0;
  }
  .contact-section {
    padding-bottom: 25px;
  }
  .contact-layout {
    width: calc(100% - 28px);
    padding: 28px 22px;
    border-radius: 22px;
    gap: 32px;
  }
  .email-link {
    font-size: 1.05rem;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 9px;
  }
  .wordmark {
    font-size: 1rem;
  }
  .header-contact {
    font-size: 0.65rem;
    padding-inline: 10px;
  }
  .hero-inner {
    min-height: 860px;
    padding-top: 42px;
  }
  .hero-actions .button {
    padding-inline: 15px;
    font-size: 0.77rem;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .capabilities p {
    padding: 15px;
  }
}

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

/* Honeypot: outside the visible layout and keyboard navigation. */
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
#spam-verification {
  margin-bottom: 16px;
  min-width: 0;
}
#form-status[data-state='error'] {
  color: #ffb0a7;
}
:root[data-theme='light'] #form-status[data-state='error'] {
  color: #a32222;
}
