/* =========================================================
   ETHAN FLAKE — UGC MEDIA KIT
   Mobile-first, single page, no nav/forms.
   ========================================================= */
:root{
  --bg: #F8F2E6;
  --card: #FFFDF9;
  --ink: #221E1A;
  --ink-soft: #635A4C;
  --burnt: #B15C34;
  --burnt-deep: #8C4726;
  --line: rgba(34, 30, 26, 0.12);
  --line-strong: rgba(34, 30, 26, 0.22);
  --cream: #FBF6EA;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius-lg: 20px;
  --radius-md: 12px;
  --max: 980px;

  --shadow-card: 0 1px 2px rgba(34,30,26,0.06), 0 10px 24px -14px rgba(34,30,26,0.24);
  --shadow-photo: 0 2px 4px rgba(34,30,26,0.08), 0 22px 44px -22px rgba(34,30,26,0.42);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

*, *::before, *::after{ box-sizing: border-box; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video{ max-width: 100%; display: block; }
a{ color: inherit; }

.kit{ max-width: var(--max); margin: 0 auto; padding: 32px 20px 56px; }

/* Small uppercase eyebrow used to head each section */
.section-label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burnt-deep);
  margin: 0 0 12px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: var(--ink); }
.btn--primary{
  background: var(--burnt-deep);
  border-color: var(--burnt-deep);
  color: var(--cream);
}
.btn--primary:hover{ background: var(--burnt); border-color: var(--burnt); }
.btn--ghost{ border-color: rgba(251,246,234,0.55); color: var(--cream); }
.btn--ghost:hover{ border-color: var(--cream); background: rgba(251,246,234,0.14); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
  padding: 10px 0 40px;
}
.hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  margin: 0 0 18px;
}
.hero__dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5C8A4A;
  box-shadow: 0 0 0 3px rgba(92,138,74,0.18);
}
.hero__name{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 7.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.hero__role{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burnt-deep);
  margin: 0 0 14px;
}
.hero__tagline{
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 22px;
}
.hero__actions{ display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.hero__location{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}
.hero__photo{
  width: 100%;
  /* height:auto is required — the img's height attribute is a presentational
     hint that would otherwise win over the aspect-ratio crop below. */
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 32%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-photo);
}
@media (max-width: 720px){
  .hero{
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 26px;
    text-align: center;
  }
  .hero__tagline{ margin-left: auto; margin-right: auto; }
  .hero__actions{ justify-content: center; }
  .hero__photo{ aspect-ratio: 4/5; max-width: 420px; margin: 0 auto; }
}

/* =========================================================
   WORK / VIDEO ROWS (shared by featured + more work)
   ========================================================= */
.work{ padding: 14px 0 8px; }
.video-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 14px;
  padding: 4px 0 18px;
}
@media (max-width: 720px){
  .video-row{
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .video-row .video-card{ scroll-snap-align: start; }
}

.video-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  /* embeds report differing heights, so let the caption take up the slack and
     keep every card in a row ending on the same line */
  display: flex;
  flex-direction: column;
}
.video-card__frame{
  position: relative;
  aspect-ratio: 9/16;
  background: var(--card);
  overflow: hidden;
}
.video-card__native{ width: 100%; height: 100%; object-fit: cover; }

/* Instagram embeds render their own responsive iframe — let it fill the frame */
.video-card--instagram .video-card__frame{ aspect-ratio: auto; min-height: 420px; }
.video-card--instagram iframe.instagram-media,
.video-card--instagram .instagram-media{
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* YouTube is landscape while the reels are portrait. The long-form card keeps its
   row's frame height and fills it with the thumbnail — blurred and scaled up
   behind, crisp and letterboxed in front — so there is no dead black space. */
.video-card--youtube .video-card__frame{
  background: #14120F;
  display: grid;
  place-items: center;
}
.yt{
  position: relative;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.yt__backdrop{
  position: absolute; inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.25) brightness(0.62);
  transform: scale(1.15);
}
.yt__inner{ position: relative; width: 100%; }
.yt__thumb{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6);
}
.yt__play{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(20,18,15,0.55);
  border: 1px solid rgba(251,246,234,0.75);
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.yt__play::after{
  content: "";
  width: 0; height: 0;
  margin-left: 3px;
  border-left: 13px solid var(--cream);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.yt:hover .yt__play{ background: var(--burnt-deep); transform: translate(-50%, -50%) scale(1.06); }
.yt:focus-visible{ outline: 2px solid var(--cream); outline-offset: -4px; }

/* the real player, once the facade has been clicked */
.video-card__youtube{
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

.media-placeholder--photo{
  background-size: cover;
  background-position: center;
  position: relative;
}
.media-placeholder--photo::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,30,26,0.05) 0%, rgba(34,30,26,0.55) 100%);
}
.media-placeholder__label--onphoto{
  position: relative;
  color: var(--cream);
  font-weight: 500;
}

.media-placeholder{
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(177,92,52,0.08) 0px, rgba(177,92,52,0.08) 2px, transparent 2px, transparent 14px),
    linear-gradient(160deg, #F0E4CF 0%, #E6D6B7 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.media-placeholder__label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 16px;
  max-width: 22ch;
}
.video-card__tag{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--burnt-deep);
  margin: 0 0 5px;
}
.video-card__info{ padding: 12px 14px 14px; flex: 1; }
.video-card__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  margin: 0 0 3px;
}
.video-card__desc{
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   STATS
   ========================================================= */
.stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 10px 0;
}
.stat{ text-align: center; }
.stat__num{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 36px);
  color: var(--burnt-deep);
  margin: 0 0 6px;
  line-height: 1;
}
.stat__label{ font-size: 12.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 560px){
  .stats{ grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   EXPERIENCE
   ========================================================= */
.experience{ text-align: center; padding: 30px 0; }
.experience__brands{
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 21px);
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.6;
}
.experience__note{
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about{ padding: 30px 0 26px; text-align: center; }
.about__body{
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 auto 12px;
  max-width: 62ch;
}
.about__gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 26px auto 0;
  max-width: 620px;
}
.about__gallery img{
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* =========================================================
   CAPABILITIES
   ========================================================= */
.capabilities{ text-align: center; padding: 12px 0 30px; }
.capabilities__list{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.capabilities__list li{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--ink-soft);
}

/* =========================================================
   CONTACT CTA
   ========================================================= */
.cta{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 10px 0 8px;
  background-image:
    linear-gradient(165deg, rgba(22,28,17,0.62) 0%, rgba(16,20,13,0.82) 100%),
    url("assets/contact-terraces.jpg");
  background-size: cover;
  background-position: center 32%;
  box-shadow: var(--shadow-photo);
}
.cta__inner{
  padding: clamp(34px, 6vw, 56px) 26px;
  text-align: center;
  color: var(--cream);
}
.cta__label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,246,234,0.72);
  margin: 0 0 12px;
}
.cta__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 4.6vw, 34px);
  line-height: 1.16;
  margin: 0 0 12px;
}
.cta__body{
  font-size: 14.5px;
  color: rgba(251,246,234,0.88);
  max-width: 58ch;
  margin: 0 auto 24px;
}
.cta__actions{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ text-align: center; padding: 30px 0 8px; }
.footer__name{ font-family: var(--font-display); font-size: 18px; margin: 0 0 10px; }
.footer__links{
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.footer__links a{ text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.footer__links a:hover{ border-bottom-color: var(--ink); }
.footer__sep{ color: var(--ink-soft); }
.footer__location{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
