/* ===== Saba Journeys — stylesheet ===== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600&display=swap');

/* ---- Tokens ----
   NOTE: --font-display uses Fraunces as a stand-in for Migra.
   Migra is a licensed font (Pangram Pangram) and can't be embedded
   without a purchased web license. Once you have the license files,
   add @font-face rules here and change --font-display to "Migra". */
:root{
  --base: #F5F1E8;
  --base-rgb: 245,241,232;
  --ink: #211D18;
  --ink-rgb: 33,29,24;
  --accent: #7C6A3F;
  --accent-light: #A79868;
  --alt: #EAE3D3;
  --cream: #FBF8F2;

  --font-display: 'Bodoni Moda', serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1240px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 3px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  margin:0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 500; margin:0; letter-spacing:-.01em; }
em{ font-style: italic; font-weight: 500; }
p{ margin:0; }
.container{ max-width: var(--max-w); margin:0 auto; padding: 0 var(--pad); }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

::selection{ background: var(--accent); color: var(--cream); }

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

/* ---- Scroll progress bar ---- */
.scroll-progress{
  position: fixed; top:0; left:0; height:3px; width:0%;
  background: var(--accent); z-index: 999; transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce){
  .scroll-progress{ display:none; }
}

/* ---- Reveal / motion ---- */
.reveal{
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform:none; }
.reveal-stagger .stagger-item{
  opacity:0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.in-view .stagger-item{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal, .stagger-item{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ===== Nav ===== */
.site-nav{
  position: absolute; top:0; left:0; right:0; z-index: 60;
  display:flex; align-items:center; justify-content:space-between;
  padding: 26px var(--pad);
  color: var(--cream);
}
.site-nav.is-solid{
  position: sticky;
  background: rgba(var(--base-rgb), .92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(var(--ink-rgb), .08);
}
.nav-logo{ font-family: var(--font-display); font-size: 19px; letter-spacing:.01em; white-space:nowrap; }
.name-part{ font-weight: 700; }
.nav-links{ display:flex; gap: 34px; font-size: 14px; letter-spacing:.02em; }
.nav-links a{ position:relative; padding-bottom:2px; }
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background: currentColor; transition: width .3s var(--ease);
}
.nav-links a:hover::after{ width:100%; }
.nav-toggle{ display:none; background:none; border:none; color:inherit; font-size: 22px; cursor:pointer; }

@media (max-width: 760px){
  .nav-links{
    position: fixed; inset: 0; background: var(--ink); color: var(--cream); z-index: 65;
    flex-direction:column; align-items:center; justify-content:center; gap:28px;
    font-size: 20px; transform: translateY(-100%); transition: transform .4s var(--ease), visibility .4s;
    visibility: hidden;
  }
  .nav-links.open{ transform: translateY(0); visibility: visible; }
  .nav-toggle{ display:block; z-index: 70; }
}

/* ===== Hero ===== */
.hero{
  position:relative; height: 100vh; min-height: 560px; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end;
  color: var(--cream);
}
.hero-media{
  position:absolute; inset:0; z-index:0;
}
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position: center 78%; will-change: transform; }
.hero-media::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,17,13,.18) 0%, rgba(20,17,13,.28) 45%, rgba(20,17,13,.72) 100%);
}
.hero-content{ position:relative; z-index:2; padding: 0 var(--pad) 100px; max-width: 780px; margin: 0 auto; text-align: center; }
.hero-content h1{ font-size: clamp(36px, 6vw, 66px); line-height: 1.06; }
.hero-content p{ margin-top:20px; font-size: 17px; max-width: 460px; margin-left:auto; margin-right:auto; opacity:.92; }
.scroll-cue{
  position: relative; z-index:2; align-self:center; margin-bottom: 24px;
  font-size: 11px; letter-spacing:.18em; text-transform:uppercase; opacity:.8;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.scroll-cue .line{ width:1px; height:26px; background: currentColor; opacity:.6; animation: cue 2s ease-in-out infinite; }
@keyframes cue{ 0%,100%{ transform: scaleY(.4); opacity:.3;} 50%{ transform: scaleY(1); opacity:.9;} }
@media (prefers-reduced-motion: reduce){ .scroll-cue .line{ animation:none; } }

/* ===== Section basics ===== */
.section{ padding: 88px 0; }
.section.tight{ padding: 64px 0; }
.section-alt{ background: var(--alt); }
.section-dark{ background: var(--ink); color: var(--cream); }
.eyebrow{
  font-size: 12px; letter-spacing:.16em; text-transform:uppercase; color: var(--accent);
  margin-bottom:14px; display:block;
}
.section-dark .eyebrow{ color: var(--accent-light); }
.section-title{ font-size: clamp(26px, 3.4vw, 40px); max-width: 640px; }
.section-sub{ margin-top:16px; font-size:16px; max-width: 560px; opacity:.82; }

/* ===== Vision ===== */
.vision{ text-align:center; }
.vision .section-title{ margin: 0 auto; }
.vision .section-sub{ margin-left:auto; margin-right:auto; }

/* ===== Logo marquee ===== */
.marquee-wrap{
  margin-top: 52px; overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{
  display:flex; align-items:center; gap: 64px; width: max-content;
  animation: marquee 28s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation-duration: 60s; } }
.marquee-track:hover{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.marquee-item{
  font-family: var(--font-display); font-size: 22px; white-space:nowrap;
  color: var(--ink); opacity:.42; filter: grayscale(1);
}
.marquee-logo{
  height: 34px; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(1); opacity: .55; flex-shrink: 0;
}

/* ===== Reels ===== */
.reels-header{ display:flex; align-items:flex-end; justify-content:space-between; gap: 24px; flex-wrap:wrap; }
.reels-grid{
  margin-top: 40px;
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.reel-card{
  position:relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow:hidden;
  background: #000; cursor:pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}
.page-work .reel-card.playing{
  transform: scale(1.32);
  z-index: 5;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.reel-card video, .reel-card .reel-poster{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.reel-card .reel-poster{ transition: opacity .35s ease; }
.reel-card.playing .reel-poster{ opacity:0; }
.reel-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
  display:flex; align-items:flex-end; padding: 16px; transition: opacity .3s ease;
  pointer-events:none;
}
.reel-card.playing .reel-overlay{ opacity:0; }
.reel-caption{ color:#fff; font-size:13px; letter-spacing:.03em; }
.reel-play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:52px; height:52px; border-radius:50%;
  background: rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.5);
  display:flex; align-items:center; justify-content:center; pointer-events:none;
  transition: opacity .3s ease, transform .3s ease;
}
.reel-card.playing .reel-play-btn{ opacity:0; transform:translate(-50%,-50%) scale(.7); }
.reel-play-btn svg{ width:16px; height:16px; fill:#fff; margin-left:2px; }
.reel-mute{
  position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%;
  background: rgba(0,0,0,.45); border:1px solid rgba(255,255,255,.35);
  display:none; align-items:center; justify-content:center; cursor:pointer; z-index:3;
}
.reel-card.playing .reel-mute{ display:flex; }
.reel-mute svg{ width:14px; height:14px; fill:#fff; }
.reels-cta{ margin-top: 40px; text-align:center; }

@media (max-width: 640px){
  .reels-grid{ gap: 8px; }
  .page-work .reel-card.playing{ transform: scale(1.15); }
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 15px 30px; border-radius: 999px; font-size: 14px; letter-spacing:.03em;
  border: 1px solid currentColor; transition: background .3s var(--ease), color .3s var(--ease);
}
.btn-ink{ background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ink:hover{ background: transparent; color: var(--ink); }
.section-dark .btn-ink{ background: var(--cream); color: var(--ink); border-color: var(--cream); }
.section-dark .btn-ink:hover{ background:transparent; color: var(--cream); }
.btn-outline{ background:transparent; color:inherit; }
.btn-outline:hover{ background: currentColor; }
.btn-outline:hover{ color: var(--ink); }
.btn-cream{ border-color: var(--cream); color: var(--cream); }
.btn-cream:hover{ background: var(--cream); color: var(--ink); }

/* ===== About ===== */
.about{
  display:grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items:center;
  min-height: 80vh;
}
.about-photo{ border-radius: var(--radius); overflow:hidden; aspect-ratio: 4/5; }
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-body p{ margin-bottom: 16px; font-size: 16.5px; }
.about-body p:last-of-type{ margin-bottom: 0; }
.about-signoff{ margin-top: 28px; font-family: var(--font-display); font-size: 20px; }
@media (max-width: 860px){
  .about{ grid-template-columns: 1fr; min-height:0; }
  .about-photo{ aspect-ratio: 4/5; }
}

/* ===== Plain photo break (no text, just a breather, natural aspect ratio) ===== */
.photo-break{
  position: relative; overflow:hidden;
}
.photo-break img{
  display:block; width:100%; height:auto;
}
.photo-break::after{ content:''; position:absolute; inset:0; background: rgba(20,17,13,.1); }

/* ===== Full-bleed statement band (natural aspect ratio, no crop) ===== */
.statement-band{
  position: relative; overflow:hidden; color:#fff;
}
.statement-band img{ display:block; width:100%; height:auto; }
.statement-band::after{ content:''; position:absolute; inset:0; background: rgba(20,17,13,.42); }
.statement-band blockquote{
  position:absolute; inset:0; z-index:1; display:flex; align-items:center; justify-content:center;
  text-align:center; margin:0; padding: 0 var(--pad);
}
.statement-band blockquote span{
  max-width: 780px; font-family: var(--font-display); font-size: clamp(22px, 3.6vw, 42px); line-height:1.3;
}
@media (max-width: 700px){
  .statement-band{ min-height: 50vh; }
  .statement-band img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: center 65%; }
}

/* ===== Services ===== */
.services-grid{
  margin-top: 48px; display:grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.service-card{ padding: 8px 4px; }
.service-icon{
  width: 46px; height:46px; margin-bottom: 20px; color: var(--accent);
}
.service-icon svg{ width:100%; height:100%; }
.service-card h3{ font-size: 19px; margin-bottom:10px; }
.service-card p{ font-size: 14.5px; opacity:.78; }
@media (max-width: 900px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* ===== Process (frosted glass over photo) ===== */
.process{ position:relative; overflow:hidden; }
.process-bg{ position:absolute; inset:0; }
.process-bg img{ width:100%; height:100%; object-fit:cover; }
.process-bg::after{ content:''; position:absolute; inset:0; background: rgba(20,17,13,.5); }
.process .container{ position:relative; z-index:1; color:#fff; }
.process-grid{ margin-top: 44px; display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.process-card{
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 32px 28px;
}
.process-num{ font-family: var(--font-display); font-size:15px; color: var(--accent-light); margin-bottom:18px; }
.process-card h3{ font-size:19px; margin-bottom:10px; color:#fff; }
.process-card p{ font-size:14.5px; opacity:.85; }
@media (max-width: 860px){ .process-grid{ grid-template-columns:1fr; } }

/* ===== What I create ===== */
.create{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items:center; }
.create-text{ grid-column: span 1; }
.create-photo{ border-radius: var(--radius); overflow:hidden; aspect-ratio: 3/4; }
.create-photo img{ width:100%; height:100%; object-fit:cover; }
@media (max-width: 860px){
  .create{ grid-template-columns: 1fr 1fr; }
  .create-text{ grid-column: 1 / -1; order:-1; margin-bottom: 10px; }
}
@media (max-width: 560px){
  .create{ grid-template-columns: 1fr; }
}

/* ===== Contact band on a photo (natural aspect ratio, no crop) ===== */
.contact-photo-band{
  position: relative; overflow:hidden; color:#fff;
}
.contact-photo-band img{ display:block; width:100%; height:auto; }
.contact-photo-band::after{ content:''; position:absolute; inset:0; background: rgba(20,17,13,.55); z-index:0; }
.contact-photo-band .container{
  position:absolute; inset:0; z-index:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding: 40px var(--pad);
}
.contact-photo-band .eyebrow{ color: var(--accent-light); }
.contact-photo-band h2{ font-size: clamp(26px, 4.6vw, 54px); max-width: 720px; margin: 0 auto; }
.contact-photo-band p{ margin-top:18px; max-width: 480px; margin-left:auto; margin-right:auto; opacity:.9; }
@media (max-width: 700px){
  .contact-photo-band{ min-height: 60vh; }
  .contact-photo-band img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: center 55%; }
}

/* ===== Shot type tags (About section) ===== */
.shot-tags{
  display:flex; flex-wrap:wrap; gap: 10px 10px; margin: 26px 0 0;
  list-style:none; padding:0;
}
.shot-tags li{
  font-size: 12.5px; letter-spacing:.04em; text-transform:uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px;
  padding: 7px 14px; opacity: .9;
}

/* ===== Contact finale ===== */
.contact-band{
  background: var(--ink); color: var(--cream); text-align:center; padding: 110px 0;
}
.contact-band .eyebrow{ color: var(--accent-light); }
.contact-band h2{ font-size: clamp(30px, 4.6vw, 54px); max-width: 720px; margin: 0 auto; }
.contact-band p{ margin-top:18px; max-width: 480px; margin-left:auto; margin-right:auto; opacity:.82; }
.contact-actions{ margin-top:38px; display:flex; gap:18px; justify-content:center; align-items:center; flex-wrap:wrap; }
.icon-link{
  width:48px; height:48px; border-radius:50%; border:1px solid rgba(255,255,255,.4);
  display:flex; align-items:center; justify-content:center; transition: background .3s ease;
}
.icon-link:hover{ background: rgba(255,255,255,.12); }
.icon-link svg{ width:20px; height:20px; fill:#fff; }

/* ===== Footer ===== */
.site-footer{
  background: var(--base); padding: 34px var(--pad);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size: 13px; opacity:.68; border-top: 1px solid rgba(var(--ink-rgb), .1);
}
.site-footer a:hover{ opacity:.7; }
.footer-links{ display:flex; gap:22px; font-size:13px; }

/* ===== Page header (work.html) ===== */
.page-header{ padding: 170px 0 60px; text-align:center; }
.page-header h1{ font-size: clamp(38px, 6vw, 62px); }
.page-header p{ margin-top: 18px; font-size:16px; opacity:.78; }

/* ===== Photo gallery (grid, reads left-to-right then wraps) ===== */
.gallery-heading{ text-align:center; margin-bottom: 40px; }
.masonry{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; align-items:start;
}
.masonry-item{
  border-radius: var(--radius); overflow:hidden;
  cursor: pointer; position:relative; aspect-ratio: 3/4;
}
.masonry-item img{ width:100%; height:100%; display:block; object-fit:cover; transition: transform .5s var(--ease), filter .4s ease; }
.masonry-item.wide{ grid-column: span 2; aspect-ratio: 16/9; }
.masonry-item:hover img{ transform: scale(1.035); filter: brightness(1.06); }
@media (max-width: 700px){
  .masonry{ grid-template-columns: repeat(2, 1fr); }
  .masonry-item.wide{ grid-column: span 2; }
}

/* ===== Lightbox ===== */
.lightbox{
  position: fixed; inset:0; background: rgba(10,9,7,.94); z-index: 500;
  display:none; align-items:center; justify-content:center; padding: 40px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width: 90vw; max-height: 82vh; object-fit:contain; border-radius: 2px; }
.lightbox-close{
  position:absolute; top: 24px; right: 28px; color:#fff; font-size: 28px; cursor:pointer;
  background:none; border:none; line-height:1;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%; background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.3); color:#fff; font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-nav.prev{ left: 22px; } .lightbox-nav.next{ right: 22px; }
.lightbox-nav:hover{ background: rgba(255,255,255,.18); }
.lightbox-counter{
  position:absolute; bottom: 26px; left:50%; transform:translateX(-50%);
  color:#fff; font-size:13px; letter-spacing:.05em; opacity:.75;
}
@media (max-width: 640px){
  .lightbox-nav{ width:38px; height:38px; font-size:16px; }
}
