/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TOKENS ─── */
:root {
  --cream:      #FBF8F1;
  --cream-card: #F1ECE0;
  --green:      #224D20;
  --green-dark: #0F5C0C;
  --black:      #1A1A18;
  --muted:      #6E6B62;
  --border:     rgba(26, 26, 24, 0.1);
  --radius:     14px;
  --radius-sm:  8px;
  --transition: 0.2s ease;
}

/* ─── BASE ─── */
body {
  background: var(--cream);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.script {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  color: var(--green);
}

/* ─── LAYOUT ─── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

@media (max-width: 700px) {
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}

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

.logo {
  font-family: 'Pinyon Script', cursive;
  font-size: 28px;
  color: var(--green);
  font-weight: 400;
}

.logo sup {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  vertical-align: super;
}

.logo-img {
  display: block;
  height: 20px;
  width: auto;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--black);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--green); }

.nav-links a.active {
  color: var(--green);
  font-weight: 500;
}

@media (max-width: 700px) {
  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { font-size: 12px; }
}

/* ─── FOOTER ─── */
footer {
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 0;
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-socials a {
  font-size: 14px;
  color: var(--black);
  display: flex;
  align-items: center;
}

.footer-socials a:hover { color: var(--green); }

.social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--green);
  color: var(--cream);
}

/* ─── SECTIONS ─── */
section {
  padding: 4rem 0;
}

.section-tight { padding: 2.5rem 0; }

.center { text-align: center; }

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 400;
}

.hero h1 .script {
  font-size: 3.2rem;
}

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-line {
  width: 1px;
  height: 100%;
  min-height: 80px;
  background: var(--green);
  flex-shrink: 0;
}

.hero-intro-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.25rem;
  width: 100%;
}

.hero-intro-copy {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--black);
}

.hero-intro-copy p + p {
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero h1 .script { font-size: 2.5rem; }
}

/* ─── QUOTE BLOCK ─── */
.quote-block {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.quote-block .script { font-size: 1.8rem; }

/* ─── CTA CLOSING ─── */
.cta-close {
  text-align: center;
}

.cta-close .script-line {
  font-size: 2rem;
}

.cta-close .script-line .script { font-size: 2.6rem; }

.cta-close p.lead {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
}

/* ─── WORK GRID ─── */
.work-feature {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0.75rem;
}

.work-feature img, .work-feature video { width: 100%; height: 100%; object-fit: cover; }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.work-meta .client { color: var(--muted); font-size: 0.85rem; }

.work-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .work-grid-2 { grid-template-columns: 1fr; }
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0.5rem;
  position: relative;
}

.work-card img { width: 100%; height: 100%; object-fit: cover; }

.work-card-title {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.work-card-title .client { color: var(--muted); font-size: 0.8rem; }

.work-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5rem;
  row-gap: 3rem;
}

@media (max-width: 700px) {
  .work-index-grid { grid-template-columns: 1fr; }
}

/* ─── VENTURES ─── */
.ventures-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .ventures-tiles { grid-template-columns: 1fr; }
}

.venture-tile {
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.4rem;
  color: #fff;
}

.venture-tile.jls { background: #0F8F6F; }
.venture-tile.alkhemy { background: #000000; letter-spacing: 0.08em; }
.venture-tile.zaza { background: #E2502B; }

.venture-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 0.5px solid var(--border);
}

.venture-block:first-of-type { border-top: none; }

.venture-block.reverse .venture-media { order: 2; }

.venture-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.venture-media img { width: 100%; height: 100%; object-fit: cover; }

.venture-content .v-logo {
  margin-bottom: 1rem;
}

.venture-content .v-logo img {
  height: 2rem;
  width: auto;
}

.venture-content p { margin-bottom: 1rem; color: var(--muted); }

.venture-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.venture-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.venture-social-icon {
  width: 32px;
  height: 32px;
}

@media (max-width: 800px) {
  .venture-block, .venture-block.reverse { grid-template-columns: 1fr; }
  .venture-block.reverse .venture-media { order: 0; }
}

/* ─── BLOG ─── */
.featured-post {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/8;
  background: var(--cream-card);
  display: flex;
  align-items: flex-end;
  color: var(--muted);
  font-size: 13px;
}

.featured-post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.featured-post .fp-overlay {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  width: 100%;
  color: #fff;
}

.featured-post .fp-overlay .tag {
  display: inline-block;
}

.featured-post .fp-overlay h3 { color: #fff; margin: 0.5rem 0 0.25rem; }
.featured-post .fp-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; }
.featured-post .fp-overlay .date { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.tag {
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.filters .tag {
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.filters .tag.active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(23,128,18,0.08);
  font-weight: 500;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-card .bc-img {
  aspect-ratio: 4/3;
  background: var(--cream-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card .bc-body { padding: 1rem; }
.blog-card .tag { color: var(--green); margin-bottom: 0.6rem; display: inline-block; }
.blog-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.blog-card .date { font-size: 0.8rem; color: var(--muted); }

/* ─── ABOUT ─── */
.about-cv {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-cv-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 210/297;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.about-cv-img img { width: 100%; height: 100%; object-fit: cover; }

.about-cv h1 { font-size: 2.2rem; font-weight: 400; }
.about-cv h1 .script { font-size: 2.6rem; }

.about-byline {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--black);
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-block.reverse .about-img { order: 2; }

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 800px) {
  .about-cv, .about-block, .about-block.reverse { grid-template-columns: 1fr; }
  .about-block.reverse .about-img { order: 0; }
}

/* ─── PROJECT NAVIGATION ─── */
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-top: 0.5px solid var(--border);
  margin-top: 4rem;
}

.project-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2rem 0;
  max-width: 45%;
  transition: opacity var(--transition);
}

.project-nav a:hover { opacity: 0.6; }

.project-nav .nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-nav .nav-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}

.project-nav .next-project {
  text-align: right;
  margin-left: auto;
}

/* ─── PROJECT / STORY PAGE ─── */
.project-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 2.5rem;
}
.project-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.project-header .client { color: var(--muted); }

.project-summary {
  font-size: 1.4rem;
  font-weight: 500;
  max-width: 800px;
  margin-bottom: 2rem;
}

.story-label {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
}

.story-label .script { font-size: 1.7rem; }

.story-text p {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  color: var(--black);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2.5rem 0;
  border: 1px solid var(--border);
}
.video-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* YouTube thumbnail link — replaces iframe when embedding is blocked */
.yt-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2.5rem 0;
  cursor: pointer;
}
.yt-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.yt-thumb:hover img { transform: scale(1.03); }
.yt-thumb .yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s ease;
}
.yt-thumb:hover .yt-play { background: rgba(0,0,0,0.4); }
.yt-thumb .yt-play svg { width: 72px; height: 50px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.yt-thumb .yt-play span {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
/* Inside media-row, no top/bottom margin */
.media-row .yt-thumb { margin: 0; }

.video-placeholder {
  border: 1px solid var(--green);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin: 2.5rem 0;
  letter-spacing: 0.1em;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.media-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 1.25rem;
}

@media (max-width: 700px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row-3 { grid-template-columns: 1fr; }
}

.media-row .work-card { margin-bottom: 0; aspect-ratio: 16/9; }

/* ─── WORK IMAGE GRID (scroll layout) ─── */
.work-image-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.work-image-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.work-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .work-image-row { grid-template-columns: 1fr; }
}

/* ─── SLIDESHOW ─── */
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
  margin-top: 1.5rem;
}

.slideshow-track {
  width: 100%;
  height: 100%;
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slideshow .slide.active {
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.slide-btn:hover { background: rgba(255,255,255,0.3); }
.slide-btn.prev { left: 1.25rem; }
.slide-btn.next { right: 1.25rem; }

.slide-counter {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ─── CONTACT ─── */
.contact-hero {
  text-align: center;
  padding: 5rem 0;
}

.contact-hero h1 { font-size: 2.6rem; font-weight: 400; }
.contact-hero h1 .script { font-size: 3.2rem; }

.contact-hero p.lead { max-width: 600px; margin: 1rem auto 2rem; }

.social-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-row .social-icon {
  width: 48px;
  height: 48px;
}

hr.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ─── DESIGN ASSET IMAGES (text/headline graphics) ─── */
.img-text {
  display: block;
  height: auto;
  max-width: 100%;
}

.img-text.center { margin: 0 auto; }

.img-headline-home   { width: 539px; }
.img-quote-home      { width: 1530px; margin: 0 auto; }
.img-label-selected-work,
.img-label-my-ventures { width: 213px; }
.img-label-from-my-head { width: 192px; }
.img-footer-home,
.img-footer-about,
.img-footer-ventures,
.img-footer-blog {
  height: 84px;
  width: auto;
  margin: 0 auto;
}

.img-headline-about  { width: 409px; }
.img-label-dreamer   { width: 286px; }
.img-creativity      { width: 473px; margin: 0 auto; }

.img-headline-ventures { width: 800px; }

.img-headline-blog   { width: 341px; }

.img-headline-contact { width: 335px; margin: 0 auto; }

.img-story-label {
  display: block;
  height: auto;
  width: 200px;
  margin: 0 auto;
}

/* ─── VENTURE TILE LOGOS ─── */
.venture-tile img {
  width: 55%;
  height: auto;
  filter: brightness(0) invert(1);
}
