/* ============================================================
   musasayyed.com - executive personal site
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #FFFFFF;
  --bg-2:      #F5F5F7;
  --bg-3:      #E8E8ED;
  --gold:      #9D6E00;
  --gold-lt:   #7A5500;
  --gold-dim:  #5C3F00;
  --white:     #1D1D1F;
  --gray:      #6E6E73;
  --gray-dim:  #86868B;
  --border:    rgba(0,0,0,0.10);

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1120px;
  --nav-h: 68px;
  --section-pad: 120px;
  --radius: 12px;

  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 48px;
}

/* ---------- Navigation ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid var(--border);
}

#nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 16px rgba(0,0,0,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.nav-links .nav-cta {
  color: #FFFFFF;
  background: #C98A00;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-links .nav-cta:hover {
  background: #A37000;
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 72% 38%, rgba(201,138,0,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 20% 72%, rgba(201,138,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 72px) 40px 36px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s ease forwards;
}

.hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-sub {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(29, 29, 31, 0.5);
  max-width: 560px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.72s ease forwards;
}

.hero-desc {
  max-width: 680px;
  font-size: 1rem;
  color: rgba(29, 29, 31, 0.58);
  margin-bottom: 40px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s 0.82s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.95s ease forwards;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--white);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: #000000;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid rgba(0,0,0,0.18);
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition);
}

.btn-ghost:hover {
  border-color: var(--gray);
  color: var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 72px;
  color: var(--gold);
  opacity: 0;
  animation: fadeIn 1s 1.5s ease forwards;
  transition: transform var(--transition), opacity var(--transition);
}

.hero-scroll-hint:hover {
  transform: translateX(-50%) translateY(2px);
  opacity: 0.8;
}

.scroll-arrow {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 56px;
}

.scroll-stem {
  width: 2px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(157,110,0,0.2), rgba(157,110,0,0.85));
  border-radius: 999px;
  animation: scrollStem 1.9s ease-in-out infinite;
}

.scroll-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  animation: scrollChevron 1.9s ease-in-out infinite;
}

/* ---------- Stats Bar ---------- */
.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  text-align: center;
  min-height: 140px;
  flex: 1 1 220px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: auto;
  min-height: 96px;
  background: var(--border);
}

/* ---------- About ---------- */
#about {
  padding: 88px 0 var(--section-pad);
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  color: rgba(29, 29, 31, 0.7);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-text a {
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(122, 85, 0, 0.3);
  transition: border-color var(--transition);
}

.about-text a:hover { border-color: var(--gold-lt); }

.about-links {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.text-link:hover { color: var(--white); }

#stats {
  margin-top: 56px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 12px;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.about-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  display: block;
  margin-bottom: 4px;
}

.aside-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.aside-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.aside-card p {
  font-size: 0.875rem;
  color: rgba(29, 29, 31, 0.72);
  line-height: 1.6;
}

/* ---------- Focus / Expertise ---------- */
#focus {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}


.focus-intro {
  max-width: 760px;
  margin: -20px 0 36px;
  font-size: 0.98rem;
  color: rgba(29, 29, 31, 0.68);
  line-height: 1.75;
}

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

.focus-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.focus-card:hover,
.focus-card.is-open {
  border-color: rgba(157,110,0,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}

.focus-card-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 28px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.focus-card-head {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 18px;
}

.focus-title-wrap {
  min-width: 0;
}

.focus-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.focus-icon svg { width: 100%; height: 100%; }

.focus-card-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.focus-card-plus {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
}

.focus-card-plus::before,
.focus-card-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}

.focus-card-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.focus-card.is-open .focus-card-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.focus-card-body {
  padding: 0 28px 28px 86px;
}

.focus-card-body p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Technical Background ---------- */
.tech-depth {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.tech-depth-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tech-depth-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 14px;
}

.tech-depth-intro {
  font-size: 1rem;
  color: rgba(29,29,31,0.72);
  line-height: 1.8;
  max-width: 860px;
}

.tech-depth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.tech-depth-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}

.tech-depth-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 8px;
}

.tech-depth-item p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

/* ---------- How I Work ---------- */
#how-i-work {
  padding: var(--section-pad) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.hiw-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 48px;
}

.hiw-figure {
  margin: 0;
}

.hiw-figure img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,0.10);
  border: 1px solid var(--border);
}

.hiw-img-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hiw-img-btn img { transition: opacity 0.25s ease; }
.hiw-img-btn:hover img { opacity: 0.88; }

.hiw-figure figcaption {
  text-align: center;
  margin-top: 20px;
}

.hiw-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.hiw-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.hiw-link {
  display: inline;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(122,85,0,0.28);
  padding-bottom: 1px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color var(--transition), border-color var(--transition);
}

.hiw-link:hover {
  color: var(--white);
  border-color: var(--gray);
}

/* ---------- How I Work Modals ---------- */
.hiw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hiw-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.hiw-modal {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.hiw-modal-overlay.open .hiw-modal {
  transform: translateY(0);
}

.hiw-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}

.hiw-modal-close:hover { background: var(--bg-3); }

.hiw-modal-close svg {
  width: 14px;
  height: 14px;
  color: var(--gray);
  display: block;
}

.hiw-modal-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hiw-modal h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}

.hiw-modal p {
  font-size: 0.95rem;
  color: rgba(29, 29, 31, 0.72);
  line-height: 1.78;
  margin-bottom: 16px;
}

.hiw-modal h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 8px;
  letter-spacing: 0.01em;
}


@media (max-width: 680px) {
  .tech-depth {
    padding: 24px 20px;
  }

  .tech-depth-grid {
    grid-template-columns: 1fr;
  }

  .tech-depth-intro {
    font-size: 0.95rem;
  }
}

@media (max-width: 680px) {
  .hiw-modal { padding: 32px 24px; }
}

/* ---------- Selected Work ---------- */
#work {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.work-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  border-color: rgba(157,110,0,0.32);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.09);
}

.work-card-inner {
  display: flex;
  flex-direction: column;
}

.work-card-media {
  aspect-ratio: 4/1;
  overflow: hidden;
  position: relative;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.04);
}

.work-card-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.work-index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.work-year {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-dim);
  letter-spacing: 0.04em;
}

.work-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  background: rgba(157,110,0,0.10);
  border: 1px solid rgba(157,110,0,0.28);
  border-radius: 4px;
  padding: 2px 8px;
}

.work-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 6px;
}

.work-studio {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.work-card p {
  font-size: 0.9rem;
  color: rgba(29,29,31,0.68);
  line-height: 1.72;
  margin-bottom: 20px;
  flex: 1;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.work-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}


.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(122,85,0,0.25);
  padding-bottom: 1px;
  width: fit-content;
  transition: color var(--transition), gap var(--transition), border-color var(--transition);
}

.work-link:hover {
  color: var(--white);
  gap: 10px;
  border-color: var(--gray);
}

/* ---------- Contact ---------- */
#contact {
  padding: var(--section-pad) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 { margin-bottom: 20px; }

.contact-sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.75;
}

.contact-form {
  text-align: left;
  margin-bottom: 32px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-form-field:last-of-type { margin-bottom: 0; }

.contact-form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: var(--gray-dim);
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: var(--gold);
}

.contact-form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-btn {
  margin-top: 8px;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-links a {
  color: var(--gray);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-links a:hover { color: var(--gold-lt); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--gray-dim);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --section-pad: 80px; }

  #hero {
    min-height: 74vh;
  }

  .hero-content {
    padding: calc(var(--nav-h) + 56px) 28px 28px;
  }
  .container { padding: 0 28px; }
  .nav-inner { padding: 0 28px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-portrait {
    aspect-ratio: 3 / 2;
    object-position: center 20%;
  }

  .about-aside { position: static; }

  .focus-grid { grid-template-columns: repeat(2, 1fr); }

  .focus-card-toggle { padding: 24px; }
  .focus-card-body { padding: 0 24px 24px 82px; }

  .work-card-content { padding: 28px 32px; }

  .stats-inner { gap: 0; }
  .stat { padding: 16px 28px; }
  .stat-divider { display: none; }
}

@media (max-width: 680px) {
  :root { --section-pad: 64px; }

  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  footer { padding: 24px 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; color: var(--white); }
  .nav-toggle { display: flex; }

  .focus-grid { grid-template-columns: 1fr; }

  .stats-inner {
    flex-direction: column;
  }

  .stat {
    width: 100%;
    min-height: 0;
    padding: 24px 18px;
  }

  .stat-divider {
    width: calc(100% - 24px);
    min-height: 1px;
    height: 1px;
  }

  .focus-card-toggle { padding: 22px 20px; }

  .focus-card-head {
    grid-template-columns: 36px 1fr 18px;
    gap: 14px;
  }

  .focus-icon {
    width: 36px;
    height: 36px;
  }

  .focus-card-body {
    padding: 0 20px 22px 20px;
  }

  .hero-scroll-hint {
    bottom: 24px;
  }

  .focus-intro {
    margin: -12px 0 28px;
    font-size: 0.92rem;
  }

  .work-card-content { padding: 24px; }
  .contact-form-row { grid-template-columns: 1fr; }

  .stats-inner { flex-direction: column; gap: 0; }
  .stat-divider { display: none; }
  .stat { width: 100%; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }

  .about-text p { font-size: 0.95rem; }
  .about-links { flex-direction: column; gap: 16px; }
  .aside-card { padding: 16px 18px; }
  .aside-card p { font-size: 0.85rem; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}


@keyframes scrollStem {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}

@keyframes scrollChevron {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}
