/* ==========================================================================
   AL STUDIO — Photography Portfolio
   Design system: tokens, layout, components, animation.
   Calm, warm, airy — soft neutrals, muted sage/rose/blue accents.
   ========================================================================== */

/* ── Fonts ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root{
  --ink:        #3E3833;   /* soft warm charcoal — never pure black */
  --inkSoft:   #7A6F63;   /* muted warm taupe, secondary text */
  --paper:      #FAF6EF;   /* warm white */
  --paperDim:  #EFE6D8;   /* soft beige, secondary bg / borders */
  --sand:       #F2EADC;   /* warm sand, alt section bg */
  --sageBg:    #ECF0E7;   /* pale sage, alt section bg */
  --surface:    #FFFFFF;   /* card surface */

  --accent:     #7E9A80;   /* muted sage — primary accent */
  --accentDeep:#63805F;   /* deeper sage, hover states */
  --accentInk: #FCFAF6;   /* soft white, for text on accent */
  --rose:       #C99B98;   /* dusty rose — secondary accent */
  --roseDeep:  #B37F7E;
  --blue:       #A7C0CC;   /* pale blue — tertiary accent */

  --lineDark:  rgba(62,56,51,0.18);
  --lineLight: rgba(62,56,51,0.10);

  --bg:  var(--paper);
  --fg:  var(--ink);
  --muted: rgba(62,56,51,0.62);
  --line: var(--lineLight);

--fontDisplay: 'Roboto', sans-serif;
--fontBody: 'Roboto', sans-serif;

  --container: 1360px;
  --gutter: clamp(22px, 6vw, 80px);
  --radiusSm: 12px;
  --radius: 24px;
  --radiusLg: 36px;
  --radiusFull: 999px;

  --shadowSm: 0 1px 3px rgba(62,56,51,0.07), 0 1px 2px rgba(62,56,51,0.05);
  --shadow:    0 14px 34px -14px rgba(62,56,51,0.22);
  --shadowLg: 0 28px 64px -22px rgba(62,56,51,0.26);

  --fsHero:    clamp(2.4rem, 7.5vw, 6.25rem);
  --fsMarquee: clamp(2.25rem, 10vw, 7.5rem);
  --fsH2:      clamp(2rem, 5vw, 3.75rem);
  --fsH3:      clamp(1.3rem, 2.4vw, 1.85rem);
  --fsLede:    clamp(1.05rem, 1.6vw, 1.3rem);
  --fsEyebrow: 0.76rem;

  --easeOut: cubic-bezier(.16,1,.3,1);
  --easeInOut: cubic-bezier(.65,0,.35,1);
  --durFast: 0.3s;
  --dur: 0.6s;
  --durSlow: 1.1s;
}

/* Dark mode: dims the warm-white surfaces, leaves ink/accent colors untouched. */
html.darkMode{
  --paper:      #D9D3C5;
  --paperDim:  #C4BBA9;
  --sand:       #CFC3AE;
  --sageBg:    #C6CCBD;
  --surface:    #E8E3D6;
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fontBody);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color var(--durSlow) var(--easeInOut);
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
input, textarea, select{
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--lineLight);
  border-radius: var(--radiusSm);
  padding: 0.85rem 1.1rem;
  transition: border-color var(--durFast) var(--easeOut), box-shadow var(--durFast) var(--easeOut);
}
input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(126,154,128,0.16);
}
h1,h2,h3,h4,p,figure,blockquote,dl,dt,dd{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
svg{ display: block; }

/* Bigger, obvious focus ring for keyboard users — never suppressed. */
:focus-visible{
  outline: 3px solid var(--accentDeep);
  outline-offset: 3px;
}

.visuallyHidden{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skipLink{
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--accentDeep);
  color: var(--accentInk);
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radiusSm);
  transition: top var(--durFast) var(--easeOut);
}
.skipLink:focus{ top: 1rem; }

/* ── Layout helpers ───────────────────────────────────────────────────── */
.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section{
  position: relative;
  padding-block: clamp(72px, 11vw, 168px);
  background: var(--bg);
  color: var(--fg);
  transition: background-color var(--durSlow) var(--easeInOut);
}
.section[data-theme="light"]{ --bg: var(--paper); --fg: var(--ink); --muted: rgba(62,56,51,0.62); --line: var(--lineLight); }
.section[data-theme="dark"]{ --bg: var(--sageBg); --fg: var(--ink); --muted: rgba(62,56,51,0.62); --line: var(--lineDark); }

.sectionHead{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.sectionEyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fsEyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accentDeep);
}
.sectionEyebrow::before{
  content: '';
  width: 2em; height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: inline-block;
}
.sectionTitle{
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: var(--fsH2);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-top: 0.45em;
  max-width: 16ch;
}
.sectionLede{
  font-size: var(--fsLede);
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn{
  --btnBg: var(--surface);
  --btnFg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 1.9rem;
  border-radius: var(--radiusFull);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--btnBg);
  color: var(--btnFg);
  white-space: nowrap;
  isolation: isolate;
  box-shadow: var(--shadowSm);
  transition: transform var(--durFast) var(--easeOut), box-shadow var(--durFast) var(--easeOut), background-color var(--durFast) var(--easeOut);
}
.btn:hover{ box-shadow: var(--shadow); transform: translateY(-2px); }
.btn:active{ transform: translateY(0) scale(0.98); }
.btn.accent{ --btnBg: var(--accentDeep); --btnFg: var(--accentInk); }
.btn.ghost{
  --btnBg: transparent;
  --btnFg: var(--fg);
  box-shadow: none;
  border: 1.5px solid var(--line);
}
.btn.ghost:hover{ border-color: var(--accentDeep); background: rgba(126,154,128,0.08); }
.btn.large{ padding: 1.4rem 2.6rem; font-size: 1.05rem; }
.btnIcon{ transition: transform var(--durFast) var(--easeOut); }
.btn:hover .btnIcon{ transform: translate(3px,-3px); }

/* ── Scroll progress bar ──────────────────────────────────────────────── */
.progressBar{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.progressBarFill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--rose));
  transform-origin: left;
}

/* ── Header / Nav ─────────────────────────────────────────────────────── */
.siteHeader{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  padding-block: clamp(14px, 2.4vw, 26px);
  background: transparent;
  transition: background-color var(--dur) var(--easeOut), backdrop-filter var(--dur) var(--easeOut), padding var(--dur) var(--easeOut), box-shadow var(--dur) var(--easeOut);
}
.siteHeader.isScrolled{
  background: rgba(62,56,51,0.68);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadowSm);
  padding-block: 12px;
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.navLogo{
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: 0.01em;
  color: var(--paper);
  transition: color var(--durFast) var(--easeOut);
}
.navLogo em{ font-style: italic; color: var(--rose); }
.navLinks{
  display: none;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.4rem);
}
.navLink{
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--paper);
  padding-block: 0.3rem;
}
.navLink::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--rose);
  transition: right var(--durFast) var(--easeOut);
}
.navLink:hover::after, .navLink:focus-visible::after{ right: 0; }
.navToggle{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  color: var(--paper);
  transition: color var(--durFast) var(--easeOut);
}
.navToggleBar{
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--durFast) var(--easeOut), opacity var(--durFast) var(--easeOut);
}
.navToggle[aria-expanded="true"]{ color: var(--ink); }
.navToggle[aria-expanded="true"] .navToggleBar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.navToggle[aria-expanded="true"] .navToggleBar:nth-child(2){ opacity: 0; }
.navToggle[aria-expanded="true"] .navToggleBar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

body:has(.mobileNav.isOpen) .navLogo{ color: var(--ink); }

.mobileNav{
  position: fixed;
  inset: 0;
  z-index: 140;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform var(--durSlow) var(--easeInOut);
}
.mobileNav.isOpen{ transform: translateY(0); }
.mobileNavList{ display: flex; flex-direction: column; gap: 0.4rem; }
.mobileNavLink{
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  color: var(--ink);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--easeOut), transform var(--dur) var(--easeOut), color var(--durFast) var(--easeOut);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.mobileNav.isOpen .mobileNavLink{ opacity: 1; transform: translateY(0); }
.mobileNavLink:hover{ color: var(--accentDeep); }
.mobileNavFooter{
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--inkSoft);
  font-size: 0.9rem;
}

.navActions{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.themeToggle{
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: color var(--durFast) var(--easeOut);
}
.themeToggleIcon{
  position: absolute;
  transition: opacity var(--durFast) var(--easeOut), transform var(--durFast) var(--easeOut);
}
.themeToggleIcon.sun{ opacity: 1; transform: rotate(0deg) scale(1); }
.themeToggleIcon.moon{ opacity: 0; transform: rotate(-90deg) scale(0.6); }
html.darkMode .themeToggleIcon.sun{ opacity: 0; transform: rotate(90deg) scale(0.6); }
html.darkMode .themeToggleIcon.moon{ opacity: 1; transform: rotate(0deg) scale(1); }
body:has(.mobileNav.isOpen) .themeToggle{ color: var(--ink); }

@media (min-width: 900px){
  .navLinks{ display: flex; }
  .navToggle{ display: none; }
}

/* ── Reveal / stagger utility ─────────────────────────────────────────── */
/* Hidden-until-revealed only applies once JS confirms it can restore the
   content (html.js, set synchronously in <head>). Without JS, .reveal
   elements are plain, fully visible content — never trapped at opacity:0. */
.js .reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--durSlow) var(--easeOut), transform var(--durSlow) var(--easeOut);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.inView{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .js .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand), var(--sageBg));
}
.heroMedia{
  position: absolute;
  inset: -6% -6%;
  z-index: 0;
}
.heroMedia img{
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.heroScrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(48,43,38,0.90) 0%, rgba(48,43,38,0.28) 46%, rgba(48,43,38,0.42) 100%),
    linear-gradient(to right, rgba(48,43,38,0.4), transparent 60%);
  z-index: 1;
}

.heroMarquee{
  position: relative;
  z-index: 2;
  padding-top: clamp(96px, 22vh, 220px);
  overflow: hidden;
}
.marquee{
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4% 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4% 96%, transparent);
}
.marqueeTrack{
  display: flex;
  width: max-content;
  animation: marquee-left 52s linear infinite;
}
.marqueeTrack.reverse{ animation-name: marquee-right; }
.marqueeTrack:hover{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .marqueeTrack{ animation-play-state: paused; }
}
@keyframes marquee-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes marquee-right{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }

.heroWord{
  font-family: var(--fontDisplay);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fsMarquee);
  line-height: 0.98;
  padding-inline: 0.3em;
  color: rgba(250,246,239,0.22);
  white-space: nowrap;
}
.heroWord.solid{
  color: rgba(250,246,239,0.92);
}
.heroWord.accent{
  color: var(--rose);
}

.heroContent{
  position: relative;
  z-index: 2;
  padding: clamp(28px, 6vw, 64px) var(--gutter) clamp(56px, 8vw, 96px);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}
.heroTitle{
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: var(--fsHero);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 15ch;
  color: var(--paper);
}
.heroTitle span{
  display: block;
}
.heroTitle span > em{
  font-style: italic;
  display: inline-block;
  color: var(--rose);
}
.heroRow{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0.6rem 1.2rem;
}
.heroByline{
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.heroByline.muted{ color: rgba(250,246,239,0.68); font-weight: 400; }

.heroScrollCue{
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}
.heroScrollCue::after{
  content: '';
  width: 1px; height: 34px;
  background: linear-gradient(var(--paper), transparent);
  animation: cue-drop 2.4s var(--easeInOut) infinite;
}
@keyframes cue-drop{
  0%{ transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .heroScrollCue::after{ animation: none; }
}

/* ==========================================================================
   FEATURED PROJECTS — horizontal scroll
   ========================================================================== */
.featured{ background: var(--bg); }
.featuredPin{
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(72px, 10vw, 120px);
}
.featuredHead{ padding-inline: var(--gutter); }
.featuredTrack{
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: max-content;
}
.featuredCard{
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 62vw, 460px);
  scroll-snap-align: start;
}
.featuredCardMedia{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paperDim);
  box-shadow: var(--shadow);
}
.featuredCardMedia img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--durSlow) var(--easeOut);
}
.featuredCard:hover .featuredCardMedia img{ transform: scale(1.045); }
.featuredCardBody{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1.1rem;
}
.featuredCardTitle{
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.1;
}
.featuredCardTag{
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 0.45em;
}

/* ==========================================================================
   SELECTED WORK — drag gallery
   ========================================================================== */
.galleryHead{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.galleryControls{ display: flex; gap: 0.75rem; }
.galleryBtn{
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadowSm);
  transition: background var(--durFast) var(--easeOut), border-color var(--durFast) var(--easeOut), transform var(--durFast) var(--easeOut), color var(--durFast) var(--easeOut);
}
.galleryBtn:hover{ background: var(--accentDeep); color: var(--accentInk); border-color: var(--accentDeep); transform: translateY(-2px); }
.galleryBtn:disabled{ opacity: 0.3; pointer-events: none; }

.galleryViewport,
.featuredViewport{
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  padding-block: 6px;
}
.galleryViewport::-webkit-scrollbar,
.featuredViewport::-webkit-scrollbar{ display: none; }
.galleryViewport.isDragging,
.featuredViewport.isDragging{ cursor: grabbing; scroll-snap-type: none; }
.galleryTrack{
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  width: max-content;
}
.galleryItm{
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 34vw, 340px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--paperDim);
  box-shadow: var(--shadowSm);
  transition: box-shadow var(--dur) var(--easeOut);
}
.galleryItm:hover{ box-shadow: var(--shadow); }
.galleryItm:nth-child(3n+2){ width: clamp(240px, 40vw, 400px); aspect-ratio: 1/1; }
.galleryItm img{
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform var(--durSlow) var(--easeOut), filter var(--durSlow) var(--easeOut);
}
.galleryItm:hover img{ transform: scale(1.04); }
.galleryCaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(44,39,34,0.66), transparent);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--durFast) var(--easeOut), transform var(--durFast) var(--easeOut);
}
.galleryItm:hover .galleryCaption,
.galleryItm:focus-within .galleryCaption{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   CATEGORIES — photo grid
   ========================================================================== */
.categoriesGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
}
.categoryCard{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--paperDim);
  box-shadow: var(--shadowSm);
  transition: box-shadow var(--dur) var(--easeOut);
}
.categoryCard:hover{ box-shadow: var(--shadow); }
.categoryCardMedia{ display: block; width: 100%; height: 100%; }
.categoryCardMedia img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--durSlow) var(--easeOut);
}
.categoryCard:hover .categoryCardMedia img{ transform: scale(1.045); }
.categoryCardCaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(44,39,34,0.66), transparent);
  color: #fff;
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  letter-spacing: 0.005em;
}

@media (min-width: 700px){
  .categoriesGrid{ grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.aboutGrid{
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.aboutMedia{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.aboutMedia img{ width: 100%; height: 100%; object-fit: cover; }
.aboutMediaTag{
  position: absolute;
  bottom: 1.4rem; left: 1.4rem;
  background: var(--accentDeep);
  color: var(--accentInk);
  padding: 0.6em 1.1em;
  border-radius: var(--radiusFull);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: var(--shadowSm);
}
.aboutCaption{
  font-size: var(--fsLede);
  color: var(--muted);
  max-width: 48ch;
}

@media (min-width: 900px){
  .aboutGrid{ grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .aboutMedia{ position: sticky; top: 110px; }
}

/* ==========================================================================
   BEHIND THE LENS — parallax photo grid
   ========================================================================== */
.process{ overflow: clip; }
.processGallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
}
.processGalleryItm{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadowSm);
  will-change: transform;
}
.processGalleryItm:nth-child(2){ margin-top: clamp(1.5rem, 6vw, 3.5rem); }
.processGalleryItm:nth-child(3){ margin-top: clamp(-1.5rem, -3vw, -1rem); }
.processGalleryItm img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

@media (min-width: 900px){
  .processGallery{ grid-template-columns: repeat(4, 1fr); }
  .processGalleryItm:nth-child(2),
  .processGalleryItm:nth-child(3){ margin-top: clamp(1.5rem, 4vw, 2.5rem); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.siteFooter{
  background: var(--sand);
  color: var(--ink);
  padding-block: clamp(56px, 8vw, 96px) clamp(24px, 3vw, 40px);
}
.footerTop{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 3rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--lineLight);
}
.footerBrand{
  font-family: var(--fontDisplay);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}
.footerBrand em{ font-style: italic; color: var(--roseDeep); }
.footerContact{
  display: flex;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--inkSoft);
}
.footerBottom{
  padding-top: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--inkSoft);
}
.footerSocial{ display: flex; gap: 1rem; }
.footerSocial a{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--lineLight);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--durFast) ease, transform var(--durFast) ease, border-color var(--durFast) ease, color var(--durFast) ease;
}
.footerSocial a:hover{ background: var(--accentDeep); color: var(--accentInk); border-color: var(--accentDeep); transform: translateY(-3px); }
.backToTop{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--inkSoft);
  transition: color var(--durFast) var(--easeOut);
}
.backToTop:hover{ color: var(--accentDeep); }


/* ==========================================================================
   ZOOM TRIGGER — small "view full size" icon on every photo
   ========================================================================== */
.zoomBtn{
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(30,26,22,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--durFast) var(--easeOut), transform var(--durFast) var(--easeOut), background-color var(--durFast) var(--easeOut);
}
.zoomBtn svg{ width: 17px; height: 17px; }
.zoomBtn:hover, .zoomBtn:focus-visible{
  background: var(--accentDeep);
  transform: scale(1.1);
}
.zoomBtn:active{ transform: scale(0.86); }

.featuredCardMedia:hover .zoomBtn,
.galleryItm:hover .zoomBtn,
.categoryCard:hover .zoomBtn,
.aboutMedia:hover .zoomBtn,
.processGalleryItm:hover .zoomBtn,
.zoomBtn:focus-visible{
  opacity: 1;
  transform: scale(1);
}

/* No hover on touch devices — keep the affordance faintly visible instead. */
@media (hover: none){
  .zoomBtn{ opacity: 0.82; transform: scale(0.92); }
}
@media (prefers-reduced-motion: reduce){
  .zoomBtn{ transition: opacity var(--durFast) linear; }
}

/* ==========================================================================
   LIGHTBOX — full-size photo view
   ========================================================================== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(20,17,15,0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--durFast) var(--easeOut), visibility 0s linear var(--durFast);
}
.lightbox.isOpen{
  opacity: 1;
  visibility: visible;
  transition: opacity var(--durFast) var(--easeOut), visibility 0s;
}
.lightboxFigure{
  position: relative;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transform: scale(0.92);
  transition: transform var(--durFast) var(--easeOut);
}
.lightbox.isOpen .lightboxFigure{ transform: scale(1); }
.lightboxImg{
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radiusSm);
  box-shadow: var(--shadowLg);
}
.lightboxCaption{
  color: rgba(250,246,239,0.82);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 60ch;
}
.lightboxCaption:empty{ display: none; }
.lightboxClose{
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  transition: background-color var(--durFast) var(--easeOut), transform var(--durFast) var(--easeOut);
}
.lightboxClose:hover{ background: rgba(255,255,255,0.24); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce){
  .lightbox, .lightboxFigure{ transition: opacity var(--durFast) linear; }
}

/* ==========================================================================
   MISC / RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 899px){
  .heroTitle{ max-width: 12ch; }
}

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