:root {
  color-scheme: light;
  --navy: #073b4c;
  --navy-deep: #042d3b;
  --coral: #ff6b6b;
  --gold: #ffd166;
  --mint: #06d6a0;
  --sky: #53b3cb;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #13262d;
  --muted: #607277;
  --line: #d7dedb;
  --shadow: 0 24px 70px rgba(4, 45, 59, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 209, 102, 0.13), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "Rubik", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(7, 59, 76, 0.96);
  color: var(--surface);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--surface);
  font-family: "Rubik Mono One", sans-serif;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.brand-mark::before {
  transform: translate(-5px, 4px);
}

.brand-mark::after {
  transform: translate(5px, -4px);
}

.brand-mark span {
  width: 12px;
  height: 1px;
  background: var(--surface);
  transform: rotate(-37deg);
}

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

.site-nav a,
.mobile-nav-links a {
  text-decoration: none;
}

.site-nav a {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Rubik Mono One", sans-serif;
  font-size: 12px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
}

.site-nav a[aria-current="page"],
.mobile-nav-links a[aria-current="page"] {
  color: var(--gold);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--surface);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-links {
  position: absolute;
  top: 48px;
  right: 0;
  width: 210px;
  padding: 10px;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: var(--navy-deep);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.mobile-nav-links a {
  padding: 11px 12px;
  border-radius: 7px;
  color: var(--surface);
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--coral);
  font-family: "Rubik Mono One", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 2px;
  background: currentColor;
  content: "";
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  overflow: hidden;
  place-items: end start;
  background: var(--navy);
  color: var(--surface);
}

.home-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 45, 59, 0.97) 0%, rgba(7, 59, 76, 0.78) 54%, rgba(7, 59, 76, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 45, 59, 0.72), transparent 55%);
  content: "";
}

.home-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 82px;
}

.home-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.about-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.about-copy h2 {
  margin: 0 0 26px;
  color: var(--navy);
  font-family: "Rubik Mono One", sans-serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.about-lede {
  max-width: 690px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.7;
}

.quote {
  margin: 54px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.quote blockquote {
  max-width: 570px;
  margin: 0 0 22px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.3;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.quote img {
  width: 54px;
  height: 54px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

.about-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.about-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(6, 214, 160, 0.16), rgba(255, 107, 107, 0.12));
  content: "";
  mix-blend-mode: color;
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  height: min(610px, 65vw);
  object-fit: cover;
}

.contact-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 110px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 150px;
}

.contact-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.contact-intro > p:last-child {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--mint), var(--sky));
  content: "";
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 20px;
}

.form-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.required {
  color: var(--coral);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfa;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input {
  min-height: 50px;
  padding: 11px 14px;
}

.field textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #aab8b8;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--mint);
  background: var(--surface);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.14);
}

.consent {
  padding: 18px;
  border-radius: 11px;
  background: rgba(255, 209, 102, 0.13);
}

.consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
}

.consent input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.button {
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

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

.button-primary:hover {
  background: #e65353;
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button:focus-visible,
.consent input:focus-visible {
  outline: 3px solid rgba(83, 179, 203, 0.45);
  outline-offset: 3px;
}

.alert {
  margin: 20px 0 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
}

.alert-ok {
  border: 1px solid rgba(6, 214, 160, 0.42);
  background: rgba(6, 214, 160, 0.1);
  color: #075f4d;
}

.alert-error {
  border: 1px solid rgba(255, 107, 107, 0.44);
  background: rgba(255, 107, 107, 0.1);
  color: #8a3030;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 34px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .header-inner,
  .home-hero-content,
  .about-section,
  .contact-main {
    width: min(100% - 28px, 720px);
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .about-section,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 540px;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .home-hero {
    min-height: 520px;
  }

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

  .home-hero h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .about-section {
    padding: 74px 0;
  }

  .about-visual img {
    height: 450px;
  }

  .contact-main {
    padding: 58px 0 74px;
  }

  .contact-intro h1 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
