/* ============================================================
   Red Parrot Enterprises Inc. — Design System
   Premium / minimal / editorial / marine-inspired
   ============================================================ */

:root {
  --charcoal:        #0c1917;
  --charcoal-deep:   #081312;
  --ivory:           #f3efe5;
  --pearl:           #faf8f3;
  --teal:            #33534c;
  --teal-soft:       #4a6b63;
  --champagne:       #d9c49c;
  --champagne-dim:   #c9b088;

  --text-on-dark:      #f3efe5;
  --text-on-dark-dim:  rgba(243, 239, 229, 0.68);
  --text-on-dark-faint: rgba(243, 239, 229, 0.4);
  --text-on-light:     #16211f;
  --text-on-light-dim: rgba(22, 33, 31, 0.65);
  --line-on-dark:  rgba(243, 239, 229, 0.18);
  --line-on-light: rgba(22, 33, 31, 0.16);

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: 6vw;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text-on-light);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--champagne);
}
.eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--light .eyebrow,
.hero-about .eyebrow { color: var(--teal); }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95em 1.9em;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn-primary {
  background: var(--champagne);
  color: var(--charcoal-deep);
}
.btn-primary:hover { background: var(--champagne-dim); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--text-on-dark-dim);
  color: var(--text-on-dark);
  background: transparent;
}
.btn-outline:hover { border-color: var(--text-on-dark); background: rgba(243,239,229,0.06); }
.btn-outline--dark {
  border-color: var(--line-on-light);
  color: var(--text-on-light);
}
.btn-outline--dark:hover { border-color: var(--text-on-light); background: rgba(22,33,31,0.04); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  transition: background-color 0.45s var(--ease), padding 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(8, 19, 18, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom-color: var(--line-on-dark);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-on-dark);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a:not(.btn) {
  font-size: 0.92rem;
  color: var(--text-on-dark-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text-on-dark); }
.nav-links a.is-active { color: var(--text-on-dark); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--champagne);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1px;
  background: var(--text-on-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--charcoal-deep);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease);
}
.mobile-panel.is-open { opacity: 1; visibility: visible; }
.mobile-panel a { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text-on-dark); }
.mobile-panel a.btn { font-family: var(--font-sans); font-size: 1rem; margin-top: 12px; }

/* ============================================================
   HERO — Home
   ============================================================ */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  background: var(--charcoal-deep);
  overflow: hidden;
}
.hero-home__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-home__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% center;
}
.hero-home__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,19,18,0.94) 0%, rgba(8,19,18,0.72) 32%, rgba(8,19,18,0.28) 58%, rgba(8,19,18,0.15) 100%),
              linear-gradient(0deg, rgba(8,19,18,0.55) 0%, rgba(8,19,18,0) 40%);
}
.hero-home__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: 0 var(--gutter) 9vh;
}
.hero-home__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 22px;
  font-weight: 600;
}
.hero-home h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  color: var(--text-on-dark);
}
.hero-home__company {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  color: var(--text-on-dark-dim);
  margin-top: 22px;
}
.hero-home p.hero-home__desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark-dim);
  max-width: 480px;
  margin-top: 22px;
}
.hero-home__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ============================================================
   INTRODUCTION — two column editorial
   ============================================================ */
.section { padding: 128px 0; }
.section--light { background: var(--ivory); color: var(--text-on-light); }
.section--dark { background: var(--charcoal); color: var(--text-on-dark); }

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 64px;
}
.intro-grid h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 15ch;
  margin-bottom: 28px;
}
.intro-grid__body p {
  max-width: 52ch;
  color: var(--text-on-light-dim);
  font-size: 1.02rem;
}
.intro-grid__body p + p { margin-top: 20px; }

/* ============================================================
   OUR APPROACH — three column
   ============================================================ */
.approach-head { margin-bottom: 64px; }
.approach-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 18ch;
  margin-top: 20px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.approach-item {
  padding: 0 40px 0 0;
  border-left: 1px solid var(--line-on-dark);
  padding-left: 40px;
  transition: transform 0.5s var(--ease);
}
.approach-item:first-child { border-left: none; padding-left: 0; }
.approach-item:hover { transform: translateY(-4px); }
.approach-item__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--teal-soft);
  margin-bottom: 22px;
  display: block;
}
.approach-item h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--text-on-dark);
}
.approach-item p {
  color: var(--text-on-dark-dim);
  font-size: 0.98rem;
  max-width: 32ch;
}

/* ============================================================
   WHY AQUACULTURE — split image
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.split__media { position: relative; overflow: hidden; }
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.split__media.is-visible img { transform: scale(1); }
.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw 5vw;
}
.split__content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin: 22px 0 26px;
  max-width: 14ch;
}
.split__content p { color: var(--text-on-dark-dim); font-size: 1rem; max-width: 40ch; }
.split__content p + p { margin-top: 16px; }
.split--reverse { grid-template-columns: 1fr 1fr; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__content { order: 1; }

/* ============================================================
   OUR FOCUS — horizontal blocks
   ============================================================ */
.focus-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-top: 20px;
  margin-bottom: 56px;
  max-width: 16ch;
}
.focus-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr auto;
  align-items: center;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line-on-dark);
  transition: padding-left 0.4s var(--ease);
}
.focus-row:last-child { border-bottom: 1px solid var(--line-on-dark); }
.focus-row:hover { padding-left: 14px; }
.focus-row h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.focus-row p { color: var(--text-on-dark-dim); font-size: 0.98rem; max-width: 44ch; }
.focus-row__arrow {
  color: var(--champagne);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.focus-row:hover .focus-row__arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: var(--charcoal-deep);
  color: var(--text-on-dark);
  text-align: center;
  padding: 148px 0;
}
.cta-final h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 22px; }
.cta-final p { color: var(--text-on-dark-dim); max-width: 46ch; margin: 0 auto 40px; font-size: 1.02rem; }
.cta-final__email {
  display: inline-block;
  margin-top: 28px;
  color: var(--text-on-dark-dim);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cta-final__email:hover { color: var(--text-on-dark); border-color: var(--text-on-dark-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal-deep);
  color: var(--text-on-dark);
  padding: 56px 0 34px;
  border-top: 1px solid var(--line-on-dark);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}
.footer-brand p:first-child { font-family: var(--font-serif); font-size: 1.1rem; }
.footer-brand p:last-child { color: var(--text-on-dark-faint); font-size: 0.86rem; margin-top: 6px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 0.9rem; color: var(--text-on-dark-dim); transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--text-on-dark); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.82rem;
  color: var(--text-on-dark-faint);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.hero-about {
  position: relative;
  height: 72vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero-about__bg { position: absolute; inset: 0; }
.hero-about__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-about__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,19,18,0.85) 0%, rgba(8,19,18,0.15) 55%, rgba(8,19,18,0.35) 100%);
}
.hero-about__content { position: relative; z-index: 1; max-width: 680px; padding: 0 var(--gutter) 8vh; }
.hero-about .eyebrow { color: var(--champagne); margin-bottom: 20px; }
.hero-about h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--text-on-dark); }

.who-grid {
  display: grid;
  grid-template-columns: 0.7fr 1px 1.7fr;
  gap: 64px;
}
.who-grid__divider { background: var(--line-on-light); }
.who-grid h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 26px; max-width: 16ch; }
.who-grid p { color: var(--text-on-light-dim); max-width: 54ch; font-size: 1.02rem; }
.who-grid p + p { margin-top: 18px; }

.role-section h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 22px 0 26px; max-width: 16ch; }
.role-section p { color: var(--text-on-dark-dim); max-width: 50ch; font-size: 1.02rem; }
.role-section p + p { margin-top: 18px; }
.role-divider { margin-top: 56px; height: 1px; background: var(--line-on-dark); }

.lookfor-section { position: relative; overflow: hidden; }
.lookfor-grid { position: relative; z-index: 1; }
.lookfor-grid h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 22px 0 30px; max-width: 18ch; }
.lookfor-grid p { color: var(--text-on-light-dim); max-width: 46ch; font-size: 1.02rem; }
.lookfor-grid p + p { margin-top: 16px; }
.lookfor-bg-type {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  color: rgba(22, 33, 31, 0.09);
  text-align: right;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.closing-section { background: var(--charcoal-deep); text-align: center; padding: 140px 0; }
.closing-section h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 20px; color: var(--text-on-dark); }
.closing-section p { color: var(--text-on-dark-dim); max-width: 50ch; margin: 0 auto; font-size: 1.02rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.hero-contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(217,196,156,0.10) 0%, rgba(217,196,156,0) 40%),
    radial-gradient(ellipse at 15% 85%, rgba(74,107,99,0.35) 0%, rgba(74,107,99,0) 55%),
    linear-gradient(160deg, #0a1a18 0%, #0e2422 45%, #0a1a18 100%);
}
.hero-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(115deg, rgba(243,239,229,0.025) 0px, rgba(243,239,229,0.025) 1px, transparent 1px, transparent 90px),
    repeating-linear-gradient(35deg, rgba(243,239,229,0.02) 0px, rgba(243,239,229,0.02) 1px, transparent 1px, transparent 130px);
}
.hero-contact__content { position: relative; z-index: 1; max-width: 640px; padding: 0 var(--gutter); }
.hero-contact .eyebrow { justify-content: center; margin-bottom: 26px; }
.hero-contact h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--text-on-dark); }
.hero-contact__lead { margin-top: 26px; color: var(--text-on-dark-dim); font-size: 1.05rem; }
.hero-contact__email {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--text-on-dark-dim);
  padding-bottom: 8px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.hero-contact__email:hover { color: var(--champagne); border-color: var(--champagne); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-item { border-left: none; padding-left: 0; border-top: 1px solid var(--line-on-dark); padding-top: 32px; }
  .approach-item:first-child { border-top: none; padding-top: 0; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { height: 46vh; }
  .split--reverse .split__media,
  .split--reverse .split__content { order: initial; }
  .focus-row { grid-template-columns: 1fr; gap: 10px; }
  .who-grid { grid-template-columns: 1fr; gap: 28px; }
  .who-grid__divider { display: none; }
  .lookfor-bg-type { position: static; transform: none; text-align: left; color: rgba(22,33,31,0.1); margin-top: 40px; font-size: 2.2rem; }
}

@media (max-width: 720px) {
  :root { --gutter: 7vw; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-home { align-items: center; }
  .hero-home__content { padding-bottom: 0; }
  .hero-home__actions .btn { width: 100%; }
  .hero-home__actions { flex-direction: column; }
  .cta-final { padding: 100px 0; }
  .closing-section { padding: 96px 0; }
  .footer-top { flex-direction: column; }
}
