/* ─────────────────────────────────────────────────────────────────────────────
   GOOD GOBY CREATIVE
   Palette + type mirror shainacrump.com
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --cream:  #F0EDE6;
  --ink:    #2C2420;
  --golden: #cbad4f;
  --sage:   #bec59a;
  --forest: #729482;
  --terra:  #af5f56;
  --blush:  #d29690;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --max: 72rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Type helpers ─────────────────────────────────────────────────────────── */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44, 36, 32, 0.5);
  margin: 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-terra { background: var(--terra); color: var(--cream); }
.btn-terra:hover { background: var(--golden); color: var(--ink); }

.btn-terra-solid { background: var(--terra); color: var(--cream); }
.btn-terra-solid:hover { background: var(--forest); }

.btn-ghost-light { border-color: rgba(240, 237, 230, 0.4); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(240, 237, 230, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(44, 36, 32, 0.1);
  transition: box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  background: rgba(240, 237, 230, 0.95);
  border-bottom-color: rgba(44, 36, 32, 0.15);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s;
}
.brand:hover { color: var(--terra); }

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
  color: rgba(44, 36, 32, 0.5);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--terra); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero .container { padding-top: 6rem; padding-bottom: 6rem; width: 100%; position: relative; z-index: 1; }

.hero .eyebrow { color: rgba(240, 237, 230, 0.6); margin-bottom: 2rem; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.02;
  color: var(--cream);
  margin: 0;
}
.hero h1 span { display: block; }

.hero .sub {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: rgba(240, 237, 230, 0.8);
  max-width: 38rem;
  margin: 2rem 0 0;
}

.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle svg {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -0.2em;
  height: 0.35em;
  overflow: visible;
}

.hero .btn-row { margin-top: 2.5rem; }

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.4;
  pointer-events: none;
}
.scroll-cue span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.scroll-cue div { width: 1px; height: 2.5rem; background: var(--cream); }

/* ── POV ──────────────────────────────────────────────────────────────────── */

.pov { padding: 5rem 0; border-bottom: 1px solid rgba(44, 36, 32, 0.1); }

.pov h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 2rem;
}

.pov-body { max-width: 52rem; }
.pov-body p {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(44, 36, 32, 0.7);
  margin: 0 0 1rem;
}
.pov-body p.highlight {
  font-weight: 600;
  color: var(--cream);
  background: var(--terra);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
}

.footnote { font-size: 0.75rem; color: rgba(44, 36, 32, 0.4); margin: 1.5rem 0 0; }

.pov .btn-row { margin-top: 2rem; }

/* ── Notes on Copy ────────────────────────────────────────────────────────── */

.notes { background: var(--golden); padding: 5rem 0; }

.notes-head { margin-bottom: 2.5rem; }
.notes-head .source { font-size: 0.75rem; font-style: italic; color: rgba(44, 36, 32, 0.45); margin: 0.25rem 0 0; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.note-brand .quotes p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(44, 36, 32, 0.75);
  margin: 0 0 0.75rem;
}
.note-brand .from { font-size: 0.75rem; font-style: italic; color: rgba(44, 36, 32, 0.45); margin: 0.5rem 0 0; }

/* ── Brands ───────────────────────────────────────────────────────────────── */

.brands { padding: 5rem 0; }

.brands h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0.75rem 0 2.5rem;
}

.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-list li {
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid rgba(44, 36, 32, 0.2);
  color: rgba(44, 36, 32, 0.75);
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
}

/* ── CTA band ─────────────────────────────────────────────────────────────── */

.cta-band { background: var(--terra); padding: 4.5rem 0; color: var(--cream); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  max-width: 36rem;
}
.cta-band .btn { background: var(--cream); color: var(--ink); }
.cta-band .btn:hover { background: var(--golden); }

/* ── Contact page ─────────────────────────────────────────────────────────── */

.page-header { background: var(--terra); padding: 8rem 0 4rem; }
.page-header .eyebrow { color: rgba(240, 237, 230, 0.6); margin-bottom: 1.5rem; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin: 0;
  max-width: 44rem;
}
.page-header h1 span { display: block; }
.page-header p { font-size: 1.125rem; line-height: 1.6; color: rgba(240, 237, 230, 0.75); margin: 1rem 0 0; max-width: 30rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.field { margin-bottom: 2.5rem; }
.field label { display: block; margin-bottom: 0.75rem; }
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(44, 36, 32, 0.3);
  outline: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.75rem 0;
  border-radius: 0;
  transition: border-color 0.15s;
}
.field textarea { resize: none; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--terra); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(44, 36, 32, 0.4); }

.success {
  background: rgba(114, 148, 130, 0.1);
  border-left: 4px solid var(--forest);
  padding: 2rem;
}
.success p:first-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 0; }
.success p:last-child { font-size: 0.875rem; color: rgba(44, 36, 32, 0.55); margin: 0.5rem 0 0; }

.info > * + * { margin-top: 1.75rem; }
.info .email-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color 0.15s;
}
.info .email-link:hover { color: var(--terra); }

.info-card { background: var(--forest); border-radius: 1rem; padding: 1.5rem; }
.info-card .eyebrow { color: rgba(240, 237, 230, 0.6); margin-bottom: 0.5rem; }
.info-card p { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.4; color: var(--cream); margin: 0; }

[hidden] { display: none !important; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer { background: var(--forest); padding: 3.5rem 0; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer .brand { color: var(--cream); font-size: 1.25rem; }
.site-footer .brand:hover { color: var(--golden); }
.site-footer .tagline { font-size: 0.875rem; color: rgba(240, 237, 230, 0.55); margin: 0.25rem 0 0; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: 0.875rem; text-decoration: none; color: rgba(240, 237, 230, 0.55); transition: color 0.15s; }
.footer-links a:hover { color: var(--cream); }

.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(240, 237, 230, 0.12); }
.footer-bottom p { font-size: 0.75rem; color: rgba(240, 237, 230, 0.4); margin: 0; }

/* ── Fade-in on scroll ────────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.in { opacity: 1; transform: none; }

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .notes-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav-links { gap: 1.25rem; }
  .brand { font-size: 1rem; }
  .scroll-cue { display: none; }
  .squiggle { white-space: normal; }
}
