/* AI STUDIO — shared design for inner pages (2050 / story / leap / work) */
:root {
  --green-dark: #3f4d2c;
  --green: #55663c;
  --cream: #f1ecdd;
  --ink: #2b3220;
  --serif: 'Playfair Display', serif;
  --serif-he: 'Frank Ruhl Libre', 'Playfair Display', serif;
  --sans: 'Assistant', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.7; }
::selection { background: var(--green-dark); color: var(--cream); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ---------- nav ---------- */
nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px) 30px;
  background: linear-gradient(to bottom, rgba(63, 77, 44, .96), rgba(63, 77, 44, .7) 60%, rgba(63, 77, 44, 0));
  pointer-events: none;
}
nav a { pointer-events: auto; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .1em;
  color: var(--cream);
  text-decoration: none;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 26px); }
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  opacity: .92;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1.5px solid var(--cream); border-radius: 999px; padding: 5px 18px; }
@media (max-width: 760px) { .nav-links a.hideS { display: none; } }

/* ---------- hero ---------- */
.hero {
  background: var(--green-dark);
  color: var(--cream);
  padding: clamp(130px, 20vh, 190px) clamp(24px, 6vw, 90px) clamp(64px, 10vh, 100px);
  text-align: center;
}
.hero .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  border: 1px solid rgba(241, 236, 221, .45);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 22px;
  opacity: .9;
}
.hero h1 {
  font-family: var(--serif-he);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto 18px;
}
.hero h1 strong { font-weight: 500; }
.hero .sub {
  font-size: clamp(16px, 1.9vw, 20px);
  opacity: .9;
  max-width: 660px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.cta-solid {
  display: inline-block;
  background: var(--cream);
  color: var(--green-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 15px 44px;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
  transition: transform .3s ease;
}
.cta-solid:hover { transform: translateY(-3px); }

/* ---------- content blocks ---------- */
section.block { padding: clamp(70px, 11vh, 120px) clamp(24px, 6vw, 90px); }
.inner { max-width: 1100px; margin: 0 auto; }
.block .label {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 12px;
}
.block h2 {
  font-family: var(--serif-he);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.block h2 strong { font-weight: 500; }
.block.light { background: var(--cream); color: var(--ink); }
.block.light h2 strong { color: var(--green-dark); }
.block.light .label { color: var(--green-dark); }
.block.dark { background: var(--green-dark); color: var(--cream); }
.block .lead {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: clamp(20px, 3vh, 30px);
  opacity: .92;
}

.bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.bullets li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(15.5px, 1.8vw, 18px);
  line-height: 1.65;
}
.bullets li::before { content: '✦'; flex: none; font-size: 13px; opacity: .8; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.gcard { border: 1px solid rgba(63, 77, 44, .25); border-radius: 18px; padding: 26px 24px; }
.block.dark .gcard { border-color: rgba(241, 236, 221, .25); }
.gcard .num { font-family: var(--serif); font-size: 14px; letter-spacing: .18em; display: block; margin-bottom: 10px; opacity: .85; }
.gcard h3 { font-family: var(--serif-he); font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.gcard p { font-size: 15.5px; opacity: .85; line-height: 1.65; }

.forever {
  margin-top: 24px;
  border: 1px solid rgba(241, 236, 221, .3);
  border-radius: 16px;
  padding: 20px 26px;
  font-size: clamp(15px, 1.8vw, 17.5px);
  line-height: 1.7;
}
.block.light .forever { border-color: rgba(63, 77, 44, .25); }
.availability { margin-top: 16px; font-size: 14px; opacity: .7; }

/* ---------- relief contrast ---------- */
.relief { display: flex; flex-direction: column; gap: 2px; max-width: 820px; }
.relief-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(241, 236, 221, .14);
}
.relief-row:last-child { border-bottom: 0; }
.relief-row span.you, .relief-row span.us {
  flex: none; width: 68px; font-family: var(--serif-he); font-weight: 500;
  font-size: clamp(18px, 2.2vw, 24px);
}
.relief-row span.you { opacity: .55; }
.relief-row span.us { color: var(--cream); }
.relief-row .txt { font-size: clamp(15.5px, 1.9vw, 19px); line-height: 1.6; opacity: .9; }

/* ---------- founders' story ---------- */
.stills-panel { border-radius: 18px; overflow: hidden; margin: clamp(24px, 4vh, 40px) 0; max-width: 900px; }
.stills-panel img { width: 100%; display: block; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card {
  border: 1px solid rgba(63, 77, 44, .22); border-radius: 18px; padding: 26px 24px;
}
.duo-card .duo-photo {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top;
  border-radius: 12px; display: block; margin-bottom: 18px;
}
.block.dark .duo-card { border-color: rgba(241, 236, 221, .22); }
.duo-card .duo-name {
  display: block; font-family: var(--serif-he); font-weight: 500;
  font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 12px; color: var(--green-dark);
}
.block.dark .duo-card .duo-name { color: var(--cream); }
.duo-card p { font-size: clamp(15px, 1.7vw, 17px); line-height: 1.75; opacity: .88; }
.duo-card p b { font-weight: 700; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

/* ---------- partner ---------- */
.partner-box { max-width: 820px; }
.partner-box .who-name {
  font-family: var(--serif-he);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  margin-bottom: 12px;
}
.partner-box p { font-size: clamp(15.5px, 1.8vw, 18px); line-height: 1.85; opacity: .92; margin-bottom: 14px; }

/* ---------- opening reel ---------- */
.hero-reel {
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream); /* never a black box while the clip loads */
  margin-bottom: 28px;
}
.hero-reel video { width: 100%; display: block; }

/* ---------- featured case study ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  text-decoration: none;
  color: var(--cream);
  border: 1px solid rgba(241, 236, 221, .18);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(241, 236, 221, .04);
  margin-bottom: 26px;
  transition: border-color .35s ease, transform .35s ease;
}
.feature:hover { border-color: rgba(241, 236, 221, .45); transform: translateY(-4px); }
.feature-img { align-self: stretch; overflow: hidden; min-height: 100%; position: relative; }
.feature-img .fbadge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  background: rgba(18,10,12,.72); color: var(--cream);
  border: 1px solid rgba(241,236,221,.4); border-radius: 999px; padding: 5px 15px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; aspect-ratio: 4 / 5; }
.feature:hover .feature-img img { transform: scale(1.04); }
.feature-meta { padding: clamp(24px, 3.5vw, 48px) clamp(24px, 3.5vw, 48px) clamp(24px, 3.5vw, 48px) 0; }
.feature-meta .cat { font-size: 13px; font-weight: 600; letter-spacing: .16em; opacity: .7; display: block; margin-bottom: 12px; }
.feature-meta .fname { font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); letter-spacing: .06em; display: block; margin-bottom: 16px; }
.feature-meta p { font-size: clamp(15.5px, 1.8vw, 18px); line-height: 1.75; opacity: .88; margin-bottom: 24px; }
.feature-meta .view { font-weight: 700; font-size: 16px; border-bottom: 1.5px solid rgba(241, 236, 221, .5); padding-bottom: 3px; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature-meta { padding: 0 24px 30px; }
}

/* ---------- work grid ---------- */
.workgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.wcard {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(241, 236, 221, .06);
  border: 1px solid rgba(241, 236, 221, .16);
  color: var(--cream);
}
.wthumb { aspect-ratio: 16 / 10; overflow: hidden; }
.wthumb video, .wthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wmeta { padding: 16px 18px 20px; }
.wmeta .cat { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; opacity: .7; display: block; margin-bottom: 4px; }
.wmeta .name { font-size: 18px; font-weight: 700; display: block; }
.wmeta .pitch { font-size: 15px; line-height: 1.6; opacity: .82; margin-top: 6px; }
.flagship {
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid rgba(241, 236, 221, .25);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.flagship p { font-size: clamp(15.5px, 1.8vw, 18px); }
.flagship strong { font-family: var(--serif-he); font-weight: 500; }
.flagship a {
  color: var(--cream);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1.5px solid rgba(241, 236, 221, .5);
  padding-bottom: 2px;
}

/* ---------- final CTA ---------- */
.fit {
  background: var(--green-dark);
  color: var(--cream);
  text-align: center;
  padding: clamp(80px, 12vh, 130px) clamp(24px, 6vw, 90px) clamp(46px, 7vh, 70px);
}
.fit .stamp { width: clamp(88px, 9vw, 120px); height: auto; margin-bottom: 22px; }
.fit h2 {
  font-family: var(--serif-he);
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 12px;
}
.fit h2 strong { font-weight: 500; }
.fit .sub { font-size: clamp(15.5px, 1.8vw, 18px); opacity: .85; max-width: 560px; margin: 0 auto 30px; }
.fit .assurances {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-size: 14px;
  opacity: .75;
}
.fit .footer-line {
  margin-top: clamp(50px, 8vh, 80px);
  font-family: var(--serif);
  letter-spacing: .16em;
  font-size: 12.5px;
  opacity: .6;
}
