/* ============================================================
   Best Energy Advisor — style.css
   Energy & Electrical Advisory · Lewes, Delaware
   ============================================================ */

:root {
  --ink: #0b1b2b;
  --ink-2: #122a40;
  --ink-3: #1b3a57;
  --paper: #f6f4ef;
  --card: #ffffff;
  --amber: #f0a11c;
  --amber-soft: #ffc24b;
  --amber-deep: #c77f06;
  --muted: #5a6b7c;
  --body-ink: #33465a;
  --line: #e4e1d8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 2px 10px rgba(11, 27, 43, 0.06);
  --shadow-md: 0 16px 38px rgba(11, 27, 43, 0.13);
  --radius: 12px;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(240, 161, 28, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 9vw, 110px);
}

.mono {
  font-family: var(--font-mono);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 58ch;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  margin-top: 14px;
  max-width: 22ch;
}

.section-head .lead {
  margin-top: 14px;
}

.sh-link {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--amber-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid rgba(240, 161, 28, 0.4);
  padding-bottom: 4px;
  transition: gap 0.25s, color 0.25s, border-color 0.25s;
}

.sh-link:hover {
  gap: 13px;
  color: var(--ink);
  border-color: var(--amber-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s,
    background-color 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}

.btn-primary {
  background: var(--amber);
  color: #14202e;
}

.btn-primary:hover {
  background: var(--amber-soft);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(240, 161, 28, 0.38);
}

.btn-ghost {
  border-color: rgba(11, 27, 43, 0.35);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(11, 27, 43, 0.05);
  transform: translateY(-3px);
}

.btn-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  background: rgba(246, 244, 239, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 27, 43, 0.07);
}

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand svg {
  width: 36px;
  height: 36px;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.05);
}

.brand em {
  font-style: normal;
  color: var(--amber-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a:not(.btn) {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.82;
  text-decoration: none;
  padding: 6px 0;
  transition: opacity 0.2s;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:not(.btn):hover,
.main-nav a.active {
  opacity: 1;
}

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

.nav-cta {
  padding: 11px 20px !important;
  font-size: 0.92rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vh, 72px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(240, 161, 28, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin-top: 22px;
}

.hero h1 .mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero h1 .mask > span {
  display: block;
  transform: translateY(115%);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero h1 .mask:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero h1 .mask:nth-child(3) > span {
  animation-delay: 0.24s;
}

.hero h1 .accent {
  color: var(--amber-deep);
}

.hero .lead {
  margin-top: 24px;
  opacity: 0;
  animation: fade-in 0.9s ease 0.5s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  opacity: 0;
  animation: fade-in 0.9s ease 0.65s forwards;
}

.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  opacity: 0;
  animation: fade-in 0.9s ease 0.8s forwards;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fade-in 0.9s ease 0.9s forwards;
}

.hero-chips li {
  list-style: none;
  padding: 16px 26px 0 0;
  margin-right: 26px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--body-ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
}

/* Hero media */
.media-offset {
  position: relative;
}

.media-offset::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid rgba(240, 161, 28, 0.55);
  border-radius: 18px;
  z-index: 0;
}

.media-frame {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--ink);
}

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

.hero .media-frame img {
  aspect-ratio: 4 / 4.5;
  animation: kenburns 22s ease-in-out infinite alternate;
}

.float-card {
  position: absolute;
  z-index: 2;
  left: -26px;
  bottom: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floaty 6s ease-in-out infinite;
}

.float-card .fc-ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(240, 161, 28, 0.16);
  display: grid;
  place-items: center;
  color: var(--amber-deep);
}

.float-card .fc-ico svg {
  width: 20px;
  height: 20px;
}

.float-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-card strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.loc-chip {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: -14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 9px 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-md);
}

.loc-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  position: relative;
}

.loc-chip .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(240, 161, 28, 0.6);
  animation: pulse-ring 2s ease-out infinite;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  overflow: hidden;
  border-block: 1px solid var(--ink-2);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-set {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker-set span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 14px 17px 14px 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}

.ticker-set span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Split (about / intro) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5.5vw, 72px);
  align-items: center;
}

.split .lead {
  margin-top: 20px;
}

.split h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-top: 14px;
  max-width: 20ch;
}

.split p + p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 58ch;
}

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

/* ---------- Advisory note (disclaimer) ---------- */
.advisory-note {
  margin-top: clamp(40px, 5vw, 60px);
  background: #fff8ea;
  border: 1px solid #f0dca8;
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 24px 28px;
}

.advisory-note h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 10px;
}

.advisory-note p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body-ink);
  max-width: 85ch;
}

.advisory-note strong {
  color: var(--ink);
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s,
    border-color 0.35s;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(240, 161, 28, 0.6);
}

.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}

.svc-card h3 {
  font-size: 1.25rem;
  margin: 12px 0 10px;
  line-height: 1.25;
}

.svc-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.svc-tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 36px);
}

.step {
  border-top: 2px solid var(--line);
  padding-top: 24px;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--amber);
  transform: rotate(45deg);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}

.step h3 {
  font-size: 1.2rem;
  margin: 10px 0 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(240, 161, 28, 0.18), transparent 65%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  position: relative;
}

.stat {
  border-left: 1px solid var(--line-dark);
  padding-left: clamp(18px, 2vw, 28px);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--amber-soft);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Sector chips ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.94rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s,
    background-color 0.3s;
}

.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
  transition: transform 0.3s;
}

.chip:hover {
  transform: translateX(5px);
  border-color: rgba(240, 161, 28, 0.6);
  background: #fffdf7;
}

.chip:hover::before {
  transform: rotate(225deg);
}

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.q-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 0.6;
  color: rgba(240, 161, 28, 0.4);
  display: block;
  margin-bottom: 22px;
}

.q-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body-ink);
}

.q-who {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 840px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--amber-deep);
}

.plus {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s,
    background-color 0.3s;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s;
}

.plus::before {
  width: 12px;
  height: 1.5px;
}

.plus::after {
  width: 1.5px;
  height: 12px;
}

.faq-item[open] .plus {
  transform: rotate(45deg);
  background: var(--amber);
  border-color: var(--amber);
}

.faq-a {
  padding: 0 4px 26px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 70ch;
  font-size: 0.97rem;
}

.faq-a a {
  color: var(--amber-deep);
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(118deg, var(--ink) 0%, var(--ink-2) 70%, var(--ink-3) 100%);
  color: #fff;
  border-radius: 18px;
  padding: clamp(42px, 6vw, 74px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(240, 161, 28, 0.3), transparent 65%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 22ch;
  position: relative;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: none;
  position: relative;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 52px);
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.form-card .form-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.field label .req {
  color: var(--amber-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fbfaf7;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 161, 28, 0.18);
  background: #fff;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 22px;
}

.consent input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--amber-deep);
  flex: none;
}

.consent a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 127, 6, 0.4);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.js-sent .contact-form {
  display: none;
}

.js-sent .form-success {
  display: block;
}

.fs-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(240, 161, 28, 0.15);
  display: grid;
  place-items: center;
  color: var(--amber-deep);
}

.fs-ico svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
  max-width: 44ch;
  margin-inline: auto;
}

.form-success .mono {
  margin-top: 18px;
  font-size: 12px;
}

/* Info cards */
.info-stack {
  display: grid;
  gap: 16px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}

.info-card:hover {
  transform: translateX(5px);
  border-color: rgba(240, 161, 28, 0.55);
}

.info-ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  background: rgba(240, 161, 28, 0.15);
  display: grid;
  place-items: center;
  color: var(--amber-deep);
}

.info-ico svg {
  width: 20px;
  height: 20px;
}

.info-card h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.info-card p,
.info-card a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.55;
}

.info-card a:hover {
  color: var(--amber-deep);
  text-decoration: underline;
}

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
  filter: saturate(0.85);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  margin-top: clamp(48px, 7vw, 88px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(52px, 6vw, 76px) clamp(40px, 5vw, 56px);
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 34ch;
}

.footer-disclaimer {
  margin-top: 20px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 15px 17px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
  margin-bottom: 11px;
  width: fit-content;
  transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover {
  color: var(--amber-soft);
  transform: translateX(3px);
}

.footer-contact li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  color: var(--amber);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--amber-soft);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--amber-soft);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 8vh, 84px)) 0 clamp(48px, 7vh, 76px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 90px
  );
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(240, 161, 28, 0.2), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero .kicker {
  color: var(--amber-soft);
}

.page-hero .kicker::before {
  background: var(--amber-soft);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 18px;
  max-width: 24ch;
}

.page-hero .lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Services detail blocks ---------- */
.svc-block + .svc-block {
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: clamp(56px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.svc-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.svc-2:nth-child(even) .svc-media {
  order: 2;
}

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

.svc-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 14px;
  max-width: 22ch;
}

.svc-body > p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
}

.inc-list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}

.inc-list li {
  position: relative;
  padding-left: 28px;
  color: var(--body-ink);
  line-height: 1.6;
  font-size: 0.96rem;
}

.inc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  background: var(--amber);
  transform: rotate(45deg);
}

.svc-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  background: #fbfaf7;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
}

.meta-chip strong {
  color: var(--ink);
  font-weight: 500;
}

.svc-body .btn {
  margin-top: 28px;
}

/* ---------- Values (about) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card .vc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber-deep);
  letter-spacing: 0.14em;
}

.value-card h3 {
  font-size: 1.22rem;
  margin: 12px 0 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.creds-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.creds-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 161, 28, 0.22), transparent 65%);
}

.creds-card h3 {
  font-size: 1.4rem;
  position: relative;
}

.creds-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 60ch;
  position: relative;
}

.cred-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

.cred-list span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Legal / prose ---------- */
.prose {
  max-width: 800px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px dashed var(--line);
  background: #fbfaf7;
  border-radius: 10px;
  padding: 12px 18px;
  display: inline-block;
  margin-bottom: 34px;
}

.prose h2 {
  font-size: 1.32rem;
  margin: 42px 0 12px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.prose h2 .no {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--amber-deep);
  flex: none;
}

.prose p {
  color: var(--body-ink);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.prose ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

.prose ul li {
  color: var(--body-ink);
  line-height: 1.75;
  font-size: 0.97rem;
  margin-bottom: 8px;
}

.prose a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 127, 6, 0.35);
}

.prose a:hover {
  border-color: var(--amber-deep);
}

/* ---------- Mobile sticky call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: var(--amber);
  color: #14202e;
  text-decoration: none;
  padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: 0 -10px 28px rgba(11, 27, 43, 0.22);
}

.call-bar svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.call-bar .pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #14202e;
  position: relative;
  flex: none;
}

.call-bar .pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(20, 32, 46, 0.55);
  animation: pulse-ring 1.8s ease-out infinite;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes rise {
  to {
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes pulse-ring {
  from {
    transform: scale(0.55);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero .media-frame img {
    aspect-ratio: 16 / 10;
  }

  .float-card {
    left: 16px;
    bottom: -26px;
  }

  .loc-chip {
    right: 12px;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

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

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

  .quote-card:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11, 27, 43, 0.14);
    padding: 18px 5vw 26px;
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }

  .main-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav a:not(.btn) {
    font-size: 1.05rem;
    padding: 10px 0;
    width: 100%;
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
    width: 100%;
  }

  .split,
  .contact-grid,
  .svc-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .svc-2:nth-child(even) .svc-media {
    order: 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 62px;
  }

  .call-bar {
    display: flex;
  }
}

@media (max-width: 640px) {
  .svc-grid,
  .values-grid,
  .quote-grid,
  .steps,
  .chips {
    grid-template-columns: 1fr;
  }

  .quote-card:last-child {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-chips li {
    padding-right: 18px;
    margin-right: 18px;
  }

  .float-card {
    padding: 11px 15px;
  }

  .float-card strong {
    font-size: 1.05rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }

  .hero .media-frame img {
    animation: none;
  }
}
