/* =====================================================================
   Hawaiian Shirt Studios: ocean / sunset theme
   Palette pulled from the studio logo: teal hibiscus, coral sun,
   ocean blues, warm cream paper.
   ===================================================================== */

:root {
  /* sky + sunset */
  --sky-top:   #FFEFD6;
  --sky-peach: #FFC79B;
  --coral:     #FF7A5C;
  --sun:       #F4593B;

  /* ocean */
  --ocean-deep: #0E4C66;
  --ocean:      #1B7A99;
  --teal:       #2FB8B0;
  --aqua:       #8FE3DA;

  /* paper + ink */
  --cream:  #FFF9F1;
  --cream-2:#FDF0E2;
  --ink:    #143642;
  --muted:  #5C7A85;
  --line:   rgba(20, 54, 66, 0.10);

  --maxw: 1080px;
  --radius: 20px;
  --shadow: 0 18px 40px -20px rgba(14, 76, 102, 0.45);

  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Oregano", "Poppins", cursive;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Self-hosted brand display font (Oregano, latin subset ~29KB) */
@font-face {
  font-family: "Oregano";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/oregano-latin.woff2") format("woff2");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--sun); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--sun));
  box-shadow: 0 12px 24px -10px rgba(244, 89, 59, 0.7);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(244, 89, 59, 0.8); }
.btn--ghost {
  color: var(--ocean-deep);
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { color: var(--ocean-deep); transform: translateY(-2px); background: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 249, 241, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; border-radius: 10px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0;
  background: linear-gradient(95deg, var(--ocean-deep) 0%, var(--ocean) 24%, var(--teal) 44%, var(--coral) 74%, var(--sun) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.site-nav { display: flex; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.site-nav a { color: var(--muted); font-weight: 500; font-size: 0.98rem; }
.site-nav a:hover { color: var(--sun); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 7rem) 1.25rem clamp(5rem, 10vw, 8rem);
  isolation: isolate;
}
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-peach) 26%,
    var(--coral) 48%,
    var(--sun) 60%,
    var(--ocean) 82%,
    var(--ocean-deep) 100%
  );
}
.hero__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(70vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,210,0.55) 0%, rgba(255,200,150,0.25) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__content { position: relative; max-width: min(94vw, 1040px); margin: 0 auto; }
.hero__logo {
  width: clamp(96px, 20vw, 150px);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 12px 28px rgba(14, 76, 102, 0.35));
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 8.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 20px rgba(14, 76, 102, 0.35);
}
.hero__tagline {
  margin: 1rem auto 2rem;
  max-width: 640px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(14, 76, 102, 0.3);
}
.hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(90px, 14vw, 200px);
  z-index: -1;
}
.wave { opacity: 0.9; }
.wave--1 { fill: rgba(143, 227, 218, 0.55); }
.wave--2 { fill: rgba(47, 184, 176, 0.55); }
.wave--3 { fill: var(--cream); }

/* ---------- section shell ---------- */
.eyebrow {
  font-family: var(--mono);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.approach {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 2.5rem);
}

/* ---------- game card ---------- */
.game {
  background: linear-gradient(180deg, #ffffff, var(--cream-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.game__intro { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.game__icon {
  width: clamp(84px, 16vw, 120px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 26px -12px rgba(14, 76, 102, 0.5);
}
.game__title { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; }
.badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--sun);
  background: rgba(244, 89, 59, 0.1);
  border: 1px solid rgba(244, 89, 59, 0.25);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.game__lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 500; margin: 0 0 1rem; }
.game__body { color: var(--muted); max-width: 62ch; margin: 0 0 1.75rem; }

.features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}
.features li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.features__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--teal)); flex: none; }

/* ---------- screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  margin-top: 1rem;
}
.phone {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #eceff1;
}
.phone img { width: 100%; height: auto; }
.shots__note {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin: 1rem 0 0;
}
.game__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- studio ---------- */
.studio {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(47,184,176,0.10), transparent 60%),
    var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.studio__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  text-align: center;
}
.studio h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; }
.studio p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-deep) 100%);
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem clamp(2rem, 4vw, 3rem);
}
.site-footer__mark { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 14px; }
.site-footer__title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; }
.site-footer__links { font-size: 1.05rem; margin: 0 0 1.5rem; }
.site-footer__links a { color: var(--aqua); font-weight: 500; }
.site-footer__links a:hover { color: #fff; }
.site-footer__links .dot { margin: 0 0.6rem; color: rgba(255,255,255,0.4); }
.site-footer__copy { font-family: var(--mono); font-size: 0.82rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 620px) {
  .site-nav { display: none; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .game__intro { flex-direction: column; text-align: center; gap: 0.9rem; }
}

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

/* ---------- legal / long-form pages ---------- */
.legal-hero {
  text-align: center;
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
  background: linear-gradient(160deg, var(--sky-peach) 0%, var(--coral) 55%, var(--sun) 100%);
}
.legal-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; text-shadow: 0 2px 16px rgba(14,76,102,0.25); }
.legal-hero p { margin: 0.6rem 0 0; font-family: var(--mono); font-size: 0.82rem; opacity: 0.92; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 6vw, 4.5rem);
  color: #2f4d57;
}
.legal .lead { font-size: 1.12rem; color: var(--ink); }
.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean-deep);
  margin: 2.25rem 0 0.5rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin: 0.6rem 0; }
.legal ul { padding-left: 1.15rem; margin: 0.6rem 0; }
.legal li { margin: 0.4rem 0; }
.legal a { color: var(--ocean); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--sun); }

.site-footer__copy a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__copy a:hover { color: #fff; }
