/* ===========================================================
   Royal Lagoon Seafood — Cinematic Documentary (coastal tuning)
   Structural typology: Split Screen Sticky Sidebar (40/60)
   Zero overlap with Oakley / Bracken / Bass / Superscapes
   =========================================================== */

:root {
  /* Palette — deep ocean + chalk + coral */
  --c-navy:       #0F2235;
  --c-navy-2:     #14304B;
  --c-navy-3:     #1C3F5E;
  --c-cream:      #F7F4EC;
  --c-cream-2:    #ECE6D7;
  --c-coral:      #CE4B3B;
  --c-coral-d:    #A5382B;
  --c-sand:       #D9C7A8;
  --c-ink:        #0A1520;
  --c-muted:      #6B7E92;
  --c-hairline:   rgba(247, 244, 236, 0.14);
  --c-hairline-2: rgba(247, 244, 236, 0.08);
  --c-rule-dark:  rgba(15, 34, 53, 0.12);

  --ff-display:   "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-body:      "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-mono:      "IBM Plex Mono", ui-monospace, monospace;

  --maxw-content: 820px;
  --pad-x:        clamp(28px, 4vw, 60px);

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- TYPE ---------- */
h1, h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 0.4em;
  color: var(--c-ink);
}
h1 { font-size: clamp(46px, 6.5vw, 96px); font-weight: 400; }
h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  font-style: italic;
}
h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  margin: 0 0 12px;
}
p { margin: 0 0 1em; color: var(--c-ink); font-size: 17px; line-height: 1.65; }
p.lead {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.35;
  color: var(--c-ink);
  max-width: 28ch;
}

/* Small-caps editorial label */
.kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-coral);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--c-coral);
  display: inline-block;
}
.kicker--on-dark { color: var(--c-sand); }
.kicker--on-dark::before { background: var(--c-sand); }

/* ---------- SPLIT-SCREEN LAYOUT ---------- */
.site-grid {
  display: grid;
  grid-template-columns: minmax(400px, 38%) 62%;
  min-height: 100vh;
  align-items: start;
}

/* ----- Sidebar (left, sticky/fixed feel) ----- */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--c-navy);
  color: var(--c-cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 3.5vw, 56px) clamp(36px, 4vw, 60px);
  overflow: hidden;
  isolation: isolate;
}
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(206, 75, 59, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}
.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.sidebar__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brand-mark {
  font-family: var(--ff-display);
  font-size: clamp(32px, 2.4vw, 40px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-cream);
}
.brand-sub {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-sand);
  font-weight: 500;
}

.sidebar__body {
  margin: clamp(20px, 3vw, 40px) 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.sidebar__headline {
  font-family: var(--ff-display);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-cream);
  max-width: 14ch;
}
.sidebar__headline em {
  font-style: italic;
  color: var(--c-coral);
  display: block;
}
.sidebar__lede {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  color: rgba(247, 244, 236, 0.82);
  max-width: 34ch;
  margin: 0;
}

.sidebar__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--coral {
  background: var(--c-coral);
  color: var(--c-cream);
}
.btn--coral:hover { background: var(--c-coral-d); }
.btn--outline-light {
  background: transparent;
  color: var(--c-cream);
  border: 1.5px solid rgba(247, 244, 236, 0.3);
}
.btn--outline-light:hover {
  background: var(--c-cream);
  color: var(--c-navy);
  border-color: var(--c-cream);
}
.btn--dark {
  background: var(--c-navy);
  color: var(--c-cream);
}
.btn--dark:hover { background: var(--c-navy-2); }
.btn--coral-outline {
  background: transparent;
  color: var(--c-coral);
  border: 1.5px solid var(--c-coral);
}
.btn--coral-outline:hover {
  background: var(--c-coral);
  color: var(--c-cream);
}

.sidebar__contact {
  display: grid;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--c-hairline);
  font-size: 14px;
}
.sidebar__contact > div {
  display: grid;
  gap: 3px;
}
.sidebar__contact strong {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-sand);
  font-weight: 500;
}
.sidebar__contact a,
.sidebar__contact span {
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.sidebar__contact a:hover { color: var(--c-coral); }

.sidebar__badge {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(247, 244, 236, 0.2);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.78);
  align-self: flex-start;
}
.sidebar__badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--c-coral);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(206, 75, 59, 0.3);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mini nav in sidebar (desktop only) */
.sidebar__nav {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.sidebar__nav a {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.64);
  padding: 4px 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar__nav a::before {
  content: "";
  width: 16px; height: 1px;
  background: rgba(247, 244, 236, 0.28);
  transition: all 0.3s var(--ease);
}
.sidebar__nav a:hover {
  color: var(--c-cream);
}
.sidebar__nav a:hover::before {
  width: 28px;
  background: var(--c-coral);
}

/* ----- Content (right, scrollable) ----- */
.content {
  background: var(--c-cream);
  position: relative;
}
.content__section {
  padding: clamp(72px, 8vw, 120px) clamp(40px, 5vw, 80px);
  max-width: var(--maxw-content);
  position: relative;
}
.content__section + .content__section {
  border-top: 1px solid var(--c-rule-dark);
}
.content__section--dark {
  background: var(--c-navy-2);
  color: var(--c-cream);
  max-width: 100%;
}
.content__section--dark h2,
.content__section--dark h3 { color: var(--c-cream); }
.content__section--dark p { color: rgba(247, 244, 236, 0.82); }
.content__section--dark .kicker { color: var(--c-sand); }
.content__section--dark .kicker::before { background: var(--c-sand); }

.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 em {
  color: var(--c-coral);
  font-style: italic;
}

/* ---------- HERO content block ---------- */
.hero-content {
  padding: clamp(100px, 12vw, 160px) clamp(40px, 5vw, 80px) clamp(72px, 8vw, 120px);
  max-width: var(--maxw-content);
  position: relative;
}
.hero-content .kicker { margin-bottom: 26px; }
.hero-content h1 {
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  color: var(--c-ink);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--c-coral);
}
.hero-content__lede {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: 32px;
  max-width: 38ch;
}
.hero-content__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--c-rule-dark);
}
.hero-content__stats > div { display: grid; gap: 6px; }
.hero-content__stats strong {
  font-family: var(--ff-display);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 500;
  font-style: italic;
  color: var(--c-coral-d);
  line-height: 0.9;
}
.hero-content__stats small {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}

/* ---------- HERO IMAGE BAND ---------- */
.image-band {
  width: 100%;
  height: clamp(260px, 40vw, 520px);
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.image-band--navy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 34, 53, 0.3) 0%, rgba(15, 34, 53, 0.55) 100%);
}
.image-band__caption {
  position: absolute;
  bottom: 20px; left: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.82);
  z-index: 1;
}
.image-band__caption::before {
  content: "—";
  margin-right: 10px;
  color: var(--c-coral);
}

/* ---------- PRODUCTS (catalog grid) ---------- */
.products {
  background: var(--c-cream);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--c-rule-dark);
}
.product-tile {
  padding: 28px 8px 28px 0;
  border-bottom: 1px solid var(--c-rule-dark);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
  cursor: pointer;
}
.product-tile:nth-child(odd) {
  padding-right: 16px;
}
.product-tile:nth-child(even) {
  padding-left: 16px;
  padding-right: 8px;
  border-left: 1px solid var(--c-rule-dark);
}
.product-tile:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(206, 75, 59, 0.05), transparent 60%);
}
.product-tile:nth-child(even):hover {
  padding-left: 30px;
}
.product-tile__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-muted);
  flex-shrink: 0;
  min-width: 24px;
}
.product-tile__name {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-ink);
  flex: 1;
  letter-spacing: -0.01em;
}
.product-tile__arr {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-coral);
  opacity: 0.65;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.product-tile:hover .product-tile__arr {
  opacity: 1;
  transform: translateX(3px);
}

/* ---------- APPROACH (numbered editorial list) ---------- */
.approach__grid {
  display: grid;
  gap: 32px;
  margin-top: 20px;
}
.approach-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--c-hairline);
  align-items: start;
}
.approach-row:first-child { border-top: none; padding-top: 0; }
.approach-row__num {
  font-family: var(--ff-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.85;
  color: var(--c-sand);
  opacity: 0.9;
}
.approach-row h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 8px;
  color: var(--c-cream);
}
.approach-row p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(247, 244, 236, 0.78);
  margin: 0;
  max-width: 52ch;
}

/* ---------- WHO WE SERVE (three columns) ---------- */
.who__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.who-card {
  padding: 28px 24px;
  background: var(--c-cream-2);
  border: 1px solid var(--c-rule-dark);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.who-card:hover {
  background: var(--c-navy);
  color: var(--c-cream);
  transform: translateY(-3px);
}
.who-card:hover h3,
.who-card:hover p { color: var(--c-cream); }
.who-card__kicker {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: 12px;
}
.who-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--c-ink);
}
.who-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--c-muted);
  margin: 0;
}

/* ---------- QUOTE pullquote ---------- */
.pullquote {
  padding: clamp(80px, 9vw, 140px) clamp(40px, 5vw, 80px);
  max-width: var(--maxw-content);
  position: relative;
}
.pullquote blockquote {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.pullquote blockquote::before {
  content: "\201C";
  font-family: var(--ff-display);
  font-size: 3em;
  line-height: 0.4;
  color: var(--c-coral);
  vertical-align: -0.4em;
  margin-right: 0.05em;
}
.pullquote cite {
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.pullquote cite strong {
  display: block;
  font-family: var(--ff-body);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-ink);
  margin-top: 4px;
  font-weight: 600;
}

/* ---------- CUSTOMER (CTA / form) ---------- */
.customer {
  background: var(--c-navy);
  color: var(--c-cream);
  padding: clamp(72px, 8vw, 120px) clamp(40px, 5vw, 80px);
  max-width: 100%;
}
.customer h2 { color: var(--c-cream); }
.customer h2 em { color: var(--c-sand); }
.customer p {
  color: rgba(247, 244, 236, 0.82);
  font-size: 17px;
  line-height: 1.6;
  max-width: 54ch;
}

.customer-form {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  max-width: 640px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-sand);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c-cream);
  background: rgba(247, 244, 236, 0.05);
  border: 1px solid rgba(247, 244, 236, 0.18);
  border-radius: 4px;
  padding: 12px 14px;
  transition: all 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-coral);
  background: rgba(247, 244, 236, 0.08);
  box-shadow: 0 0 0 3px rgba(206, 75, 59, 0.16);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(247, 244, 236, 0.4); }
.field--row { grid-template-columns: 1fr 1fr; gap: 18px; }
.customer-form .btn {
  justify-self: start;
  margin-top: 6px;
}
.form-note {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 236, 0.55);
  margin: 0;
}

/* ---------- CONTACT block ---------- */
.contact-block {
  background: var(--c-cream-2);
  padding: clamp(72px, 8vw, 120px) clamp(40px, 5vw, 80px);
  max-width: 100%;
}
.contact-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  max-width: 900px;
}
.contact-block__grid > div h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-coral);
  font-weight: 500;
  margin: 0 0 10px;
}
.contact-block__grid a,
.contact-block__grid p {
  font-family: var(--ff-display);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.3;
}
.contact-block__grid a:hover { color: var(--c-coral); }
.contact-block__grid small {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--c-muted);
  font-weight: 400;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(247, 244, 236, 0.64);
  padding: 36px clamp(40px, 5vw, 80px);
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: rgba(247, 244, 236, 0.82); }
.site-footer a:hover { color: var(--c-coral); }
.site-footer .ppd-credit a { color: var(--c-sand); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-grid { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    top: auto;
    height: auto;
    min-height: 100vh;
  }
  .sidebar__nav { display: none; }
  .products__grid { grid-template-columns: 1fr; }
  .product-tile:nth-child(even) {
    border-left: none;
    padding-left: 0;
    padding-right: 8px;
  }
  .product-tile:nth-child(even):hover { padding-left: 18px; }
  .who__grid { grid-template-columns: 1fr; }
  .contact-block__grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero-content__stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .hero-content__stats { grid-template-columns: 1fr; gap: 18px; }
  .approach-row { grid-template-columns: 1fr; gap: 14px; }
  .approach-row__num { font-size: 48px; }
}
