/* ════════════════════════════════════════════════════════════════
   site.css — design-v4 "Solid & Craft" system for syedmaazsaif.com
   One file shared by the homepage and every standalone page.

   Identity: solid light surfaces, indigo/violet accent, Inter type,
   glossy 3D project artwork. Token NAMES are kept stable from v3 so
   every page inherits the new look without markup changes.
════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --accent:          #4F46E5;          /* indigo — links, key numbers, one CTA per view */
  --accent-rgb:      79, 70, 229;
  --accent-dk:       #4338CA;
  --accent-2:        #7C3AED;          /* violet — artwork / secondary accent */

  --bg-base:         #FBFBFD;          /* page background */
  --bg-base-rgb:     251, 251, 253;
  --bg-alt:          #F4F5FB;          /* alternating section bands */
  --surface:         #FFFFFF;          /* card surface */
  --surface-rgb:     255, 255, 255;
  --surface-raised:  #F7F8FD;          /* raised cards */
  --panel:           #312E81;          /* deep indigo panel (stat band, footer) */
  --border:          #E7E8F0;          /* hairlines everywhere */

  --text-primary:    #0B0B0F;          /* headings */
  --text-body:       #4A515E;          /* body paragraphs */
  --text-secondary:  #5C6675;          /* subordinate text, ledes */
  --text-tertiary:   #79808C;          /* muted meta — dates, captions, eyebrows */

  --font-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  'Inter', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

/* ── Reset & base ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

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

h1, h2, .serif {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

::selection { background: rgba(var(--accent-rgb), 0.18); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #D2D4E4; border-radius: 999px; border: 3px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), 0.5); }

/* ── Page chrome (backgrounds, progress) ───────────────────────── */
#dot-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(49, 46, 129, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000, transparent 75%);
}
#vignette { display: none; }
#grain { display: none; }
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 9991; pointer-events: none;
  transition: width 0.08s linear;
}
header, main, section, footer { position: relative; z-index: 2; }
header { z-index: 50; }
#mobile-menu { position: fixed; z-index: 60; }

.nav-blur {
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  background: rgba(var(--bg-base-rgb), 0.82);
  border-bottom: 1px solid var(--border);
}

/* ── Section header pattern (every section, every page) ───────── */
.sec-head { margin-bottom: 1.75rem; }
.sec-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.sec-title {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}
.sec-lede {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 56ch;
}
.section-label {
  display: block;
  font-family: var(--font-sans);
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  background: var(--accent);
  color: #fff;
  font-weight: 600; font-size: 0.9rem;
  border-radius: 10px; padding: 0.65rem 1.6rem;
  transition: background 0.2s, transform 0.2s; white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-weight: 600; font-size: 0.9rem;
  border-radius: 10px; padding: 0.65rem 1.6rem;
  transition: border-color 0.2s, color 0.2s; white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Cards (generic surfaces) ──────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
}
.card, .eng-card, .contact-card {
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover, .eng-card:hover, .contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -24px rgba(var(--accent-rgb), 0.45);
}
.eng-card, .contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.contact-card { padding: 1.25rem; text-align: center; display: block; }
.eng-card:hover, .contact-card:hover { transform: translateY(-3px); }
.eng-primary {
  background: var(--surface-raised);
  border-color: rgba(var(--accent-rgb), 0.4);
}

/* ── Tags: quiet chips ─────────────────────────────────────────── */
.tag {
  font-family: var(--font-sans);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  display: inline-block;
}
.tag-line {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-transform: uppercase;
  line-height: 2.1;
}
.tag-line .sep { color: var(--text-tertiary); padding: 0 0.45rem; }

/* ── Readout strip (ALL stats sitewide) ────────────────────────── */
.readout {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.readout-cell {
  flex: 1;
  padding: 1.5rem 1.5rem;
  border-left: 1px solid var(--border);
  min-width: 0;
}
.readout-cell:first-child { border-left: none; padding-left: 0; }
.readout-value {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.2;
  display: block;
}
.readout-label {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 0.55rem;
  display: block;
  line-height: 1.5;
}
@media (max-width: 639px) {
  .readout { display: grid; grid-template-columns: 1fr 1fr; }
  .readout-cell { padding: 1.1rem 1rem; }
  .readout-cell:first-child { padding-left: 1rem; }
  .readout-cell:nth-child(odd) { border-left: none; }
  .readout-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.availability-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-sans);
  background: #EEF0FE;
  border: 1px solid #DCDFFB;
  color: var(--accent-dk);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 0.45rem 1rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.availability-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
  animation: pulse-dot 2.6s ease-in-out infinite;
  flex-shrink: 0;
}
.availability-pill .sep { color: var(--text-tertiary); margin: 0 0.15rem; }

.hero-tagline {
  border-left: 3px solid var(--accent);
  padding: 0.15rem 0 0.15rem 1rem;
  margin: 1.5rem 0 1.75rem;
  color: var(--text-primary);
  font-size: 1.02rem; line-height: 1.6;
  font-family: var(--font-sans);
  font-weight: 500;
}
.hero-tagline span { display: block; }

.headshot-wrap { position: relative; display: inline-block; }
.headshot-glow {
  position: absolute; inset: -22px; border-radius: 9999px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16) 0%, transparent 70%);
  filter: blur(22px); pointer-events: none;
}
.headshot-img {
  position: relative; border-radius: 16px;
  object-fit: cover; object-position: top center;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -28px rgba(49, 46, 129, 0.5);
  display: block;
}

/* hero globe removed in v4 — keep selector harmless if referenced */
#hero-globe-wrap { display: none; }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
  60%      { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); }
}
.pulse-dot { animation: pulse-dot 2.6s ease-in-out infinite; }

/* ── Hero load sequence ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu-1 { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
.fu-2 { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both; }
.fu-3 { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.27s both; }
.fu-4 { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both; }

/* ── Scroll reveal (one per section) ───────────────────────────── */
.fade-s {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-s.in-view { opacity: 1; transform: none; }

/* ── Merged services section ("What I do") ─────────────────────── */
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2.75rem;
  align-items: start;
}
.svc-intro { position: sticky; top: 6rem; }
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.svc-row:last-child { border-bottom: 1px solid var(--border); }
.svc-row h3 { color: var(--text-primary); font-size: 1.05rem; margin-bottom: 0.5rem; }
.svc-num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.svc-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.svc-skills {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  line-height: 2.1;
}
.svc-skills li { padding-left: 1.1rem; position: relative; }
.svc-skills li::before {
  content: "";
  position: absolute; left: 0; top: 0.85em;
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--accent);
}
@media (max-width: 1023px) {
  .svc-layout { grid-template-columns: 1fr; gap: 2rem; }
  .svc-intro { position: static; }
}
@media (max-width: 639px) {
  .svc-row { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── The Loop (process) ────────────────────────────────────────── */
.loop-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2.75rem;
  align-items: start;
}
.loop-step {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
}
.loop-step:last-child { border-bottom: 1px solid var(--border); }
.loop-marker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.25rem;
}
.loop-step h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 0.4rem; }
.loop-step p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
@media (max-width: 1023px) {
  .loop-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 479px) {
  .loop-step { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ── Selected work: alternating full-width rows ────────────────── */
.work-list { display: flex; flex-direction: column; }
.work-row {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
}
.work-row:last-child { border-bottom: 1px solid var(--border); }
.work-row:nth-child(even) { flex-direction: row-reverse; }
.work-art-col { flex: 2.3 1 0; min-width: 0; }
.work-body { flex: 5 1 0; min-width: 0; }
.work-company {
  font-family: var(--font-sans);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.work-role {
  font-family: var(--font-sans);
  color: var(--text-tertiary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-primary);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0.9rem 0 0.8rem;
}
.work-hook { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.work-metric {
  display: flex; align-items: baseline; gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem; margin-bottom: 1.25rem;
}
.work-metric-value {
  font-family: var(--font-sans);
  color: var(--accent);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.work-metric-label {
  font-family: var(--font-sans);
  color: var(--text-tertiary);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}
.work-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
}
.work-link:hover { color: var(--accent-dk); border-color: var(--accent); }
@media (max-width: 767px) {
  .work-row, .work-row:nth-child(even) { flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.75rem 0; }
}

/* ── Project artwork mount (3D SVG, light panel) ───────────────── */
.section-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #EDEEFB;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -30px rgba(49, 46, 129, 0.4);
}
.section-art > img.art-fallback,
.section-art > canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.section-art > canvas { opacity: 0; transition: opacity 0.6s ease; }
.section-art.art-live > canvas { opacity: 1; }
.section-art.art-live > img.art-fallback { opacity: 0; transition: opacity 0.6s ease; }
.section-art--hero { aspect-ratio: 24 / 7; margin-bottom: 2.5rem; }
@media (max-width: 639px) {
  .section-art--hero { aspect-ratio: 16 / 10; }
}

/* ── Experience timeline ───────────────────────────────────────── */
.timeline-line {
  background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.45), transparent);
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-item details > summary { list-style: none; cursor: pointer; }
.faq-item details > summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform 0.25s ease; color: var(--accent); }
.faq-item details[open] .faq-icon { transform: rotate(45deg); }

/* ── Mobile nav overlay ────────────────────────────────────────── */
#mobile-menu {
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
#mobile-menu.open { opacity: 1; visibility: visible; }

/* ── Mute toggle (kept for standalone pages still referencing it) ─ */
.mute-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.mute-toggle:hover { border-color: var(--accent); color: var(--accent); }
.mute-toggle[aria-pressed="false"] { color: var(--text-tertiary); }
.mute-toggle .icon-on, .mute-toggle .icon-off { width: 15px; height: 15px; }
.mute-toggle[aria-pressed="true"] .icon-off { display: none; }
.mute-toggle[aria-pressed="false"] .icon-on { display: none; }

/* ── Case-study pages ──────────────────────────────────────────── */
.cs-label {
  display: inline-block;
  font-family: var(--font-sans);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.cs-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}
.cs-subtitle { color: var(--text-body); font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.75rem; }
.cs-stats { margin: 1.75rem 0 2.25rem; }
.cs-block { margin-bottom: 1.5rem; }
.cs-block-label {
  font-family: var(--font-sans);
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.cs-block h4 { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 0.6rem; }
.cs-block p { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; }
.cs-divider { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.cs-impact-list { display: flex; flex-direction: column; gap: 0.55rem; }
.cs-impact-list li { display: flex; gap: 0.55rem; color: var(--text-body); font-size: 0.95rem; line-height: 1.65; }
.cs-impact-list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.62rem;
}

/* ── Blog ──────────────────────────────────────────────────────── */
.post-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(var(--accent-rgb), 0.45);
}
.post-card-meta, .post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.post-card-tag, .post-meta-tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-card-date, .post-meta-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-tertiary);
}
.post-card-title {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.post-card-hook { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1rem; }
.post-card-read {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-card:hover .post-card-read { color: var(--accent-dk); }
.post-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-refs { color: var(--text-tertiary); font-size: 0.82rem; }

/* ════════════════════════════════════════════════════════════════
   Utility layer — the exact subset of utilities the markup uses.
   Breakpoints: sm 640px · md 768px · lg 1024px
════════════════════════════════════════════════════════════════ */
.fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; }
.inset-0 { inset: 0; }
.top-0 { top: 0; } .left-0 { left: 0; } .right-0 { right: 0; }
.top-3 { top: 0.75rem; } .bottom-3 { bottom: 0.75rem; } .top-5 { top: 1.25rem; } .right-6 { right: 1.5rem; }
.z-10 { z-index: 10; }

.flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; } .hidden { display: none; }
.flex-col { flex-direction: column; } .flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; } .flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; }

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

.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; }
.gap-7 { gap: 1.75rem; } .gap-8 { gap: 2rem; } .gap-12 { gap: 3rem; } .gap-16 { gap: 4rem; }
.gap-x-10 { column-gap: 2.5rem; } .gap-y-6 { row-gap: 1.5rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

.p-1 { padding: 0.25rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-11 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.py-20 { padding-top: 3.25rem; padding-bottom: 3.25rem; }
.py-24 { padding-top: 3.75rem; padding-bottom: 3.75rem; }
.pt-4 { padding-top: 1rem; } .pt-5 { padding-top: 1.25rem; }
.pl-10 { padding-left: 2.5rem; }

.mb-0\.5 { margin-bottom: 0.125rem; } .mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; } .mb-14 { margin-bottom: 3.5rem; }
.mt-0\.5 { margin-top: 0.125rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.max-w-md { max-width: 28rem; } .max-w-xl { max-width: 36rem; } .max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; } .max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; } .max-w-6xl { max-width: 72rem; }
.max-w-\[480px\] { max-width: 480px; }
.w-full { width: 100%; } .w-px { width: 1px; }
.w-2\.5 { width: 0.625rem; } .h-2\.5 { height: 0.625rem; }
.w-52 { width: 13rem; } .h-52 { height: 13rem; }

.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1.5; }
.text-sm { font-size: 0.875rem; line-height: 1.6; }
.text-2xl { font-size: 1.5rem; line-height: 1.4; }
.text-\[0\.9375rem\] { font-size: 0.9375rem; }
.font-medium { font-weight: 500; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-snug { line-height: 1.375; }
.tracking-tight { letter-spacing: -0.025em; }

.rounded-2xl { border-radius: 0.875rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.opacity-25 { opacity: 0.25; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; -webkit-user-select: none; }

.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-opacity { transition: opacity 0.2s; }
.transition-all { transition: all 0.2s; }
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:opacity-60:hover { opacity: 0.6; }
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:text-white:hover { color: var(--text-primary); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:w-64 { width: 16rem; } .sm\:h-64 { height: 16rem; }
}
@media (min-width: 768px) {
  .md\:block { display: block; } .md\:flex { display: flex; }
  .md\:hidden { display: none; } .md\:inline-flex { display: inline-flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:text-left { text-align: left; } .md\:text-right { text-align: right; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mx-0 { margin-left: 0; margin-right: 0; }
  .md\:pl-0 { padding-left: 0; } .md\:pl-10 { padding-left: 2.5rem; } .md\:pr-10 { padding-right: 2.5rem; }
  .md\:w-1\/2 { width: 50%; } .md\:w-72 { width: 18rem; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; } .lg\:inline-flex { display: inline-flex; }
  .lg\:hidden { display: none; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:w-\[280px\] { width: 280px; } .lg\:h-\[280px\] { height: 280px; }
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fu-1, .fu-2, .fu-3, .fu-4 { animation-duration: 0.01s; animation-delay: 0s; }
  .fade-s { transition: none; opacity: 1; transform: none; }
  .pulse-dot, .availability-pill .dot { animation: none; }
  .card, .eng-card, .contact-card, .post-card,
  .hover\:-translate-y-1 { transition: none; }
  .card:hover, .eng-card:hover, .contact-card:hover, .post-card:hover,
  .hover\:-translate-y-1:hover { transform: none; }
  .section-art > canvas { display: none; }
  .section-art > img.art-fallback { opacity: 1 !important; }
}
