/* Aloha Labs: brand theme from logo (navy #081D48 / coral #EF5E4F) */

:root {
  --navy-950: #040a18;
  --navy-900: #081d48;
  --navy-800: #0e2758;
  --navy-700: #16366e;
  --coral: #ef5e4f;
  --coral-soft: #f48b7f;
  --coral-dim: rgba(239, 94, 79, 0.16);
  --cream: #eef2f7;
  --muted: rgba(238, 242, 247, 0.72);
  --border: rgba(238, 242, 247, 0.12);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background: radial-gradient(1200px 800px at 15% -10%, #12305f 0%, transparent 55%),
    radial-gradient(900px 600px at 95% 10%, rgba(239, 94, 79, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 35%, #061530 100%);
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--page-gutter);
  background: rgba(4, 10, 24, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  box-shadow: 0 0 0 1px var(--border), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cream);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(13, 27, 42, 0.6);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  inset: 73px 0 auto 0;
  z-index: 19;
  padding: 1rem var(--page-gutter) 1.5rem;
  background: rgba(4, 10, 24, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(2.75rem, 8vw, 6rem) var(--page-gutter) clamp(3.25rem, 10vw, 7rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  width: 100%;
  min-width: 0;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-title-tagline {
  text-wrap: balance;
}

.tagline-slot {
  display: inline-block;
  margin-inline: 0.08em;
  vertical-align: baseline;
  text-align: left;
  max-width: 100%;
}

.tagline-word {
  display: inline-block;
  transition: opacity 0.26s ease, transform 0.26s ease;
  will-change: opacity, transform;
}

.tagline-word--out {
  opacity: 0;
  transform: translateY(-0.28em);
}

.tagline-word--in {
  animation: taglineIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes taglineIn {
  from {
    opacity: 0;
    transform: translateY(0.32em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accent {
  background: linear-gradient(120deg, var(--coral), var(--coral-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 479px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-soft));
  color: #fff;
  box-shadow: 0 12px 40px rgba(239, 94, 79, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(239, 94, 79, 0.35);
}

.btn-ghost {
  background: rgba(238, 242, 247, 0.06);
  color: var(--cream);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(238, 242, 247, 0.1);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  z-index: 0;
}

@media (max-width: 959px) {
  .hero-visual {
    position: absolute;
    inset: 0;
    min-height: 0;
    pointer-events: none;
    opacity: 0.35;
  }

  .orb-a {
    width: min(280px, 78vw);
    height: min(280px, 78vw);
    right: -12%;
    top: 18%;
  }

  .orb-b {
    width: 140px;
    height: 140px;
    left: -6%;
    bottom: 8%;
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
}

.orb-a {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  right: 0;
  top: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(239, 94, 79, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(239, 94, 79, 0.2), transparent 50%);
  opacity: 0.9;
}

.orb-b {
  width: 180px;
  height: 180px;
  left: 5%;
  bottom: 5%;
  background: radial-gradient(circle, var(--coral-dim), transparent 65%);
}

.curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: clamp(3rem, 8vw, 5rem) var(--page-gutter);
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-deliver {
  max-width: 1320px;
}

.deliver-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .deliver-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .deliver-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.deliver-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(20, 34, 56, 0.88), rgba(13, 27, 42, 0.52));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.deliver-card:hover {
  border-color: rgba(239, 94, 79, 0.18);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(239, 94, 79, 0.06);
}

.deliver-card-icon {
  margin-bottom: 1rem;
  color: var(--coral);
  filter: drop-shadow(0 0 14px rgba(239, 94, 79, 0.22));
}

.deliver-card-icon svg {
  display: block;
}

.deliver-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 0 0 0.65rem;
  color: var(--cream);
}

.deliver-card > p {
  flex: 1;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.deliver-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deliver-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

.deliver-list li:last-child {
  margin-bottom: 0;
}

.deliver-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
}

.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: 3rem;
  padding: clamp(2.75rem, 7vw, 4.25rem) var(--page-gutter) 1.75rem;
  border-top: 1px solid rgba(239, 94, 79, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 39, 88, 0.55) 0%, rgba(8, 29, 72, 0.9) 55%, rgba(4, 10, 24, 0.98) 100%);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  inset: -40% 20% auto;
  height: 14rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(239, 94, 79, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 2.75rem);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  max-width: 28rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--cream);
  text-decoration: none;
}

.footer-brand-mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  box-shadow: 0 0 0 1px rgba(239, 94, 79, 0.2), 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.footer-brand-sub {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-brand:hover {
  color: var(--cream);
}

.footer-brand:hover .footer-brand-mark {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(239, 94, 79, 0.35), 0 14px 32px rgba(0, 0, 0, 0.4);
}

.footer-brand:hover .footer-brand-name {
  color: var(--coral);
}

.footer-lede {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.15rem;
  border-left: 2px solid rgba(239, 94, 79, 0.45);
  padding-left: 1.25rem;
}

.footer-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-address strong {
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.footer-email {
  color: var(--coral);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--coral-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(238, 242, 247, 0.55);
}

@media (max-width: 759px) {
  .site-footer {
    margin-top: 2rem;
    padding: 2.25rem var(--page-gutter) 1.5rem;
  }

  .footer-glow {
    inset: -55% 0 auto;
    height: 11rem;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-brand-block {
    align-items: flex-start;
    text-align: left;
    max-width: none;
    gap: 0.85rem;
  }

  .footer-brand {
    gap: 0.7rem;
  }

  .footer-brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .footer-brand-name {
    font-size: 1.1rem;
  }

  .footer-lede {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .footer-contact {
    text-align: left;
    border-left: none;
    padding: 1.15rem 0 0;
    gap: 0.7rem;
    border-top: 1px solid rgba(239, 94, 79, 0.28);
  }

  .footer-label {
    font-size: 0.68rem;
  }

  .footer-address {
    font-size: 0.88rem;
    line-height: 1.5;
    gap: 0.15rem;
  }

  .footer-bottom {
    padding-top: 1.15rem;
  }

  .footer-copy {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-brand-mark {
    transition: none;
  }

  .footer-brand:hover .footer-brand-mark {
    transform: none;
  }
}

a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
  .tagline-word {
    transition: none;
    animation: none !important;
  }
}
