/* ═══════════════════════════════════════════════
   CHLOE LOUISE ASTLEY — PORTFOLIO 2026
   Design System
   ═══════════════════════════════════════════════ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg:        #0a0a0b;
  --surface:   #111113;
  --surface-2: #16161a;
  --text:      #f0f0f0;
  --text-mid:  #8a8a90;
  --text-dim:  #555558;
  --accent:    #c8a97e;
  --accent-2:  #e8d5b7;
  --accent-dim: rgba(200,169,126,0.12);
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.14);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
blockquote { font-family:var(--serif); }

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

/* ─── LOADER ─── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader__name {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--text-mid);
  text-transform: uppercase;
  animation: loaderFade 1.5s var(--ease-out) both;
}

@keyframes loaderFade {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

.loader__bar {
  width: 180px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
  border-radius: 1px;
}

.loader__bar-fill {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderBar 1.8s var(--ease-out) 0.3s both;
}

@keyframes loaderBar {
  to { transform: scaleX(1); }
}

/* ─── SCROLL PROGRESS ─── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 10001;
  transition: width 0.05s linear;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: linear-gradient(to bottom, rgba(10,10,11,0.85) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.nav--scrolled {
  background: rgba(10,10,11,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}

.nav__logo-name { font-weight: 600; color: var(--text); }
.nav__logo-surname { font-weight: 300; color: var(--text-mid); font-style: italic; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover,
.nav__link--active { color: var(--text); }
.nav__link:hover::after,
.nav__link--active::after { width: 100%; }

.nav__link--cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--border-2);
  border-radius: 99px;
  transition: background 0.3s, border-color 0.3s;
}

.nav__link--cta::after { display:none; }
.nav__link--cta:hover { background: var(--accent-dim); border-color: var(--accent); }

.nav__cta-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: rgba(10,10,11,0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.nav__overlay.open { opacity:1; visibility:visible; }

.nav__overlay a {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--text-mid);
  transition: color 0.3s, transform 0.3s;
}

.nav__overlay a:hover { color: var(--accent); transform: translateX(8px); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200,169,126,0.25);
}

.btn--ghost {
  border: 1px solid var(--border-2);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 48px 0;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.5) contrast(1.1);
  transform: scale(1.08);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 45%),
    linear-gradient(to right, rgba(10,10,11,0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, transparent 0%, rgba(10,10,11,0.4) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
}

.hero__name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 300;
  line-height: 0.88;
  margin-bottom: 44px;
}

.hero__name-line { display: block; overflow: hidden; }

.hero__name-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero__name-word--light {
  color: var(--text-mid);
  font-style: italic;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 48px;
  opacity: 0;
}

.hero__meta-item { display:flex; flex-direction:column; gap:4px; }
.hero__meta-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__meta-value { font-size: 0.88rem; color: var(--text); }
.hero__meta-divider { width:1px; height:32px; background:var(--border-2); }

.hero__actions {
  display: flex;
  gap: 16px;
  opacity: 0;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 120px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.hero__scroll-text {
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity:1; transform:scaleY(1); }
  50% { opacity:0.3; transform:scaleY(0.6); }
}

.hero__filmstrip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.hero__filmstrip-track {
  display: flex;
  gap: 4px;
  animation: filmstrip 45s linear infinite;
}

.hero__filmstrip-track img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.6);
  transition: opacity 0.4s, filter 0.4s;
  flex-shrink: 0;
}

.hero__filmstrip-track img:hover { opacity:1; filter:saturate(1.1); }

@keyframes filmstrip {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── MARQUEE ─── */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.marquee__track {
  display: flex;
  gap: 32px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee__track span {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.marquee__track span:nth-child(even) {
  color: var(--accent);
  opacity: 0.35;
  font-style: normal;
  font-size: 0.7rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTIONS ─── */
.section {
  padding: 120px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

.section__header {
  margin-bottom: 72px;
  max-width: 640px;
}

.section__index {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.section__cta {
  margin-top: 56px;
  display: flex;
}

/* ─── FEATURED GRID ─── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.featured-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.featured-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.featured-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter 0.6s;
  filter: saturate(0.8);
}

.featured-card:hover .featured-card__media img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.featured-card__badge {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.featured-card:hover .featured-card__badge {
  opacity: 1;
  transform: scale(1);
}

.featured-card__badge svg { width:14px; height:14px; stroke:var(--text); }

.featured-card__info { padding: 22px; }

.featured-card__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.featured-card__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.featured-card__meta { font-size: 0.78rem; color: var(--text-dim); }

/* ─── ABOUT TEASER ─── */
.section--about-teaser {
  background: var(--surface);
  max-width: none;
}

.about-teaser__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-teaser__image-wrap {
  position: relative;
  overflow: hidden;
}

.about-teaser__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.85);
}

.about-teaser__content { padding-top: 16px; }

.about-teaser__bio p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-teaser__bio p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
}

.about-teaser__quote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 40px 0;
  line-height: 1.5;
}

/* ─── JOURNAL GRID ─── */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.journal-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.journal-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.journal-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.journal-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: saturate(0.8);
}

.journal-card:hover .journal-card__media img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.journal-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 14px;
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.journal-card__info { padding: 28px; }

.journal-card__date {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 10px;
}

.journal-card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
}

.journal-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 140px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
}

.cta-banner__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.3) saturate(0.6);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.cta-banner__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-banner__title em {
  font-style: italic;
  color: var(--accent);
}

.cta-banner__text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 48px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.footer__tagline { font-size: 0.72rem; color: var(--text-dim); }

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer__nav a:hover { color: var(--accent); }

.footer__social { display:flex; gap:12px; }

.social-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.social-btn svg { width:17px; height:17px; color:var(--text-mid); transition: color 0.3s; }

.social-btn:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
}

.social-btn:hover svg { color: var(--accent); }

.footer__copy {
  font-size: 0.68rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10003;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.open { opacity:1; visibility:visible; }

.lightbox__img-wrap { max-width: 90vw; max-height: 90vh; }

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
}

.lightbox.open .lightbox__img { transform: scale(1); opacity:1; }

.lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 1.4rem;
  color: var(--text-mid);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s, transform 0.3s;
}

.lightbox__close:hover { color: var(--text); transform: scale(1.1); }

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  position: relative;
  padding: 180px 48px 80px;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-header__bg {
  position: absolute;
  inset: 0;
}

.page-header__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.5);
}

.page-header__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}

.page-header__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-header__index {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.page-header__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 20px;
}

.page-header__subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── ABOUT PAGE ─── */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.about__image-col {
  position: sticky;
  top: 120px;
}

.about__main-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.85);
}

.about__accent-img-wrap {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 50%;
  border: 4px solid var(--bg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about__accent-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about__text-col p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about__text-col p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
}

.about__quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 40px 0;
  line-height: 1.5;
}

.about__skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 48px 0;
}

.about__skill {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}

.about__skill:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.about__skill-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.about__skill-value {
  font-size: 0.88rem;
  color: var(--text);
}

.about__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.about__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.8);
  transition: filter 0.4s, transform 0.4s var(--ease-out);
  cursor: pointer;
}

.about__gallery img:hover {
  filter: saturate(1.1);
  transform: scale(1.03);
}

/* ─── PORTFOLIO PAGE ─── */
.portfolio__filter {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio__filter-btn {
  padding: 10px 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.portfolio__filter-btn:hover {
  color: var(--text);
  border-color: var(--border-2);
}

.portfolio__filter-btn.active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio__card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s, opacity 0.4s;
}

.portfolio__card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.portfolio__card--hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.portfolio__card-media {
  position: relative;
  overflow: hidden;
}

.portfolio__card-media img {
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s;
  filter: saturate(0.85);
}

.portfolio__card:hover .portfolio__card-media img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.portfolio__card-media--tall { aspect-ratio: 3/4; }
.portfolio__card-media--wide { aspect-ratio: 16/9; }
.portfolio__card-media--square { aspect-ratio: 1; }

.portfolio__card-info { padding: 20px; }

.portfolio__card-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.portfolio__card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.portfolio__card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.6;
}

/* Video cards */
.portfolio__card--video {
  grid-column: span 2;
}

.portfolio__card--video .portfolio__card-media {
  aspect-ratio: 16/9;
  background: #000;
}

.portfolio__card--video .portfolio__card-media iframe {
  width: 100%; height: 100%;
  border: none;
}

.portfolio__card--video .portfolio__card-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ─── JOURNAL/BLOG PAGE ─── */
.journal-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.journal-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s;
}

.journal-post:hover { border-color: var(--border-2); }

.journal-post__media {
  overflow: hidden;
}

.journal-post__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.5s;
  filter: saturate(0.8);
}

.journal-post:hover .journal-post__media img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.journal-post__content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journal-post__date {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.journal-post__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 14px;
}

.journal-post__excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.journal-post__read {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.journal-post__read:hover { gap: 14px; }

/* ─── CONTACT PAGE ─── */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact__intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.contact__detail { display:flex; flex-direction:column; gap:4px; }
.contact__detail-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact__detail-value {
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.3s;
}

a.contact__detail-value:hover { color: var(--accent); }

.contact__social { display:flex; gap:12px; flex-wrap:wrap; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.social-link svg { width:16px; height:16px; }

/* ─── FORM ─── */
.form { display:flex; flex-direction:column; gap:24px; }

.form__group { display:flex; flex-direction:column; gap:8px; }

.form__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form__input,
.form__select,
.form__textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 14px 18px;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
}

.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-dim); }

.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a90' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__select option { background: var(--bg); color: var(--text); }

.form__textarea { resize: vertical; min-height: 140px; }

.form__status {
  font-size: 0.85rem;
  min-height: 20px;
  transition: opacity 0.3s;
}

.form__status.success { color: #4ade80; }
.form__status.error   { color: #f87171; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser__layout { grid-template-columns: 1fr; gap: 48px; }
  .about-teaser__image-wrap { max-width: 500px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__card--video { grid-column: span 2; }
  .about__layout { grid-template-columns: 1fr; gap: 48px; }
  .about__image-col { position: static; }
  .journal-grid { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; gap: 48px; }
  .journal-post { grid-template-columns: 1fr; }
  .journal-post__media { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav--scrolled { padding: 12px 24px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 100px 24px 0; }
  .hero__meta { flex-wrap: wrap; gap: 16px; }
  .hero__meta-divider { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll-indicator { display: none; }
  .hero__filmstrip-track img { width: 80px; height: 106px; }

  .section { padding: 80px 24px; }
  .page-header { padding: 140px 24px 60px; }
  .featured-grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__card--video { grid-column: span 1; }
  .journal-grid { grid-template-columns: 1fr; }
  .about__skills { grid-template-columns: 1fr; }
  .about__gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 100px 24px; }
  .footer { padding: 40px 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { flex-wrap: wrap; gap: 16px; }
  .contact__layout { grid-template-columns: 1fr; gap: 48px; }
  .journal-post { grid-template-columns: 1fr; }
  .journal-post__media { aspect-ratio: 16/9; }
}

@media (max-width: 480px) {
  .hero__name { font-size: clamp(2.5rem, 16vw, 4.5rem); }
  .featured-card__info { padding: 16px; }
  .section__title { font-size: 2rem; }
  .about__gallery { grid-template-columns: 1fr; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__filmstrip-track { animation: none; }
  .marquee__track { animation: none; }
  .hero__img { transform: scale(1); }
}
