/* Sharkify · base: tokens, reset, type, buttons, nav, footer */

:root {
  --ink: #0a0c10;
  --ink-2: #10141c;
  --ink-3: #171d28;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(228, 197, 127, 0.22);
  --text: #eef0f4;
  --muted: #9aa3b2;
  --gold: #e4c57f;
  --gold-soft: rgba(228, 197, 127, 0.12);
  --wa: #25d366;
  --wa-deep: #128c4a;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-hero: clamp(2.5rem, 1.1rem + 5.6vw, 5.4rem);
  --text-h2: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 20px;

  --duration: 650ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-h2);
  max-width: 18ch;
}

h3 {
  font-size: var(--text-h3);
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

p {
  margin: 0 0 1em;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top 200ms var(--ease-out-expo);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- shared layout ---------- */

.section {
  padding: var(--space-section) var(--pad-x);
  position: relative;
}

.section-inner {
  max-width: 76rem;
  margin: 0 auto;
}

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.body-lg {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
  max-width: 46ch;
}

.text-link {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--line-gold);
  transition: border-color 200ms;
}

.text-link:hover {
  border-color: var(--gold);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 250ms var(--ease-out-expo), box-shadow 250ms var(--ease-out-expo), border-color 250ms, background 250ms;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-wa {
  background: linear-gradient(180deg, #2ee06f, var(--wa-deep));
  color: #04170c;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.28);
}

.btn-wa:hover {
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}

.btn-ghost {
  border-color: var(--line-gold);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.btn-sm {
  padding: 0.62rem 1.15rem;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.wa-ic {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.9rem var(--pad-x);
  transition: background 300ms, border-color 300ms;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 12, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}

.nav-inner {
  max-width: 76rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.fin {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  flex: none;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 200ms;
}

.nav-links a:hover {
  color: var(--text);
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

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

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem var(--pad-x) 4.5rem;
  background: var(--ink-2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 2.5rem;
}

.foot-brand p {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 30ch;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.foot-links a {
  color: var(--muted);
  transition: color 200ms;
}

.foot-links a:hover {
  color: var(--gold);
}

.foot-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.foot-meta p {
  margin-bottom: 0.4rem;
}

.fine {
  font-size: 0.82rem;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--duration) var(--ease-out-expo), transform var(--duration) var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}

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

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

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

  .btn,
  .btn:hover {
    transform: none;
  }
}
