/* Twin Pines Entertainment
   Layout: full-bleed bands (ink / navy) holding a 12-column editorial grid;
   serif display over a clean sans, bright pine blue used only for accents. */
:root {
  --ink: #07131F;
  --navy: #0F2B44;
  --panel: #14344F;
  --panel-2: #1B3D5C;
  --line: #1E3A55;
  --line-2: #25476A;
  --blue: #079FF9;
  --blue-text: #3DB4FF;
  --white: #FFFFFF;
  --body: #C9D5E2;
  --muted: #8FA3B8;

  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --gutter: clamp(20px, 5.5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--white); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 50;
  background: var(--blue); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: 4px;
}
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { width: 100%; }
.band--ink { background: var(--ink); }
.band--navy { background: var(--navy); }
.band--lined { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.grid > * { min-width: 0; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-text);
}
.display-xl {
  margin: 0; font-family: var(--display); font-weight: 300;
  font-size: clamp(64px, 10.2vw, 148px); line-height: .98; letter-spacing: -.03em;
}
.display-l {
  margin: 0; font-family: var(--display); font-weight: 300;
  font-size: clamp(56px, 8.8vw, 128px); line-height: 1; letter-spacing: -.03em;
}
.h2 {
  margin: 0; font-family: var(--display); font-weight: 300;
  font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.025em;
}
.h2--m { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.accent-italic { font-style: italic; color: var(--blue); }
.prose { display: flex; flex-direction: column; gap: 26px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; color: var(--body); }
.prose .lead {
  font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.3; letter-spacing: -.01em; color: var(--white);
}
.strong-white { color: var(--white); font-weight: 500; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(7, 19, 31, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.nav a:not(.icon-btn) {
  padding-block: 6px;
  background: linear-gradient(var(--blue), var(--blue)) no-repeat left bottom / 0 2px;
  transition: background-size .35s ease, color .3s ease;
}
.nav a:not(.icon-btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 28px;
  border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--blue); color: var(--ink); }
.btn--solid:hover { background: var(--white); color: var(--ink); }
.btn--line { border: 1px solid var(--white); color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--ink); }
.btn--sm { min-height: 48px; padding-inline: 22px; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid var(--white); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s ease, color .3s ease;
}
.icon-btn:hover { background: var(--white); color: var(--ink); }
.btn svg, .icon-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.arrow { display: inline-block; transition: transform .3s ease; }
a:hover .arrow { transform: translateX(5px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue-text); min-height: 44px; }
.text-link--white { color: var(--white); }
.text-link--white:hover { color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(88px, 11vw, 150px) clamp(88px, 8vw, 120px); }
.hero__emblem {
  position: absolute; right: clamp(-120px, -4vw, 40px); top: clamp(40px, 6vw, 90px);
  width: clamp(280px, 36vw, 520px); height: auto; opacity: .09; pointer-events: none;
}
.hero h1 { display: flex; flex-direction: column; }
.hero h1 .accent-italic { font-weight: 400; }
.rule { height: 1px; background: var(--blue); margin-top: clamp(40px, 5vw, 64px); transform-origin: left center; }
.hero__foot { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 80px; }
.hero__foot p { max-width: 720px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--body); }

/* ---------- home: sections ---------- */
.section { padding-block: clamp(88px, 10vw, 140px); }
.split__head { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.split__body { grid-column: 7 / span 6; }
.mission { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.mission img { width: 64px; height: 64px; }
.mission__quote {
  max-width: 1080px; font-family: var(--display); font-weight: 300;
  font-size: clamp(30px, 3.5vw, 50px); line-height: 1.2; letter-spacing: -.015em; color: var(--white);
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.chair { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.chair .prose { max-width: 780px; }
.chair .btn-row { justify-content: center; margin-top: 16px; }

/* ---------- news cards ---------- */
.release-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px;
  background: var(--panel); border: 1px solid var(--line-2); border-top: 3px solid var(--blue); border-radius: 4px;
  padding: clamp(32px, 5vw, 64px); color: var(--white);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease;
}
.release-card:hover, .story-card:hover {
  transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .7); border-color: var(--blue); color: var(--white);
}
.release-card--on-ink { background: var(--navy); }
.release-card__emblem { position: absolute; right: -60px; bottom: -80px; width: 360px; height: auto; opacity: .07; pointer-events: none; }
.release-card__meta { grid-column: span 3; display: flex; flex-direction: column; gap: 14px; padding-right: 24px; border-right: 1px solid var(--line-2); }
.release-card__date { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.release-card__body { grid-column: 4 / span 9; padding-left: 16px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.release-card__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.14; letter-spacing: -.02em; }
.release-card__summary { max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--body); }

.story-card {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center;
  margin-top: 32px; background: var(--navy); border: 1px solid var(--line-2); border-radius: 4px;
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 56px); color: var(--white);
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease;
}
.story-card__source { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; }
.story-card__outlet { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.story-card__date { font-size: 14px; color: var(--muted); }
.story-card__body { grid-column: 4 / span 7; display: flex; flex-direction: column; gap: 10px; padding-left: 32px; border-left: 1px solid var(--line-2); }
.story-card__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.story-card__summary { font-size: 16px; line-height: 1.6; color: var(--body); }
.story-card__cta { grid-column: 11 / span 2; justify-self: end; }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(72px, 9vw, 120px) 0; }
.page-head--news { padding-bottom: clamp(88px, 9vw, 128px); }
.news-list { margin-top: clamp(40px, 5vw, 64px); }
.follow-band { border-top: 1px solid var(--line); }

/* ---------- about ---------- */
.why { padding-bottom: clamp(88px, 10vw, 140px); }
.why .grid { margin-top: clamp(48px, 5vw, 72px); }
.why .prose { grid-column: 5 / span 8; }
.name-sec { align-items: center; }
.name-sec__emblem { grid-column: span 4; display: flex; justify-content: center; }
.name-sec__emblem img { width: clamp(180px, 22vw, 300px); height: auto; }
.name-sec__text { grid-column: 5 / span 8; display: flex; flex-direction: column; gap: 28px; }

.founders__title { padding-bottom: 48px; border-bottom: 1px solid var(--blue); }
.founder { padding-block: 56px; border-bottom: 1px solid var(--line); }
.founder:last-child { border-bottom: 0; padding-bottom: 0; }
.founder__photo {
  grid-column: span 3; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: #C0C0C0; max-width: 100%;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.founder__photo:hover img { transform: scale(1.04); }
.founder__text { grid-column: 4 / span 9; padding-left: 40px; display: flex; flex-direction: column; gap: 12px; }
.founder__name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3vw, 44px); line-height: 1.05; letter-spacing: -.02em; }
.founder__title { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-text); }
.founder__intro { margin-top: 14px; max-width: 820px; font-size: 17px; line-height: 1.65; color: var(--body); }
.founder__more { margin-top: 14px; columns: 2; column-gap: 40px; font-size: 16px; line-height: 1.65; color: var(--body); }
.founder__more p { margin-bottom: 14px; break-inside: avoid-column; }
.founder__more p:last-child { margin-bottom: 0; }
.founder__more:not([hidden]) { animation: open .6s var(--ease) both; }
.bio-toggle {
  margin-top: 10px; align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 600 15px/1 var(--sans); color: var(--blue-text); display: inline-flex; align-items: center; gap: 10px;
  transition: color .3s ease;
}
.bio-toggle:hover { color: var(--white); }
.bio-toggle svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.bio-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- release page ---------- */
.release { padding-bottom: clamp(88px, 10vw, 140px); }
.release-head { grid-column: 2 / span 10; display: flex; flex-direction: column; }
.back-link { align-self: flex-start; }
.back-link:hover .arrow { transform: translateX(-5px); }
.release-contact { margin-top: 32px; font-size: 16px; color: var(--muted); }
.release-contact a, .boilerplate a { color: var(--blue-text); }
.release-contact a:hover, .boilerplate a:hover { color: var(--white); }
.release-head .meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.release-head .meta .dash { width: 24px; height: 1px; background: #3B5B7C; }
.release-head .meta .date { color: var(--muted); }
.release-head h1 { margin: 28px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -.025em; }
.release-head .subhead { margin-top: 32px; max-width: 900px; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; color: var(--body); }
.release-body { grid-column: 4 / span 7; margin-top: 64px; }
.release-body .prose { line-height: 1.75; }
.dateline { color: var(--white); font-weight: 600; letter-spacing: .04em; }
.boilerplate { margin-top: 40px; background: var(--navy); border: 1px solid var(--line-2); border-radius: 4px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.boilerplate h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.boilerplate p { font-size: 17px; line-height: 1.7; color: var(--body); }

/* ---------- instagram band + footer ---------- */
.follow { padding-block: 80px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 32px; }
.follow img { width: 64px; height: 64px; }
.site-footer { background: var(--navy); border-top: 1px solid var(--line); color: var(--body); padding-block: 80px 48px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
.site-footer__logo { height: 46px; width: auto; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 72px; font-size: 15px; }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__rule { height: 1px; background: #2A4764; margin-block: 56px 24px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.rise { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .28s; } .d3 { animation-delay: .44s; } .d4 { animation-delay: .6s; }
.rule--draw { animation: draw 1.6s .5s cubic-bezier(.6, 0, .2, 1) both; }
.drift { animation: drift 11s ease-in-out infinite; }
/* Scroll reveal: only applied by JS to elements that start below the fold, so the page is complete without JS. */
.reveal-pending { opacity: 0; transform: translateY(32px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .release-card, .story-card { display: flex; flex-direction: column; align-items: stretch; }
  .release-card > *, .story-card > * { min-width: 0; }
  .story-card__cta { align-self: flex-start; }
  .split__head, .split__body { grid-column: 1 / -1; }
  .split__body { margin-top: 40px; }
  .why .prose, .release-body { grid-column: 1 / -1; }
  .release-head { grid-column: 1 / -1; }
  .name-sec__emblem { grid-column: 1 / -1; justify-content: flex-start; margin-bottom: 40px; }
  .name-sec__text { grid-column: 1 / -1; }
  .release-card__meta { grid-column: 1 / -1; border-right: 0; padding-right: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line-2); }
  .release-card__body { grid-column: 1 / -1; padding-left: 0; }
  .story-card__source, .story-card__body, .story-card__cta { grid-column: 1 / -1; }
  .story-card__body { padding-left: 0; border-left: 0; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2); }
  .story-card__cta { justify-self: start; margin-top: 12px; }
}
@media (max-width: 760px) {
  .grid { column-gap: 0; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 30px; }
  .nav { gap: 22px; font-size: 14px; }
  .nav .icon-btn { display: none; }
  .founder__photo { grid-column: 1 / -1; width: 220px; }
  .founder__text { grid-column: 1 / -1; padding-left: 0; margin-top: 28px; }
  .founder__more { columns: 1; }
  .section-head { flex-wrap: wrap; }
  .hero__foot .btn-row { width: 100%; }
}
@media (max-width: 380px) {
  .nav { gap: 16px; }
  .brand img { height: 26px; }
}
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nav .icon-btn + .icon-btn { margin-left: -28px; }
