@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("assets/fonts/syne-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/fonts/dm-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Brand tokens sampled from the supplied Build With Ritesh logo. */
  --brand-primary: #0c192c;
  --brand-secondary: #202c3b;
  --brand-accent: #03a099;
  --brand-accent-ink: #006f69;
  --brand-highlight: #64b9b6;
  --brand-background: #f5f7f4;
  --brand-surface: #e7f0ee;
  --brand-text: #0c192c;
  --brand-muted: #50606a;
  --brand-border: rgba(12, 25, 44, .18);
  --brand-on-dark-muted: #b2cbc8;
  --brand-card: #d3dfd8;
  --brand-card-alt: #d8dcd1;
  --brand-chrome: #f8faf7;
  --paper: var(--brand-background);
  --paper-deep: var(--brand-surface);
  --ink: var(--brand-text);
  --teal: var(--brand-primary);
  --sage: var(--brand-highlight);
  --sage-light: var(--brand-surface);
  --muted: var(--brand-muted);
  --rule: var(--brand-border);
  --rule-light: rgba(245, 247, 244, .25);
  --gutter: clamp(32px, 6vw, 100px);
  --space-section: clamp(78px, 8vw, 124px);
  --space-section-compact: clamp(58px, 6vw, 92px);
  --space-block: clamp(32px, 4vw, 58px);
  --space-card: clamp(22px, 2.7vw, 38px);
  --body-font: "Manrope", Arial, sans-serif;
  --display-font: "Syne", Arial, sans-serif;
  --mono-font: "DM Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

body.menu-open { overflow: hidden; }
::selection { background: var(--sage); color: var(--teal); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display-font); font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(42px, 4.65vw, 68px); letter-spacing: -.055em; line-height: 1.04; }
h3 { font-size: clamp(25px, 2.25vw, 34px); letter-spacing: -.035em; line-height: 1.16; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 6px; }
.services :focus-visible, .contact :focus-visible, .hero__perspective :focus-visible { outline-color: var(--sage); }

.container { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.section-pad { padding-block: var(--space-section); }
.eyebrow, .section-label, .hero__eyebrow, .mono, .kicker { font-family: var(--mono-font); font-size: 11px; line-height: 1.65; font-weight: 400; letter-spacing: .085em; text-transform: uppercase; }
.section-label { display: flex; justify-content: space-between; gap: 24px; margin-bottom: var(--space-block); padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.section-label > :last-child { color: var(--muted); }
.section-label > :only-child { color: inherit; }
.section-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: clamp(32px, 5vw, 66px); margin-bottom: var(--space-block); }
.section-intro p { max-width: 440px; justify-self: end; color: var(--muted); font-size: 16px; }
.reveal-up { visibility: visible; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--brand-accent-ink); }

.skip-link { position: fixed; z-index: 100; inset: 12px auto auto 12px; padding: 12px 20px; background: var(--teal); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 30; top: 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 91px; }
.header-inner { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; flex-shrink: 0; }
.brand__logo { width: 48px; height: 48px; object-fit: contain; }
.brand__copy { display: block; font-size: 12px; font-weight: 700; line-height: 1.25; letter-spacing: .015em; }
.brand__copy small { display: block; margin-top: 5px; font-family: var(--mono-font); font-size: 9px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 34px); }
.desktop-nav a { display: flex; align-items: center; position: relative; min-height: 44px; font-size: 12px; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; bottom: 7px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="location"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.subtle-admin-link { font-family: var(--mono-font); font-size: 11px; color: var(--muted); text-decoration: none; transition: color 0.2s ease; display: none; }
.subtle-admin-link:hover { color: var(--brand-accent); }
@media (min-width: 768px) { .subtle-admin-link { display: inline-block; } }
.mobile-menu-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule-light); padding-top: 20px; }
.mobile-menu-footer .subtle-admin-link { display: inline-block; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-size: 12px; font-weight: 600; transition: background .18s ease, color .18s ease; }
.header-contact:hover { background: var(--brand-secondary); color: var(--paper); }
.menu-toggle { display: none; justify-content: center; align-items: center; gap: 6px; flex-direction: column; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--rule); background: transparent; }
.menu-toggle span { width: 21px; height: 1px; background: currentColor; }
.mobile-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 22px var(--gutter) 36px; border: 0; color: var(--paper); background: var(--teal); overflow: auto; }
.mobile-menu::backdrop { background: rgba(12, 25, 44, .72); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 0 26px; border-bottom: 1px solid var(--rule-light); }
.mobile-menu__top > span { font-family: var(--mono-font); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.mobile-menu__brand { display: inline-flex; align-items: center; gap: 11px; }
.mobile-menu__brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; background: var(--brand-background); }
.menu-close { width: 48px; height: 48px; border: 1px solid var(--rule-light); background: transparent; color: var(--paper); font-size: 25px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 26px; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 26px; padding: 13px 0; font-family: var(--display-font); font-size: clamp(28px, 5vw, 46px); line-height: 1.25; letter-spacing: -.03em; border-bottom: 1px solid var(--rule-light); }
.mobile-menu nav a span { flex-shrink: 0; color: var(--sage); font-family: var(--mono-font); font-size: 11px; letter-spacing: 0; }
.mobile-menu nav a:hover { color: var(--sage); }
.mobile-menu :focus-visible { outline-color: var(--sage); }

.hero { padding-top: 34px; }
.hero__eyebrow { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); margin-bottom: 40px; }
.hero__eyebrow > :first-child { color: var(--ink); }
.hero__eyebrow span { display: inline-block; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6.5vw, 110px); align-items: stretch; padding-bottom: 48px; }
.hero__content { padding-top: 5px; padding-bottom: 6px; min-width: 0; }
.hero h1 { font-size: clamp(74px, 7.35vw, 112px); font-weight: 600; line-height: .88; letter-spacing: -.065em; margin-bottom: 26px; }
.hero h1 .title-dot { display: inline; color: var(--brand-accent); }
.hero__position { margin-bottom: 17px; font-size: clamp(15px, 1.5vw, 20px); font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.hero__intro { max-width: 455px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 12px 21px; border: 1px solid var(--ink); font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.button span { font-size: 18px; line-height: 1; }
.button--dark { color: var(--paper); background: var(--teal); }
.button--dark:hover { color: var(--teal); background: var(--sage); }
.button--light { color: var(--brand-primary); background: var(--brand-background); border-color: var(--brand-background); }
.button--light:hover { color: var(--brand-primary); background: var(--brand-highlight); border-color: var(--brand-highlight); }
.hero__perspective { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(26px, 3.05vw, 46px); color: var(--paper); background: var(--teal); }
.perspective__top { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 22px; }
.perspective__top > span:first-child, .hero__perspective > .eyebrow { font-family: var(--mono-font); font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .09em; }
.perspective__headline { max-width: 360px; margin-block: 8px 29px; font-family: var(--display-font); font-size: clamp(36px, 3.55vw, 53px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.perspective__headline > span { color: var(--sage); font-style: normal; }
.perspective__path { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-block: 20px; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); font-family: var(--mono-font); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }
.perspective__path i { color: var(--sage); font-style: normal; }
.perspective__signature { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 11px; line-height: 1.5; }
.perspective__signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.perspective__signature strong { display: block; font-size: 12px; margin-bottom: 4px; font-weight: 600; }
.perspective__signature p { color: var(--brand-on-dark-muted); }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 27px 32px; border-top: 1px solid var(--rule); }
.experience-proof { display: flex; align-items: center; gap: 20px; }
.experience-proof strong { font-family: var(--display-font); font-size: 59px; font-weight: 600; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.experience-proof p, .experience-proof > span { max-width: 145px; font-family: var(--mono-font); font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .045em; }
.hero__foot-note { max-width: 340px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.scroll-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-family: var(--mono-font); font-size: 10px; text-transform: uppercase; white-space: nowrap; }
.scroll-link span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--rule); border-radius: 50%; font-size: 19px; }

.about { background: var(--paper-deep); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 10vw, 150px); }
.about__grid h2 { max-width: 555px; }
.about__copy { padding-top: 4px; }
.about__copy p { font-size: 17px; line-height: 1.9; }
.about__copy p + p { margin-top: 20px; color: var(--muted); font-size: 15px; }
.about__copy .text-link { margin-top: 20px; }
.approach { margin-top: 66px; padding-top: 26px; border-top: 1px solid var(--rule); }
.approach > p { margin-bottom: 25px; font-family: var(--mono-font); font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.approach ol { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: approach; }
.approach li { counter-increment: approach; padding: 0 28px; border-left: 1px solid var(--rule); }
.approach li:first-child { padding-left: 0; border-left: 0; }
.approach li:last-child { padding-right: 0; }
.approach li > span { display: block; color: var(--muted); font-family: var(--mono-font); font-size: 10px; margin-bottom: 15px; }

.timeline { border-top: 1px solid var(--rule); }
.timeline__item { display: grid; grid-template-columns: .75fr 1fr 1.35fr; gap: 45px; padding-block: 39px; border-bottom: 1px solid var(--rule); }
.timeline__meta { font-family: var(--mono-font); font-size: 11px; text-transform: uppercase; letter-spacing: .025em; }
.timeline__meta p, .timeline__meta span { display: block; margin-top: 9px; font-family: var(--body-font); font-size: 12px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.timeline__role h3 { margin-bottom: 10px; font-size: 26px; }
.timeline__role p { font-size: 13px; color: var(--muted); }
.timeline__role > span { display: block; margin-top: 9px; font-size: 12px; color: var(--muted); }
.timeline__detail { color: var(--muted); font-size: 13px; line-height: 1.85; }
.timeline__detail ul { list-style: none; }
.timeline__item li { position: relative; padding-left: 16px; }
.timeline__item li::before { content: ""; position: absolute; top: .85em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-accent); }
.timeline__item li + li { margin-top: 10px; }
.education, .certifications { display: grid; grid-template-columns: .75fr 2.35fr; gap: 45px; padding-top: 35px; }
.education > p { font-family: var(--mono-font); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; }
.education__list, .certifications__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 45px; }
.education article h3 { font-size: 19px; margin-bottom: 10px; }
.education article p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.education article span, .education article time { display: block; margin-top: 8px; font-family: var(--mono-font); font-size: 10px; color: var(--muted); }
.certifications { border-top: 1px solid var(--rule); }
.certifications > p { font-family: var(--mono-font); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; }
.certifications article { padding-top: 16px; border-top: 1px solid var(--rule); }
.certifications article h3 { font-size: 17px; line-height: 1.25; }
.certifications article p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.certifications article span { display: block; margin-bottom: 9px; font-family: var(--mono-font); font-size: 10px; color: var(--muted); }

.services, .expertise { background: var(--teal); color: var(--paper); }
.expertise .section-label { border-color: var(--rule-light); }
.expertise .section-label > :last-child, .expertise .section-intro p { color: var(--brand-on-dark-muted); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 34px); }
.service-card { padding: clamp(26px, 2.6vw, 42px); border: 1px solid var(--rule-light); display: flex; flex-direction: column; }
.service-card__top { margin-bottom: 39px; font-family: var(--mono-font); font-size: 10px; text-transform: uppercase; letter-spacing: .045em; color: var(--brand-on-dark-muted); }
.service-card__top { display: flex; justify-content: space-between; align-items: center; }
.service-card h3 { margin-bottom: 21px; font-size: clamp(28px, 2.5vw, 38px); }
.service-card > p:not(.eyebrow) { margin-bottom: 27px; color: var(--brand-on-dark-muted); font-size: 13px; line-height: 1.85; }
.service-card ul { margin-top: auto; padding-top: 21px; border-top: 1px solid var(--rule-light); list-style: none; }
.service-card li { position: relative; padding-left: 16px; font-size: 11px; line-height: 1.85; }
.service-card li + li { margin-top: 8px; }
.service-card li::before { content: "+"; position: absolute; left: 0; color: var(--sage); }
.service-card--accent { background: var(--sage); color: var(--teal); border-color: var(--sage); }
.service-card--accent > p:not(.eyebrow), .service-card--accent .service-card__top { color: var(--brand-primary); }
.service-card--accent ul { border-color: rgba(12, 25, 44, .27); }
.service-card--accent li::before { color: var(--teal); }
.skills { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(48px, 8vw, 120px); padding-top: var(--space-block); }
.skills h3 { font-size: 29px; margin-bottom: 18px; }
.skills p { max-width: 360px; color: var(--brand-on-dark-muted); font-size: 13px; line-height: 1.8; }
.skills dl { margin: 0; }
.skills dl > div { display: grid; grid-template-columns: .75fr 1.45fr; gap: 28px; padding-block: 17px; border-top: 1px solid var(--rule-light); }
.skills dl > div:last-child { border-bottom: 1px solid var(--rule-light); }
.skills dt { color: var(--sage); font-family: var(--mono-font); font-size: 10px; line-height: 1.8; letter-spacing: .045em; text-transform: uppercase; }
.skills dd { margin: 0; color: #d7e4e1; font-size: 12px; line-height: 1.85; }

.work { background: var(--sage-light); }
.portfolio-tools { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.portfolio-tools > .eyebrow { margin: 0; color: var(--brand-accent-ink); }
.portfolio-filters { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--brand-accent); }
.portfolio-filter { min-height: 44px; padding: 10px 17px; border: 0; border-right: 1px solid var(--brand-accent); color: var(--brand-primary); background: transparent; font-family: var(--body-font); font-size: 11px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; transition: color .18s ease, background .18s ease; }
.portfolio-filter:last-child { border-right: 0; }
.portfolio-filter:hover, .portfolio-filter:focus-visible, .portfolio-filter.is-active { color: var(--brand-primary); background: var(--brand-accent); }
.portfolio-filter:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(38px, 4vw, 58px) clamp(22px, 2.6vw, 34px); }
.project[hidden] { display: none; }
.project { min-width: 0; }
.project__preview { position: relative; display: block; padding: clamp(22px, 2.8vw, 42px); background: var(--brand-card); overflow: hidden; }
.project:nth-child(2) .project__preview { background: var(--brand-card-alt); }
.project__browser { display: flex; align-items: center; gap: 4px; min-height: 22px; padding: 6px 9px; background: var(--brand-chrome); color: var(--brand-secondary); border-bottom: 1px solid var(--brand-border); }
.project__browser span { width: 4px; height: 4px; border-radius: 50%; background: rgba(12, 25, 44, .35); }
.project__browser p, .project__browser small { margin-left: auto; font-family: var(--mono-font); color: var(--brand-muted); font-size: 7px; line-height: 1; }
.project__preview img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; object-position: center top; transition: transform .4s ease, filter .4s ease; filter: sepia(0.15) contrast(1.05) saturate(0.85); }
.project__preview::after { content: ""; position: absolute; inset: 0; background: var(--teal); opacity: 0.08; pointer-events: none; mix-blend-mode: multiply; transition: opacity .4s ease; }
.project__visit { position: absolute; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: var(--brand-secondary); color: var(--paper); inset: 50% auto auto 50%; transform: translate(-50%, -35%); opacity: 0; transition: opacity .18s ease, transform .18s ease; font-family: var(--mono-font); font-size: 10px; line-height: 1.5; text-align: center; padding: 12px; z-index: 2; }
a.project__preview:hover .project__visit, a.project__preview:focus-visible .project__visit, .project__preview a:hover .project__visit { opacity: 1; transform: translate(-50%, -50%); }
a.project__preview:hover img { transform: scale(1.025); filter: sepia(0) contrast(1) saturate(1); }
a.project__preview:hover::after { opacity: 0; }
.project__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 25px 14px; }
.project__meta > div { min-width: 0; }
.project__meta .eyebrow, .project__category { display: block; color: var(--muted); font-family: var(--mono-font); font-size: 9px; line-height: 1.7; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.project__meta h3 { font-size: clamp(28px, 2.6vw, 38px); overflow-wrap: anywhere; }
.project__meta > a, .project__link { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border: 1px solid var(--rule); border-radius: 50%; font-size: 23px; transition: background .18s ease, color .18s ease; }
.project__meta > a:hover, .project__link:hover { background: var(--teal); color: var(--paper); }
.project > p { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 490px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin-top: 18px; }
.project__tags li { padding: 5px 9px; border: 1px solid var(--rule); font-family: var(--mono-font); font-size: 9px; line-height: 1.6; }
.work__note { display: flex; align-items: start; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 11px; line-height: 1.8; }
.work__note span { font-family: var(--mono-font); flex-shrink: 0; }

.presence__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(60px, 10vw, 150px); }
.presence__intro > img, .presence__brand { width: 60px; height: 60px; object-fit: cover; margin-bottom: 26px; }
.presence__intro h2 { font-size: clamp(40px, 4.25vw, 62px); margin-bottom: 25px; }
.presence__intro > p { max-width: 415px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.social-links { border-top: 1px solid var(--rule); }
.social-links a { display: grid; grid-template-columns: 55px 1fr auto; gap: 20px; align-items: center; min-height: 92px; padding-block: 19px; border-bottom: 1px solid var(--rule); transition: padding .18s ease; }
.social-links a:hover { padding-inline: 8px; }
.social-links small, .social-links a > span:first-child { font-family: var(--mono-font); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.social-links strong, .social-links a > span:nth-child(2) { display: block; font-family: var(--display-font); font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.social-links strong small, .social-links a > span:nth-child(2) small { display: block; margin-top: 8px; font-family: var(--body-font); font-size: 10px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.social-links a > span:last-child { font-size: 24px; }

.resume { background: var(--sage); padding-block: 38px; }
.resume__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 29px; }
.resume__icon { display: grid; place-items: center; width: 64px; height: 76px; border: 1px solid rgba(12, 25, 44, .35); font-family: var(--mono-font); font-size: 13px; }
.resume__icon svg { width: 27px; height: 27px; }
.resume h2 { font-size: clamp(27px, 2.55vw, 39px); margin-bottom: 9px; letter-spacing: -.045em; }
.resume p { color: var(--brand-primary); font-size: 12px; line-height: 1.8; }
.resume .button { min-width: 185px; }

.contact { color: var(--paper); background: var(--teal); padding-bottom: 0; }
.contact .section-label { border-color: var(--rule-light); }
.contact .section-label > :last-child { color: var(--brand-on-dark-muted); }
.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(60px, 10vw, 140px); padding-bottom: var(--space-section-compact); }
.contact__grid h2 { max-width: 600px; margin-bottom: 24px; color: var(--sage); font-size: clamp(48px, 5.5vw, 80px); }
.contact__grid > div > p { max-width: 400px; color: var(--brand-on-dark-muted); font-size: 14px; line-height: 1.9; }
.contact__links { padding-top: 2px; }
.contact__links a { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 11px; min-height: 99px; padding: 17px 32px 21px 0; border-bottom: 1px solid var(--rule-light); transition: color .18s ease; }
.contact__links a:first-child { border-top: 1px solid var(--rule-light); }
.contact__links a:hover { color: var(--sage); }
.contact__links a > small, .contact__links a > .eyebrow { color: var(--brand-on-dark-muted); font-family: var(--mono-font); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.contact__links a > strong, .contact__links a > span:not(.eyebrow):not(.contact__arrow) { font-family: var(--display-font); font-size: clamp(17px, 1.5vw, 24px); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact__links .contact__arrow, .contact__links a > i { position: absolute; right: 0; bottom: 23px; font-size: 22px; font-style: normal; }
.contact-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 30px); margin-top: 4px; padding: clamp(26px, 4vw, 46px); border: 1px solid rgba(178,203,200,.4); background: rgba(245,247,244,.065); }
.contact-form__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(130px, .45fr) 1fr; gap: 28px; align-items: start; padding-bottom: 6px; }
.contact-form__intro .eyebrow { margin: 0; color: var(--sage); }
.contact-form__intro > p:last-child { max-width: 440px; margin: 0; color: var(--brand-on-dark-muted); font-size: 14px; line-height: 1.8; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--paper); font-family: var(--mono-font); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.form-field label span { color: var(--brand-on-dark-muted); text-transform: none; letter-spacing: 0; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(178,203,200,.42); border-radius: 7px; outline: 0; color: var(--paper); background: rgba(245,247,244,.08); font: inherit; font-size: 15px; line-height: 1.55; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.form-field select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 42px; }
.form-field select option { color: var(--brand-primary); background: var(--brand-background); }
.form-field textarea { min-height: 126px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--brand-on-dark-muted); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { border-color: var(--brand-highlight); background: rgba(245,247,244,.12); box-shadow: 0 0 0 3px rgba(100,185,182,.22); }
.form-field input:user-invalid, .form-field textarea:user-invalid, .form-field select:user-invalid { border-color: #f0a3a3; }
.contact-form .button { justify-self: start; min-width: 178px; margin-top: 4px; }
.form-status { grid-column: 2; align-self: center; min-height: 19px; margin: 4px 0 0; color: var(--brand-highlight); font-size: 12px; line-height: 1.6; }
.footer-shell { background: var(--brand-primary); color: var(--brand-background); }
.footer-shell .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 100px; padding-block: 22px; border-top: 1px solid var(--rule-light); }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-family: var(--display-font); font-size: 16px; font-weight: 600; letter-spacing: -.03em; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; background: var(--brand-background); }
.footer-brand b { color: var(--brand-accent); }
.site-footer p { color: var(--brand-on-dark-muted); font-size: 10px; text-align: center; }
.site-footer > a:last-child { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-family: var(--mono-font); font-size: 10px; text-transform: uppercase; }
.site-footer > a:last-child:hover { color: var(--brand-highlight); }

@media (min-width: 1600px) {
  .hero { padding-top: 44px; }
  .hero__eyebrow { margin-bottom: 52px; }
  .hero__grid { padding-bottom: 56px; }
  .hero__perspective { min-height: 525px; }
}

@media (max-width: 1100px) {
  .desktop-nav { gap: 17px; }
  .header-inner { gap: 19px; }
  .hero__grid { gap: 38px; }
  .hero h1 { font-size: 86px; }
  .hero__perspective { padding: 28px; }
.hero__position { font-size: 16px; }
  .hero__intro { font-size: 14px; }
  .hero__foot-note { max-width: 275px; }
  .timeline__item { grid-template-columns: .72fr 1fr 1.35fr; gap: 28px; }
  .education { gap: 28px; }
  .service-card { padding: 25px; }
  .service-card h3 { font-size: 30px; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
  .contact__grid { gap: 65px; }
  .social-links a { grid-template-columns: 35px 1fr auto; gap: 15px; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 85px; }
  .header-inner { min-height: 78px; flex-wrap: wrap; }
  .site-header .desktop-nav { order: 3; width: 100%; padding-bottom: 13px; justify-content: center; flex-wrap: wrap; gap: 0 22px; }
  .js .site-header .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand__logo { width: 42px; height: 42px; }
  .hero__eyebrow { font-size: 9px; margin-bottom: 36px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 28px; }
  .hero h1 { font-size: 78px; }
  .hero__actions { gap: 9px; }
  .hero .button { min-height: 48px; padding-inline: 15px; gap: 15px; font-size: 11px; }
  .hero__perspective { padding: 24px; }
  .perspective__headline { font-size: 36px; }
  .perspective__path { font-size: 9px; gap: 8px; }
  .hero__foot { gap: 23px; }
  .experience-proof { gap: 13px; }
  .experience-proof strong { font-size: 52px; }
  .experience-proof p, .experience-proof > span { max-width: 120px; font-size: 9px; }
  .hero__foot-note { max-width: 235px; font-size: 11px; }
  .scroll-link { gap: 12px; font-size: 9px; }
  .section-intro { gap: 40px; }
  .about__grid { gap: 45px; }
  .about__copy p { font-size: 16px; }
  .approach li { padding-inline: 18px; }
  .timeline__item { grid-template-columns: .7fr 1fr; gap: 26px 40px; }
  .timeline__detail { grid-column: 2; }
  .education, .certifications { grid-template-columns: .7fr 1fr; gap: 26px 40px; }
  .education__list, .certifications__list { grid-template-columns: 1fr; gap: 24px; }
  .services { gap: 12px; }
  .service-card { padding: 22px; }
  .service-card h3 { font-size: 27px; }
  .service-card > p:not(.eyebrow) { font-size: 12px; }
  .service-card li { font-size: 10px; }
  .skills { gap: 45px; grid-template-columns: .85fr 1.3fr; }
  .skills dl > div { grid-template-columns: 1fr; gap: 9px; }
  .presence__grid { gap: 55px; }
  .social-links strong, .social-links a > span:nth-child(2) { font-size: 23px; }
  .contact__grid { gap: 42px; grid-template-columns: 1fr 1fr; }
  .contact__grid h2 { font-size: 54px; }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .section-pad { padding-block: 70px; }
  h2 { font-size: 43px; }
  .section-label { margin-bottom: 34px; font-size: 9px; gap: 14px; padding-bottom: 15px; }
  .section-label > :last-child { max-width: 45%; text-align: right; }
  .section-label > :only-child { max-width: none; text-align: left; }
  .section-intro { grid-template-columns: 1fr; gap: 23px; margin-bottom: 36px; }
  .section-intro p { justify-self: start; font-size: 14px; }
  .portfolio-tools { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .portfolio-filters { width: 100%; }
  .portfolio-filter { flex: 1 1 auto; padding-inline: 11px; font-size: 10px; }
  .header-inner { gap: 12px; min-height: 76px; }
  .brand { gap: 10px; }
  .brand__copy { font-size: 11px; }
  .brand__copy small { font-size: 8px; }
  .header-contact { font-size: 10px; padding-inline: 12px; gap: 10px; }
  .hero { padding-top: 26px; }
  .hero__eyebrow { gap: 16px; margin-bottom: 37px; font-size: 8px; letter-spacing: .045em; align-items: start; }
  .hero__eyebrow > :last-child { text-align: right; max-width: 42%; }
  .hero__grid { grid-template-columns: 1fr; gap: 35px; padding-bottom: 30px; }
  .hero__content { padding-block: 0; }
  .hero h1 { font-size: 82px; margin-bottom: 26px; }
  .hero__position { max-width: 410px; font-size: 16px; margin-bottom: 14px; }
  .hero__intro { max-width: 480px; font-size: 14px; }
  .hero__actions { gap: 11px; margin-top: 25px; }
  .hero .button { min-height: 51px; padding-inline: 19px; gap: 23px; font-size: 11px; }
  .hero__perspective { padding: 28px; }
  .perspective__top { margin-bottom: 18px; }
  .perspective__headline { max-width: 420px; font-size: clamp(37px, 7.4vw, 48px); margin-block: 6px 29px; }
  .perspective__path { justify-content: flex-start; gap: 24px; padding-block: 18px; font-size: 10px; }
  .perspective__signature { margin-top: 20px; }
  .hero__foot { display: grid; grid-template-columns: 1fr auto; gap: 19px 15px; padding-block: 25px 29px; }
  .experience-proof strong { font-size: 55px; }
  .experience-proof p, .experience-proof > span { max-width: 110px; }
  .hero__foot-note { max-width: 330px; grid-column: 1 / -1; grid-row: 2; font-size: 11px; }
  .scroll-link { font-size: 8px; gap: 10px; }
  .scroll-link span { width: 34px; height: 34px; }
  .about__grid { grid-template-columns: 1fr; gap: 29px; }
  .about__grid h2 { max-width: 450px; }
  .about__copy { padding-top: 0; }
  .about__copy p { font-size: 16px; line-height: 1.8; }
  .about__copy p + p { font-size: 14px; line-height: 1.85; }
  .approach { margin-top: 41px; padding-top: 22px; }
  .approach ol { grid-template-columns: 1fr 1fr; gap: 28px 23px; }
  .approach li { padding: 0 0 0 23px; }
  .approach li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .approach li > span { margin-bottom: 10px; }
  .approach li h3, .approach li strong { font-size: 19px; }
  .approach li p { font-size: 11px; }
  .timeline__item { grid-template-columns: 1fr; gap: 21px; padding-block: 30px; }
  .timeline__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 10px; }
  .timeline__meta p + p, .timeline__meta span { margin-top: 0; font-size: 11px; }
  .timeline__role h3 { font-size: 28px; }
  .timeline__role p { font-size: 12px; }
  .timeline__detail { grid-column: auto; font-size: 12px; }
  .education, .certifications { grid-template-columns: 1fr; gap: 18px; padding-top: 29px; }
  .education__list, .certifications__list { grid-template-columns: 1fr; gap: 20px; }
  .education article h3 { font-size: 19px; }
  .education article p { font-size: 11px; }
  .services { grid-template-columns: 1fr; gap: 17px; }
  .service-card { padding: 29px; }
  .service-card__top { margin-bottom: 28px; }
  .service-card h3 { font-size: 34px; max-width: 360px; margin-bottom: 18px; }
  .service-card > p:not(.eyebrow) { max-width: 500px; font-size: 13px; margin-bottom: 23px; }
  .service-card li { font-size: 11px; }
  .skills { grid-template-columns: 1fr; gap: 27px; padding-top: 43px; }
  .skills h3 { font-size: 30px; margin-bottom: 15px; }
  .skills dl > div { grid-template-columns: .7fr 1.3fr; gap: 23px; }
  .skills dd { font-size: 11px; }
  .skills dt { font-size: 9px; }
  .projects { grid-template-columns: 1fr; gap: 43px; }
  .project__preview { padding: 27px; }
  .project__meta { margin-top: 21px; }
  .project__meta h3 { font-size: 32px; }
  .project > p { font-size: 12px; }
  .project__visit { display: none; }
  .work__note { margin-top: 31px; font-size: 10px; }
  .presence__grid { grid-template-columns: 1fr; gap: 36px; }
  .presence__intro h2 { font-size: 43px; max-width: 420px; margin-bottom: 23px; }
  .presence__intro > p { font-size: 13px; }
  .presence__intro > img, .presence__brand { margin-bottom: 23px; }
  .social-links a { min-height: 86px; grid-template-columns: 40px 1fr auto; gap: 17px; }
  .social-links strong, .social-links a > span:nth-child(2) { font-size: 25px; }
  .resume { padding-block: 32px; }
  .resume__inner { grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
  .resume__icon { width: 48px; height: 59px; }
  .resume h2 { font-size: 29px; margin-bottom: 11px; }
  .resume p { font-size: 11px; }
  .resume .button { grid-column: 2; justify-self: start; min-width: 185px; min-height: 48px; margin-top: 3px; }
  .contact { padding-bottom: 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 37px; padding-bottom: 49px; }
  .contact__grid h2 { font-size: 55px; max-width: 450px; margin-bottom: 23px; }
  .contact__grid > div > p { font-size: 13px; }
  .contact__links a { min-height: 91px; gap: 9px; }
  .contact__links a > strong, .contact__links a > span:not(.eyebrow):not(.contact__arrow) { font-size: 20px; }
  .contact-form { grid-template-columns: 1fr; gap: 21px; margin-top: 0; padding: 26px 22px; }
  .contact-form__intro { grid-template-columns: 1fr; gap: 12px; padding-bottom: 2px; }
  .contact-form__intro > p:last-child { font-size: 13px; }
  .form-field--full { grid-column: auto; }
  .contact-form .button { grid-column: auto; width: 100%; justify-self: stretch; }
  .form-status { grid-column: auto; margin-top: -4px; }
  .footer-shell .site-footer { flex-wrap: wrap; gap: 10px 24px; min-height: 110px; padding-block: 23px; }
  .site-footer p { width: 100%; order: 3; text-align: left; font-size: 9px; }
  .site-footer > a:last-child { margin-left: auto; font-size: 9px; }
}

@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero h1 { font-size: 73px; }
  .hero__eyebrow { font-size: 7px; }
  .hero .button { padding-inline: 14px; gap: 14px; font-size: 10px; }
  .hero__perspective { padding: 24px; }
  .perspective__headline { font-size: 36px; }
  .perspective__path { gap: 15px; font-size: 9px; }
  .experience-proof { gap: 12px; }
  .experience-proof strong { font-size: 49px; }
  .experience-proof p, .experience-proof > span { max-width: 95px; font-size: 8px; }
  .scroll-link { gap: 6px; font-size: 7px; }
  .scroll-link span { width: 30px; height: 30px; }
  .section-label { font-size: 8px; }
  .portfolio-filter { padding-inline: 8px; font-size: 9px; }
  .project__meta { gap: 10px; }
  .project__meta > a { width: 40px; height: 40px; }
  h2, .presence__intro h2 { font-size: 39px; }
  .service-card { padding: 25px; }
  .service-card h3 { font-size: 30px; }
  .skills dl > div { grid-template-columns: 1fr; gap: 9px; }
  .project__preview { padding: 20px; }
  .social-links a { grid-template-columns: 28px 1fr auto; gap: 13px; }
  .social-links strong, .social-links a > span:nth-child(2) { font-size: 23px; }
  .contact__grid h2 { font-size: 48px; }
  .contact__links a > strong, .contact__links a > span:not(.eyebrow):not(.contact__arrow) { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Reference-inspired interaction layer: restrained pointer feedback, editorial entrance and section progress. */
.custom-cursor,
.section-progress { display: none; }

@media (pointer: fine) and (hover: hover) {
  html.js body.has-custom-cursor,
  html.js body.has-custom-cursor a,
  html.js body.has-custom-cursor button { cursor: none; }
  html.js .custom-cursor { display: block; position: fixed; z-index: 80; left: 0; top: 0; width: 30px; height: 30px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1); will-change: left, top, transform; }
  html.js .custom-cursor.is-visible { opacity: 1; }
  .custom-cursor__ring { position: absolute; inset: 0; border: 1px solid var(--brand-accent); border-radius: 50%; background: rgba(3, 160, 153, .05); transition: background .25s ease, border-color .25s ease; }
  .custom-cursor__dot { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); transform: translate(-50%, -50%); transition: transform .25s ease, background .25s ease; }
  .custom-cursor.is-hovering { transform: translate(-50%, -50%) scale(1.35); }
  .custom-cursor.is-hovering .custom-cursor__ring { background: var(--brand-accent); border-color: var(--brand-accent); }
  .custom-cursor.is-hovering .custom-cursor__dot { background: var(--brand-primary); transform: translate(-50%, -50%) scale(.75); }
  .custom-cursor.is-project { transform: translate(-50%, -50%) scale(1.7); }
  .custom-cursor.is-project::after { content: "View"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-primary); font-family: var(--mono-font); font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .custom-cursor.is-project .custom-cursor__dot { opacity: 0; }
}

html.js body:not(.page-ready) .hero__hello,
html.js body:not(.page-ready) .hero h1,
html.js body:not(.page-ready) .hero__position,
html.js body:not(.page-ready) .hero__intro,
html.js body:not(.page-ready) .hero__actions,
html.js body:not(.page-ready) .hero__perspective { opacity: 0; transform: translateY(16px); }
html.js body.page-ready .hero__hello { animation: hero-enter .55s cubic-bezier(.2,.75,.25,1) both; }
html.js body.page-ready .hero h1 { animation: hero-enter .7s .06s cubic-bezier(.2,.75,.25,1) both; }
html.js body.page-ready .hero__position { animation: hero-enter .62s .13s cubic-bezier(.2,.75,.25,1) both; }
html.js body.page-ready .hero__intro { animation: hero-enter .62s .2s cubic-bezier(.2,.75,.25,1) both; }
html.js body.page-ready .hero__actions { animation: hero-enter .62s .27s cubic-bezier(.2,.75,.25,1) both; }
html.js body.page-ready .hero__perspective { animation: hero-enter .72s .18s cubic-bezier(.2,.75,.25,1) both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.section-progress { position: fixed; z-index: 25; left: var(--gutter); bottom: 24px; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(12, 25, 44, .16); border-radius: 999px; background: rgba(245, 247, 244, .86); box-shadow: 0 12px 30px rgba(12, 25, 44, .08); backdrop-filter: blur(10px); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
body.page-ready .section-progress { display: flex; opacity: .9; transform: none; }
.section-progress span { display: block; width: 6px; height: 6px; border-radius: 99px; background: var(--brand-highlight); transition: width .25s ease, background .25s ease, transform .25s ease; }
.section-progress span.is-active { width: 22px; background: var(--brand-accent); }

@media (max-width: 700px), (pointer: coarse) {
  .section-progress { display: none !important; }
}

/* --- Service Cards --- */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 60px; }
.offer-card { position: relative; padding: 32px; border: 1px solid var(--rule); background: var(--paper-deep); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease; overflow: hidden; display: flex; flex-direction: column; }
.offer-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.03), transparent 40%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.offer-card:hover { transform: translateY(-4px); border-color: var(--brand-accent); }
.offer-card:hover::before { opacity: 1; }
.offer-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; font-family: var(--mono-font); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.offer-icon { font-size: 24px; opacity: 0.5; transition: opacity 0.3s ease, transform 0.3s ease; }
.offer-card:hover .offer-icon { opacity: 1; transform: scale(1.1) rotate(5deg); }
.offer-card h2 { font-size: 22px; margin-bottom: 12px; }
.offer-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.offer-tags span { padding: 4px 10px; font-size: 10px; font-family: var(--mono-font); border: 1px solid var(--rule); border-radius: 4px; color: var(--brand-on-dark-muted); }
.offer-card details { margin-top: auto; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 13px; }
.offer-card details summary { cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.offer-card details summary::-webkit-details-marker { display: none; }
.offer-card details ul { margin: 16px 0; padding-left: 18px; color: var(--muted); line-height: 1.6; }
.offer-card details .text-link { display: inline-flex; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--brand-accent); }

/* --- Skill Logo Grid --- */
.skills-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }
.skill-category dt { font-size: 13px; font-weight: 600; margin-bottom: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--mono-font); border-bottom: 1px solid var(--rule-light); padding-bottom: 8px; }
.skill-category dd { display: flex; flex-wrap: wrap; gap: 16px; }
.skill-logo { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 14px; font-size: 13px; font-weight: 600; background: rgba(245,247,244,.96); border: 1px solid rgba(178,203,200,.42); border-radius: 8px; color: var(--ink); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease; cursor: default; }
.skill-logo img { width: 22px; height: 22px; object-fit: contain; flex: 0 0 22px; }
.skill-logo[data-tech="html"] img + img { margin-left: -5px; }
.skill-logo:hover { transform: translateY(-3px); border-color: var(--brand-highlight); box-shadow: 0 8px 24px rgba(0,0,0,0.08); color: var(--brand-accent-ink); }
.skill-logo:hover img { transform: scale(1.05); }

@media print {
  body { background: #fff; color: var(--brand-primary); font-size: 11pt; }
  .site-header { position: static; }
  .site-header .desktop-nav, .header-contact, .menu-toggle, .mobile-menu, .skip-link, .scroll-link, .hero__actions, .project__visit { display: none !important; }
  .container { width: 100%; }
  .section-pad { padding-block: 32px; }
  .hero__grid, .about__grid, .section-intro, .presence__grid, .contact__grid { gap: 26px; }
  .hero h1 { font-size: 58pt; }
  h2 { font-size: 30pt; }
  .hero__perspective, .services, .expertise, .contact, .footer-shell { background: #fff; color: var(--brand-primary); }
  .hero__perspective *, .services *, .expertise *, .contact *, .footer-shell * { color: var(--brand-primary) !important; border-color: var(--brand-border) !important; }
  .service-card, .project, .timeline__item, .education article, .certifications article, .resume { break-inside: avoid; }
  .site-footer { margin-top: 24px; }
  .custom-cursor, .section-progress { display: none !important; }
}
/* Developer identity: the original palette and composition remain the foundation. */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 80px -2% 0; pointer-events: none; background-image: linear-gradient(var(--brand-border) 1px, transparent 1px), linear-gradient(90deg, var(--brand-border) 1px, transparent 1px); background-size: 48px 48px; opacity: .18; mask-image: linear-gradient(110deg, transparent 20%, #000 90%); }
.hero__hello::after { content: ' / index.html'; color: var(--brand-accent-ink); font-family: var(--mono-font); font-size: 10px; letter-spacing: .03em; }
.developer-terminal { margin: 42px 0 0; border: 1px solid var(--brand-border); background: var(--brand-primary); color: var(--brand-background); font-family: var(--mono-font); overflow: hidden; }
.developer-terminal__bar { display: flex; justify-content: space-between; gap: 15px; padding: 14px 22px; border-bottom: 1px solid rgba(178,203,200,.22); font-size: 10px; letter-spacing: .05em; }
.terminal-ready { color: var(--brand-on-dark-muted); display: inline-flex; align-items: center; gap: 8px; }
.terminal-ready i { width: 6px; height: 6px; background: var(--brand-highlight); border-radius: 50%; }
.developer-terminal__body { padding: 22px; }
.terminal-comment { color: var(--brand-on-dark-muted); font-size: 11px; margin: 0 0 18px; }
.terminal-commands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.terminal-commands button { color: var(--brand-background); background: transparent; border: 1px solid rgba(178,203,200,.35); min-height: 42px; padding: 9px 15px; font: inherit; font-size: 12px; transition: background .2s, border-color .2s; }
.terminal-commands button:hover, .terminal-commands button:focus-visible, .terminal-commands button[aria-pressed=true] { background: var(--brand-secondary); border-color: var(--brand-highlight); }
.terminal-output { min-height: 64px; max-width: 850px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.terminal-output a { color: var(--brand-highlight); text-underline-offset: 4px; }
.terminal-input-row { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(178,203,200,.22); margin-top: 18px; padding-top: 12px; }
.terminal-input-row label { color: var(--brand-highlight); }
.terminal-input-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--brand-background); font: inherit; font-size: 13px; padding: 10px 3px; }
.terminal-input-row input::placeholder { color: var(--brand-on-dark-muted); }
.terminal-input-row button { width: 44px; height: 44px; border: 1px solid rgba(178,203,200,.35); color: var(--brand-highlight); background: transparent; }
.terminal-hint { margin: 12px 0 0; color: var(--brand-on-dark-muted); font-size: 10px; line-height: 1.6; }
.terminal-hint kbd { font: inherit; border: 1px solid rgba(178,203,200,.3); padding: 1px 4px; }
.skills dt::before { content: '['; margin-right: 8px; color: var(--brand-highlight); }
.skills dt::after { content: ']'; margin-left: 8px; color: var(--brand-highlight); }
.skills dd { transition: transform .25s ease; }
.skills dl > div:hover dd { transform: translateX(4px); }
.project__browser { font-family: var(--mono-font); }
.project__browser > span:first-child { color: var(--brand-accent-ink); }
.desktop-nav a[aria-current=page]::after { transform: scaleX(1); }
@media (max-width:700px) { .developer-terminal__bar, .developer-terminal__body { padding: 16px; } .terminal-ready { font-size: 8px; } .terminal-output { min-height: 115px; } .hero::before { background-size: 32px 32px; } }
@media (prefers-reduced-motion:reduce) { .skills dd { transition: none; } .skills dl > div:hover dd { transform: none; } }
/* The boot cue is decorative and never blocks content or navigation. */
.hero__eyebrow::after { content: 'Ready.'; position: absolute; right: 0; top: 102px; color: var(--brand-accent-ink); font: 10px var(--mono-font); animation: developer-boot .75s ease-out both; }
@keyframes developer-boot { 0% { opacity: 0; transform: translateY(5px); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@media (pointer:fine) and (hover:hover) { .custom-cursor.is-code::after { content: '</>'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-primary); font: 8px var(--mono-font); } .custom-cursor.is-code .custom-cursor__dot { opacity: 0; } }
@media (max-width:700px) { .hero__eyebrow::after { display: none; } }
/* Editorial technical details, sized to retain the existing reading rhythm. */
.code-caption { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 25px; padding-bottom: 14px; border-bottom: 1px solid rgba(178,203,200,.3); font: 9px var(--mono-font); color: var(--brand-on-dark-muted); }
.code-workflow { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; padding: 18px 0; border-block: 1px solid rgba(178,203,200,.22); }
.code-workflow code { color: var(--brand-on-dark-muted); font: 12px/1.8 var(--mono-font); }
.code-workflow code span { color: var(--brand-highlight); }
.code-bracket { color: var(--brand-highlight); opacity: .4; font: 75px/1 var(--mono-font); transform: translateY(var(--bracket-shift,0px)); transition: transform .3s ease-out; }
.skill-token { display: inline-block; padding: 6px 9px; margin: 3px 3px 3px 0; border: 1px solid rgba(178,203,200,.3); font: 11px/1.5 var(--mono-font); transition: background .2s, border-color .2s; }
.skill-token:hover { background: rgba(100,185,182,.12); border-color: var(--brand-highlight); }
.project__meta .eyebrow { font-family: var(--mono-font); letter-spacing: .08em; }
.hero__perspective { position: relative; overflow: hidden; }
.hero__perspective::after { content:''; position:absolute; left:0; right:0; top:var(--scan-position,0%); height:1px; background:var(--brand-highlight); opacity:.15; pointer-events:none; transition:top .5s ease-out; }
@media(max-width:700px) { .code-caption { font-size:8px; } .code-workflow code { font-size:11px; } .code-bracket { font-size:55px; } .skill-token { font-size:10px; padding:5px 7px; } }
@media(prefers-reduced-motion:reduce) { .code-bracket,.hero__perspective::after,.skill-token { transition:none; } }

/* A short visual boot cue; content remains rendered and usable beneath it. */
.boot-sequence { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: var(--brand-primary); color: var(--brand-background); animation: boot-dismiss .28s .72s ease forwards; pointer-events: none; }
.boot-sequence__panel { width: min(330px, calc(100vw - 48px)); font-family: var(--mono-font); }
.boot-sequence__mark { display: block; margin-bottom: 24px; color: var(--brand-highlight); font-size: 24px; }
.boot-sequence__panel p { margin: 0 0 14px; font-size: 12px; letter-spacing: .04em; }
.boot-sequence__ellipsis { display: inline-block; width: 1.6em; overflow: hidden; vertical-align: bottom; animation: boot-type .62s steps(3,end) both; }
.boot-sequence__bar { height: 1px; overflow: hidden; background: rgba(178,203,200,.25); }
.boot-sequence__bar span { display: block; width: 100%; height: 100%; background: var(--brand-highlight); transform-origin: left; animation: boot-progress .65s cubic-bezier(.2,.75,.25,1) both; }
.boot-sequence__panel small { display: block; margin-top: 12px; color: var(--brand-on-dark-muted); font-size: 9px; letter-spacing: .08em; }
.boot-sequence.is-complete { opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s .22s; }
@keyframes boot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes boot-type { from { width: 0; } to { width: 1.6em; } }
@keyframes boot-dismiss { to { opacity: 0; visibility: hidden; } }

.hero-code-fragments { position: absolute; z-index: -1; inset: 100px 0 auto; height: 68%; pointer-events: none; font: 9px var(--mono-font); color: var(--brand-accent-ink); opacity: .3; }
.hero-code-fragments span { position: absolute; padding: 5px 7px; border-left: 1px solid var(--brand-border); animation: code-drift 7s ease-in-out 2 alternate; }
.hero-code-fragments span:nth-child(1) { top: 5%; right: 45%; }
.hero-code-fragments span:nth-child(2) { top: 55%; left: 2%; animation-delay: -2s; }
.hero-code-fragments span:nth-child(3) { top: 78%; right: 3%; animation-delay: -4s; }
@keyframes code-drift { to { transform: translateY(9px); } }

@media (pointer:fine) and (hover:hover) {
  .hero__actions a, .header-contact, .project__arrow { transition-property: background, color, border-color, translate; transition-duration: .18s; transition-timing-function: ease; }
  .project__preview img { translate: var(--project-shift-x, 0) var(--project-shift-y, 0); }
}
@media (max-width:700px) { .hero-code-fragments { display: none; } }
@media (prefers-reduced-motion:reduce) {
  .boot-sequence { display: none; }
  .hero-code-fragments span { animation: none; }
  .project__preview img { translate: none !important; }
}
.form-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Whole-site developer/editorial refinement. */
body { position: relative; isolation: isolate; }
body::before { content: ''; position: fixed; z-index: -2; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(12,25,44,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(12,25,44,.025) 1px,transparent 1px),radial-gradient(circle at 15% 12%,rgba(3,160,153,.055),transparent 22rem); background-size: 64px 64px,64px 64px,100% 100%; }
.section-pad { padding-block: var(--space-section); }
.section-label { margin-bottom: clamp(30px,3.2vw,43px); }
.section-label > :first-child::before { content: '<'; color: var(--brand-accent-ink); }
.section-label > :first-child::after { content: ' />'; color: var(--brand-accent-ink); }
.site-header { transition: transform .32s cubic-bezier(.2,.75,.25,1),background .25s ease,box-shadow .25s ease; }
.site-header.is-compact { background: rgba(245,247,244,.94); box-shadow: 0 10px 35px rgba(12,25,44,.065); backdrop-filter: blur(14px); }
.site-header.is-hidden { transform: translateY(-105%); }
body.menu-open .site-header { transform: none; }
.hero__grid { grid-template-columns: minmax(0,1.3fr) minmax(350px,.9fr); gap: clamp(28px,4.5vw,74px); }
.hero h1 { max-width: none; font-size: clamp(48px,6.1vw,94px); line-height: 1.02; text-wrap: wrap; }
.hero__position { font-family: var(--mono-font); font-size: clamp(13px,1.15vw,17px); letter-spacing: .01em; }
.hero__position { text-wrap: wrap; }
.button,.text-link,.project__arrow,.social-links a b,.site-footer > a:last-child span { transition: color .22s ease,background .22s ease,border-color .22s ease,transform .22s ease,translate .22s ease; }
.button:hover span,.button:focus-visible span,.text-link:hover span,.project__meta a:hover,.social-links a:hover b,.site-footer > a:last-child:hover span { transform: translate(3px,-2px); }
.button:active,.project__arrow:active { transform: scale(.975); }
.interactive-surface { position: relative; isolation: isolate; overflow: hidden; --spot-x: 50%; --spot-y: 50%; }
.interactive-surface::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--spot-x) var(--spot-y),rgba(100,185,182,.14),transparent 62%); opacity: 0; transition: opacity .3s ease; }
.interactive-surface:hover::before,.interactive-surface:focus-within::before { opacity: 1; }
.service-card,.timeline__item,.approach li,.skills dl>div,.social-links a,.contact__links a,.contact-form { transition: border-color .25s ease,background-color .25s ease,transform .3s cubic-bezier(.2,.75,.25,1),box-shadow .3s ease; }
.service-card:hover { border-color: var(--brand-highlight); transform: translateY(-5px); box-shadow: 0 24px 55px rgba(0,0,0,.13); }
.service-card__top>span:last-child { transition: transform .25s ease; }
.service-card:hover .service-card__top>span:last-child { transform: translate(4px,-4px); }
.timeline__item { padding-inline: 18px; margin-inline: -18px; }
.timeline__item:hover { background: rgba(255,255,255,.38); border-color: var(--brand-accent); }
.approach li:hover { transform: translateY(-3px); }
.skills dl>div:hover { background: rgba(100,185,182,.065); }
.project { transition: transform .35s cubic-bezier(.2,.75,.25,1); }
.project:hover { transform: translateY(-6px); }
.project__preview { border: 1px solid transparent; transition: border-color .3s ease,box-shadow .35s ease; }
.project:hover .project__preview { border-color: var(--brand-accent); box-shadow: 0 25px 55px rgba(12,25,44,.12); }
.project__browser { gap: 8px; }
.project__browser span { width: auto; height: auto; background: none; border-radius: 0; font: 9px/1.5 var(--mono-font); }
.project__browser span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-form { background-image: linear-gradient(rgba(100,185,182,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(100,185,182,.04) 1px,transparent 1px); background-size: 28px 28px; }
.contact-form::after { content: '$ ./contact --secure'; position: absolute; top: 13px; right: 17px; color: var(--brand-on-dark-muted); font: 8px var(--mono-font); letter-spacing: .06em; }
.form-field:focus-within label { color: var(--brand-highlight); }
.form-field label { transition: color .2s ease; }
.page-transition { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; color: var(--brand-background); background: var(--brand-primary); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease,visibility 0s .18s; }
.page-transition::before { content: '$ compiling interface...'; font: 11px var(--mono-font); letter-spacing: .07em; }
.page-transition::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand-highlight); transform: scaleX(0); transform-origin: left; }
.page-transition.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.page-transition.is-active::after { animation: page-progress .32s cubic-bezier(.2,.75,.25,1) both; }
@keyframes page-progress { to { transform: scaleX(1); } }
.page-transition::before { content: attr(data-route); }
.section-progress { left: auto; right: var(--gutter); }
.section-progress__readout { margin-right: 4px; color: var(--brand-muted); font: 8px var(--mono-font); letter-spacing: .05em; }

@media (max-width:1100px) {
  .hero__grid { grid-template-columns: minmax(0,1.15fr) minmax(300px,.9fr); gap: 28px; }
  .hero h1 { font-size: clamp(43px,5.15vw,62px); }
  .hero__perspective { min-height: 0; }
}
@media (min-width:701px) and (max-width:900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(64px,9vw,80px); }
  .hero__intro { max-width: 620px; }
  .hero__perspective { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
  .code-caption,.perspective__top { grid-column: 1 / -1; margin-bottom: 0; }
  .perspective__headline { grid-row: span 2; margin: 0; }
  .perspective__signature { grid-column: 1 / -1; margin-top: 0; }
  .code-workflow { margin: 0; }
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card:last-child { grid-column: 1 / -1; }
}
@media (max-width:700px) {
  .section-pad { padding-block: 62px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(38px,10.7vw,68px); letter-spacing: -.065em; }
  .hero__position::before,.hero__position::after { display: none; }
  .timeline__item { padding-inline: 12px; margin-inline: -12px; }
  .contact-form::after { display: none; }
}
@media (max-width:430px) { .header-contact { display: none; } .menu-toggle { margin-left: auto; } }
@media (pointer:coarse) { .custom-cursor { display: none !important; } .interactive-surface::before { display: none; } }
@media (prefers-reduced-motion:reduce) { .page-transition { display: none; } .site-header { transition: none; } .site-header.is-hidden { transform: none; } }

.reading-progress { position: fixed; z-index: 90; inset: 0 0 auto; height: 2px; background: var(--brand-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.custom-cursor.is-project::after { content: attr(data-label); }
.mobile-menu { opacity: 0; translate: 0 -12px; transition: opacity .22s,translate .22s,display .22s allow-discrete,overlay .22s allow-discrete; }
.mobile-menu[open] { opacity: 1; translate: 0 0; }
@starting-style { .mobile-menu[open] { opacity: 0; translate: 0 -12px; } }
.menu-close { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: auto; min-width: 82px; padding-inline: 12px; font: 11px var(--mono-font); }
.menu-close span { font-size: 24px; }
.section-label > :first-child { white-space: normal; }
.expertise .section-label > :first-child::before,.expertise .section-label > :first-child::after,.contact .section-label > :first-child::before,.contact .section-label > :first-child::after { color: var(--brand-highlight); }
.service-card h3 { line-height: 1.13; font-size: clamp(25px,2.25vw,34px); max-width: none; text-wrap: wrap; }
.service-card__top { margin-bottom: 24px; }
.service-card > p:not(.eyebrow) { margin-bottom: 20px; }
.project__meta h3 { font-size: clamp(23px,2.15vw,32px); line-height: 1.15; text-wrap: wrap; }
.project__meta { gap: 12px; margin-block: 20px 12px; }
.project__meta .eyebrow { font-size: 10px; margin-bottom: 6px; }
.project__preview { padding: clamp(16px,1.8vw,26px); }
.project__preview img { transition: transform .4s ease, translate .25s ease-out; }
.projects { row-gap: 36px; }
.hero__perspective { min-height: 0; padding: 28px; justify-content: flex-start; }
.code-caption { margin-bottom: 16px; padding-bottom: 12px; font-size: 10px; }
.perspective__top { margin-bottom: 12px; }
.perspective__headline { font-size: clamp(31px,2.6vw,39px); margin-block: 6px 18px; }
.perspective__path { margin-top: 0; padding-block: 14px; }
.code-workflow { margin-block: 12px; padding-block: 12px; }
.perspective__signature { margin-top: 12px; }
.hero__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero__hello { margin-bottom: 16px; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__grid { padding-bottom: 0; }
.developer-terminal { margin-top: 28px; }
.terminal-output { min-height: 80px; }
.terminal-hint { font-size: 11px; }
.education article,.certifications article { padding: 16px; border: 1px solid var(--rule); transition: border-color .25s ease; }
.education article:hover,.certifications article:hover { border-color: var(--brand-accent); }
.education__list,.certifications__list { gap: 18px; }
.certifications { margin-top: 28px; }
.skills { grid-template-columns: .65fr 1.6fr; gap: 36px; }
.skills dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.skills dl>div { display: block; padding: 20px; border: 1px solid var(--rule-light); }
.skills dt { font-size: 11px; margin-bottom: 12px; }
.skills dd,.skills dl>div:hover dd { transform: none; }
.skill-token { font-size: 12px; margin: 3px 3px 3px 0; padding: 5px 7px; }
.approach { margin-top: 40px; }
.social-links a { grid-template-columns: minmax(0,1fr) auto; gap: 6px 16px; padding-block: 18px; }
.social-links a > span:first-child { grid-column: 1 / -1; font-size: 11px; }
.social-links a > span:nth-child(2) { grid-column: 1; font-size: clamp(22px,2.3vw,31px); overflow-wrap: anywhere; }
.social-links a > span:last-child:not(:first-child) { grid-column: 2; }
.footer-shell .site-footer,.content-footer .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; min-height: 94px; }
.content-footer { background: var(--brand-primary); color: var(--brand-background); }
.contact-form { position: relative; padding-top: 42px; }
.contact-form[aria-busy=true] .button { opacity: .7; cursor: wait; }
.contact-form .form-status[data-state=error] { color: var(--brand-background); border-left: 2px solid var(--brand-highlight); padding-left: 12px; }
.button:disabled { cursor: wait; opacity: .65; }
@media (max-width:980px) {
  .skills { grid-template-columns: 1fr; gap: 22px; }
  html.js .custom-cursor { display: none !important; }
  html.js body.has-custom-cursor,html.js body.has-custom-cursor a { cursor: auto; }
  html.js body.has-custom-cursor button { cursor: pointer; }
}
@media (max-width:700px) {
  h2,.presence__intro h2,.contact__grid h2 { font-size: clamp(33px,8.6vw,49px); line-height: 1.09; }
  .section-intro { margin-bottom: 28px; gap: 18px; }
  .service-card h3 { font-size: 28px; }
  .skills dl { grid-template-columns: 1fr; }
  .skill-token { font-size: 12px; }
  .skill-logo { min-height: 40px; padding: 7px 10px; font-size: 12px; gap: 7px; }
  .skill-logo img { width: 20px; height: 20px; flex-basis: 20px; }
  .skills dl>div { padding: 18px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: 0; }
  .hero__eyebrow > :last-child { flex: 0 0 75px; }
  .section-label { font-size: 10px; letter-spacing: .015em; }
  .section-label > :last-child { font-size: 10px; }
  .hero__perspective { padding: 24px; }
  .perspective__headline { font-size: 33px; }
  .terminal-ready { font-size: 10px; }
  .developer-terminal__bar { flex-wrap: wrap; gap: 6px; }
  .project__meta h3 { font-size: 28px; }
  .experience-proof p,.scroll-link { font-size: 10px; }
  .hero__foot { display: flex; flex-wrap: wrap; gap: 16px; }
  .hero__foot-note { order: 3; flex-basis: 100%; max-width: none; }
  .contact-form { padding: 24px 18px; }
  .form-field label { font-size: 11px; }
  .form-field input,.form-field select,.form-field textarea { font-size: 16px; }
  .footer-shell .site-footer,.content-footer .site-footer { flex-wrap: wrap; gap: 10px 20px; }
  .site-footer p { order: 3; flex-basis: 100%; text-align: left; }
  .site-footer > a:last-child { font-size: 10px; margin-left: 0; }
}
@media (pointer:coarse),(prefers-reduced-motion:reduce) {
  html.js .custom-cursor { display: none !important; }
  html.js body.has-custom-cursor,html.js body.has-custom-cursor a { cursor: auto; }
  html.js body.has-custom-cursor button { cursor: pointer; }
  .interactive-surface::before { display: none; }
  .hero__actions a,.header-contact,.project__arrow,.project__preview img { translate: none !important; }
  .project:hover,.service-card:hover,.approach li:hover { transform: none; }
}
