/* Drophouse marketing site — brand palette from guidelines (navy, orange, powder blue) */
:root {
  --dh-navy: #234b63;
  --dh-orange: #f2994a;
  --dh-powder: #e5ebf0;
  --dh-powder-deep: #d1d9e1;
  --dh-bg: #f7f9fb;
  --dh-surface: #ffffff;
  --dh-text: #1a2e3a;
  --dh-muted: #4a6272;
  --dh-accent: #234b63;
  --dh-accent-hover: #f2994a;
  --dh-border: #d1d9e1;
  --dh-max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  .dh-hero__gradient,
  .dh-hero__grain {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dh-text);
  background: var(--dh-bg);
}

a {
  color: var(--dh-accent);
}

a:hover {
  color: var(--dh-accent-hover);
}

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

.dh-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--dh-navy);
  color: #fff;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.dh-skip:focus {
  left: 0;
}

.dh-header {
  border-bottom: 1px solid var(--dh-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.dh-header__inner {
  max-width: var(--dh-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dh-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dh-navy);
}

.dh-brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.dh-brand__name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.dh-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dh-nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  color: var(--dh-navy);
}

.dh-nav a:hover {
  color: var(--dh-orange);
}

.dh-nav a[aria-current="page"] {
  color: var(--dh-navy);
  border-bottom: 2px solid var(--dh-orange);
}

/* Hero: animated gradient + grain behind transparent banner and headline */
.dh-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dh-border);
}

.dh-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dh-hero__gradient {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 70% 60% at 45% 40%, rgba(242, 153, 74, 0.95) 0%, rgba(242, 153, 74, 0.35) 35%, transparent 62%),
    radial-gradient(ellipse 90% 80% at 70% 60%, var(--dh-powder) 0%, var(--dh-powder-deep) 55%, var(--dh-navy) 100%);
  background-size: 140% 140%;
  animation: dh-gradient-drift 22s ease-in-out infinite;
}

.dh-hero__grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: dh-grain-shift 0.8s steps(8) infinite;
  mix-blend-mode: overlay;
}

@keyframes dh-gradient-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(2%, -1%) scale(1.03);
  }

  66% {
    transform: translate(-2%, 2%) scale(1.02);
  }
}

@keyframes dh-grain-shift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-3%, 2%);
  }

  50% {
    transform: translate(2%, -2%);
  }

  75% {
    transform: translate(-2%, -3%);
  }

  100% {
    transform: translate(0, 0);
  }
}

.dh-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--dh-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.dh-hero__img {
  width: min(100%, 720px);
  max-height: 220px;
  object-fit: contain;
  object-position: center;
}

.dh-hero__copy {
  width: 100%;
  text-align: center;
}

.dh-hero__copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--dh-navy);
}

.dh-hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--dh-muted);
  font-size: 1.05rem;
}

.dh-main {
  max-width: var(--dh-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.dh-section {
  margin-bottom: 3rem;
}

.dh-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dh-navy);
}

.dh-section p {
  margin: 0 0 1rem;
  color: var(--dh-muted);
  max-width: 42rem;
}

.dh-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dh-card {
  background: var(--dh-surface);
  border: 1px solid var(--dh-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(35, 75, 99, 0.06);
}

.dh-card:hover {
  border-color: var(--dh-orange);
  box-shadow: 0 4px 16px rgba(35, 75, 99, 0.1);
}

.dh-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--dh-navy);
}

.dh-card p {
  margin: 0;
  font-size: 0.9rem;
}

.dh-contact-block {
  background: var(--dh-surface);
  border: 1px solid var(--dh-border);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 28rem;
  box-shadow: 0 2px 8px rgba(35, 75, 99, 0.06);
}

.dh-contact-block p {
  margin: 0 0 0.5rem;
  color: var(--dh-text);
}

.dh-footer {
  border-top: 1px solid var(--dh-border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--dh-muted);
  font-size: 0.875rem;
  background: var(--dh-powder);
}

.dh-footer a {
  color: var(--dh-navy);
}

.dh-footer a:hover {
  color: var(--dh-orange);
}
