/* ============================================================
   SIDRATIVE — style.css
   Aesthetic: Dark Editorial — ink base, amber accent, serif display
   Author: Sidra Amjad
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #0D1117;
  color: #C8C3B8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS Variables ── */
:root {
  --ink:        #0D1117;
  --ink-2:      #1C2128;
  --ink-3:      #2D3540;
  --amber:      #E8A838;
  --amber-dim:  rgba(232,168,56,0.12);
  --amber-mid:  rgba(232,168,56,0.30);
  --text:       #F5F0E8;
  --text-mid:   #C8C3B8;
  --text-muted: #7A8490;
  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --green:      #3DB87A;
  --green-dim:  rgba(61,184,122,0.15);
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 32px rgba(0,0,0,0.35);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.25);
  --trans:      0.22s ease;
}

/* ── Container ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 480px)  { .container { padding: 0 28px; } }
@media (min-width: 1024px) { .container { padding: 0 52px; } }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Section shared ── */
.section { padding: 80px 0; }
@media (min-width: 768px)  { .section { padding: 100px 0; } }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.section-label--light { color: var(--amber); }

.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-heading em {
  font-style: italic;
  color: var(--amber);
}

.section-header { margin-bottom: 48px; }
@media (min-width: 768px) { .section-header { margin-bottom: 60px; } }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--trans), color var(--trans),
              border-color var(--trans), transform var(--trans),
              box-shadow var(--trans);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn-lg { padding: 13px 26px; font-size: 0.92rem; }

.btn-primary {
  background: var(--amber);
  color: #0D1117;
  border-color: var(--amber);
  font-weight: 600;
}
.btn-primary:hover {
  background: #F0B847;
  border-color: #F0B847;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,168,56,0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border-mid);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #0D1117;
  border-color: #25D366;
  font-weight: 600;
}
.btn-whatsapp:hover {
  background: #1ebe59;
  border-color: #1ebe59;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.25);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), background var(--trans);
}
.navbar.scrolled {
  border-color: var(--border);
  background: rgba(13,17,23,0.96);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
@media (min-width: 768px) { .nav-container { height: 70px; } }

/* Logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo em { font-style: normal; color: var(--text-muted); font-weight: 400; }
.logo-dot { color: var(--amber); font-size: 1.6rem; line-height: 0.6; margin-left: 1px; }

/* Mobile nav drawer */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: #141A22;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), opacity 0.32s ease;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 13px 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.nav-link:last-child { border-bottom: none; }
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-link.nav-link--cta,
.nav-link.nav-link--cta.active,
.nav-link.nav-link--cta:hover {
  color: var(--amber);
}

.nav-link--cta:last-child {
  border-bottom: 1px solid var(--amber);
}

/* CTA nav link — mobile */
.nav-link--cta {
  margin-top: 14px;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  padding: 10px 18px;
  width: auto;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  display: inline-flex;
}
.nav-link--cta:hover { background: var(--amber-dim); color: var(--amber); }

@media (min-width: 768px) {
  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border-bottom: none;
    box-shadow: none;
    background: transparent;
    top: auto;
  }
  .nav-link {
    font-size: 0.84rem;
    padding: 0;
    width: auto;
    border-bottom: none;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    height: 1px; width: 0;
    background: var(--amber);
    border-radius: 1px;
    transition: width var(--trans);
  }
  .nav-link:hover::after, .nav-link.active::after { width: 100%; }
  .nav-link.active { color: var(--text); }

  .nav-link--cta {
    margin-top: 0;
    padding: 8px 18px;
    border: 1px solid var(--amber);
  }
  .nav-link--cta::after { display: none; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 38px; height: 38px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block;
  height: 1px; width: 100%;
  background: var(--text-mid);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 62px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding-top: 70px; } }

/* Signature element: giant S monogram */
.hero-monogram {
  position: absolute;
  top: -10%;
  right: -8%;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(280px, 42vw, 540px);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,168,56,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.hero-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 52px;
  padding-bottom: 52px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr 380px;
    gap: 60px;
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* Hero meta row */
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.70rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--green-dim);
  animation: pulse-dot 2.4s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px var(--green-dim); }
  50%       { box-shadow: 0 0 0 6px transparent; }
}
.hero-meta-sep { color: var(--border-mid); }

/* Name */
.hero-name {
  display: flex;
  flex-direction: column;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.hero-name-first {
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  color: var(--text);
}
.hero-name-last {
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
@media (min-width: 480px) {
  .hero-name-last { -webkit-text-stroke: 2px var(--text); }
}

/* Role descriptor */
.hero-descriptor {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-descriptor em {
  font-style: italic;
  color: var(--amber);
}

/* Tagline */
.hero-tagline {
  font-size: clamp(0.88rem, 2vw, 0.96rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero card */
.hero-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
@media (min-width: 480px) { .hero-card { padding: 28px 28px 24px; } }

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hero-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stack { display: flex; flex-direction: column; gap: 0; }
.stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}
.stack-item:last-child { border-bottom: none; }
.stack-icon { font-size: 1rem; color: var(--text-muted); width: 20px; text-align: center; flex-shrink: 0; }
.stack-name { font-size: 0.86rem; color: var(--text-mid); flex: 1; }
.stack-level {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.stack-level--pro  { background: var(--amber-dim); color: var(--amber); }
.stack-level--mid  { background: rgba(100,150,255,0.12); color: #6496FF; }
.stack-level--learn{ background: rgba(61,184,122,0.12); color: var(--green); }

.hero-card-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-card-degree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hero-card-degree i { color: var(--amber); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.scroll-cue-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: grow-line 2s ease infinite;
}
@keyframes grow-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
@media (max-width: 600px) { .scroll-cue { display: none; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--ink);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 300px 1fr; gap: 80px; }
}

.about-left .section-heading { margin-bottom: 28px; }

.about-avatar-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .about-avatar-wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.about-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 12px;
  background: var(--ink-2);
  border: 1px solid var(--border-mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .about-avatar { width: 100%; height: 200px; min-width: unset; border-radius: 14px; }
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.avatar-fallback {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--amber);
  display: none;
  align-items: center;
  justify-content: center;
}

.about-avatar-info { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 768px) { .about-avatar-info { flex-direction: row; flex-wrap: wrap; } }

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  white-space: nowrap;
}
.info-chip i { color: var(--amber); }

/* About text */
.about-right p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.85;
}
.about-right p:last-of-type { margin-bottom: 0; }

.about-stats {
  display: flex;
  gap: 0;
  margin: 36px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  text-align: center;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-section {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) { .skills-grid { gap: 14px; } }
@media (min-width: 600px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .skills-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.skill-card {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px 18px;
  text-align: left;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  cursor: default;
}
@media (min-width: 768px) { .skill-card { padding: 26px 22px 20px; } }
.skill-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.skill-icon-wrap {
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 14px;
  opacity: 0.85;
}
.skill-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.skill-detail {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.skill-card--learning {
  border-style: dashed;
  border-color: rgba(61,184,122,0.25);
}
.skill-card--learning .skill-icon-wrap { color: var(--green); }

.learning-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-section {
  background: var(--ink);
  border-top: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .projects-grid { gap: 20px; } }

.project-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-mid), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}
.project-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.project-card:hover::before { opacity: 1; }
@media (min-width: 768px) { .project-card { padding: 28px 26px 24px; } }

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.project-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--amber);
  letter-spacing: 0.05em;
}
.project-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: right;
}
.project-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  transition: gap var(--trans), opacity var(--trans);
  padding-top: 4px;
  width: fit-content;
}
.project-link:hover { gap: 10px; opacity: 0.8; }
.project-link i { font-size: 0.68rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-list { display: flex; flex-direction: column; }

.service-row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
  border-radius: var(--radius);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { background: rgba(255,255,255,0.02); }
@media (min-width: 600px) {
  .service-row {
    grid-template-columns: 40px 1fr 32px;
    gap: 24px;
    padding: 28px 8px;
  }
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--amber);
  letter-spacing: 0.05em;
  padding-top: 3px;
}
.service-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.94rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.service-icon-col {
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.45;
  padding-top: 3px;
  text-align: right;
}
.service-row:hover .service-icon-col { opacity: 0.8; color: var(--amber); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--ink);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 420px 1fr; gap: 80px; }
}

.contact-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.contact-heading em { font-style: italic; color: var(--amber); }
.contact-sub {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 360px;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 10px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  cursor: default;
}
a.contact-tile {
  cursor: pointer;
}
a.contact-tile:hover {
  border-color: var(--amber);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.contact-tile--whatsapp:hover { border-color: #25D366; }

.contact-tile-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ink-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--amber);
  flex-shrink: 0;
}
.contact-tile--whatsapp .contact-tile-icon { color: #25D366; }
.contact-tile--location .contact-tile-icon { color: var(--text-muted); }

.contact-tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.contact-tile-label {
  font-size: 0.70rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', monospace;
}
.contact-tile-value {
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-tile-arrow {
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--trans);
}
a.contact-tile:hover .contact-tile-arrow { color: var(--amber); }

.contact-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 999;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--text-mid);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--trans), color var(--trans);
}
@media (min-width: 768px) { .scroll-top { bottom: 32px; right: 32px; } }
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.scroll-top:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.footer-logo em { font-style: normal; color: var(--text-muted); }
.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
  order: 3;
  width: 100%;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-copy { order: 0; width: auto; text-align: left; }
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--amber); }