/* ==========================================================================
   OZZY — Design System
   Ink / Bone / Stone / Olive · Editorial, cinematic, restrained.
   ========================================================================== */

:root{
  --ink:        #0A0A0A;
  --ink-soft:   #17171560;
  --bone:       #F2EFE8;
  --bone-soft:  #F2EFE8B3;
  --stone:      #C9C7BF;
  --stone-line: #C9C7BF66;
  --olive:      #626956;
  --olive-soft: #62695622;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1440px;
  --gutter: 64px;
  --radius: 3px;

  --ease: cubic-bezier(.22,.68,.15,1);
  --dur: .9s;
}

@media (max-width: 900px){
  :root{ --gutter: 32px; }
}
@media (max-width: 560px){
  :root{ --gutter: 20px; }
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }
button{ font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea{ font: inherit; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--bone); color: var(--ink);
  padding: 12px 20px; z-index: 999;
}
.skip-link:focus{ left: 20px; top: 20px; }

/* ---------- type helpers ---------- */
.serif{ font-family: var(--serif); font-weight: 400; }
.sans{ font-family: var(--sans); font-weight: 700; }

.eyebrow{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  opacity: .6;
  margin-bottom: 20px;
}
.eyebrow--light{ color: var(--bone); opacity: .65; }

.label{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .55;
  margin-bottom: 10px;
}
.label--light{ color: var(--bone); }

.h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h2--light{ color: var(--bone); }

.body{ font-size: 17px; line-height: 1.65; max-width: 46ch; }
.body--light{ color: var(--bone-soft); }
.body--stat{ font-family: var(--sans); font-weight: 800; font-size: 22px; color: var(--bone); line-height: 1.5; }
.body--stat span{ display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-left: 6px; }

/* ==========================================================================
   Wordmark — custom OZZY treatment
   The two Z's share a connecting stroke (.wm-link), suggesting forward
   motion without becoming a literal arrow. O and Y stay clean/geometric.
   ========================================================================== */
.wordmark{
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: inherit;
}
.wordmark .wm-o{ margin-right: .02em; }
.wordmark .wm-z{ position: relative; z-index: 1; }
.wordmark .wm-z + .wm-z{ margin-left: -0.06em; }
.wordmark .wm-y{ margin-left: .02em; }

.wordmark .wm-link{
  display: inline-block;
  width: .30em;
  height: .1em;
  background: currentColor;
  transform: skewX(-24deg) translate(-0.13em, 0.02em);
  margin: 0 -0.34em;
  z-index: 0;
  border-radius: 1px;
  opacity: .96;
}

.wordmark--nav{ font-size: 22px; }
.wordmark--footer{ font-size: 56px; margin-bottom: 56px; color: var(--bone); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 0 0 4px 0;
  border-bottom: 1px solid currentColor;
  transition: opacity .3s var(--ease), gap .3s var(--ease);
}
.btn .arrow{ transition: transform .3s var(--ease); display: inline-block; }
.btn:hover{ opacity: .65; }
.btn:hover .arrow{ transform: translateX(4px); }

.btn--nav{ color: inherit; border-color: currentColor; }
.btn--ghost-light{ color: var(--bone); border-color: var(--bone); }
.btn--text-light{ color: var(--bone); border-color: transparent; opacity: .7; }
.btn--text-light:hover{ opacity: 1; border-color: var(--bone); }
.btn--block{ border-color: var(--ink); justify-content: space-between; width: 100%; padding-bottom: 10px; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  background: var(--bone-soft);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-color: var(--stone-line);
}
.nav__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bone);
  transition: color .4s var(--ease);
}
.nav.is-scrolled .nav__inner{ color: var(--ink); }

.nav__links{
  display: flex;
  gap: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav__links a{ opacity: .75; transition: opacity .25s var(--ease); }
.nav__links a:hover{ opacity: 1; }

.nav__toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav__toggle span{
  display: block; height: 1px; width: 100%;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child{ transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child{ transform: translateY(-3px) rotate(-45deg); }

.mobile-menu{
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bone);
  color: var(--ink);
  border-top: 1px solid var(--stone-line);
}
.mobile-menu.is-open{ display: flex; }
.mobile-menu a{
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--stone-line);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
}
.mobile-menu .btn--block{ margin: var(--gutter); width: auto; }

@media (max-width: 780px){
  .nav__links{ display: none; }
  .btn--nav{ display: none; }
  .nav__toggle{ display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 100px;
}
.hero__bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 18%, #ffffff0d, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, var(--olive-soft), transparent 60%),
    var(--ink);
  z-index: 0;
}
.hero__inner{ position: relative; z-index: 1; }

.hero__headline{
  display: block;
  margin-top: 4px;
  font-size: clamp(44px, 7.6vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero__headline .serif{ font-style: italic; }
.hero__headline span.reveal{ display: block; overflow: hidden; }

.hero__row{
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
}

.hero__lockup{
  position: relative;
  z-index: 1;
  margin-top: 72px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 var(--gutter);
}
.hero__lockup-name{
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
}
.hero__lockup-desc{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .5;
}

.scroll-cue{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 46px;
  background: var(--stone-line);
  z-index: 1;
  overflow: hidden;
}
.scroll-cue span{
  display: block; width: 100%; height: 40%;
  background: var(--bone);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue{
  0%{ transform: translateY(-100%); }
  100%{ transform: translateY(250%); }
}

/* ==========================================================================
   Placeholder image blocks
   (swap these divs for real photography — see README)
   ========================================================================== */
.ph{
  position: relative;
  width: 100%; height: 100%;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-image:
    repeating-linear-gradient(115deg, #ffffff08 0px, transparent 1px, transparent 3px, #00000012 4px);
}
.ph--olive{ background-color: #3c4034; background-image:
  radial-gradient(ellipse 80% 60% at 30% 20%, #626956aa, transparent 60%),
  repeating-linear-gradient(115deg, #ffffff08 0px, transparent 1px, transparent 3px, #00000018 4px);
}
.ph--mono{ background-color: #2b2b2b; background-image:
  radial-gradient(ellipse 70% 60% at 70% 30%, #ffffff14, transparent 65%),
  repeating-linear-gradient(115deg, #ffffff0a 0px, transparent 1px, transparent 3px, #00000022 4px);
  filter: grayscale(1);
}
.ph--stone{ background-color: #b9b6ac; background-image:
  radial-gradient(ellipse 70% 50% at 20% 80%, #0000001a, transparent 60%),
  repeating-linear-gradient(115deg, #ffffff10 0px, transparent 1px, transparent 3px, #00000010 4px);
}
.ph--full{ background-color: #16181a; background-image:
  radial-gradient(ellipse 90% 70% at 50% 30%, #62695655, transparent 65%),
  repeating-linear-gradient(115deg, #ffffff08 0px, transparent 1px, transparent 3px, #00000022 4px);
}
.ph__tag{
  position: absolute; bottom: 16px; left: 16px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone); opacity: .5;
  font-weight: 600;
}

/* ==========================================================================
   Portfolio (video)
   ========================================================================== */
.portfolio{ padding: 160px 0 120px; }
.section-head{ margin-bottom: 72px; max-width: 640px; }
.section-head__intro{ margin-top: 24px; }

.video-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter) 40px;
}

.video-card{ display: block; }

.video-card__media{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.video-card__media .ph{ position: absolute; inset: 0; min-height: 0; }
.video-card__media iframe{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.play-btn{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  transition: transform .3s var(--ease), background .3s var(--ease);
  z-index: 2;
}
.video-card__media:hover .play-btn{
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--olive);
  color: var(--bone);
}

.video-card__meta{ padding-top: 20px; }
.video-card__num{
  font-family: var(--serif);
  font-size: 13px;
  opacity: .45;
  display: block;
  margin-bottom: 10px;
}
.video-card__title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
}
.video-card__tags{ font-size: 13px; opacity: .55; }

.portfolio__more{ margin-top: 72px; text-align: center; }
.btn--ghost-dark{ color: var(--ink); border-color: var(--ink); }

@media (max-width: 780px){
  .video-grid{ grid-template-columns: 1fr; gap: 56px; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services{ padding: 160px 0; }

.services__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin-top: 80px;
}
.service{
  border-top: 1px solid var(--stone-line);
  padding-top: 28px;
}
.service__num{
  font-family: var(--serif);
  font-size: 13px;
  opacity: .45;
  display: block;
  margin-bottom: 24px;
}
.service__title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 22px;
}
.service__list li{
  font-size: 14px;
  opacity: .65;
  padding: 9px 0;
  border-top: 1px solid var(--stone-line);
}
.service__list li:first-child{ border-top: none; }

@media (max-width: 900px){
  .services__grid{ grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}
@media (max-width: 560px){
  .services__grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about{ background: var(--ink); color: var(--bone); padding: 140px 0; }
.about__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}
.about__lead{ align-self: start; }

@media (max-width: 860px){
  .about__grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{ background: var(--ink); color: var(--bone); padding: 140px 0; border-top: 1px solid var(--stone-line); }
.contact__head{ max-width: 640px; margin-bottom: 72px; }
.contact__intro{ margin-top: 24px; }

.form{ max-width: 720px; }
.form__row{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form__field{ margin-bottom: 28px; }
.form__field label{
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 12px;
}
.form__field input,
.form__field textarea{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone-line);
  color: var(--bone);
  padding: 8px 0;
  resize: vertical;
  transition: border-color .3s var(--ease);
}
.form__field input:focus,
.form__field textarea:focus{
  outline: none;
  border-color: var(--bone);
}
.hidden-field{ position: absolute; left: -9999px; }

@media (max-width: 560px){
  .form__row{ grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{ background: var(--ink); color: var(--bone); padding: 96px 0 40px; }
.footer__grid{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--stone-line);
}
.footer__links, .footer__social{
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: .02em;
}
.footer__links a, .footer__social a{ opacity: .6; transition: opacity .25s var(--ease); }
.footer__links a:hover, .footer__social a:hover{ opacity: 1; }

.footer__bottom{
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 12px;
  opacity: .45;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 560px){
  .wordmark--footer{ font-size: 40px; margin-bottom: 40px; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

.reveal--mask span{
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 120ms);
}
.reveal--mask.is-visible span{ transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal--mask span{ opacity: 1 !important; transform: none !important; }
}
