/* ==========================================================================
   Taylor Dine LLC — Site Styles
   HTML5 / CSS3 Flexbox layout
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap");

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --color-background: #f8f5f0;
  --color-foreground: #1a1f2e;
  --color-card: #ffffff;
  --color-primary: #0f1f3d;
  --color-primary-hover: #1a3260;
  --color-primary-deep: #0a1628;
  --color-accent: #b8963e;
  --color-accent-hover: #9e7d33;
  --color-muted: #f0ece4;
  --color-muted-fg: #6b7280;
  --color-body: #4a5568;
  --color-border: #ddd8d0;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-300: #93c5fd;
  --color-white: #ffffff;
  --color-red: #ef4444;
  --color-amber-50: #fffbeb;
  --color-amber-200: #fde68a;
  --color-amber-700: #b45309;
  --color-amber-800: #92400e;
  --color-gray-400: #9ca3af;

  --radius: 2px;
  --header-h: 72px;
  --max-w: 80rem;
  --shadow-sm: 0 1px 2px rgba(15, 31, 61, 0.06);
  --shadow-lg: 0 10px 25px rgba(15, 31, 61, 0.12);
  --shadow-2xl: 0 25px 50px rgba(15, 31, 61, 0.25);
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #c5bfb5;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.font-display {
  font-family: var(--font-display);
}

.animate-fadein {
  animation: fadein 0.7s ease both;
}

.animate-fadeup {
  animation: fadeup 0.7s ease both;
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: fadeup 0.7s ease both;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Layout utilities (Flexbox)
   -------------------------------------------------------------------------- */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main {
  flex: 1 1 auto;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.shrink-0 {
  flex-shrink: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.hidden {
  display: none !important;
}

/* Flex row grids via wrap */
.flex-row {
  display: flex;
  flex-wrap: wrap;
}

.col-1 {
  flex: 1 1 100%;
}

.col-2 {
  flex: 1 1 100%;
}

.col-3 {
  flex: 1 1 100%;
}

.col-4 {
  flex: 1 1 100%;
}

.col-5-2 {
  flex: 1 1 100%;
}

.col-5-3 {
  flex: 1 1 100%;
}

@media (min-width: 640px) {
  .col-2 {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .sm-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .col-3 {
    flex: 1 1 calc(33.333% - 1.067rem);
  }

  .md-show {
    display: block !important;
  }

  .md-hide {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .col-4 {
    flex: 1 1 calc(25% - 1.125rem);
  }

  .col-5-2 {
    flex: 0 0 calc(40% - 2rem);
    max-width: calc(40% - 2rem);
  }

  .col-5-3 {
    flex: 1 1 calc(60% - 2rem);
  }

  .lg-row {
    flex-direction: row;
  }

  .lg-show {
    display: block !important;
  }
}

/* --------------------------------------------------------------------------
   Eyebrow / section labels
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__rule {
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.eyebrow__text {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--gold {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn--gold:hover {
  background: var(--color-accent-hover);
}

.btn--gold:focus-visible {
  outline-color: var(--color-accent);
}

.btn--navy {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn--navy:hover {
  background: var(--color-primary-hover);
}

.btn--navy-sm {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.btn--navy-sm:hover {
  background: var(--color-primary-hover);
}

.btn--navy-xs {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.btn--outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
}

.btn--outline-white:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.btn--outline-navy {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
}

.btn--outline-navy:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--block {
  width: 100%;
}

.btn--inline {
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}

.form-label .req {
  color: var(--color-red);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--color-white);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea.form-control {
  resize: none;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  text-align: center;
}

.form-error {
  border-color: var(--color-red) !important;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 300ms ease, box-shadow 300ms ease,
    border-color 300ms ease;
}

.site-header.is-scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius);
}

.logo:focus {
  outline: none;
}

.logo:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.logo__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  text-transform: uppercase;
  line-height: 1;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-foreground);
  transition: color var(--transition);
  border-radius: var(--radius);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-accent);
}

.nav-link:focus {
  outline: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  padding: 0.5rem;
  border-radius: var(--radius);
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
}

.hamburger {
  width: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hamburger span {
  display: block;
  height: 1px;
  background: var(--color-foreground);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
}

.nav-mobile__link {
  text-align: left;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  border-radius: var(--radius);
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-mobile__link:hover {
  background: var(--color-background);
}

.nav-mobile__link.is-active {
  color: var(--color-accent);
  background: var(--color-background);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .header-mobile-actions {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-brand,
.footer-nav,
.footer-contact {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .footer-brand,
  .footer-nav,
  .footer-contact {
    flex: 1 1 calc(33.333% - 2rem);
  }
}

.footer-brand .logo__name {
  color: var(--color-white);
  font-size: 1.5rem;
}

.footer-brand__text {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-blue-200);
  line-height: 1.625;
  max-width: 20rem;
}

.footer-brand .btn {
  margin-top: 1.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: none;
  background: var(--color-accent);
  color: var(--color-white);
}

.footer-brand .btn:hover {
  background: var(--color-accent-hover);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a,
.footer-nav button {
  font-size: 0.875rem;
  color: var(--color-blue-200);
  transition: color 150ms ease;
  text-align: left;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--color-white);
}

.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-blue-200);
}

.footer-contact .name {
  color: var(--color-white);
  font-weight: 500;
}

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

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.site-footer__bottom p,
.site-footer__bottom a {
  font-size: 0.75rem;
  color: var(--color-blue-300);
}

.site-footer__bottom a:hover {
  color: var(--color-white);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   Quote modal
   -------------------------------------------------------------------------- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
}

.quote-modal.is-open {
  display: flex;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 61, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.quote-modal__panel {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: 4rem 1rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2xl);
  overflow-y: auto;
  max-height: 85vh;
}

.quote-modal__header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-primary);
  padding: 1.25rem 2rem;
}

.quote-modal__header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
}

.quote-modal__header p {
  font-size: 0.75rem;
  color: var(--color-blue-200);
  margin-top: 0.125rem;
}

.quote-modal__close {
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  transition: color 150ms ease;
}

.quote-modal__close:hover {
  color: var(--color-white);
}

.quote-modal__close:focus {
  outline: none;
}

.quote-modal__close:focus-visible {
  outline: 2px solid var(--color-white);
}

.quote-modal__body {
  padding: 2rem;
}

.quote-modal__body .form-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .quote-modal__body .form-row--2 {
    flex-direction: row;
  }

  .quote-modal__body .form-row--2 > * {
    flex: 1 1 50%;
  }
}

.quote-modal__body .field {
  margin-bottom: 1.25rem;
}

.quote-modal__body .btn {
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Page heroes
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--color-primary);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 31, 61, 0.6),
    var(--color-primary)
  );
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
      0deg,
      #ffffff 0px,
      #ffffff 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      90deg,
      #ffffff 0px,
      #ffffff 1px,
      transparent 1px,
      transparent 40px
    );
}

.page-hero__content {
  position: relative;
  max-width: 42rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero h1 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.page-hero__sub {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-blue-200);
  font-style: italic;
}

.page-hero__lead {
  font-size: 1.125rem;
  color: var(--color-blue-200);
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   Home — Hero
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-primary-deep);
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.home-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.8),
    rgba(10, 22, 40, 0.5) 50%,
    transparent
  );
}

.home-hero__content {
  position: relative;
  padding: 11rem 0 8rem;
  max-width: 42rem;
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.home-hero h1 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.home-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-blue-200);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.home-hero__body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(219, 234, 254, 0.8);
  line-height: 1.625;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-hero__actions {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator__line {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Value strip
   -------------------------------------------------------------------------- */
.value-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

.value-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex: 1 1 100%;
}

@media (min-width: 640px) {
  .value-item {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .value-item {
    flex: 1 1 calc(25% - 1.5rem);
  }
}

.value-item__icon {
  color: var(--color-accent);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.value-item__label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.value-item__sub {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section--lg {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .section--lg {
    padding: 8rem 0;
  }
}

.section--cream {
  background: var(--color-background);
}

.section--white {
  background: var(--color-white);
}

.section--navy {
  background: var(--color-primary);
}

.section--border-t {
  border-top: 1px solid var(--color-border);
}

.section--border-b {
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-title--white {
  color: var(--color-white);
}

.section-title--lg {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}

.section-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.section-lead {
  color: var(--color-muted-fg);
  line-height: 1.625;
  max-width: 36rem;
}

.section-lead--center {
  margin-left: auto;
  margin-right: auto;
}

.prose p {
  color: var(--color-body);
  line-height: 1.625;
  margin-bottom: 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--blue p {
  color: var(--color-blue-200);
}

/* --------------------------------------------------------------------------
   About split (home)
   -------------------------------------------------------------------------- */
.about-split {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-split {
    flex-direction: row;
  }

  .about-split__media,
  .about-split__content {
    flex: 1 1 50%;
  }
}

.about-split__media {
  position: relative;
  width: 100%;
}

.about-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-badge {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-primary);
  padding: 1.5rem 2rem;
}

@media (min-width: 1024px) {
  .about-badge {
    display: block;
  }
}

.about-badge__num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.about-badge__label {
  font-size: 0.75rem;
  color: var(--color-blue-200);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card {
  flex: 1 1 100%;
  padding: 2rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: border-color 300ms ease, box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: rgba(15, 31, 61, 0.2);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .card--2 {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .card--3 {
    flex: 1 1 calc(33.333% - 1rem);
  }
}

@media (min-width: 1024px) {
  .card--3 {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .card--4 {
    flex: 1 1 calc(25% - 1.125rem);
  }
}

.card__icon {
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: transform var(--transition);
}

.card:hover .card__icon {
  transform: scale(1.1);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.card__body {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

.card__rule {
  width: 1.5rem;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 1.25rem;
}

/* Navy cards */
.card--navy {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

.card--navy:hover {
  border-color: rgba(184, 150, 62, 0.4);
  box-shadow: none;
}

.card--navy .card__title {
  color: var(--color-white);
  font-size: 1.25rem;
}

.card--navy .card__body {
  color: var(--color-blue-200);
}

.card--navy .card__rule {
  margin-bottom: 1.5rem;
}

/* Hover invert cards */
.card--hover-invert {
  background: var(--color-background);
  border: none;
  cursor: default;
  transition: background-color 300ms ease;
}

.card--hover-invert:hover {
  background: var(--color-primary);
  box-shadow: none;
}

.card--hover-invert .card__rule {
  width: 1.5rem;
  margin-bottom: 1.5rem;
  transition: width 300ms ease;
}

.card--hover-invert:hover .card__rule {
  width: 2.5rem;
}

.card--hover-invert .card__title {
  font-size: 1.25rem;
  transition: color 300ms ease;
}

.card--hover-invert:hover .card__title {
  color: var(--color-white);
}

.card--hover-invert .card__body {
  transition: color 300ms ease;
}

.card--hover-invert:hover .card__body {
  color: var(--color-blue-200);
}

/* Benefit numbered cards */
.benefit-card {
  flex: 1 1 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2rem;
  transition: box-shadow 300ms ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .benefit-card {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

.benefit-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.benefit-card__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.benefit-card__body {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.process-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
  position: relative;
}

.process-step {
  flex: 1 1 auto;
  text-align: center;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.process-arrow {
  display: none;
  color: var(--color-accent);
  flex: 0 0 auto;
  width: 5rem;
  height: 2.5rem;
  margin-top: 0.75rem;
  align-self: flex-start;
}

.process-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
  }

  .process-step {
    flex: 1 1 0;
    max-width: 16rem;
    margin-left: 0;
    margin-right: 0;
  }

  .process-arrow {
    display: block;
    flex: 0 0 5rem;
  }
}

.process-step__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  position: relative;
}

.process-step__circle--1 {
  background: var(--color-primary);
}

.process-step__circle--2 {
  background: var(--color-accent);
}

.process-step__circle--3 {
  background: var(--color-primary-hover);
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.025em;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.process-step__body {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

/* Approach steps on navy */
.approach-step {
  flex: 1 1 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

@media (min-width: 768px) {
  .approach-step {
    flex: 1 1 calc(33.333% - 1rem);
  }
}

.approach-step__num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.approach-step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.approach-step__body {
  font-size: 0.875rem;
  color: var(--color-blue-200);
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   CTA block
   -------------------------------------------------------------------------- */
.cta-block {
  text-align: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   Two-column help section
   -------------------------------------------------------------------------- */
.help-cols {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .help-cols {
    flex-direction: row;
  }

  .help-cols > * {
    flex: 1 1 50%;
  }
}

/* --------------------------------------------------------------------------
   Contact layout
   -------------------------------------------------------------------------- */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    flex-direction: row;
  }
}

.contact-info {
  flex: 1 1 100%;
}

.contact-form-wrap {
  flex: 1 1 100%;
}

@media (min-width: 1024px) {
  .contact-info {
    flex: 0 0 calc(40% - 2rem);
    max-width: calc(40% - 2rem);
  }

  .contact-form-wrap {
    flex: 1 1 calc(60% - 2rem);
  }

  .contact-info__sticky {
    position: sticky;
    top: 7rem;
  }
}

.contact-info__sticky {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 150ms ease;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-link svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.quote-box {
  background: var(--color-primary);
  padding: 2rem;
}

.quote-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.quote-box p {
  font-size: 0.875rem;
  color: var(--color-blue-200);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-panel .form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-panel .form-row--2 {
    flex-direction: row;
  }

  .form-panel .form-row--2 > * {
    flex: 1 1 50%;
  }
}

.success-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 3rem;
  text-align: center;
}

.success-panel svg {
  color: var(--color-accent);
  margin: 0 auto 1rem;
}

.success-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.success-panel p {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   Terms
   -------------------------------------------------------------------------- */
.notice-banner {
  background: var(--color-amber-50);
  border: 1px solid var(--color-amber-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.notice-banner__title {
  color: var(--color-amber-800);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.notice-banner__body {
  color: var(--color-amber-700);
  font-size: 0.875rem;
  line-height: 1.625;
}

.terms-section {
  margin-bottom: 2.5rem;
}

.terms-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.terms-section p {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

.terms-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.terms-footer p {
  font-size: 0.75rem;
  color: var(--color-gray-400);
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-8 {
  margin-top: 2rem;
}

.office-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.office-address {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.625;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
