:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --card: #101010;
  --maroon: #8a6728;
  --wine: #d6ae55;
  --rose: #e8c875;
  --text: #f4f0e7;
  --text-soft: #a9a49a;
  --border: #2e281b;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
  --container: min(1180px, calc(100% - 48px));
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(214, 174, 85, .065), transparent 34%),
    radial-gradient(ellipse at 16% 48%, rgba(138, 103, 40, .04), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

main,
.site-footer { position: relative; z-index: 1; }

.ambient-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 18%, rgba(214, 174, 85, .11), transparent 34%),
    radial-gradient(ellipse at 20% 76%, rgba(138, 103, 40, .07), transparent 38%),
    linear-gradient(145deg, rgba(138, 103, 40, .05), rgba(214, 174, 85, .025) 52%, transparent 80%);
  box-shadow: inset 0 0 190px 55px rgba(0, 0, 0, .84);
  overflow: hidden;
  pointer-events: none;
}

.ambient-background::before,
.ambient-background::after {
  position: absolute;
  inset: -12%;
  content: "";
  pointer-events: none;
}

.ambient-background::before {
  background:
    repeating-linear-gradient(118deg, transparent 0 82px, rgba(214, 174, 85, .028) 83px, transparent 84px),
    repeating-linear-gradient(28deg, transparent 0 116px, rgba(232, 200, 117, .018) 117px, transparent 118px),
    repeating-radial-gradient(circle at 50% 50%, rgba(243, 239, 229, .018) 0 1px, transparent 1px 4px);
  opacity: .72;
  transform: rotate(-4deg);
}

.ambient-background::after {
  background-image:
    radial-gradient(circle at 8% 18%, rgba(232, 200, 117, .28) 0 1px, transparent 1.6px),
    radial-gradient(circle at 28% 72%, rgba(214, 174, 85, .22) 0 1px, transparent 1.5px),
    radial-gradient(circle at 58% 24%, rgba(232, 200, 117, .2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 62%, rgba(214, 174, 85, .25) 0 1px, transparent 1.6px),
    radial-gradient(circle at 94% 34%, rgba(138, 103, 40, .3) 0 1px, transparent 1.5px);
  background-size: 310px 270px, 370px 330px, 430px 380px, 520px 440px, 590px 510px;
  opacity: .42;
  animation: ambient-particle-drift 42s linear infinite alternate;
  will-change: transform;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(214, 174, 85, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 174, 85, .026) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .52;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .78), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .78), transparent 92%);
}

.ambient-lines {
  position: absolute;
  inset: -18%;
  opacity: .68;
  transform: rotate(-10deg);
}

.ambient-lines::before {
  position: absolute;
  top: 15%;
  left: -8%;
  width: 116%;
  height: 64%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 32% 48%, rgba(214, 174, 85, .11), transparent 28%),
    radial-gradient(ellipse at 72% 55%, rgba(232, 200, 117, .075), transparent 31%);
  filter: blur(52px);
  content: "";
  opacity: .62;
  animation: ambient-aurora-flow 24s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.ambient-line {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 103, 40, .08) 20%, rgba(214, 174, 85, .14) 46%, rgba(232, 200, 117, .07) 66%, transparent 92%);
  box-shadow: 0 0 10px rgba(214, 174, 85, .05);
  will-change: transform;
}

.ambient-line::after {
  position: absolute;
  top: -2px;
  left: 8%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 7px rgba(232, 200, 117, .72), 0 0 15px rgba(214, 174, 85, .28);
  content: "";
  opacity: .48;
  animation: ambient-data-dot 18s ease-in-out infinite;
  will-change: transform, opacity;
}

.ambient-line-one {
  top: 20%;
  animation: ambient-line-flow-one 44s ease-in-out infinite alternate;
}

.ambient-line-two {
  top: 52%;
  background: linear-gradient(90deg, transparent 5%, rgba(138, 103, 40, .055) 24%, rgba(232, 200, 117, .1) 48%, rgba(214, 174, 85, .065) 70%, transparent 94%);
  animation: ambient-line-flow-two 56s ease-in-out infinite alternate;
}

.ambient-line-two::after { animation-delay: -7s; animation-duration: 22s; }

.ambient-line-three {
  top: 80%;
  background: linear-gradient(90deg, transparent 8%, rgba(138, 103, 40, .045) 25%, rgba(214, 174, 85, .11) 56%, rgba(138, 103, 40, .055) 78%, transparent 96%);
  animation: ambient-line-flow-three 66s ease-in-out infinite alternate;
}

.ambient-line-three::after { animation-delay: -13s; animation-duration: 26s; }

.ambient-orb {
  position: absolute;
  width: min(46vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  will-change: transform;
}

.ambient-orb-one {
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(214, 174, 85, .5), rgba(138, 103, 40, .18) 45%, transparent 72%);
  animation: ambient-drift-one 38s ease-in-out infinite alternate;
}

.ambient-orb-two {
  right: -18%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(138, 103, 40, .42), rgba(214, 174, 85, .12) 46%, transparent 72%);
  animation: ambient-drift-two 46s ease-in-out infinite alternate;
}

.ambient-cursor-glow {
  position: absolute;
  top: var(--pointer-y, 50vh);
  left: var(--pointer-x, 50vw);
  display: none;
  width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 117, .12), rgba(214, 174, 85, .045) 36%, rgba(138, 103, 40, .018) 54%, transparent 72%);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: top .55s ease-out, left .55s ease-out, opacity .4s ease;
}

.ambient-background.has-pointer .ambient-cursor-glow { opacity: 1; }

@keyframes ambient-drift-one {
  from { transform: translate3d(-4%, -3%, 0) scale(.96); }
  to { transform: translate3d(16%, 13%, 0) scale(1.08); }
}

@keyframes ambient-drift-two {
  from { transform: translate3d(5%, 8%, 0) scale(1.02); }
  to { transform: translate3d(-17%, -12%, 0) scale(.92); }
}

@keyframes ambient-line-flow-one {
  from { transform: translate3d(-7%, -1vh, 0) scaleX(.96); }
  to { transform: translate3d(8%, 2vh, 0) scaleX(1.03); }
}

@keyframes ambient-line-flow-two {
  from { transform: translate3d(7%, 1vh, 0) scaleX(1.02); }
  to { transform: translate3d(-8%, -2vh, 0) scaleX(.97); }
}

@keyframes ambient-line-flow-three {
  from { transform: translate3d(-5%, 0, 0) scaleX(.98); }
  to { transform: translate3d(6%, -2vh, 0) scaleX(1.04); }
}

@keyframes ambient-particle-drift {
  from { transform: translate3d(-1.5%, -1%, 0); }
  to { transform: translate3d(2%, 2.5%, 0); }
}

@keyframes ambient-data-dot {
  0%, 8% { opacity: 0; transform: translate3d(0, 0, 0); }
  18% { opacity: .5; }
  82% { opacity: .5; }
  94%, 100% { opacity: 0; transform: translate3d(118vw, 0, 0); }
}

@keyframes ambient-aurora-flow {
  0% { opacity: .42; transform: translate3d(-6%, -3%, 0) scale(.94) rotate(-2deg); }
  55% { opacity: .72; transform: translate3d(3%, 5%, 0) scale(1.05) rotate(1deg); }
  100% { opacity: .5; transform: translate3d(9%, -1%, 0) scale(.98) rotate(3deg); }
}

@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .ambient-cursor-glow { display: block; }
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.container { width: var(--container); margin-inline: auto; }
.section-pad { padding: 140px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(46, 40, 27, .78);
  background: rgba(7, 7, 6, .9);
  backdrop-filter: blur(16px);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font: 800 1.55rem/1 var(--heading); letter-spacing: .07em; }
.brand span { color: var(--rose); }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); }
.primary-nav a { position: relative; color: var(--text-soft); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease; }
.primary-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--rose); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:hover, .primary-nav a.active { color: var(--text); }
.primary-nav a:hover::after, .primary-nav a.active::after { transform: scaleX(1); }
.header-cta { padding: 10px 0 7px; border-bottom: 1px solid var(--rose); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 1px; margin: 6px 0; background: var(--text); transition: transform .2s ease; }

.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 34px; color: var(--rose); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 1px; background: var(--rose); box-shadow: 0 0 9px rgba(214, 174, 85, .32); content: ""; }

.hero { --hero-wave-x: 0px; --hero-wave-y: 0px; --portrait-shift-x: 0px; --portrait-shift-y: 0px; position: relative; isolation: isolate; min-height: calc(100vh - var(--header-height)); padding-top: 90px; padding-bottom: clamp(64px, 7vw, 90px); overflow: hidden; }
.hero::before { position: absolute; z-index: 0; inset: -24% -12% -12%; background: radial-gradient(ellipse at 76% 42%, rgba(232, 200, 117, .16), rgba(214, 174, 85, .06) 23%, transparent 48%), radial-gradient(ellipse at 28% 62%, rgba(138, 103, 40, .08), transparent 38%); filter: blur(26px); content: ""; opacity: .72; animation: hero-aurora-breathe 14s ease-in-out infinite alternate; pointer-events: none; }
.hero::after { position: absolute; z-index: 0; top: 4%; right: -18%; width: 112%; height: 88%; background: repeating-radial-gradient(ellipse at 78% 52%, transparent 0 34px, rgba(214, 174, 85, .075) 35px, transparent 37px 72px); content: ""; opacity: .58; transform: translate3d(var(--hero-wave-x), var(--hero-wave-y), 0) rotate(-7deg); transition: transform .48s cubic-bezier(.2, .8, .2, 1); -webkit-mask-image: radial-gradient(ellipse at 72% 50%, #000 0 24%, rgba(0, 0, 0, .76) 46%, transparent 75%); mask-image: radial-gradient(ellipse at 72% 50%, #000 0 24%, rgba(0, 0, 0, .76) 46%, transparent 75%); pointer-events: none; }
.hero-orb { position: absolute; top: 14%; right: -8vw; width: clamp(270px, 34vw, 540px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(214, 174, 85, .64), rgba(138, 103, 40, .3) 45%, rgba(13, 12, 10, .12) 75%); opacity: .48; filter: saturate(.72); }
.hero-orb::after { position: absolute; inset: 12%; border: 1px solid rgba(243, 239, 229, .1); border-radius: inherit; content: ""; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .65fr); align-items: center; gap: clamp(42px, 6vw, 90px); }
.hero-copy h1 { position: relative; z-index: 2; margin: 0; font: 800 clamp(4.4rem, 9.2vw, 8.7rem)/.77 var(--heading); letter-spacing: -.035em; text-transform: uppercase; }
.hero-copy h1 span { display: block; }
.hero-copy .accent-text { color: var(--rose); background: linear-gradient(105deg, #8a6728 0%, #d6ae55 20%, #e8c875 38%, #d6ae55 51%, #f4f0e7 58%, #d6ae55 67%, #8a6728 100%); background-size: 280% 100%; background-position: 100% 50%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 22px rgba(214, 174, 85, .13)); animation: metallic-text-sweep 11s ease-in-out infinite; }
.hero-intro { display: grid; grid-template-columns: minmax(260px, 450px) auto; align-items: end; gap: 42px; margin-top: 48px; }
.hero-intro p { margin: 0; color: var(--text-soft); font-size: 1rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { position: relative; isolation: isolate; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; border: 1px solid var(--wine); background: rgba(7, 7, 6, .7); color: var(--text); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; transition: color .36s ease, background .36s ease, border-color .36s ease, box-shadow .36s ease, transform .36s ease; }
.button > * { position: relative; z-index: 1; }
.button-primary::before { position: absolute; z-index: 0; top: -80%; bottom: -80%; left: -55%; width: 30%; background: linear-gradient(90deg, transparent, rgba(244, 240, 231, .44), transparent); content: ""; opacity: 0; transform: skewX(-20deg); pointer-events: none; }
.button:hover { transform: translateY(-2px); }
.button-primary,
.button-secondary { border-color: var(--wine); background: rgba(7, 7, 6, .7); color: var(--text); }
.button-primary:hover,
.button-secondary:hover { border-color: var(--rose); background: var(--wine); color: var(--bg); box-shadow: 0 0 24px rgba(214, 174, 85, .16); }
.button-primary:hover { background: linear-gradient(105deg, var(--wine), var(--rose) 52%, var(--wine)); box-shadow: 0 0 28px rgba(214, 174, 85, .25); }
.button-primary:hover::before,
.button-primary:focus-visible::before { animation: primary-button-shimmer .78s ease-out both; }
.button span:last-child { transition: transform .36s ease; }
.button:hover span:last-child,
.button:focus-visible span:last-child { transform: translate(3px, -2px); }

@keyframes primary-button-shimmer {
  0% { left: -55%; opacity: 0; }
  18% { opacity: .62; }
  100% { left: 128%; opacity: 0; }
}
.hero-portrait-wrap { transform: translate3d(var(--portrait-shift-x), var(--portrait-shift-y), 0); transition: transform .48s cubic-bezier(.2, .8, .2, 1); }
.hero-portrait-wrap::before { position: absolute; z-index: -1; inset: 9% -22% -10%; border-radius: 50%; background: radial-gradient(ellipse, rgba(232, 200, 117, .22), rgba(214, 174, 85, .08) 38%, transparent 70%); filter: blur(30px); content: ""; opacity: .76; animation: portrait-halo-breathe 8s ease-in-out infinite alternate; pointer-events: none; }
.hero-portrait-wrap { position: relative; isolation: isolate; align-self: end; padding-top: 48px; }
.portrait-frame { position: relative; aspect-ratio: 3 / 4; min-height: 510px; border: 1px solid rgba(214, 174, 85, .42); border-radius: clamp(58px, 7vw, 96px) 18px clamp(46px, 6vw, 78px) 28px; background: var(--bg-soft); box-shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 0 42px rgba(214, 174, 85, .1); overflow: hidden; }
.portrait-frame::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(122deg, rgba(244, 240, 231, .12), transparent 20% 72%, rgba(214, 174, 85, .04)); content: ""; mix-blend-mode: screen; pointer-events: none; }
.portrait-frame::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(to bottom, rgba(214, 174, 85, .025) 0%, rgba(138, 103, 40, .025) 56%, rgba(7, 7, 6, .22) 74%, rgba(7, 7, 6, .92) 100%); content: ""; pointer-events: none; }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 38%; filter: brightness(1.02) contrast(1.015) saturate(.98); }
.portrait-image.is-missing { display: none; }
.portrait-label { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 13px 16px; border-top: 1px solid var(--border); background: rgba(7, 7, 6, .76); font-size: .6rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; }

@keyframes hero-aurora-breathe {
  from { opacity: .5; transform: translate3d(-2%, -1%, 0) scale(.96); }
  to { opacity: .84; transform: translate3d(3%, 2%, 0) scale(1.05); }
}

@keyframes portrait-halo-breathe {
  from { opacity: .5; transform: scale(.92); }
  to { opacity: .85; transform: scale(1.08); }
}

@keyframes metallic-text-sweep {
  0%, 66% { background-position: 100% 50%; }
  82%, 100% { background-position: 0% 50%; }
}

.hero-copy { animation: hero-copy-enter .9s cubic-bezier(.2, .8, .2, 1) both; }
.portrait-frame { animation: hero-portrait-enter 1.05s .14s cubic-bezier(.2, .8, .2, 1) both; }

@keyframes hero-copy-enter {
  from { opacity: 0; filter: blur(8px); transform: translate3d(0, 24px, 0); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
}

@keyframes hero-portrait-enter {
  from { opacity: 0; filter: blur(10px); transform: translate3d(18px, 28px, 0) scale(.97); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
}
.section-heading h2 { margin: 0; font: 800 clamp(3.4rem, 6.4vw, 6.5rem)/.86 var(--heading); letter-spacing: -.025em; text-shadow: 0 0 38px rgba(214, 174, 85, .055); text-transform: uppercase; }
.outline-text { color: transparent; -webkit-text-stroke: 1px var(--text-soft); }
.split-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 10vw, 150px); }
.about { border-top: 1px solid var(--border); background: var(--bg-soft); }
.about-copy { align-self: end; padding-bottom: 8px; }
.about-copy p { margin: 0 0 24px; color: var(--text-soft); }
.about-copy .lead { color: var(--text); font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.5; }
.text-link { display: inline-flex; gap: 20px; margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--rose); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 70px; }
.section-heading-row > p { width: min(100%, 340px); margin: 0; color: var(--text-soft); }
.skills,
.projects,
.services,
.contact { position: relative; border-top-color: transparent; }
.skills::before,
.projects::before,
.services::before,
.contact::before { position: absolute; z-index: 3; top: 0; right: 4%; left: 4%; height: 1px; background: linear-gradient(90deg, transparent, rgba(138, 103, 40, .34) 12%, rgba(214, 174, 85, .72) 50%, rgba(138, 103, 40, .34) 88%, transparent); box-shadow: 0 0 10px rgba(214, 174, 85, .11); content: ""; pointer-events: none; }
.skills::after,
.projects::after,
.services::after,
.contact::after { position: absolute; z-index: 4; top: -2px; left: 7%; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 8px rgba(232, 200, 117, .82), 0 0 18px rgba(214, 174, 85, .4); content: ""; opacity: 0; animation: section-signal-travel 17s ease-in-out infinite; pointer-events: none; }
.projects::after { animation-delay: -5s; }
.services::after { animation-delay: -10s; }
.contact::after { animation-delay: -14s; }
@keyframes section-signal-travel {
  0%, 7% { opacity: 0; transform: translate3d(0, 0, 0); }
  13%, 78% { opacity: .75; }
  88%, 100% { opacity: 0; transform: translate3d(84vw, 0, 0); }
}

.services { padding: 64px 0; background: radial-gradient(circle at 82% 16%, rgba(214, 174, 85, .035), transparent 30%), rgba(7, 7, 6, .94); }
.services .section-heading-row { margin-bottom: 34px; }
.services .section-heading h2 { font-size: clamp(2.7rem, 4.7vw, 4.5rem); }
.services .eyebrow { margin-bottom: 22px; }
.services .section-heading-row > p { max-width: 310px; font-size: .86rem; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.service-item { display: grid; min-height: 160px; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 18px; margin: 0; padding: 26px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(145deg, rgba(18, 17, 14, .48), rgba(7, 7, 6, .34)); box-shadow: inset 0 1px 0 rgba(243, 239, 229, .025); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .38s ease, background .38s ease, box-shadow .38s ease; }
.service-item:hover { border-color: rgba(214, 174, 85, .38); background: linear-gradient(145deg, rgba(18, 17, 14, .66), rgba(214, 174, 85, .035)); box-shadow: inset 0 1px 0 rgba(232, 200, 117, .06), 0 0 24px rgba(214, 174, 85, .055); }
.service-number { color: var(--rose); font-size: .65rem; letter-spacing: .12em; }
.service-item h3 { margin: -5px 0 10px; font: 700 clamp(1.65rem, 2.2vw, 2.15rem)/1 var(--heading); text-transform: uppercase; }
.service-item p { max-width: 470px; margin: 0; color: var(--text-soft); font-size: .78rem; line-height: 1.6; }

.projects { padding: 160px 0; border-top: 1px solid var(--border); background: radial-gradient(circle at 50% 18%, rgba(214, 174, 85, .065), transparent 34%), rgba(13, 12, 10, .94); overflow: hidden; }
.projects .section-heading-row { margin-bottom: 72px; }
.project-node { position: relative; z-index: 2; display: flex; width: min(100%, 380px); min-height: 330px; flex-direction: column; padding: 14px; border: 1px solid rgba(214, 174, 85, .2); border-radius: 24px 7px 24px 7px; background: rgba(18, 17, 14, .88); color: var(--text); box-shadow: 0 18px 44px rgba(0, 0, 0, .22); overflow: hidden; transition: border-color .38s ease, background .38s ease, box-shadow .38s ease, transform .38s ease; }
.project-node:hover,
.project-node:focus-visible { border-color: rgba(232, 200, 117, .68); background: rgba(18, 17, 14, .96); box-shadow: 0 24px 60px rgba(0, 0, 0, .32), 0 0 32px rgba(214, 174, 85, .14); transform: translateY(-7px) scale(1.012); }
.project-node-visual { position: relative; aspect-ratio: 16 / 9; border: 1px solid rgba(214, 174, 85, .14); border-radius: 15px 4px 15px 4px; background: #090806; overflow: hidden; }
.project-node-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.project-node-slide.is-active { opacity: 1; visibility: visible; }
.project-node-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.01); transition: transform 4s ease; }
.project-card-grid .project-node-slide { transition: opacity .8s ease, visibility .8s ease, transform .48s ease; }
.project-card-grid .project-node-slide.is-active > img { animation: cinematic-preview-drift 9s ease-in-out infinite alternate; }
.project-node-ghl .project-node-slide > img { object-fit: contain; background: #090806; }
.project-node-make .project-node-slide > img { object-fit: contain; background: #090806; }
.project-node-visual::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(to top, rgba(7, 7, 6, .5), transparent 52%); content: ""; pointer-events: none; }
.project-node-dots { position: absolute; z-index: 3; right: 12px; bottom: 10px; display: flex; gap: 5px; }
.project-node-dots i { width: 5px; height: 5px; border-radius: 99px; background: rgba(243, 239, 229, .34); transition: width .3s ease, background .3s ease; }
.project-node-dots i.is-active { width: 15px; background: var(--rose); }
.project-node-copy { display: grid; flex: 1; grid-template-columns: 1fr auto; align-content: end; gap: 7px 14px; padding: 20px 6px 6px; }
.project-node-copy strong { grid-column: 1 / -1; font: 700 clamp(1.65rem, 2.3vw, 2.15rem)/.94 var(--heading); letter-spacing: -.01em; text-transform: uppercase; }
.project-node-copy small { color: var(--text-soft); font-size: .62rem; line-height: 1.45; }
.project-node-copy b { align-self: end; color: var(--rose); font-size: .56rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.project-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 26px; }
.project-card-grid .project-node { grid-area: auto; width: 100%; min-height: 610px; justify-self: stretch; padding: 16px; border-color: rgba(214, 174, 85, .25); border-radius: 24px 7px 24px 7px; background: linear-gradient(155deg, rgba(18, 17, 14, .82), rgba(7, 7, 6, .92) 48%); box-shadow: inset 0 1px 0 rgba(243, 239, 229, .04), 0 20px 50px rgba(0, 0, 0, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.project-card-grid .project-node::before { position: absolute; z-index: 4; top: 0; left: -48%; width: 42%; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 200, 117, .9), transparent); box-shadow: 0 0 12px rgba(214, 174, 85, .35); content: ""; opacity: 0; pointer-events: none; }
.project-card-grid .project-node::after { --trace-angle: 0deg; position: absolute; z-index: 4; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--trace-angle), transparent 0 70%, rgba(232, 200, 117, .92) 76%, rgba(214, 174, 85, .22) 82%, transparent 89%) border-box; content: ""; opacity: 0; transition: opacity .38s ease; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.project-card-grid .project-node:hover::before,
.project-card-grid .project-node:focus-visible::before { animation: project-edge-highlight 1.15s ease-out both; }
.project-card-grid .project-node:hover::after,
.project-card-grid .project-node:focus-visible::after { opacity: .76; animation: project-border-trace 2.8s linear infinite; }
.project-card-grid .project-node-visual { aspect-ratio: 4 / 3; border-color: rgba(214, 174, 85, .2); border-radius: 17px 5px 17px 5px; }
.project-card-grid .project-node-copy { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; align-content: start; gap: 0; padding: 26px 8px 8px; }
.project-node-category { margin-bottom: 14px; color: var(--rose); font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.project-card-grid .project-node-copy strong { margin-bottom: 16px; font-size: clamp(2.25rem, 3vw, 3.25rem); line-height: .88; }
.project-card-grid .project-node-copy small { color: rgba(243, 239, 229, .64); font-size: .65rem; font-weight: 500; letter-spacing: .035em; line-height: 1.55; text-transform: uppercase; }
.project-card-grid .project-node-copy > b { display: flex; align-self: end; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(214, 174, 85, .18); color: var(--text-soft); font-size: .6rem; transition: color .3s ease, border-color .3s ease; }
.project-card-grid .project-node-copy > b i { color: var(--rose); font-size: 1rem; font-style: normal; transition: transform .3s ease; }
.project-card-grid .project-node:hover,
.project-card-grid .project-node:focus-visible { border-color: rgba(232, 200, 117, .72); box-shadow: inset 0 1px 0 rgba(243, 239, 229, .05), 0 28px 70px rgba(0, 0, 0, .34), 0 0 34px rgba(214, 174, 85, .16); transform: translateY(-8px); }
.project-card-grid .project-node:hover .project-node-slide.is-active > img,
.project-card-grid .project-node:focus-visible .project-node-slide.is-active > img { transform: scale(1.065); }
.project-card-grid .project-node:hover .project-node-slide.is-active,
.project-card-grid .project-node:focus-visible .project-node-slide.is-active { transform: scale(1.025); }
.project-card-grid .project-node-copy small { opacity: .7; transform: translateY(4px); transition: opacity .42s ease, transform .42s ease; }
.project-card-grid .project-node:hover .project-node-copy small,
.project-card-grid .project-node:focus-visible .project-node-copy small { opacity: 1; transform: translateY(0); }
.project-card-grid .project-node:hover .project-node-copy > b,
.project-card-grid .project-node:focus-visible .project-node-copy > b { border-color: rgba(232, 200, 117, .5); color: var(--text); }
.project-card-grid .project-node:hover .project-node-copy > b i,
.project-card-grid .project-node:focus-visible .project-node-copy > b i { transform: translate(3px, -3px); }

@media (min-width: 1480px) {
  .projects .container { width: min(1380px, calc(100% - 72px)); }
  .project-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .project-card-grid .project-node { min-height: 590px; }
  .project-card-grid .project-node-copy strong { font-size: clamp(2rem, 2.25vw, 2.75rem); }
}

@keyframes project-edge-highlight {
  0% { left: -48%; opacity: 0; }
  18% { opacity: .72; }
  76% { opacity: .5; }
  100% { left: 108%; opacity: 0; }
}

@property --trace-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes project-border-trace { to { --trace-angle: 360deg; } }

@keyframes cinematic-preview-drift {
  from { transform: translate3d(-.45%, -.2%, 0) scale(1.025); }
  to { transform: translate3d(.55%, .35%, 0) scale(1.075); }
}

.skills { overflow: hidden; border-top: 1px solid var(--border); background: radial-gradient(circle at 17% 22%, rgba(214, 174, 85, .045), transparent 31%), rgba(7, 7, 6, .94); }
.skills-heading { align-items: flex-start; }
.skills .section-heading-row { margin-bottom: 54px; }
.skills-heading-title { min-width: 0; flex: 0 1 520px; }
.skills-heading-title h2 { max-width: 100%; font-size: clamp(3.4rem, 5.6vw, 5.45rem); }
.skills-heading-title h2 span { display: block; }
.skills-core { flex: 1 1 590px; max-width: 620px; }
.core-skills-label { margin: 0 0 14px; color: var(--rose); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.core-skills-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.core-skills-list li { padding: 10px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); color: var(--text); font-size: .75rem; font-weight: 500; line-height: 1.35; white-space: nowrap; transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.core-skills-list li:hover { border-color: rgba(232, 200, 117, .62); background: rgba(214, 174, 85, .1); color: var(--rose); box-shadow: 0 0 20px rgba(214, 174, 85, .1); }
.skills-subheading { margin: 0 0 18px; color: var(--rose); font-size: .66rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.primary-automation-stack { margin-bottom: 58px; }
.primary-stack-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(13, 12, 10, .34); }
.primary-tool-item { --tool-glow: rgba(214, 174, 85, .1); --logo-glow: rgba(232, 200, 117, .2); position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 310px; flex-direction: column; align-items: center; justify-content: center; padding: 34px 24px; text-align: center; overflow: hidden; }
.primary-tool-item::before { position: absolute; z-index: -1; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 46%, var(--tool-glow), transparent 67%); content: ""; opacity: 0; transform: scale(.88); transition: opacity .36s ease, transform .36s ease; pointer-events: none; }
.primary-tool-item::after { position: absolute; z-index: -1; inset: 13% 24%; border: 1px solid rgba(214, 174, 85, .08); border-radius: 50%; box-shadow: inset 0 0 34px rgba(214, 174, 85, .035), 0 0 28px rgba(214, 174, 85, .025); content: ""; opacity: 0; transform: scale(.86); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.primary-tool-zapier,
.primary-tool-make { --tool-glow: rgba(214, 174, 85, .12); --logo-glow: rgba(232, 200, 117, .24); }
.primary-tool-logo { display: flex; width: 142px; height: 142px; flex: none; align-items: center; justify-content: center; margin: 0 auto 24px; padding: 23px; border: 1px solid rgba(214, 174, 85, .3); border-radius: 50%; background: rgba(243, 239, 229, .92); box-shadow: 0 0 24px rgba(214, 174, 85, .07); overflow: hidden; transition: border-color .36s ease, box-shadow .36s ease, transform .36s ease, filter .36s ease; }
.primary-tool-logo img { width: 96px; height: 96px; max-width: 96px; max-height: 96px; object-fit: contain; }
.primary-tool-item h3 { margin: 0; color: var(--text); font-family: var(--heading); font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: .035em; text-transform: uppercase; transition: color .36s ease, text-shadow .36s ease; }
.primary-tool-item > p { margin: 9px 0 0; color: var(--text-soft); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.primary-tool-item:hover::before,
.primary-tool-item:focus::before,
.primary-tool-item:active::before { opacity: 1; transform: scale(1); }
.primary-tool-item:hover::after,
.primary-tool-item:focus::after,
.primary-tool-item:active::after { opacity: 1; transform: scale(1); }
.primary-tool-item:hover .primary-tool-logo,
.primary-tool-item:focus .primary-tool-logo,
.primary-tool-item:active .primary-tool-logo { border-color: rgba(232, 200, 117, .68); box-shadow: 0 0 15px rgba(232, 200, 117, .22), 0 0 46px var(--logo-glow); filter: brightness(1.04); transform: scale(1.06); animation: tool-activation-pulse 1.8s ease-in-out infinite; }
.primary-tool-item:hover h3,
.primary-tool-item:focus h3,
.primary-tool-item:active h3 { color: var(--text); text-shadow: 0 0 20px var(--logo-glow); }
@keyframes tool-activation-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(232, 200, 117, .18), 0 0 36px var(--logo-glow); }
  50% { box-shadow: 0 0 20px rgba(232, 200, 117, .34), 0 0 54px var(--logo-glow); }
}
.other-tools-heading { margin-bottom: 14px; }
.tools-marquee { min-width: 0; overflow: hidden; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.tool-marquee-row { overflow: hidden; }
.tool-marquee-row + .tool-marquee-row { margin-top: 12px; }
.tool-marquee-track { display: flex; width: max-content; will-change: transform; }
.tools-marquee.is-ready .tool-marquee-track { animation: tool-marquee-left 48s linear infinite; }
.tools-marquee.is-ready .tool-marquee-row-reverse .tool-marquee-track { animation-name: tool-marquee-right; animation-duration: 54s; }
.tools-marquee:hover .tool-marquee-track { animation-play-state: paused; }
.tool-marquee-group { display: flex; flex: none; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.tool-marquee-group li { display: inline-flex; min-height: 58px; align-items: center; gap: 11px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); color: var(--text); font-size: .78rem; font-weight: 600; white-space: nowrap; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease, transform .25s ease; }
.tool-marquee-group li:hover { border-color: rgba(232, 200, 117, .68); background: rgba(214, 174, 85, .09); box-shadow: 0 0 28px rgba(214, 174, 85, .14); color: var(--rose); transform: translateY(-1px); }
.tool-marquee-group img { width: 23px; height: 23px; flex: none; object-fit: contain; }
.tool-marquee-group img.tool-icon-on-light { padding: 3px; border-radius: 6px; background: #fff; }
@keyframes tool-marquee-left { to { transform: translate3d(-50%, 0, 0); } }
@keyframes tool-marquee-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

.contact { position: relative; border-top: 1px solid var(--border); background: radial-gradient(circle at 22% 30%, rgba(214, 174, 85, .035), transparent 32%), rgba(13, 12, 10, .94); overflow: hidden; }
.contact-orb { position: absolute; right: -130px; bottom: -220px; width: 560px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(214, 174, 85, .42), rgba(138, 103, 40, .16) 55%, transparent 70%); }
.contact-inner { position: relative; }
.contact h2 { max-width: 970px; margin: 0 0 38px; font: 800 clamp(4rem, 9.2vw, 9rem)/.78 var(--heading); letter-spacing: -.03em; text-transform: uppercase; }
.contact h2 span { color: var(--rose); }
.contact-inner > p:not(.eyebrow) { max-width: 550px; margin: 0 0 58px; color: var(--text-soft); font-size: 1.1rem; }
.contact-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.contact-links a { display: grid; min-height: 150px; grid-template-columns: 1fr auto; align-content: space-between; gap: 4px; padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(145deg, rgba(18, 17, 14, .54), rgba(7, 7, 6, .38)); box-shadow: inset 0 1px 0 rgba(243, 239, 229, .025); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: background .36s ease, border-color .36s ease, box-shadow .36s ease; }
.contact-links a:hover { border-color: rgba(232, 200, 117, .52); background: linear-gradient(145deg, rgba(18, 17, 14, .7), rgba(214, 174, 85, .075)); box-shadow: inset 0 1px 0 rgba(232, 200, 117, .07), 0 0 28px rgba(214, 174, 85, .09); }
.contact-links span { grid-column: 1 / -1; color: var(--text-soft); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-links strong { align-self: end; font: 600 1.1rem/1.2 var(--heading); text-transform: uppercase; }
.contact-links .contact-email-address { text-transform: none; }
.contact-links b { align-self: end; color: var(--rose); font-weight: 400; transition: transform .2s ease; }
.contact-links a:hover b { transform: translate(3px, -3px); }

.site-footer { padding: 50px 0; border-top: 1px solid var(--border); background: rgba(7, 7, 6, .96); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer-inner p { margin: 0; color: var(--text-soft); font-size: .65rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.back-to-top { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-inner small { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .62rem; text-align: center; }

html.reveal-enabled .reveal-item {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 28px, 0);
  transition: opacity .72s cubic-bezier(.2, .8, .2, 1), filter .72s cubic-bezier(.2, .8, .2, 1), transform .72s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.reveal-enabled .reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

@media (max-width: 1024px) {
  .section-pad { padding: 110px 0; }
  .projects { padding: 130px 0; }
  .services { padding: 64px 0; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); gap: 32px; }
  .hero-copy h1 { font-size: clamp(4rem, 9.6vw, 7rem); }
  .hero-intro { grid-template-columns: 1fr; gap: 28px; }
  .portrait-frame { min-height: 430px; }
  .split-layout { grid-template-columns: 1fr; gap: 60px; }
  .about-copy { max-width: 700px; }
  .project-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .project-card-grid .project-node { min-width: 0; min-height: 590px; height: 100%; }
  .project-card-grid .project-node-ghl { order: 1; }
  .project-card-grid .project-node-zapier { order: 2; }
  .project-card-grid .project-node-make { display: flex; order: 3; }
  .project-card-grid .project-node-creative { order: 4; }
  .primary-tool-item { min-height: 286px; padding: 28px 18px; }
  .primary-tool-logo { width: 126px; height: 126px; padding: 19px; }
  .primary-tool-logo img { width: 88px; height: 88px; max-width: 88px; max-height: 88px; }
  .contact-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 32px, 620px); --header-height: 68px; }
  .ambient-background::before { opacity: .36; }
  .ambient-background::after { opacity: .13; animation-duration: 60s; }
  .ambient-grid { background-size: 44px 44px; opacity: .34; }
  .ambient-lines { inset: -12% -55%; opacity: .3; transform: rotate(-14deg); }
  .ambient-lines::before { opacity: .32; filter: blur(60px); }
  .ambient-line { left: -35%; width: 170%; }
  .ambient-line-one { animation-duration: 62s; }
  .ambient-line-two { animation-duration: 76s; }
  .ambient-line-three { display: none; }
  .ambient-line::after { opacity: .26; animation-duration: 28s; }
  .ambient-orb { width: 82vw; filter: blur(76px); opacity: .13; }
  .ambient-orb-one { top: 4%; left: -38%; animation-duration: 52s; }
  .ambient-orb-two { display: none; }
  .section-pad { padding: 86px 0; }
  .menu-toggle { display: block; z-index: 2; margin-left: auto; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: var(--header-height) 0 auto; display: grid; padding: 18px 24px 28px; border-bottom: 1px solid var(--border); background: rgba(5, 5, 5, .98); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease; }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 12px 0; font: 700 1.7rem/1 var(--heading); }
  .hero { padding-top: 66px; }
  .hero::before { opacity: .48; filter: blur(34px); }
  .hero::after { right: -48%; width: 150%; opacity: .34; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(3.85rem, 18vw, 6rem); }
  .hero-intro { margin-top: 34px; }
  .hero-portrait-wrap { width: min(88%, 380px); justify-self: end; padding-top: 20px; }
  .portrait-frame { min-height: 0; }
  .hero-orb { top: 44%; right: -35vw; width: 80vw; }
  .section-heading-row { display: block; margin-bottom: 48px; }
  .section-heading-row > p { margin-top: 24px; }
  .section-heading:not(.skills-heading) h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .projects { padding: 100px 0; }
  .projects .section-heading-row { margin-bottom: 58px; }
  .services { padding: 56px 0; }
  .services .section-heading-row { margin-bottom: 30px; }
  .service-list { grid-template-columns: 1fr; }
  .service-item { min-height: 0; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 24px 18px; }
  .project-card-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .project-card-grid .project-node { grid-column: auto; width: 100%; max-width: 100%; min-width: 0; min-height: 560px; height: auto; }
  .project-card-grid .project-node-copy strong { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .project-card-grid .project-node-copy strong,
  .project-card-grid .project-node-copy small { max-width: 100%; overflow-wrap: break-word; }
  .project-card-grid .project-node-copy > b { display: flex; visibility: visible; opacity: 1; }
  .project-card-grid .project-node-slide.is-active > img { animation: none; transform: scale(1.025); }
  .project-card-grid .project-node-make .project-node-slide,
  .project-card-grid .project-node-make .project-node-slide.is-active,
  .project-card-grid .project-node-make .project-node-slide > img,
  .project-card-grid .project-node-make .project-node-slide.is-active > img,
  .project-card-grid .project-node-make:hover .project-node-slide.is-active,
  .project-card-grid .project-node-make:hover .project-node-slide.is-active > img,
  .project-card-grid .project-node-make:focus-visible .project-node-slide.is-active,
  .project-card-grid .project-node-make:focus-visible .project-node-slide.is-active > img { transform: none; }
  .project-card-grid .project-node-make .project-node-slide > img { width: 100%; height: 100%; object-fit: contain; }
  .tools-marquee { width: 100%; }
  .skills .container { width: min(100% - 40px, 620px); }
  .skills .section-heading-row { display: block; margin-bottom: 38px; }
  .skills-heading-title,
  .skills-core { width: 100%; min-width: 0; max-width: none; }
  .skills .skills-heading #skills-title { width: 100%; max-width: 100%; font-size: clamp(2.75rem, 12.8vw, 4.7rem); line-height: .84; overflow-wrap: normal; word-break: normal; }
  .skills-heading-title h2 span { max-width: 100%; }
  .skills-heading .eyebrow { margin-bottom: 22px; }
  .skills-core { margin-top: 28px; }
  .core-skills-list { width: 100%; align-items: flex-start; gap: 9px; }
  .core-skills-list li { min-width: 0; max-width: 100%; flex: 0 1 auto; padding: 9px 14px; font-size: .73rem; overflow-wrap: anywhere; white-space: normal; }
  .primary-automation-stack { margin-bottom: 46px; }
  .primary-stack-showcase { grid-template-columns: 1fr; }
  .primary-tool-item { min-height: 250px; padding: 26px 20px; }
  .primary-tool-logo { width: 120px; height: 120px; margin-bottom: 20px; padding: 18px; }
  .primary-tool-logo img { width: 84px; height: 84px; max-width: 84px; max-height: 84px; }
  .primary-tool-item h3 { font-size: 1.85rem; }
  .tool-marquee-group li { min-height: 52px; padding: 0 15px; font-size: .72rem; }
  .tool-marquee-group img { width: 21px; height: 21px; }
  .contact h2 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a { min-height: 120px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner p { display: none; }
}

@media (max-width: 420px) {
  .button-row { display: grid; }
  .button { width: 100%; }
  .hero-portrait-wrap { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-background::after,
  .ambient-lines::before,
  .ambient-line::after,
  .hero::before,
  .hero-copy,
  .hero-portrait-wrap::before,
  .portrait-frame,
  .hero-copy .accent-text,
  .button-primary::before,
  .skills::after,
  .projects::after,
  .services::after,
  .contact::after,
  .primary-tool-logo,
  .project-card-grid .project-node-slide.is-active > img,
  .project-card-grid .project-node::after,
  .project-card-grid .project-node:hover::before,
  .project-card-grid .project-node:focus-visible::before,
  .primary-tool-item:hover .primary-tool-logo,
  .primary-tool-item:focus .primary-tool-logo,
  .primary-tool-item:active .primary-tool-logo { animation: none !important; }
  .button-primary::before,
  .project-card-grid .project-node::before { opacity: 0; }
  .ambient-line { animation: none; transform: none; }
  .ambient-orb { animation: none; transform: none; }
  .ambient-cursor-glow { display: none; }
  .hero::after,
  .hero-portrait-wrap { transform: none; }
  .hero-copy,
  .portrait-frame { opacity: 1; filter: none; transform: none; }
  html.reveal-enabled .reveal-item { opacity: 1; filter: none; transform: none; }
  .project-node,
  .project-node-slide,
  .project-node-slide > img,
  .project-node-dots i { transition: none; }
  .project-node:hover,
  .project-node:focus-visible,
  .project-node-slide.is-active > img { transform: none; }
  .tools-marquee.is-ready .tool-marquee-track { animation: none; transform: none; }
  .tools-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tool-marquee-row { overflow: visible; }
  .tool-marquee-track { width: 100%; }
  .tool-marquee-group { width: 100%; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .tool-marquee-group[aria-hidden="true"] { display: none; }
}
