/* ============================================================
   ROOT VARIABLES — Clean, readable, elegant
   ============================================================ */
:root {
  --bg: #f8f6f2;
  --bg-soft: #fcfaf7;
  --surface: rgba(255, 253, 250, 0.82);
  --surface-strong: #fffdfa;
  --line: rgba(60, 50, 40, 0.10);
  --line-strong: rgba(60, 50, 40, 0.18);
  --text: #1a1714;
  --muted: #6b6054;
  --accent: #8b6f4c;
  --accent-light: rgba(139, 111, 76, 0.12);
  --accent-deep: #6d5538;
  --gold: #c9a96e;
  --gold-soft: rgba(201, 169, 110, 0.15);
  --shadow-sm: 0 4px 20px rgba(60, 45, 25, 0.06);
  --shadow-md: 0 12px 40px rgba(60, 45, 25, 0.08);
  --shadow-lg: 0 24px 70px rgba(60, 45, 25, 0.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: min(1180px, calc(100vw - 48px));
  /* Clean, highly readable font stack */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   FOCUS STATES — Keyboard accessibility
   ============================================================ */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   AMBIENT CANVAS BACKGROUND
   ============================================================ */
#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ============================================================
   PAGE SHELL
   ============================================================ */
.page-shell {
  position: relative;
  z-index: 1;
  overflow: clip;
}

/* ============================================================
   SECTION & HEADER CONTAINERS
   ============================================================ */
.section,
.section-tight,
.site-header {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 24px 0 16px;
}

/* ============================================================
   SITE HEADER — Glassmorphism refined
   ============================================================ */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 12px 16px 12px 20px;
  border: 1px solid rgba(60, 50, 40, 0.08);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(60, 45, 25, 0.06);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, #fffdfa, #f5efe8);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
}

.brand-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-role {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms ease, background 200ms ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(60, 50, 40, 0.04);
}

.site-nav a.is-active {
  color: var(--text);
  background: rgba(139, 111, 76, 0.08);
}

.nav-cta {
  padding: 10px 18px !important;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6) !important;
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 200ms ease;
}

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 140px);
  padding-top: 40px;
}

.hero h1 {
  margin: 20px 0 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-summary {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffcf7;
  background: linear-gradient(135deg, #9a7b56, #7a5f3f);
  box-shadow: 0 10px 28px rgba(122, 95, 63, 0.25);
}

.button-primary:hover {
  box-shadow: 0 14px 36px rgba(122, 95, 63, 0.32);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--accent);
}

/* ============================================================
   HERO META
   ============================================================ */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.hero-meta div {
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 250, 0.6);
  backdrop-filter: blur(8px);
}

.hero-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   HERO VISUAL — Single elegant portrait with decorative elements
   ============================================================ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #e8e2d8;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.hero-image-frame:hover .hero-portrait {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(26, 23, 20, 0.15) 100%
  );
  pointer-events: none;
}

.hero-image-border {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* Decorative elements */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deco-1 {
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.2), transparent 70%);
  animation: pulse-deco 6s ease-in-out infinite;
}

.deco-2 {
  bottom: -12px;
  left: -24px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(139, 111, 76, 0.12), transparent 70%);
  animation: pulse-deco 8s ease-in-out infinite reverse;
}

.deco-3 {
  top: 40%;
  right: -32px;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  animation: float-deco 7s ease-in-out infinite;
}

@keyframes pulse-deco {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes float-deco {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}

/* Floating badges */
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(60, 50, 40, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  animation: float-badge 5s ease-in-out infinite;
}

.badge-top {
  top: 24px;
  right: -12px;
  animation-delay: -1s;
}

.badge-bottom {
  bottom: 40px;
  left: -20px;
  animation-delay: -3s;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

.badge-icon {
  font-size: 0.9rem;
  color: var(--gold);
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.08); }
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-card span {
  font-size: 0.55em;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--accent);
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 253, 250, 0.6));
  color: var(--accent);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.service-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-points li + li {
  margin-top: 6px;
}

.service-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.service-card-link span {
  display: inline-block;
  transition: transform 220ms ease;
}

.service-card-link:hover span {
  transform: translateX(3px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  margin-bottom: 24px;
}

.about-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-panel p + p {
  margin-top: 18px;
}

/* About image card */
.about-visual {
  position: relative;
}

.about-image-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e8e2d8;
  box-shadow: var(--shadow-md);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.about-image-card:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1.2;
  transition: transform 500ms ease;
}

.about-image-card:hover img {
  transform: scale(1.04);
}

.about-image-card figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(26, 23, 20, 0.5);
  backdrop-filter: blur(12px);
  color: #fff;
}

.about-image-card figcaption span {
  display: block;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.about-image-card figcaption strong {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-display);
}

/* Focus columns */
.focus-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.focus-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.focus-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.focus-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent);
}

.focus-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.focus-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================================
   TIMELINE (EXPERIENCE)
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 22px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--accent), rgba(139, 111, 76, 0.08));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-left: 48px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 36px;
  left: -38px;
  width: 14px;
  height: 14px;
  border: 3px solid #f5efe8;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(139, 111, 76, 0.1);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-header h3 {
  margin: 4px 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.timeline-period {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.timeline-role {
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.timeline-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.timeline-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.timeline-points li + li {
  margin-top: 8px;
}

.timeline-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ============================================================
   PROJECTS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card.large {
  grid-column: span 6;
}

.project-media {
  position: relative;
  aspect-ratio: 1.05;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(139, 111, 76, 0.08), rgba(255, 255, 255, 0.1));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-media.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 111, 76, 0.06), rgba(201, 169, 110, 0.04));
}

.project-fallback {
  padding: 28px;
  text-align: center;
}

.project-fallback strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.project-fallback span {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.project-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.project-topline span:first-child {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.project-topline strong {
  display: block;
  margin-top: 4px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.project-topline > span:last-child {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.project-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.project-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.project-points li + li {
  margin-top: 6px;
}

.project-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.project-tags span {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.project-meta-row strong {
  color: var(--text);
  font-weight: 600;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.project-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9a7b56, #7a5f3f);
  color: #fffcf7;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 250ms ease;
  box-shadow: 0 6px 20px rgba(122, 95, 63, 0.2);
}

.project-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(122, 95, 63, 0.3);
}

.project-detail-btn span {
  display: inline-block;
  transition: transform 220ms ease;
}

.project-detail-btn:hover span {
  transform: translateX(3px);
}

.project-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 250ms ease;
}

.project-external-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.skill-group {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.skill-group:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.skill-group h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 200ms ease, border-color 200ms ease;
}

.skill-chip:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* Capability panels */
.capability-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.capability-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent);
}

.capability-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-item {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  cursor: default;
}

.archive-item:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-2px);
}

/* ============================================================
   EDUCATION
   ============================================================ */
.education-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.education-panel {
  display: grid;
  gap: 16px;
}

.education-entry {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.education-entry:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.education-entry h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.education-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Details panel with image */
.details-panel {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 250, 0.5));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.details-image {
  width: 100%;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #e8e2d8;
}

.details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.details-panel:hover .details-image img {
  transform: scale(1.05);
}

.details-panel .focus-title {
  padding: 24px 28px 0;
}

.detail-list {
  margin: 12px 28px 28px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-list span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.detail-list strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================================
   CLIENT REVIEWS
   ============================================================ */
.reviews-showcase {
  position: relative;
  padding: 48px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(201, 169, 110, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(139, 111, 76, 0.10), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(252, 249, 244, 0.92));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.reviews-showcase::before,
.reviews-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.reviews-showcase::before {
  top: 42px;
  right: 88px;
  width: 240px;
  height: 240px;
  background: rgba(139, 111, 76, 0.07);
}

.reviews-showcase::after {
  right: 36px;
  bottom: 24px;
  width: 180px;
  height: 180px;
  background: rgba(201, 169, 110, 0.08);
}

.reviews-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.reviews-copy {
  max-width: 600px;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reviews-badge::before {
  content: "◉";
  font-size: 0.8rem;
  color: var(--accent);
}

.reviews-title {
  margin: 20px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.reviews-title span {
  display: block;
}

.reviews-title span:last-child {
  color: var(--accent);
}

.reviews-title-mark {
  position: relative;
  width: 170px;
  height: 18px;
  margin-top: 18px;
}

.reviews-title-mark::before,
.reviews-title-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.reviews-title-mark::before {
  left: 0;
  width: 150px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.reviews-title-mark::after {
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.reviews-subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.reviews-icon-orbit {
  position: relative;
  justify-self: end;
  width: 260px;
  height: 260px;
}

.reviews-icon-ring,
.reviews-icon-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring-one {
  background: rgba(139, 111, 76, 0.07);
}

.ring-two {
  inset: 36px;
  background: rgba(201, 169, 110, 0.10);
}

.reviews-icon-core {
  inset: 70px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #a3835c, var(--accent-deep));
  box-shadow: 0 20px 40px rgba(122, 95, 63, 0.28);
}

.reviews-icon-spark {
  position: absolute;
  display: block;
  width: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.spark-one {
  top: 26px;
  right: 42px;
  height: 18px;
  transform: rotate(10deg);
}

.spark-two {
  top: 18px;
  right: 22px;
  height: 12px;
  transform: rotate(34deg);
}

.spark-three {
  top: 44px;
  right: 14px;
  height: 14px;
  transform: rotate(62deg);
}

.review-feature,
.review-selector,
.reviews-celebration,
.reviews-pillars {
  position: relative;
  z-index: 1;
}

.review-spotlight-card {
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}

.review-spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.review-client {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-avatar,
.review-selector-avatar,
.review-response-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-weight: 700;
}

.review-avatar {
  width: 64px;
  height: 64px;
  background: var(--avatar-tone);
  color: var(--text);
  font-size: 1.8rem;
}

.review-client-copy strong,
.review-selector-copy strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.review-client-copy span,
.review-selector-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.98rem;
}

.review-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
}

.review-stars-row {
  display: inline-flex;
  gap: 4px;
}

.review-star {
  color: rgba(60, 50, 40, 0.22);
  font-size: 1.45rem;
  line-height: 1;
}

.review-star.is-filled {
  color: var(--gold);
}

.review-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.review-quote-text {
  margin: 20px 0 0;
  max-width: 46ch;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.review-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.review-detail-card {
  padding: 0 12px 0 0;
}

.review-detail-card + .review-detail-card {
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
}

.review-detail-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.review-detail-card strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.3;
}

.review-response-card {
  margin-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.review-response-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  cursor: pointer;
  list-style: none;
}

.review-response-card summary::-webkit-details-marker {
  display: none;
}

.review-response-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-response-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fff7ec, #e7d2b0);
  border: 1px solid rgba(139, 111, 76, 0.18);
  color: var(--accent-deep);
  font-size: 0.95rem;
}

.review-response-lockup strong {
  color: var(--text);
  font-size: 1rem;
}

.review-response-toggle {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 220ms ease, color 220ms ease;
}

.review-response-card[open] .review-response-toggle {
  color: var(--accent-deep);
  transform: rotate(180deg);
}

.review-response-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.review-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.review-selector-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.review-selector-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 111, 76, 0.32);
  box-shadow: 0 14px 24px rgba(122, 95, 63, 0.12);
}

.review-selector-card.is-active {
  border-color: rgba(139, 111, 76, 0.44);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 26px rgba(122, 95, 63, 0.16);
}

.review-selector-card:focus-visible,
.review-response-card summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.review-selector-avatar {
  width: 48px;
  height: 48px;
  background: var(--avatar-tone);
  color: var(--text);
  font-size: 1.15rem;
}

.reviews-celebration {
  margin-top: 34px;
  text-align: center;
}

.reviews-stars {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.14em;
}

.reviews-stars::before,
.reviews-stars::after {
  content: "";
  width: 110px;
  height: 2px;
  border-radius: 999px;
  background: rgba(139, 111, 76, 0.7);
}

.reviews-celebration p {
  margin: 18px auto 0;
  max-width: 32ch;
  color: var(--text);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.reviews-celebration strong {
  display: block;
  margin-top: 10px;
  color: var(--accent-deep);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.2;
}

.reviews-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.reviews-pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 18px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.reviews-pillar + .reviews-pillar {
  border-left: 1px solid var(--line);
}

.reviews-pillar-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}

.reviews-pillar-icon svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1080px) {
  .reviews-showcase {
    padding: 40px 32px;
  }

  .reviews-hero {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .reviews-icon-orbit {
    width: 220px;
    height: 220px;
  }

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

@media (max-width: 780px) {
  .reviews-showcase {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .reviews-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-icon-orbit {
    justify-self: center;
    width: 180px;
    height: 180px;
  }

  .ring-two {
    inset: 24px;
  }

  .reviews-icon-core {
    inset: 48px;
  }

  .review-spotlight-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .review-status-chip {
    width: 100%;
    justify-content: center;
  }

  .review-spotlight-head,
  .review-rating-row,
  .review-response-card summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-detail-grid,
  .review-selector,
  .reviews-pillars {
    grid-template-columns: 1fr;
  }

  .review-detail-card + .review-detail-card,
  .reviews-pillar + .reviews-pillar {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-strong);
  }

  .review-detail-card {
    padding-right: 0;
  }

  .reviews-stars {
    font-size: 1.5rem;
    gap: 12px;
  }

  .reviews-stars::before,
  .reviews-stars::after {
    width: 54px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  position: relative;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(201, 169, 110, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 253, 250, 0.6));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(139, 111, 76, 0.06);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  margin: 18px 0 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-card p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-foot a {
  font-weight: 600;
  color: var(--accent);
  transition: color 200ms ease;
}

.contact-foot a:hover {
  color: var(--accent-deep);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-info-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
}

.contact-info-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-info-card strong,
.contact-info-card a {
  display: block;
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.contact-info-card a:hover {
  color: var(--accent-deep);
}

/* ============================================================
   SITE FOOTER — Professional
   ============================================================ */
.site-footer {
  width: var(--container);
  margin: 40px auto 0;
  padding: 0 0 60px;
}

/* Footer CTA banner */
.footer-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(201, 169, 110, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(139, 111, 76, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(252, 249, 244, 0.95));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.footer-cta::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(139, 111, 76, 0.06);
  pointer-events: none;
}

.footer-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.footer-cta-copy h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 44px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #9a7b56, #7a5f3f);
  border-color: transparent;
  color: #fffcf7;
  box-shadow: 0 8px 20px rgba(122, 95, 63, 0.25);
}

.footer-heading {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 200ms ease, padding-left 200ms ease;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: width 220ms ease;
}

.footer-links a:hover {
  color: var(--accent-deep);
  padding-left: 16px;
}

.footer-links a:hover::before {
  width: 10px;
}

/* Contact list with icons */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: -2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
}

.footer-contact a,
.footer-contact li > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  transition: color 200ms ease;
}

.footer-contact a:hover {
  color: var(--accent-deep);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: var(--accent);
  font-weight: 600;
  transition: color 200ms ease;
}

.footer-bottom-links a:hover {
  color: var(--accent-deep);
}

.footer-dot {
  opacity: 0.5;
}


/* ============================================================
   REVEAL ANIMATIONS — Smooth, staggered, elegant
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Hero-specific reveal — faster, more dramatic */
.hero-copy[data-reveal] {
  transform: translateY(50px);
  transition-duration: 1000ms;
  transition-delay: 100ms;
}

.hero-visual[data-reveal] {
  transform: translateY(50px) scale(0.95);
  transition-duration: 1000ms;
  transition-delay: 200ms;
}

/* Service cards staggered entrance */
.services-grid .service-card[data-reveal] {
  transition-duration: 600ms;
}

.services-grid .service-card[data-reveal]:nth-child(1) { transition-delay: 50ms; }
.services-grid .service-card[data-reveal]:nth-child(2) { transition-delay: 100ms; }
.services-grid .service-card[data-reveal]:nth-child(3) { transition-delay: 150ms; }
.services-grid .service-card[data-reveal]:nth-child(4) { transition-delay: 200ms; }
.services-grid .service-card[data-reveal]:nth-child(5) { transition-delay: 250ms; }
.services-grid .service-card[data-reveal]:nth-child(6) { transition-delay: 300ms; }

/* Metric cards staggered */
.metrics .metric-card[data-reveal] {
  transition-duration: 500ms;
}

.metrics .metric-card[data-reveal]:nth-child(1) { transition-delay: 50ms; }
.metrics .metric-card[data-reveal]:nth-child(2) { transition-delay: 100ms; }
.metrics .metric-card[data-reveal]:nth-child(3) { transition-delay: 150ms; }
.metrics .metric-card[data-reveal]:nth-child(4) { transition-delay: 200ms; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .education-grid,
  .capability-panels {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-frame {
    max-width: 380px;
    margin: 0 auto;
  }

  .badge-top {
    right: 0;
  }

  .badge-bottom {
    left: 0;
  }

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

  .project-card,
  .project-card.large {
    grid-column: span 6;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-cta {
    padding: 36px 32px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 780px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .site-header {
    top: 10px;
    padding: 10px 12px 10px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(60, 50, 40, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 252, 248, 0.96);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 250ms ease,
      transform 250ms ease,
      visibility 250ms ease;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .hero-meta,
  .metrics,
  .expertise-grid,
  .capability-panels,
  .focus-columns,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .project-card,
  .project-card.large {
    grid-column: auto;
  }

  .timeline-item {
    margin-left: 28px;
    padding: 24px;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item::before {
    left: -22px;
    width: 12px;
    height: 12px;
  }

  .section,
  .section-tight {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading h2 {
    max-width: none;
  }

  .hero-image-frame {
    max-width: 300px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .badge-top {
    top: 12px;
    right: 4px;
  }

  .badge-bottom {
    bottom: 24px;
    left: 4px;
  }

  .contact-card {
    padding: 28px;
  }

  .details-panel .focus-title {
    padding: 20px 20px 0;
  }

  .detail-list {
    margin: 10px 20px 20px;
  }

  .about-image-card figcaption {
    left: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }

  .about-image-card figcaption strong {
    font-size: 0.78rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }

  .footer-cta {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-actions .button {
    flex: 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
