:root {
  --ink: #cbc6bc;
  --surface: #d7d2c9;
  --surface-2: #b9c1d2;
  --paper: #202733;
  --muted: #535c69;
  --line: rgba(32, 39, 51, 0.2);
  --blue: #52648b;
  --lime: #b99a59;
  --coral: #a96653;
  --ut-white: #e2ded5;
  --ut-mint: #aebfb1;
  --ut-glass: linear-gradient(135deg, rgba(226, 222, 213, 0.72), rgba(185, 193, 210, 0.3));
  --ut-glass-soft: linear-gradient(145deg, rgba(226, 222, 213, 0.58), rgba(226, 222, 213, 0.22));
  --ut-glass-border: rgba(243, 240, 234, 0.62);
  --ut-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -1px 0 rgba(32, 39, 51, 0.08), 0 18px 52px rgba(42, 40, 37, 0.12);
  --ut-ease: cubic-bezier(0.2, 0.76, 0.18, 1);
}

html { background: var(--ink); color-scheme: light; }
body.unified-theme { color: var(--paper); background: var(--ink); }
body.unified-theme::selection { color: var(--ut-white); background: var(--blue); }
body.unified-theme .kinetic-field { opacity: 0.12; mix-blend-mode: multiply; }

body.unified-theme .site-header {
  top: 14px;
  width: calc(100% - 28px);
  max-width: 1480px;
  height: 66px;
  overflow: visible;
  padding-inline: clamp(18px, 3vw, 38px);
  border: 1px solid var(--ut-glass-border);
  border-radius: 18px;
  color: var(--paper);
  background: var(--ut-glass);
  box-shadow: var(--ut-glass-shadow);
  backdrop-filter: blur(26px) saturate(1.16);
}
body.unified-theme .site-header::before {
  display: none;
  content: none;
}
body.unified-theme .brand { width: 32px; height: 38px; }
body.unified-theme .brand img { filter: invert(1); }
body.unified-theme .desktop-nav { color: var(--muted); }
body.unified-theme .desktop-nav a { position: relative; color: #4d5664; font-size: 12px; font-weight: 600; }
body.unified-theme .desktop-nav a:hover,
body.unified-theme .desktop-nav a:focus-visible,
body.unified-theme .desktop-nav a.is-current { color: var(--paper); }
body.unified-theme .desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ut-ease);
}
body.unified-theme .desktop-nav a:hover::after,
body.unified-theme .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
body.unified-theme .language-toggle { color: var(--blue); }
body.unified-theme .header-contact {
  justify-self: end;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  border: 0;
  border-radius: 99px;
  color: var(--ut-white);
  background: var(--paper);
  font-size: 11px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
body.unified-theme .header-contact:hover { color: var(--paper); background: var(--lime); transform: translateY(-2px); }

body.unified-theme .page-deck,
body.unified-theme .profile-page-shell,
body.unified-theme .editorial-main { background: var(--ink); }
body.unified-theme .snap-page { color: var(--paper); background: var(--ink); }
body.unified-theme .hero-slide,
body.unified-theme .projects-intro-slide,
body.unified-theme .cv-intro-slide {
  background:
    radial-gradient(circle at 84% 20%, rgba(82,100,139,.24), transparent 29%),
    radial-gradient(circle at 10% 76%, rgba(169,102,83,.19), transparent 25%),
    linear-gradient(135deg, #d8d3ca, #cbc6bc 58%, #b8c0d1);
}
body.unified-theme .reel-slide,
body.unified-theme .profile-slide,
body.unified-theme .employer-slide,
body.unified-theme .experience-slide { background: #d7d2c9; }
body.unified-theme .skills-slide { background: #b9c1d2; }
body.unified-theme .contact-slide { background: #b99a59; }
body.unified-theme .project-slide { background: #c6c1b7; }
body.unified-theme .project-slide.project-coral { background: #c8aaa0; }
body.unified-theme .project-slide.project-lime { background: #aebfb1; }
body.unified-theme .slide-shell { color: var(--paper); }

body.unified-theme .hero-main h1,
body.unified-theme .projects-intro-copy h1,
body.unified-theme .cv-intro-heading h1,
body.unified-theme .cv-intro-heading h2,
body.unified-theme .profile-statement h2,
body.unified-theme .skills-heading h2,
body.unified-theme .employer-heading h2,
body.unified-theme .closing-heading h2,
body.unified-theme .project-copy h2 { color: var(--paper); }
body.unified-theme .hero-main h1,
body.unified-theme .projects-intro-copy h1,
body.unified-theme .cv-intro-heading h1,
body.unified-theme .case-hero h1,
body.unified-theme .contact-page-hero h1,
body.unified-theme .services-hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
body.unified-theme .hero-main h1 em,
body.unified-theme .projects-intro-copy h1 em,
body.unified-theme .cv-intro-heading h2 em,
body.unified-theme .profile-statement h2 em,
body.unified-theme .employer-heading h2 em,
body.unified-theme .closing-heading h2 em,
body.unified-theme .case-hero h1 em,
body.unified-theme .contact-page-hero h1 em { color: var(--blue); }
body.unified-theme .hero-summary p,
body.unified-theme .projects-intro-copy > p:last-child,
body.unified-theme .cv-intro-heading > p:last-child,
body.unified-theme .project-description,
body.unified-theme .profile-details > p,
body.unified-theme .employer-heading > p,
body.unified-theme .employer-value-grid p,
body.unified-theme .closing-copy p,
body.unified-theme .case-lead,
body.unified-theme .case-story-grid p,
body.unified-theme .process-step p,
body.unified-theme .services-intro,
body.unified-theme .service-card p,
body.unified-theme .contact-page-intro,
body.unified-theme .profile-contact-intro { color: var(--muted); }
body.unified-theme .eyebrow,
body.unified-theme .statement-kicker,
body.unified-theme .section-id,
body.unified-theme .case-kicker,
body.unified-theme .case-section-label,
body.unified-theme .contact-page-kicker,
body.unified-theme .project-category { color: var(--blue); }
body.unified-theme .status-dot { background: #548f68; box-shadow: 0 0 0 5px rgba(84,143,104,.13); }

body.unified-theme .hero-availability,
body.unified-theme .hero-footer > div,
body.unified-theme .reel-copy,
body.unified-theme .profile-details,
body.unified-theme .skill-list article,
body.unified-theme .employer-value-grid article,
body.unified-theme .employer-proof-bar > div,
body.unified-theme .closing-stats article,
body.unified-theme .projects-index a,
body.unified-theme .cv-intro-meta > div,
body.unified-theme .timeline-item,
body.unified-theme .case-facts > div,
body.unified-theme .case-story-grid article,
body.unified-theme .process-step,
body.unified-theme .service-card,
body.unified-theme .services-process-list li,
body.unified-theme .profile-contact-list a,
body.unified-theme .contact-direct a {
  border-color: var(--ut-glass-border);
  color: var(--paper);
  background: var(--ut-glass-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 10px 30px rgba(42,40,37,.07);
  backdrop-filter: blur(22px) saturate(1.1);
}
body.unified-theme .hero-availability { padding: 11px 15px; border: 1px solid var(--ut-glass-border); border-radius: 14px; }
body.unified-theme .hero-footer { gap: 10px; border: 0; }
body.unified-theme .hero-footer > div { min-width: 150px; padding: 15px; border: 1px solid var(--ut-glass-border); border-radius: 15px; }
body.unified-theme .hero-footer span,
body.unified-theme .hero-footer .scroll-cue,
body.unified-theme .profile-quote,
body.unified-theme .tool-note { color: var(--muted); }

body.unified-theme .hero-signature { border-radius: 34px; background: linear-gradient(145deg, var(--ut-mint), #aab4ca 70%); box-shadow: var(--ut-glass-shadow); }
body.unified-theme .logo-image { filter: invert(1); }
body.unified-theme .logo-image-core { filter: invert(1) drop-shadow(0 16px 36px rgba(32,39,51,.18)); }
body.unified-theme .logo-image-echo { filter: invert(1); opacity: .08; }

body.unified-theme .reel-frame,
body.unified-theme .project-cover,
body.unified-theme .case-visual,
body.unified-theme .case-gallery-frame,
body.unified-theme .profile-portrait-frame,
body.unified-theme .project-index-visual {
  overflow: hidden;
  border: 1px solid var(--ut-glass-border);
  border-radius: 24px;
  box-shadow: var(--ut-glass-shadow);
}
body.unified-theme .reel-frame figure { border-radius: 18px; }
body.unified-theme .reel-frame figcaption,
body.unified-theme .case-visual-label {
  border: 1px solid var(--ut-glass-border);
  border-radius: 11px;
  color: var(--paper);
  background: var(--ut-glass);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  backdrop-filter: blur(22px) saturate(1.12);
}

body.unified-theme .skill-list { gap: 10px; border: 0; }
body.unified-theme .skill-list article { margin: 0 !important; padding: 18px; border: 1px solid var(--ut-glass-border) !important; border-radius: 16px; }
body.unified-theme .skill-list p,
body.unified-theme .experience-heading > p:last-child,
body.unified-theme .timeline-item > span,
body.unified-theme .cv-note span,
body.unified-theme .cv-note p { color: var(--muted); }
body.unified-theme .timeline { display: grid; gap: 10px; border: 0; }
body.unified-theme .timeline-item { padding: 18px; border: 1px solid var(--ut-glass-border); border-radius: 15px; }

body.unified-theme .employer-value-grid { gap: 10px; }
body.unified-theme .employer-value-grid article { padding: 20px; border: 1px solid var(--ut-glass-border); border-radius: 17px; }
body.unified-theme .employer-proof-bar { gap: 10px; border: 0; }
body.unified-theme .employer-proof-bar > div { padding: 15px; border: 1px solid var(--ut-glass-border); border-radius: 15px; }
body.unified-theme .closing-stats { gap: 10px; width: min(78%, 980px); }
body.unified-theme .closing-stats article { padding: 16px; border: 1px solid rgba(32,39,51,.14); border-radius: 16px; }
body.unified-theme .closing-stats strong,
body.unified-theme .closing-heading h2,
body.unified-theme .closing-brand { color: var(--paper); }
body.unified-theme .closing-stats span,
body.unified-theme .closing-footer span { color: rgba(32,39,51,.68); }
body.unified-theme .closing-contact a { color: var(--paper); }

body.unified-theme .projects-index { gap: 9px; border: 0; }
body.unified-theme .projects-index a { padding: 17px; border: 1px solid var(--ut-glass-border); border-radius: 14px; }
body.unified-theme .projects-index span,
body.unified-theme .projects-index i,
body.unified-theme .projects-back-link { color: var(--muted); }
body.unified-theme .project-cover { color: var(--ut-white); background: #52648b; }
body.unified-theme .project-cover.has-photo { background: #87958c; }
body.unified-theme .project-cover.has-photo::after { background: linear-gradient(180deg, rgba(32,39,51,.42), transparent 32%), linear-gradient(0deg, rgba(32,39,51,.55), transparent 42%); }
body.unified-theme .project-copy ul { color: var(--muted); }
body.unified-theme .project-outcome { border-color: var(--line); }
body.unified-theme .project-contact-link { color: var(--muted); }
body.unified-theme .project-actions .line-link,
body.unified-theme .line-link,
body.unified-theme .cv-download-link,
body.unified-theme .case-contact-cta,
body.unified-theme .form-submit,
body.unified-theme .error-primary {
  border-color: var(--paper);
  color: var(--ut-white);
  background: var(--paper);
}
body.unified-theme .line-link { padding: 10px 14px; border: 0; border-radius: 99px; }
body.unified-theme .line-link:hover,
body.unified-theme .case-contact-cta:hover,
body.unified-theme .form-submit:hover,
body.unified-theme .error-primary:hover { color: var(--paper); background: var(--lime); }

body.unified-theme.editorial-page,
body.unified-theme.profile-page,
body.unified-theme.error-page { background: var(--ink); }
body.unified-theme .editorial-main {
  padding-top: 94px;
  background:
    radial-gradient(circle at 80% 10%, rgba(82,100,139,.19), transparent 28%),
    linear-gradient(rgba(32,39,51,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,39,51,.05) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 72px 72px, 72px 72px, auto;
}
body.unified-theme .case-hero,
body.unified-theme .case-narrative,
body.unified-theme .case-process,
body.unified-theme .case-next,
body.unified-theme .services-hero,
body.unified-theme .services-section,
body.unified-theme .services-cta,
body.unified-theme .contact-page-hero,
body.unified-theme .contact-form-panel,
body.unified-theme .error-stage {
  border-color: var(--line);
  color: var(--paper);
}
body.unified-theme .case-facts { display: grid; gap: 8px; border: 0; }
body.unified-theme .case-facts > div { padding: 14px; border: 1px solid var(--ut-glass-border); border-radius: 13px; }
body.unified-theme .case-facts dt,
body.unified-theme .case-gallery figcaption,
body.unified-theme .editorial-footer { color: var(--muted); }
body.unified-theme .case-facts dd,
body.unified-theme .case-story-grid h3,
body.unified-theme .process-step h3,
body.unified-theme .case-next a { color: var(--paper); }
body.unified-theme .case-story-grid { gap: 10px; }
body.unified-theme .case-story-grid article { padding: 20px; border: 1px solid var(--ut-glass-border); border-radius: 17px; }
body.unified-theme .process-list { display: grid; gap: 10px; border: 0; }
body.unified-theme .process-step { padding: 18px; border: 1px solid var(--ut-glass-border); border-radius: 15px; }
body.unified-theme .case-gallery { gap: 14px; }
body.unified-theme .case-gallery figure { padding: 10px; border: 1px solid var(--ut-glass-border); border-radius: 20px; background: var(--ut-glass-soft); box-shadow: var(--ut-glass-shadow); }

body.unified-theme .services-main { color: var(--paper); }
body.unified-theme .service-grid { gap: 12px; }
body.unified-theme .service-card { padding: 22px; border: 1px solid var(--ut-glass-border); border-radius: 18px; }
body.unified-theme .services-process-list { gap: 10px; }
body.unified-theme .services-process-list li { padding: 18px; border: 1px solid var(--ut-glass-border); border-radius: 15px; }
body.unified-theme .services-proof { color: var(--muted); }

body.unified-theme .profile-page-shell {
  background:
    radial-gradient(circle at 80% 42%, rgba(82,100,139,.2), transparent 30%),
    linear-gradient(135deg, #d8d3ca, #cbc6bc 62%, #b8c0d1);
}
body.unified-theme .profile-page-grid { opacity: .28; }
body.unified-theme .profile-page-orbit { border-color: rgba(82,100,139,.3); }
body.unified-theme .profile-page-orbit::before,
body.unified-theme .profile-page-orbit::after { border-color: rgba(226,222,213,.38); }
body.unified-theme .profile-identity { border-color: var(--line); }
body.unified-theme .profile-portrait-frame {
  border-color: var(--ut-glass-border);
  background: var(--ut-glass);
  box-shadow: var(--ut-glass-shadow);
}
body.unified-theme .profile-identity h1,
body.unified-theme .profile-social-link,
body.unified-theme .profile-contact-panel h2 { color: var(--paper); }
body.unified-theme .profile-social-link { border-color: var(--ut-glass-border); background: var(--ut-glass-soft); }
body.unified-theme .profile-social-link:hover { color: var(--ut-white); background: var(--blue); }
body.unified-theme .profile-contact-list { display: grid; gap: 9px; border: 0; }
body.unified-theme .profile-contact-list a { padding: 14px; border: 1px solid var(--ut-glass-border); border-radius: 13px; }

/* Profile — cohesive editorial card system */
body.unified-theme.profile-page .profile-page-shell {
  background:
    radial-gradient(circle at 88% 14%, rgba(82,100,139,.2), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(169,102,83,.15), transparent 27%),
    linear-gradient(135deg, #d9d4cb 0%, #cec9bf 58%, #bfc6d4 100%);
}
body.unified-theme.profile-page .profile-page-grid {
  opacity: .11;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 92%);
}
body.unified-theme.profile-page .profile-page-orbit {
  right: -25vw;
  width: min(58vw, 760px);
  opacity: .28;
}
body.unified-theme.profile-page .profile-card-layout {
  grid-template-columns: minmax(340px, .84fr) minmax(480px, 1.16fr);
  gap: clamp(18px, 2.2vw, 32px);
  align-items: stretch;
  max-width: 1360px;
  min-height: 100svh;
  padding: 116px 4vw 78px;
}
body.unified-theme.profile-page .profile-identity,
body.unified-theme.profile-page .profile-contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(240,237,230,.64), rgba(205,211,222,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 24px 64px rgba(42,40,37,.12);
  backdrop-filter: blur(28px) saturate(1.08);
}
body.unified-theme.profile-page .profile-identity {
  justify-items: center;
  align-content: center;
  min-height: 620px;
  padding: clamp(34px, 4vw, 54px);
  border-right: 1px solid rgba(255,255,255,.62);
}
body.unified-theme.profile-page .profile-page-index {
  margin-bottom: 18px;
  color: #52648b;
  font-size: 10px;
}
body.unified-theme.profile-page .profile-portrait-frame {
  --portrait-size: clamp(230px, 20vw, 292px);
  padding: 8px;
  border-color: rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(32,39,51,.94);
  box-shadow: 0 24px 54px rgba(32,39,51,.2);
}
body.unified-theme.profile-page .profile-portrait-frame::before { border-color: rgba(82,100,139,.44); }
body.unified-theme.profile-page .profile-identity h1 {
  margin: 30px 0 8px;
  color: #202733;
  font-size: clamp(42px, 4vw, 62px);
}
body.unified-theme.profile-page .profile-role {
  max-width: 360px;
  color: #555f6d;
  font-size: 10px;
  line-height: 1.6;
}
body.unified-theme.profile-page .profile-socials { margin-top: 24px; }
body.unified-theme.profile-page .profile-social-link {
  width: 44px;
  height: 44px;
  border-color: rgba(32,39,51,.18);
  color: #202733;
  background: rgba(255,255,255,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.66);
}
body.unified-theme.profile-page .profile-contact-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  padding: clamp(36px, 4.4vw, 62px);
}
body.unified-theme.profile-page .profile-contact-code {
  margin: 28px 0 12px;
  color: #52648b;
  font-size: 10px;
}
body.unified-theme.profile-page .profile-contact-panel h2 {
  color: #202733;
  font-size: clamp(58px, 5.2vw, 82px);
}
body.unified-theme.profile-page .profile-contact-intro {
  max-width: 610px;
  margin: 22px 0 30px;
  color: #4f5967;
  font-size: 15px;
  line-height: 1.7;
}
body.unified-theme.profile-page .profile-contact-list {
  display: block;
  margin: 0;
  border-top: 1px solid rgba(32,39,51,.16);
}
body.unified-theme.profile-page .profile-contact-list > div {
  grid-template-columns: minmax(120px, .3fr) minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(32,39,51,.16);
  background: transparent;
}
body.unified-theme.profile-page .profile-contact-list dt {
  color: #687280;
  font-size: 9px;
}
body.unified-theme.profile-page .profile-contact-list dd {
  color: #202733;
  font-size: 13px;
}
body.unified-theme.profile-page .profile-contact-list a {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #33486f;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-weight: 650;
}
body.unified-theme.profile-page .profile-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
}
body.unified-theme.profile-page .profile-action-row > a:not(.line-link) {
  color: #5b6573;
  font: 600 9px/1.2 var(--font-geist-mono), monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.unified-theme.profile-page .profile-page-footer { color: rgba(32,39,51,.56); }

/* CV — high-contrast editorial hero */
body.unified-theme .cv-intro-slide {
  background:
    radial-gradient(circle at 88% 16%, rgba(82,100,139,.2), transparent 31%),
    radial-gradient(circle at 8% 88%, rgba(169,102,83,.14), transparent 26%),
    linear-gradient(135deg, #d9d4cb 0%, #cec9bf 58%, #bfc6d4 100%);
}
body.unified-theme .cv-intro-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .66fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 20px clamp(20px, 2vw, 32px);
  align-items: stretch;
  padding-top: 104px;
  padding-bottom: 32px;
}
body.unified-theme .cv-intro-layout > .section-id {
  align-self: end;
  padding: 0 2px 4px;
  color: #52648b;
  font-size: 10px;
}
body.unified-theme .cv-intro-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(34px, 4vw, 60px);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(32,39,51,.98), rgba(82,100,139,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 26px 68px rgba(32,39,51,.2);
}
body.unified-theme .cv-intro-heading::after {
  position: absolute;
  top: -36%;
  right: -18%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.02);
  content: "";
  pointer-events: none;
}
body.unified-theme .cv-intro-heading .statement-kicker { position: relative; z-index: 1; color: #c7d1e5; }
body.unified-theme .cv-intro-heading h1,
body.unified-theme .cv-intro-heading h2,
body.unified-theme .cv-intro-heading > p { position: relative; z-index: 1; }
body.unified-theme .cv-intro-heading h1 {
  margin-top: 18px;
  color: #f0ede6;
  font-size: clamp(58px, 6.2vw, 94px);
}
body.unified-theme .cv-intro-heading h2 {
  color: rgba(240,237,230,.72);
  font-size: clamp(54px, 5.8vw, 88px);
}
body.unified-theme .cv-intro-heading h2 em { color: #c0cbe1; }
body.unified-theme .cv-intro-heading > p:last-child {
  max-width: 680px;
  margin-top: 26px;
  color: rgba(240,237,230,.76);
  font-size: clamp(13px, 1vw, 16px);
}
body.unified-theme .cv-intro-meta {
  display: grid;
  align-content: center;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(240,237,230,.66), rgba(205,211,222,.42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 24px 64px rgba(42,40,37,.11);
  backdrop-filter: blur(28px) saturate(1.08);
}
body.unified-theme .cv-intro-meta > div {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(32,39,51,.16);
  border-radius: 0;
  color: #202733;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.unified-theme .cv-intro-meta > div:last-child { border-bottom: 0; }
body.unified-theme .cv-intro-meta span { color: #697382; font-size: 9px; }
body.unified-theme .cv-intro-meta strong { color: #202733; font-size: 13px; }
body.unified-theme .cv-intro-actions {
  align-items: center;
  gap: 18px 26px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 18px;
  background: rgba(238,235,228,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.66), 0 14px 36px rgba(42,40,37,.08);
  backdrop-filter: blur(22px);
}
body.unified-theme .cv-intro-actions > a { color: #4f5967; }
body.unified-theme .cv-intro-actions > a[href^="mailto:"] { color: #5b6573; }
body.unified-theme .cv-intro-actions .cv-download-link { color: #202733; font-weight: 700; }
body.unified-theme .experience-slide {
  background:
    radial-gradient(circle at 82% 22%, rgba(82,100,139,.16), transparent 28%),
    linear-gradient(135deg, #d7d2c9, #c9ced8);
}
body.unified-theme .experience-heading h2 { color: #202733; }
body.unified-theme .timeline-item {
  border-color: rgba(255,255,255,.62);
  color: #202733;
  background: rgba(240,237,230,.5);
}
body.unified-theme .timeline-item time,
body.unified-theme .timeline-item > span { color: #687280; }
body.unified-theme .timeline-item p { color: #52648b; }

body.unified-theme .contact-form-panel {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--ut-glass-border);
  border-radius: 24px;
  background: var(--ut-glass-soft);
  box-shadow: var(--ut-glass-shadow);
  backdrop-filter: blur(24px) saturate(1.1);
}
body.unified-theme .form-field input,
body.unified-theme .form-field select,
body.unified-theme .form-field textarea { border-color: var(--line); color: var(--paper); background: rgba(226,222,213,.32); }
body.unified-theme .form-field input::placeholder,
body.unified-theme .form-field textarea::placeholder { color: rgba(83,92,105,.8); }
body.unified-theme .form-field label,
body.unified-theme .form-consent { color: var(--muted); }

body.unified-theme .error-main { background: linear-gradient(135deg, #d8d3ca, #cbc6bc 62%, #b8c0d1); }
body.unified-theme .error-code { color: var(--blue); }
body.unified-theme .error-copy h1,
body.unified-theme .error-copy p { color: var(--paper); }
body.unified-theme .error-secondary { border-color: var(--line); color: var(--paper); }

body.unified-theme .slide-navigation {
  border: 1px solid var(--ut-glass-border);
  border-radius: 99px;
  background: var(--ut-glass-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.46), 0 10px 30px rgba(42,40,37,.08);
  backdrop-filter: blur(20px);
}
body.unified-theme .slide-counter,
body.unified-theme .slide-dots { color: var(--paper); }

@media (max-width: 1180px) and (min-width: 821px) {
  body.unified-theme.profile-page .profile-card-layout {
    grid-template-columns: minmax(300px, .84fr) minmax(410px, 1.16fr);
    gap: 20px;
    padding: 104px 30px 72px;
  }

  body.unified-theme.profile-page .profile-identity {
    min-height: 580px;
    padding: 32px 28px;
  }

  body.unified-theme.profile-page .profile-contact-panel {
    padding: 38px 34px;
  }

  body.unified-theme.profile-page .profile-contact-panel h2 {
    font-size: clamp(56px, 6.6vw, 76px);
  }

  body.unified-theme .cv-intro-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .72fr);
    padding-inline: 30px;
  }

  body.unified-theme .cv-intro-heading {
    padding: 36px;
  }

  body.unified-theme .cv-intro-heading h1,
  body.unified-theme .cv-intro-heading h2 {
    font-size: clamp(54px, 6.8vw, 78px);
  }
}

body.unified-theme .ut-tilt {
  --ut-tilt-x: 0deg;
  --ut-tilt-y: 0deg;
  --ut-tilt-z: 0deg;
  --ut-tilt-lift: 0px;
  backface-visibility: hidden;
  transform: perspective(1100px) rotateX(var(--ut-tilt-x)) rotateY(var(--ut-tilt-y)) rotateZ(var(--ut-tilt-z)) translateZ(var(--ut-tilt-lift));
  transform-style: flat;
  transition: transform 420ms var(--ut-ease), box-shadow 260ms ease;
  will-change: transform;
}
body.unified-theme .ut-tilt.ut-tilting { --ut-tilt-lift: 4px; transition-duration: 70ms; }
body.unified-theme .ut-tilt img { backface-visibility: hidden; }

@media (max-width: 820px) {
  body.unified-theme .site-header { top: 8px; width: calc(100% - 16px); height: 60px; padding-inline: 14px; border-radius: 14px; }
  body.unified-theme .header-contact { display: none; }
  body.unified-theme .mobile-menu summary { color: var(--paper); }
  body.unified-theme .mobile-menu[open] nav { border: 1px solid var(--ut-glass-border); border-radius: 16px; color: var(--paper); background: rgba(218,214,205,.97); box-shadow: var(--ut-glass-shadow); backdrop-filter: blur(26px); }
  body.unified-theme .mobile-menu nav a { border-color: var(--line); color: var(--paper); }
  body.unified-theme .slide-shell { padding-top: 88px; }
  body.unified-theme .hero-signature { border-radius: 24px; }
  body.unified-theme .hero-footer > div { min-width: 0; }
  body.unified-theme .closing-stats { width: 100%; }
  body.unified-theme .editorial-main { padding-top: 78px; }
  body.unified-theme.profile-page .profile-page-orbit { display: none; }
  body.unified-theme.profile-page .profile-card-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 88px 16px 24px;
  }
  body.unified-theme.profile-page .profile-identity,
  body.unified-theme.profile-page .profile-contact-panel {
    min-height: auto;
    border-radius: 22px;
  }
  body.unified-theme.profile-page .profile-identity {
    padding: 30px 22px 34px;
    border: 1px solid rgba(255,255,255,.62);
  }
  body.unified-theme.profile-page .profile-page-index { margin-bottom: 14px; }
  body.unified-theme.profile-page .profile-portrait-frame { --portrait-size: clamp(188px, 58vw, 232px); }
  body.unified-theme.profile-page .profile-identity h1 {
    margin-top: 25px;
    font-size: clamp(38px, 11vw, 50px);
  }
  body.unified-theme.profile-page .profile-role { max-width: 270px; font-size: 9px; }
  body.unified-theme.profile-page .profile-contact-panel { padding: 30px 22px 32px; }
  body.unified-theme.profile-page .profile-contact-code { margin-top: 22px; }
  body.unified-theme.profile-page .profile-contact-panel h2 { font-size: clamp(50px, 15vw, 66px); }
  body.unified-theme.profile-page .profile-contact-intro {
    margin: 18px 0 24px;
    font-size: 13px;
    line-height: 1.65;
  }
  body.unified-theme.profile-page .profile-contact-list > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 15px 0;
  }
  body.unified-theme.profile-page .profile-contact-list dd { overflow-wrap: anywhere; font-size: 12px; }
  body.unified-theme.profile-page .profile-action-row { margin-top: 0; padding-top: 24px; }
  body.unified-theme.profile-page .profile-page-footer {
    position: relative;
    inset: auto;
    margin: 0 18px 20px;
  }

  body.unified-theme .cv-intro-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 14px;
    align-content: start;
    padding: 82px 14px 26px;
  }
  body.unified-theme .cv-intro-layout > .section-id,
  body.unified-theme .cv-intro-actions { grid-column: 1; }
  body.unified-theme .cv-intro-heading {
    min-height: 430px;
    padding: 30px 24px;
    border-radius: 22px;
  }
  body.unified-theme .cv-intro-heading h1 {
    margin-top: 15px;
    font-size: clamp(48px, 14.5vw, 68px);
  }
  body.unified-theme .cv-intro-heading h2 { font-size: clamp(44px, 13.5vw, 64px); }
  body.unified-theme .cv-intro-heading > p:last-child {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.62;
  }
  body.unified-theme .cv-intro-meta {
    padding: 12px 22px;
    border-radius: 22px;
  }
  body.unified-theme .cv-intro-meta > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
  }
  body.unified-theme .cv-intro-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
    padding: 15px 18px;
  }
  body.unified-theme .cv-intro-actions > a[href^="mailto:"] { display: none; }
  body.unified-theme .experience-layout { padding-top: 86px; padding-bottom: 38px; }
}

@media (max-width: 480px) {
  body.unified-theme.profile-page .profile-contact-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.unified-theme .cv-intro-heading {
    min-height: 400px;
    padding: 27px 20px;
  }
}

@media (max-height: 780px) and (min-width: 821px) {
  body.unified-theme.profile-page .profile-card-layout {
    min-height: 780px;
    padding-top: 94px;
    padding-bottom: 64px;
  }

  body.unified-theme.profile-page .profile-identity { min-height: 600px; padding-block: 28px; }
  body.unified-theme.profile-page .profile-portrait-frame { --portrait-size: 220px; }
  body.unified-theme.profile-page .profile-identity h1 { margin-top: 22px; font-size: 46px; }
  body.unified-theme.profile-page .profile-contact-panel { padding-block: 30px; }
  body.unified-theme.profile-page .profile-contact-panel h2 { font-size: 58px; }
  body.unified-theme.profile-page .profile-contact-intro { margin-block: 16px 18px; }
  body.unified-theme.profile-page .profile-contact-list > div { padding-block: 12px; }

  body.unified-theme .cv-intro-layout {
    min-height: 780px;
    padding-top: 94px;
    padding-bottom: 26px;
  }

  body.unified-theme .cv-intro-heading { padding: 34px 40px; }
  body.unified-theme .cv-intro-heading h1,
  body.unified-theme .cv-intro-heading h2 { font-size: clamp(52px, 5.8vw, 78px); }
  body.unified-theme .cv-intro-heading > p:last-child { margin-top: 18px; }
  body.unified-theme .cv-intro-meta > div { padding-block: 14px; }
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  body.unified-theme .ut-tilt { --ut-tilt-x: 0deg !important; --ut-tilt-y: 0deg !important; --ut-tilt-lift: 0px !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.unified-theme .ut-tilt { transform: none !important; transition: none !important; }
}

/* Editorial clarity pass — surfaces only where they carry a real function */
:root {
  --ink: #c4c1ba;
  --surface: #cecac2;
  --surface-2: #b6bdca;
  --paper: #192230;
  --muted: #46515f;
  --line: rgba(25, 34, 48, .24);
  --blue: #445b87;
}

body.unified-theme .site-header {
  border-color: rgba(255,255,255,.54);
  background: linear-gradient(135deg, rgba(224,220,211,.66), rgba(188,196,210,.34));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 12px 34px rgba(38,42,50,.09);
}

body.unified-theme .eyebrow,
body.unified-theme .statement-kicker,
body.unified-theme .section-id,
body.unified-theme .case-kicker,
body.unified-theme .case-section-label,
body.unified-theme .contact-page-kicker,
body.unified-theme .project-category,
body.unified-theme .profile-page-index,
body.unified-theme .profile-contact-code,
body.unified-theme .profile-contact-list dt,
body.unified-theme .cv-intro-meta span,
body.unified-theme .timeline-item time,
body.unified-theme .case-facts dt {
  color: #435678;
  font-size: max(11px, .72rem);
  line-height: 1.45;
  letter-spacing: .08em;
}

body.unified-theme .hero-summary p,
body.unified-theme .projects-intro-copy > p:last-child,
body.unified-theme .project-description,
body.unified-theme .profile-details > p,
body.unified-theme .employer-heading > p,
body.unified-theme .employer-value-grid p,
body.unified-theme .closing-copy p,
body.unified-theme .case-lead,
body.unified-theme .case-story-grid p,
body.unified-theme .process-step p,
body.unified-theme .services-intro,
body.unified-theme .service-card p,
body.unified-theme .contact-page-intro,
body.unified-theme .profile-contact-intro,
body.unified-theme .experience-heading > p:last-child {
  color: #3f4b59;
  font-size: clamp(13px, .94vw, 16px);
  line-height: 1.68;
}

/* Remove decorative cards behind editorial copy and list items. */
body.unified-theme .hero-availability,
body.unified-theme .hero-footer > div,
body.unified-theme .reel-copy,
body.unified-theme .profile-details,
body.unified-theme .skill-list article,
body.unified-theme .employer-value-grid article,
body.unified-theme .employer-proof-bar > div,
body.unified-theme .closing-stats article,
body.unified-theme .projects-index a,
body.unified-theme .cv-intro-meta,
body.unified-theme .cv-intro-meta > div,
body.unified-theme .cv-intro-actions,
body.unified-theme .timeline-item,
body.unified-theme .case-facts > div,
body.unified-theme .case-story-grid article,
body.unified-theme .process-step,
body.unified-theme .service-card,
body.unified-theme .services-process-list li,
body.unified-theme .profile-contact-list a,
body.unified-theme .contact-direct a,
body.unified-theme .contact-form-panel {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.unified-theme .hero-availability { padding: 0; border: 0; }
body.unified-theme .hero-footer { gap: clamp(20px, 4vw, 54px); border-top: 1px solid var(--line); }
body.unified-theme .hero-footer > div { min-width: 0; padding: 16px 0 0; border: 0; }

body.unified-theme .skill-list,
body.unified-theme .employer-value-grid,
body.unified-theme .employer-proof-bar,
body.unified-theme .closing-stats,
body.unified-theme .timeline,
body.unified-theme .case-facts,
body.unified-theme .case-story-grid,
body.unified-theme .process-list,
body.unified-theme .service-grid,
body.unified-theme .services-process-list {
  gap: 0;
}

body.unified-theme .skill-list article,
body.unified-theme .employer-value-grid article,
body.unified-theme .employer-proof-bar > div,
body.unified-theme .closing-stats article,
body.unified-theme .timeline-item,
body.unified-theme .case-story-grid article,
body.unified-theme .process-step,
body.unified-theme .service-card,
body.unified-theme .services-process-list li {
  padding: clamp(18px, 2vw, 28px) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

body.unified-theme .projects-index {
  gap: 0;
  border-top: 1px solid var(--line);
}
body.unified-theme .projects-index a {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
body.unified-theme .projects-index a:hover,
body.unified-theme .projects-index a:focus-visible { background: rgba(255,255,255,.12); }

body.unified-theme .case-facts > div {
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

body.unified-theme .reel-frame figcaption,
body.unified-theme .case-visual-label {
  border: 0;
  color: #f0ede6;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

body.unified-theme .contact-form-panel {
  padding: clamp(16px, 2.8vw, 34px) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Profile: one continuous editorial composition, no detached cards. */
body.unified-theme.profile-page .profile-card-layout {
  grid-template-columns: minmax(340px, .88fr) minmax(470px, 1.12fr);
  gap: 0;
  max-width: 1280px;
  padding-inline: clamp(28px, 5vw, 76px);
}
body.unified-theme.profile-page .profile-identity,
body.unified-theme.profile-page .profile-contact-panel {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.unified-theme.profile-page .profile-identity {
  min-height: 610px;
  padding: clamp(28px, 3vw, 44px) clamp(30px, 5vw, 70px) clamp(28px, 3vw, 44px) 0;
  border: 0;
  border-right: 1px solid var(--line);
}
body.unified-theme.profile-page .profile-portrait-frame {
  --portrait-size: clamp(238px, 19vw, 286px);
  padding: 6px;
  border: 1px solid rgba(25,34,48,.28);
  background: rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(35,40,49,.14);
}
body.unified-theme.profile-page .profile-contact-panel {
  padding: clamp(30px, 4vw, 54px) 0 clamp(30px, 4vw, 54px) clamp(38px, 6vw, 88px);
  border: 0;
}
body.unified-theme.profile-page .profile-contact-panel h2 { font-size: clamp(62px, 5.5vw, 84px); }
body.unified-theme.profile-page .profile-contact-list { gap: 0; border-top: 1px solid var(--line); }
body.unified-theme.profile-page .profile-contact-list > div {
  padding: 18px 0;
  border-color: var(--line);
}
body.unified-theme.profile-page .profile-contact-list a { padding: 0; border: 0; }

/* CV: strong split hierarchy without card containers. */
body.unified-theme .cv-intro-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .7fr);
  gap: 18px clamp(34px, 5vw, 78px);
  padding-top: 104px;
}
body.unified-theme .cv-intro-heading {
  min-height: 540px;
  overflow: visible;
  padding: clamp(28px, 3.6vw, 50px) clamp(34px, 5vw, 72px) clamp(28px, 3.6vw, 50px) 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.unified-theme .cv-intro-heading::after { display: none; }
body.unified-theme .cv-intro-heading .statement-kicker { color: #435678; }
body.unified-theme .cv-intro-heading h1 { color: var(--paper); }
body.unified-theme .cv-intro-heading h2 { color: #667080; }
body.unified-theme .cv-intro-heading h2 em { color: var(--blue); }
body.unified-theme .cv-intro-heading > p:last-child {
  color: #3f4b59;
  font-size: clamp(14px, 1vw, 16px);
}
body.unified-theme .cv-intro-meta {
  align-self: center;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
}
body.unified-theme .cv-intro-meta > div {
  padding: 19px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
body.unified-theme .cv-intro-meta strong { font-size: 14px; }
body.unified-theme .cv-intro-actions {
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}
body.unified-theme .timeline { border-top: 1px solid var(--line); }
body.unified-theme .timeline-item { border-top: 0; border-bottom: 1px solid var(--line); }

/* Compact controls remain functional without floating capsules. */
body.unified-theme .projects-filter {
  gap: clamp(18px, 2.5vw, 32px);
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}
body.unified-theme .projects-filter button,
body.unified-theme .projects-filter button.is-active {
  min-height: 34px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #4a5563;
  background: transparent;
}
body.unified-theme .projects-filter button:hover,
body.unified-theme .projects-filter button:focus-visible,
body.unified-theme .projects-filter button.is-active {
  color: var(--paper);
  border-bottom-color: var(--blue);
  background: transparent;
}
body.unified-theme .projects-filter button span { font-size: 11px; }
body.unified-theme .projects-filter button small,
body.unified-theme .projects-filter button.is-active small { color: #5c6674; font-size: 10px; }
body.unified-theme .projects-index-head { color: #46515f; font-size: 11px; }
body.unified-theme .projects-index-head span,
body.unified-theme .projects-index-head small { color: inherit; font-size: 11px; }
body.unified-theme .project-card-meta,
body.unified-theme .project-card-footer { font-size: 10px !important; }
body.unified-theme .project-card-footer > span:first-child { color: rgba(255,255,255,.76) !important; font-size: 10px; }
body.unified-theme .cover-year { font-size: 10px; }

body.unified-theme .slide-navigation {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.unified-theme .recruiter-trigger,
body.unified-theme .recruiter-trigger:hover,
body.unified-theme .recruiter-trigger:focus-visible {
  min-height: auto;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(25,34,48,.34);
  border-radius: 0;
  color: var(--paper);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.unified-theme .recruiter-trigger b { color: var(--paper); font-size: 10px; }
body.unified-theme .recruiter-trigger i { color: var(--blue); }
body.unified-theme .recruiter-trigger { display: none; }

body.unified-theme.profile-page .profile-role { font-size: 11px; }
body.unified-theme.profile-page .profile-contact-list dt { font-size: 11px; }
body.unified-theme.profile-page .profile-action-row > a:not(.line-link) { color: #46515f; font-size: 11px; }

body.unified-theme .hero-availability span,
body.unified-theme .hero-availability strong {
  color: #4d5866;
  font-size: 11px;
}
body.unified-theme .hero-cv-link { color: #4d5866; font-size: 11px; }

body.unified-theme .case-hero,
body.unified-theme .services-hero {
  min-height: 560px;
  padding-top: 100px;
  padding-bottom: 58px;
}

body.unified-theme .services-proof span,
body.unified-theme .service-card > span,
body.unified-theme .service-card li,
body.unified-theme .services-process-list article::before,
body.unified-theme .case-story-grid span,
body.unified-theme .process-step span {
  color: #526071;
  font-size: 11px;
  line-height: 1.45;
}
body.unified-theme .services-proof strong { color: var(--paper); font-size: 13px; }
body.unified-theme .service-grid { border: 0; }
body.unified-theme .service-card { min-height: 0; }
body.unified-theme .service-card h3 { margin-top: 30px; }
body.unified-theme .service-card p,
body.unified-theme .services-process-list p { color: #3f4b59; font-size: 13px; }
body.unified-theme .service-card ul { margin-top: 20px; }

body.unified-theme .project-feature-card .project-index-visual img {
  filter: saturate(.94) contrast(1.02) brightness(.96);
}
body.unified-theme .project-feature-card::before {
  background:
    linear-gradient(180deg, rgba(5,6,8,.08), transparent 48%, rgba(5,6,8,.74)),
    linear-gradient(135deg, color-mix(in srgb, var(--project-accent) 10%, transparent), transparent 44%);
}

body.unified-theme .cv-intro-actions .cv-download-link,
body.unified-theme .cv-intro-actions .cv-linkedin-link {
  padding: 0;
  border: 0;
  color: #46515f;
  background: transparent;
  font-size: 11px;
}
body.unified-theme .cv-intro-actions .cv-linkedin-link { color: #46515f !important; }
body.unified-theme .cv-intro-actions .line-link { color: var(--ut-white); }

body.unified-theme .form-field label,
body.unified-theme .form-consent,
body.unified-theme .case-gallery figcaption,
body.unified-theme .editorial-footer,
body.unified-theme .projects-back-link {
  color: #4b5664;
  font-size: 11px;
}
body.unified-theme .form-field input,
body.unified-theme .form-field select,
body.unified-theme .form-field textarea { font-size: 14px; }
body.unified-theme .form-field input::placeholder,
body.unified-theme .form-field textarea::placeholder { color: #6a7380; }

@media (max-width: 820px) {
  body.unified-theme.profile-page .profile-card-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    padding-inline: 20px;
  }
  body.unified-theme.profile-page .profile-identity {
    padding: 30px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  body.unified-theme.profile-page .profile-contact-panel { padding: 36px 0 28px; }
  body.unified-theme .cv-intro-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 0;
    width: 100%;
    padding-inline: 20px;
  }
  body.unified-theme .cv-intro-heading {
    min-height: auto;
    padding: 42px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  body.unified-theme .cv-intro-meta { padding: 24px 0; border-top: 0; }
  body.unified-theme .cv-intro-actions { margin-top: 8px; }
  body.unified-theme .slide-navigation { display: none; }
  body.unified-theme .projects-filter { display: flex; overflow-x: auto; }
  body.unified-theme .projects-filter button { flex: 0 0 auto; }
  body.unified-theme .case-hero,
  body.unified-theme .services-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 48px;
  }
}

@media (max-height: 780px) and (min-width: 821px) {
  body.unified-theme .cv-intro-layout {
    min-height: 100%;
    padding-top: 92px;
    padding-bottom: 18px;
  }
  body.unified-theme .cv-intro-heading {
    min-height: 0;
    padding-block: 24px;
  }
  body.unified-theme .cv-intro-heading h1,
  body.unified-theme .cv-intro-heading h2 { font-size: clamp(48px, 5.4vw, 72px); }
  body.unified-theme .cv-intro-heading > p:last-child { margin-top: 16px; }
  body.unified-theme .cv-intro-meta > div { padding-block: 13px; }
  body.unified-theme .cv-intro-actions { padding-top: 12px; }
}
