/* ============================================================
   Asli Dhemar — Film Portfolio
   Typeface: Ogg (licensed). Drop font files into assets/fonts/
   to activate; Playfair Display is the preview fallback.
   Palette from the Design Elements folder.
   ============================================================ */

/* ---- Ogg (add licensed files to assets/fonts/ to enable) ---- */
@font-face {
  font-family: "Ogg";
  src: url("assets/fonts/Ogg-Roman.woff2") format("woff2"),
       url("assets/fonts/Ogg-Roman.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Ogg";
  src: url("assets/fonts/Ogg-Italic.woff2") format("woff2"),
       url("assets/fonts/Ogg-Italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---- CS Barely (licensed — add files to assets/fonts/ to enable).
   Bodoni Moda renders as a close stand-in until the real files are added. ---- */
@font-face {
  font-family: "CS Barely";
  src: url("assets/fonts/CSBarely-Regular.woff2") format("woff2"),
       url("assets/fonts/CSBarely-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CS Barely";
  src: url("assets/fonts/CSBarely-Medium.woff2") format("woff2"),
       url("assets/fonts/CSBarely-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --darkred:   #48131f;   /* dark red — background for all text pages */
  --oxblood:   #2b0e12;
  --crimson:   #a11c28;
  --blue:      #3a6bf0;   /* cobalt frame (see Border.jpg) */
  --frame-red:   #4a1620; /* oxblood — see Red & Cream.jpg */
  --frame-cream: #dcd4c1; /* warm cream — see Red & Cream.jpg */
  --paper:     #e3dccb;
  --cream:     #f2ece0;   /* text on dark red */
  --muted:     rgba(242, 236, 224, 0.62);

  /* Ogg first; Playfair Display renders as a close stand-in until Ogg is added */
  --ogg: "Ogg", "Playfair Display", Georgia, "Times New Roman", serif;
  /* sharp, tall, lean serif for the name */
  --display: "Cormorant", "Playfair Display", Georgia, serif;

  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --nav-h: 4.75rem;

  /* ---- Blind emboss (debossed book-cloth type) ----
     Light from top-left: soft lighter-red highlight on the upper-left
     edge of each stroke, deep maroon shadow on the lower-right.
     No ink — letters are the same red as the surface, seen only in relief. */
  --emboss-hi:  rgba(150, 66, 82, 0.55);   /* lighter red highlight */
  --emboss-lo:  rgba(14, 3, 8, 0.80);      /* deep maroon shadow */
  --emboss-lo2: rgba(20, 5, 11, 0.45);     /* soft ambient contact shadow */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--darkred); }

body {
  font-family: var(--ogg);
  background: transparent;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Dark-red velvet texture (recreated procedurally) ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--darkred);
  background-image:
    radial-gradient(85% 65% at 26% 22%, rgba(126, 40, 58, 0.55), rgba(126, 40, 58, 0) 55%),
    radial-gradient(80% 70% at 74% 40%, rgba(104, 30, 46, 0.50), rgba(104, 30, 46, 0) 58%),
    radial-gradient(70% 60% at 60% 78%, rgba(92, 24, 40, 0.45), rgba(92, 24, 40, 0) 60%),
    radial-gradient(60% 55% at 15% 70%, rgba(58, 14, 26, 0.55), rgba(58, 14, 26, 0) 60%),
    radial-gradient(130% 120% at 50% 50%, rgba(30, 8, 14, 0) 42%, rgba(18, 5, 10, 0.72) 100%);
  background-blend-mode: screen, screen, screen, multiply, normal;
}
/* ---- Fine film grain over the velvet ---- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===================== NAV / HEADER ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-h);
  padding: 0 var(--pad);
  color: var(--cream);
}
.nav-links {
  display: flex;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: space-between;
}
.nav-links a {
  font-size: clamp(1.17rem, 1.75vw, 1.67rem);
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);  /* legible over the hero video */
  transition: border-color 0.2s, opacity 0.2s;
}
.nav-links a:hover {
  border-bottom-color: currentColor;
}

/* ===================== PAGE FRAME ===================== */
/* Every page fills the laptop screen (same size / aspect as page 1). */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* TEMP DEBUG — neon yellow outline around each page section. Remove later. */
.page {
  outline: 3px solid #ccff00;
  outline-offset: -3px;
}

.page-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3rem)) var(--pad) clamp(1.5rem, 4vh, 3rem);
}
.page-index {
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.65;
  margin-bottom: 0.75rem;
}
.page-title {
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

/* ===================== PAGE 1 — HERO (poster layout, see New border.jpg) ===================== */
.hero {
  display: block;
  overflow: hidden;
  background: #0b0b0b;
}
/* full-bleed video (no poster frame) */
.hero-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #0b0b0b;   /* fallback behind the video while it loads */
}
.hero-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 28%,
    rgba(0,0,0,0) 62%, rgba(0,0,0,0.35) 100%);
}
.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  color: var(--cream);
}
.hero-title {
  margin: 0;
  line-height: 0;
}
/* Script logotype set as live text (cream, transparent, centred) —
   half the footprint of the former full-width PNG logotype. */
.hero-title--script {
  position: relative;
  z-index: 1;                 /* sits above the stamp */
  font-family: "Pinyon Script", "Cormorant", cursive;
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  font-size: clamp(2.22rem, 10.2vw, 7.2rem);
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.5));
}
/* Monogram pressed in behind the name like a stamp on paper */
.hero-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(78px, 11vw, 168px);
  height: auto;
  z-index: 0;                 /* behind the script text, over the video */
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
/* Name set as the ASLI DHEMAR logotype (transparent PNG), tinted to cream */
.hero-logo {
  display: block;
  width: clamp(260px, 82vw, 1100px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.5));
}
.hero-tagline {
  margin: clamp(0.5rem, 1.4vh, 1rem) auto 0;
  max-width: 60ch;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(0.56rem, 0.85vw, 0.8rem);
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.9);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(0.75rem, 2vh, 1.4rem);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(0.56rem, 0.8vw, 0.76rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 236, 224, 0.72);
}

/* ===================== PAGE 2 — ABOUT ===================== */
.about {
  background: url("assets/paper-red.jpg") center / cover no-repeat;
}
/* extra fine paper grain */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.about .page-inner { position: relative; z-index: 1; }
/* Editorial spread (ref: about me newest layout.png) — full-width banner
   image on top; below it a centred faded portrait overlapped by the name,
   with small rotated text running up the left and right margins. */
.about--spread {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.about-banner {
  position: relative;
  z-index: 1;
  height: 46vh;
  min-height: 300px;
}
.about-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;              /* keep the top, crop from the bottom */
  display: block;
}
/* "About me" in the script face, centred on the banner/red seam */
.about-script {
  position: absolute;
  top: 46vh;                         /* the banner bottom edge */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  margin: 0;
  font-family: "Pinyon Script", "Cormorant", cursive;
  font-weight: 400;
  line-height: 1;
  font-size: clamp(2.6rem, 8vw, 6rem);
  color: var(--cream);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  white-space: nowrap;
}
.about-lower {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;                    /* fills the rest of the screen */
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.5rem, 9vh, 6rem) clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 4vh, 3rem);
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  width: 100%;
  max-width: 920px;
}
.about-col {
  font-size: clamp(0.85rem, 1.15vw, 1.02rem);
  line-height: 1.75;
  color: var(--cream);
  text-align: justify;
  hyphens: auto;
}
@media (max-width: 700px) {
  .about-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}
.about-portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  width: clamp(170px, 22vw, 300px);
  text-align: center;
}
.about-portrait-img {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;              /* cut-out — show the whole figure */
  display: block;
  opacity: 0.5;                     /* slightly faded, like the reference */
}
.about-name {
  position: relative;
  margin-top: -0.55em;              /* overlap the lower part of the portrait */
  font-family: var(--ogg);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
  white-space: nowrap;
}
.about-side {
  position: absolute;
  top: 50%;
  max-height: 74%;
  margin: 0;
  font-size: clamp(0.58rem, 0.85vw, 0.78rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.7;
}
.about-side--right {
  right: clamp(0.5rem, 2vw, 1.6rem);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  max-width: 46%;
  text-align: left;
}
.about-side--left {
  left: clamp(0.5rem, 2vw, 1.6rem);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
@media (max-width: 820px) {
  .about-banner { height: 38vh; }
  .about-side { display: none; }     /* margins too tight on phones */
  .about-portrait { width: clamp(160px, 44vw, 230px); }
}
.about .page-title {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--cream);
}
.about-body {
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
  max-width: none;
  display: grid;
  gap: 1.4rem;
}
.about-body p {
  font-size: clamp(0.72rem, 1.05vw, 0.95rem);
  line-height: 2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: justify;
  text-justify: inter-word;
  color: var(--cream);
}

/* ===================== MY WORK — one full page per film ===================== */
/* Each film is its own page on the same red paper surface + grain as the
   contact page, with a framed still and the title / role below it. */
.film {
  background: url("assets/paper-red.jpg") center / cover no-repeat;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.1rem, 3vh, 2rem);
  padding: calc(var(--nav-h) + clamp(1rem, 3vh, 2rem)) var(--pad) clamp(1.5rem, 4vh, 3rem);
  overflow: hidden;
}
.film::before {                 /* fine paper grain, matching .about / .contact */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
/* Collage per film (ref: Works.png): video top-left, small still top-right,
   large still across the bottom with the title/role overlaid. Red paper
   shows through the gaps as the frame. */
.film-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  height: min(80vh, 64vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.4fr;
  gap: clamp(5px, 0.7vw, 12px);
}
.film-cell {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #1a0a0e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.film-cell--video { grid-column: 1; grid-row: 1; }
.film-cell--small { grid-column: 2; grid-row: 1; }
.film-cell--large { grid-column: 1 / -1; grid-row: 2; }
.film-cell img,
.film-cell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(1.1rem, 3vw, 2.4rem);
  color: var(--cream);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0) 92%);
}
.film-index {
  font-style: italic;
  font-size: clamp(0.85rem, 1.2vw, 1.15rem);
  opacity: 0.82;
  margin-bottom: 0.45rem;
}
.film-title {
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ===================== PAGE 5 — CONTACT ===================== */
.contact,
.contact a { color: var(--cream); }
/* Same red paper surface + grain as the About page */
.contact {
  background: url("assets/paper-red.jpg") center / cover no-repeat;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.contact .page-inner { position: relative; z-index: 1; }
.contact-head {
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-top: 0.4rem;
}
.contact-grid {
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 2rem clamp(2rem, 6vw, 5rem);
  border-top: 1px solid rgba(242, 236, 224, 0.28);
  padding-top: 2.5rem;
}
.contact-label {
  font-style: italic;
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 0.9rem;
}
.contact-value {
  display: block;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  margin-bottom: 0.35rem;
  transition: opacity 0.2s;
}
a.contact-value:hover { opacity: 0.6; }
.contact-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
}
.social-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}
.contact-value.muted { opacity: 0.85; line-height: 1.45; }
.contact-bottom {
  margin-top: clamp(3rem, 8vh, 5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  border-top: 1px solid rgba(242, 236, 224, 0.28);
  padding-top: 1.4rem;
}
.contact-bottom a:hover { opacity: 0.6; }

/* ---- Business cards (front + back) laid on the red paper ---- */
.cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.8rem, 2vh, 1.4rem);
}
/* Contact holds only the cards now — pull the top padding in so it stays one screen */
.contact .page-inner {
  padding-top: calc(var(--nav-h) + clamp(0.75rem, 2vh, 1.5rem));
  padding-bottom: clamp(1rem, 3vh, 2rem);
}
.bizcard {
  position: relative;
  /* larger, more rectangular cards, still capped by height so both fit one screen */
  width: min(92vw, 590px, calc(38vh * 1.9));
  aspect-ratio: 1.9 / 1;
  border-radius: 5px;
  background: #2a1013;                 /* deep oxblood cardstock */
  color: var(--cream);
  overflow: hidden;
  padding: clamp(1.1rem, 3.4vw, 2rem) clamp(1.2rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--ogg);            /* same face as the nav / rest of the site */
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.45),
    0 2px 2px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* matte cardstock texture — fine tooth + soft cloudiness, like the reference */
.bizcard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.78;
  mix-blend-mode: soft-light;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='q'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23q)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 150px 150px, 520px 520px;
}
.bizcard > * { position: relative; z-index: 1; }

/* Front — "Contact" in the hero script */
.bizcard--front { justify-content: center; }
.bizcard-script {
  font-family: "Pinyon Script", "Cormorant", cursive;
  font-weight: 400;
  line-height: 1;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  color: var(--cream);
}

/* Back — cream cardstock with dark ink; name / role, logo, contact lines */
.bizcard--back {
  justify-content: center;
  gap: clamp(0.9rem, 2.6vh, 1.6rem);
  text-align: center;
  background: #dad0b8;                 /* cream cardstock (slightly deeper) */
  color: var(--oxblood);              /* dark ink */
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.4),
    0 2px 2px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.bizcard--back::before { opacity: 1; }   /* more paper tooth on the cream stock */
.bizcard-name {
  font-size: clamp(0.72rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}
.bizcard-role {
  margin-top: 0.55rem;
  font-size: clamp(0.56rem, 1.35vw, 0.76rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  opacity: 0.82;
}
.bizcard-logo {
  width: clamp(34px, 7vw, 58px);
  height: auto;
  opacity: 0.92;
}
.bizcard-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.32rem, 1vh, 0.55rem);
  font-size: clamp(0.62rem, 1.3vw, 0.84rem);
  letter-spacing: 0.04em;
}
.bizcard-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  transition: opacity 0.2s;
}
.bizcard-contact a:hover { opacity: 0.6; }

/* ===================== PROFESSIONAL CONTACT (alt page) ===================== */
.contact-pro .page-inner { max-width: 1200px; }
.contact-pro .contact-head { margin-bottom: clamp(2rem, 6vh, 4rem); }
.contact-pro .contact-grid { grid-template-columns: repeat(4, 1fr); }
.contact-pro .contact-note {
  margin-top: 1.75rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: rgba(242,236,224,0.9);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 820px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.78rem; }
  .contact-grid,
  .contact-pro .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page:not(.works) { min-height: auto; padding-top: 1rem; padding-bottom: 3rem; }
  .hero.page { min-height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
