
:root {
  --teal: #078783;
  --teal-dark: #056f70;
  --mint: #24d6b8;
  --ink: #092d30;
  --ink-soft: #24484a;
  --paper: #f5f8f6;
  --white: #fff;
  --muted: #a9c4c1;
  --line: rgba(255, 255, 255, 0.17);
  --dark-line: rgba(9, 45, 48, 0.14);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --container: 1180px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.page-shell {
  overflow: hidden;
}
.section,
.site-header,
.site-footer {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 800 1.12rem var(--font-display);
  letter-spacing: 0.11em;
  color: inherit;
  text-decoration: none;
}
.brand span {
  color: var(--mint);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.6vw, 35px);
}
.nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}
.nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.25s;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}
.header-cta {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  padding: 13px 19px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.header-cta:hover {
  background: var(--mint);
  transform: translateY(-2px);
}
.header-cta span {
  margin-left: 9px;
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: 760px;
  background: var(--teal);
  color: #fff;
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  padding-top: 135px;
  padding-bottom: 110px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 50% 0 calc((min(100vw, var(--container)) - 100vw) / 2);
  background: var(--teal);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding-bottom: 30px;
}
.eyebrow,
.section-kicker,
.project-meta,
.timeline-label {
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c2e5e1;
  margin-bottom: 30px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(36, 214, 184, 0.12);
}
.intro-line {
  font-size: 1rem;
  color: #d4e9e7;
  margin-bottom: 12px;
}
.intro-line strong {
  color: #fff;
  font-weight: 700;
}
.hero h1 {
  font: 800 clamp(3.2rem, 6vw, 5.65rem)/1.08 var(--font-display);
  letter-spacing: -0.065em;
  margin-bottom: 25px;
}
.hero h1 span {
  color: var(--mint);
}
.title-period {
  color: #fff;
  font-style: normal;
}
.hero-description {
  max-width: 510px;
  color: #d1e8e6;
  font-size: 1rem;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.button-light {
  background: #fff;
  color: var(--ink);
}
.button-light:hover {
  background: var(--mint);
}
.button-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c4e2df;
  font-size: 0.74rem;
  margin-top: 53px;
  letter-spacing: 0.06em;
}
.footnote-line {
  height: 1px;
  width: 38px;
  background: var(--mint);
}
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  margin-right: 26px;
}
.portrait-frame {
  position: relative;
  width: 100%;
  height: 490px;
  background: #d5e3df;
  overflow: hidden;
  z-index: 2;
}
.portrait-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 39, 41, 0.5));
}
.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(145deg, #d7e8e1, #9dbdb3);
  color: #176b66;
}
.portrait-placeholder span {
  font: 800 clamp(5rem, 12vw, 9rem)/1 var(--font-display);
  letter-spacing: -0.1em;
}
.portrait-placeholder small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.portrait-caption {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 23px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
}
.caption-mark {
  font: 800 1.8rem var(--font-display);
  color: var(--mint);
}
.portrait-caption strong,
.portrait-caption small {
  display: block;
}
.portrait-caption strong {
  font: 700 0.82rem var(--font-display);
}
.portrait-caption small {
  font-size: 0.72rem;
  color: #d2e5e2;
}
.visual-note {
  position: absolute;
  color: #d1e8e6;
  font-size: 0.57rem;
  letter-spacing: 0.15em;
  line-height: 1.8;
  z-index: 3;
}
.visual-note span {
  display: block;
}
.visual-note strong {
  color: #fff;
  font-size: 0.65rem;
}
.note-top {
  top: -27px;
  right: 0;
  display: flex;
  gap: 22px;
}
.note-bottom {
  bottom: -43px;
  right: 0;
  text-align: right;
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(36, 214, 184, 0.38);
  border-radius: 50%;
  z-index: 1;
}
.orbit-one {
  width: 490px;
  height: 490px;
  top: -35px;
  right: -55px;
}
.orbit-two {
  width: 550px;
  height: 550px;
  top: -65px;
  right: -85px;
  border-color: rgba(255, 255, 255, 0.12);
}
.scroll-cue {
  position: absolute;
  bottom: 29px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c2e5e1;
  text-decoration: none;
  font-size: 0.59rem;
  letter-spacing: 0.16em;
}
.scroll-cue-line {
  width: 35px;
  height: 1px;
  background: var(--mint);
}
.about-section {
  padding-block: 125px 135px;
}
.section-kicker {
  color: var(--teal);
  margin-bottom: 38px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
}
.section-heading h2,
.section-title-row h2,
.contact-copy h2 {
  font: 800 clamp(2.8rem, 5vw, 4.6rem)/1.08 var(--font-display);
  letter-spacing: -0.065em;
}
.section-heading h2 span,
.section-title-row h2 span {
  color: var(--teal);
}
.about-content .lead {
  font: 600 1.28rem/1.65 var(--font-display);
  color: var(--ink);
  margin-bottom: 22px;
}
.about-content > p:not(.lead) {
  color: #5c7777;
  font-size: 0.94rem;
  margin-bottom: 15px;
  line-height: 1.9;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 35px;
  border-top: 1px solid var(--dark-line);
  margin-top: 37px;
  padding-top: 27px;
}
.about-facts div span {
  display: block;
  color: #829c99;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.about-facts strong {
  font: 700 0.83rem var(--font-display);
}
.about-facts a {
  color: var(--teal-dark);
  text-decoration: none;
}
.skills-section,
.journey-section,
.drives-section {
  padding-block: 105px 120px;
}
.skills-section {
  background: #eaf1ee;
  width: 100%;
  padding-inline: max(32px, calc((100% - var(--container)) / 2));
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 600;
}

.hero-name,
.hero-role {
    display: inline-block;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -3px;
}

@media (max-width: 600px) {
    .hero-name,
    .hero-role {
        font-size: clamp(2.7rem, 10vw, 4rem);
        letter-spacing: -1.5px;
    }
}
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 49px;
}
.section-title-row h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}
.section-title-row > p {
  max-width: 330px;
  color: #718987;
  font-size: 0.86rem;
  line-height: 1.8;
  padding-bottom: 7px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.skill-card {
  position: relative;
  min-height: 270px;
  background: #fff;
  padding: 27px 25px;
  border: 1px solid rgba(9, 45, 48, 0.06);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.skill-card:hover,
.drive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(9, 45, 48, 0.08);
}
.card-index {
  position: absolute;
  right: 23px;
  top: 22px;
  color: #9bb3ae;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}
.skill-icon {
  font-size: 1.55rem;
  color: var(--teal);
  margin-bottom: 23px;
}
.skill-card h3,
.drive-card h3 {
  font: 700 1.08rem var(--font-display);
  margin-bottom: 9px;
}
.skill-card p,
.drive-card p {
  font-size: 0.78rem;
  color: #7a9290;
  line-height: 1.8;
  min-height: 57px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
}
.tag-list span {
  font-size: 0.62rem;
  color: #3e6967;
  background: #edf5f2;
  padding: 6px 9px;
  letter-spacing: 0.02em;
}
.skill-card-wide {
  grid-column: span 2;
}
.skill-card-wide p {
  min-height: 0;
}
.skills-note,
.project-footnote {
  font-size: 0.72rem;
  color: #809693;
  margin-top: 22px;
}
.projects-section {
  padding-block: 120px 130px;
}
.projects-list {
  display: grid;
  gap: 22px;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: #fff;
}
.project-art {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-art-one {
  background: #174d4b;
}
.project-art-two {
  background: #0e3438;
}
.project-art-three {
  background: #d5e5df;
  color: var(--ink);
}
.art-topline,
.art-bottomline {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.art-bottomline {
  justify-content: flex-start;
  opacity: 0.7;
}
.shoe-shape {
  position: absolute;
  width: 74%;
  height: 150px;
  left: 13%;
  top: 31%;
  background: #e6eee9;
  border-radius: 55% 18% 25% 25%;
  transform: rotate(-13deg);
  box-shadow:
    inset -18px -17px 0 #b5c9c1,
    0 28px 40px rgba(0, 0, 0, 0.18);
}
.shoe-shape:before {
  content: "";
  position: absolute;
  left: 18%;
  top: -40px;
  width: 42%;
  height: 75px;
  background: #e6eee9;
  border-radius: 55% 55% 0 0;
  transform: skew(-25deg);
}
.shoe-shape:after {
  content: "";
  position: absolute;
  bottom: 23px;
  left: 35%;
  width: 40%;
  height: 3px;
  background: #73918a;
  box-shadow:
    0 -12px #73918a,
    0 -24px #73918a;
  transform: rotate(-7deg);
}
.code-window {
  position: absolute;
  left: 12%;
  top: 23%;
  width: 76%;
  background: #102b2e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22);
}
.window-dots {
  height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
}
.window-dots i,
.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6d9991;
}
.window-dots span {
  margin-left: auto;
  font-size: 0.63rem;
  color: #8eb4ad;
}
.code-lines {
  padding: 22px 20px 27px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  font: 0.77rem monospace;
  color: #d6e9e3;
}
.code-lines b {
  color: #5e8e87;
  font-weight: 400;
}
.code-lines em {
  color: #56d7b9;
  font-style: normal;
}
.code-lines .indent {
  padding-left: 18px;
}
.code-lines .deeper {
  padding-left: 36px;
}
.code-comment {
  color: #7d9e96;
}
.mini-browser {
  position: absolute;
  left: 13%;
  top: 17%;
  width: 74%;
  height: 70%;
  background: #f8fbf8;
  box-shadow: 0 22px 55px rgba(9, 45, 48, 0.16);
}
.browser-bar {
  height: 30px;
  background: #eaf0ed;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}
.browser-bar i {
  width: 6px;
  height: 6px;
  background: #9ab6ae;
}
.browser-bar span {
  font-size: 0.52rem;
  color: #77918a;
  margin-left: 9px;
}
.browser-content {
  padding: 29px 27px;
}
.browser-content small {
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  color: #5b8981;
}
.browser-content strong {
  display: block;
  font: 800 clamp(1.3rem, 2.4vw, 2.3rem)/1.12 var(--font-display);
  letter-spacing: -0.06em;
  margin-top: 12px;
}
.browser-content em {
  color: var(--teal);
  font-style: normal;
}
.browser-line {
  width: 60px;
  height: 3px;
  background: var(--mint);
  margin-top: 19px;
}
.project-info {
  padding: 52px clamp(27px, 5vw, 66px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.project-meta {
  color: #7c9994;
  font-size: 0.58rem;
}
.project-info h3 {
  font: 800 clamp(1.6rem, 2.5vw, 2.2rem) var(--font-display);
  letter-spacing: -0.05em;
  margin: 13px 0;
}
.project-info > p {
  font-size: 0.85rem;
  color: #6d8582;
  line-height: 1.85;
  max-width: 450px;
}
.project-info .tag-list {
  margin-top: 20px;
}
.project-links {
  display: flex;
  gap: 25px;
  margin-top: 26px;
}
.project-links a,
.social-links a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 1px solid #9cc5bc;
  padding-bottom: 5px;
}
.project-links a span,
.social-links a span {
  margin-left: 7px;
}
.project-links a:hover,
.social-links a:hover {
  color: var(--ink);
}
.journey-section {
  background: var(--ink);
  color: #fff;
  width: 100%;
  padding-inline: max(32px, calc((100% - var(--container)) / 2));
}
.journey-section .section-kicker {
  color: var(--mint);
}
.journey-section .section-title-row h2 span {
  color: var(--mint);
}
.journey-section .section-title-row > p {
  color: #9ab5b1;
}
.timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.timeline-item {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 27px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.timeline-number {
  font: 700 1.1rem var(--font-display);
  color: var(--mint);
}
.timeline-label {
  font-size: 0.57rem;
  color: #85aaa3;
}
.timeline-item h3 {
  font: 700 1.13rem var(--font-display);
  margin: 5px 0;
}
.timeline-item p {
  font-size: 0.78rem;
  color: #9eb7b3;
}
.timeline-status {
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  color: #8ab7ad;
  border: 1px solid rgba(138, 183, 173, 0.35);
  padding: 7px 10px;
}
.drives-section {
  padding-bottom: 130px;
}
.drives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.drive-card {
  background: #fff;
  min-height: 260px;
  padding: 25px;
  position: relative;
  border: 1px solid rgba(9, 45, 48, 0.06);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.drive-card > span {
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 0.63rem;
  color: #9ab2ac;
}
.drive-symbol {
  font-size: 1.7rem;
  color: var(--teal);
  margin: 25px 0 22px;
}
.drive-card p {
  min-height: unset;
}
.contact-section {
  width: 100%;
  background: var(--teal-dark);
  color: #fff;
  padding: 105px max(32px, calc((100% - var(--container)) / 2)) 115px;
}
.contact-section .section-kicker {
  color: var(--mint);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12%;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(3.2rem, 5.7vw, 5.2rem);
}
.contact-copy h2 span {
  color: var(--mint);
}
.contact-copy > p {
  max-width: 430px;
  color: #c6e0dc;
  font-size: 0.9rem;
  line-height: 1.9;
  margin-top: 25px;
}
.social-links {
  display: flex;
  gap: 22px;
  margin-top: 34px;
}
.social-links a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.website-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--mint);
  font-size: 0.78rem;
  text-decoration: none;
}
.contact-form {
  background: #fff;
  padding: 34px 36px;
  color: var(--ink);
}
.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d7e2de;
  padding: 10px 0;
  font: 400 0.84rem var(--font-body);
  color: var(--ink);
  background: transparent;
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--teal);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #a5b7b2;
}
.submit-button {
  border: 0;
  width: 100%;
  justify-content: space-between;
  background: var(--teal);
  color: #fff;
}
.submit-button:hover {
  background: var(--ink);
}
.form-note {
  font-size: 0.66rem;
  color: #829995;
  line-height: 1.6;
  margin-top: 13px;
}
.site-footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  color: var(--ink);
}
.site-footer > p {
  font-size: 0.72rem;
  color: #6e8581;
  line-height: 1.7;
}
.site-footer > p span {
  color: #9aadaa;
}
.footer-right {
  text-align: right;
}
.footer-right div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-right a {
  font-size: 0.7rem;
  color: var(--teal-dark);
  text-decoration: none;
}
.footer-right span {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #94a8a3;
}
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 30;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .site-header {
    height: 80px;
  }
  .nav {
    gap: 15px;
  }
  .nav-link {
    font-size: 0.62rem;
  }
  .header-cta {
    padding: 11px 13px;
    font-size: 0.62rem;
  }
  .hero {
    min-height: 690px;
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero h1 {
    font-size: clamp(3rem, 6.5vw, 4.7rem);
  }
  .hero-visual {
    width: 95%;
    margin-right: 0;
  }
  .portrait-frame {
    height: 420px;
  }
  .orbit-one {
    width: 420px;
    height: 420px;
  }
  .orbit-two {
    width: 470px;
    height: 470px;
  }
  .skills-grid,
  .drives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skill-card-wide {
    grid-column: span 2;
  }
  .contact-grid {
    gap: 7%;
  }
}
@media (max-width: 680px) {
  .section,
  .site-header,
  .site-footer {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 72px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: 10px;
    z-index: 3;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .nav {
    position: absolute;
    top: 71px;
    left: -20px;
    right: -20px;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 25px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-link {
    padding: 12px 0;
    font-size: 0.7rem;
  }
  .nav-link:after {
    bottom: 6px;
  }
  .header-cta {
    margin-left: auto;
    padding: 10px 12px;
  }
  .hero {
    width: 100%;
    padding: 120px 20px 90px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 55px;
    min-height: unset;
  }
  .hero-copy {
    padding: 0;
  }
  .eyebrow {
    font-size: 0.56rem;
    margin-bottom: 24px;
  }
  .intro-line {
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .hero-footnote {
    margin-top: 35px;
  }
  .hero-visual {
    width: min(88%, 390px);
    align-self: center;
    margin: 0;
  }
  .portrait-frame {
    height: 420px;
  }
  .orbit-one {
    width: calc(100% + 55px);
    height: calc(100% + 55px);
    top: -27px;
    right: -27px;
  }
  .orbit-two {
    display: none;
  }
  .scroll-cue {
    left: 20px;
    bottom: 25px;
  }
  .about-section {
    padding-block: 85px 90px;
  }
  .section-kicker {
    margin-bottom: 26px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-heading h2 {
    font-size: 3.3rem;
  }
  .about-content .lead {
    font-size: 1.1rem;
  }
  .about-content > p:not(.lead) {
    font-size: 0.86rem;
  }
  .about-facts {
    gap: 20px 15px;
  }
  .about-facts strong {
    font-size: 0.74rem;
  }
  .skills-section,
  .journey-section,
  .drives-section {
    padding-block: 80px 90px;
    padding-inline: 20px;
  }
  .section-title-row {
    display: block;
    margin-bottom: 32px;
  }
  .section-title-row h2 {
    font-size: 2.7rem;
  }
  .section-title-row > p {
    margin-top: 12px;
    font-size: 0.82rem;
  }
  .skills-grid,
  .drives-grid {
    grid-template-columns: 1fr;
  }
  .skill-card,
  .drive-card {
    min-height: unset;
    padding: 25px;
  }
  .skill-card p {
    min-height: unset;
  }
  .skill-card-wide {
    grid-column: auto;
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-card-reverse .project-art {
    order: 0;
  }
  .project-card-reverse .project-info {
    order: 1;
  }
  .projects-section {
    padding-block: 85px 90px;
  }
  .project-art {
    min-height: 290px;
  }
  .project-info {
    padding: 32px 25px 36px;
  }
  .project-info h3 {
    font-size: 1.7rem;
  }
  .journey-section .section-title-row {
    margin-bottom: 30px;
  }
  .timeline-item {
    grid-template-columns: 35px 1fr;
    gap: 12px;
    padding: 23px 0;
  }
  .timeline-status {
    grid-column: 2;
    justify-self: start;
  }
  .timeline-item p {
    font-size: 0.74rem;
  }
  .drives-section {
    padding-bottom: 90px;
  }
  .contact-section {
    padding: 80px 20px 85px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-copy h2 {
    font-size: 3.7rem;
  }
  .contact-copy > p {
    font-size: 0.85rem;
  }
  .social-links {
    gap: 16px;
    flex-wrap: wrap;
  }
  .contact-form {
    padding: 27px 23px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-block: 27px;
    gap: 18px;
  }
  .site-footer > p {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .footer-right {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-right div {
    align-items: flex-end;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   FINAL RESPONSIVE + BRANDING PASS
   ========================================================= */
:root {
  --teal: #078783;
  --teal-dark: #056f70;
  --mint: #24d6b8;
  --ink: #092d30;
  --paper: #f5f8f6;
  --container: 1180px;
  --header-height: 88px;
}

html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { overflow-x: clip; }
.page-shell { overflow: clip; }

/* Header is sticky and spans the viewport; inner content stays aligned. */
.site-header {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  height: var(--header-height);
  margin: 0;
  padding-inline: max(32px, calc((100% - var(--container)) / 2));
  background: var(--teal);
  border-bottom: 1px solid rgba(255,255,255,.17);
  z-index: 100;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.footer-brand .brand-logo { width: 70px; height: 70px; }

/* Keep hero directly below the sticky header without a second header gap. */
.hero { margin-top: 0; }
.portrait-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(390px, 42vw, 490px);
  overflow: hidden;
  background: linear-gradient(145deg, #d7e8e1, #9dbdb3);
  z-index: 2;
}
.portrait-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: 1;
  opacity: 0;
  transition: opacity .3s ease;
}
.portrait-frame.image-loaded .portrait-image { opacity: 1; }
.portrait-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
}
.portrait-frame.image-loaded .portrait-placeholder { visibility: hidden; }
.portrait-frame::after { z-index: 2; pointer-events: none; }
.portrait-caption { z-index: 3; }
.visual-note, .hero-orbit { pointer-events: none; }

/* More predictable sizing and focus states. */
img { max-width: 100%; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #f5c66a;
  outline-offset: 3px;
}
button { font: inherit; }

@media (max-width: 1100px) {
  .site-header { gap: 18px; }
  .nav { gap: clamp(12px, 1.8vw, 22px); }
  .nav-link { font-size: .65rem; }
  .hero { grid-template-columns: 1fr .9fr; gap: 26px; }
  .hero-visual { width: min(100%, 410px); margin-right: 8px; }
}

@media (max-width: 820px) {
  :root { --header-height: 76px; }
  .site-header {
    padding-inline: 24px;
    gap: 14px;
  }
  .brand-logo { width: 64px; height: 64px; }
  .nav { gap: 12px; }
  .nav-link { font-size: .58rem; letter-spacing: .08em; }
  .header-cta { padding: 10px 12px; font-size: .6rem; }
  .hero { min-height: 660px; grid-template-columns: 1.05fr .95fr; }
  .hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); }
  .portrait-frame { height: 390px; }
  .orbit-one { width: 420px; height: 420px; }
  .orbit-two { width: 470px; height: 470px; }
}

@media (max-width: 680px) {
  :root { --header-height: 70px; }
  .site-header {
    width: 100%;
    height: var(--header-height);
    padding-inline: 18px;
    gap: 12px;
  }
  .brand-logo { width: 60px; height: 60px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: auto;
    border: 0;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    z-index: 102;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform .2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 16px 28px rgba(0,0,0,.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link { display: block; padding: 13px 0; font-size: .72rem; letter-spacing: .12em; }
  .nav-link::after { bottom: 7px; }
  .section, .site-footer { width: calc(100% - 40px); }
  .hero {
    width: 100%;
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    padding: 58px 20px 82px;
  }
  .hero-copy { max-width: 100%; padding: 0; }
  .eyebrow { flex-wrap: wrap; font-size: .56rem; margin-bottom: 22px; }
  .intro-line { font-size: .92rem; }
  .hero h1 { font-size: clamp(2.85rem, 12vw, 4.3rem); line-height: 1.05; }
  .hero-description { max-width: 100%; font-size: .9rem; line-height: 1.8; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .button { min-height: 50px; padding-inline: 16px; gap: 14px; font-size: .62rem; }
  .hero-footnote { margin-top: 32px; }
  .hero-visual { width: min(100%, 390px); align-self: center; margin: 0; }
  .portrait-frame { height: clamp(340px, 105vw, 430px); }
  .note-top { top: -23px; right: 0; gap: 12px; font-size: .5rem; }
  .note-bottom { bottom: -34px; right: 0; }
  .orbit-one { width: calc(100% + 34px); height: calc(100% + 34px); top: -17px; right: -17px; }
  .orbit-two { display: none; }
  .scroll-cue { left: 20px; bottom: 22px; font-size: .52rem; }
  .about-section { padding-block: 78px 84px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2 { font-size: clamp(2.8rem, 12vw, 3.4rem); }
  .about-content .lead { font-size: 1.08rem; }
  .about-content > p:not(.lead) { font-size: .86rem; }
  .about-facts { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .about-facts strong { font-size: .72rem; }
  .skills-section, .journey-section, .drives-section { padding-block: 76px 82px; padding-inline: 20px; }
  .section-title-row { display: block; margin-bottom: 30px; }
  .section-title-row h2 { font-size: clamp(2.35rem, 10vw, 2.9rem); }
  .section-title-row > p { margin-top: 12px; font-size: .82rem; }
  .skills-grid, .drives-grid { grid-template-columns: 1fr; }
  .skill-card, .drive-card { min-height: unset; padding: 24px; }
  .skill-card p { min-height: unset; }
  .skill-card-wide { grid-column: auto; }
  .projects-section { padding-block: 78px 84px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card-reverse .project-art { order: 0; }
  .project-card-reverse .project-info { order: 1; }
  .project-art { min-height: 270px; }
  .project-info { padding: 28px 22px 32px; }
  .project-info h3 { font-size: 1.55rem; }
  .timeline-item { grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 21px 0; }
  .timeline-status { grid-column: 2; justify-self: start; }
  .timeline-item p { font-size: .76rem; }
  .contact-section { padding: 76px 20px 82px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-copy h2 { font-size: clamp(3rem, 13vw, 3.7rem); }
  .contact-form { padding: 25px 20px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-block: 24px; gap: 16px; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-right { grid-column: 2; grid-row: 1; }
  .footer-right div { align-items: flex-end; }
}

@media (max-width: 380px) {
  .site-header { padding-inline: 14px; }
  .section, .site-footer { width: calc(100% - 32px); }
  .hero { padding-inline: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .about-facts { grid-template-columns: 1fr; }
  .contact-section { padding-inline: 16px; }
}

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


@media (min-width: 681px) {
  .hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: max(32px, calc((100% - var(--container)) / 2));
    padding-top: 92px;
    padding-bottom: 100px;
  }
  .hero::before { display: none; }
}

.project-links .placeholder-link,
.social-links .placeholder-link {
  display: inline-block;
  color: #78918d;
  border-bottom: 1px dashed #b8c9c3;
  cursor: not-allowed;
  opacity: .8;
}
.project-links .placeholder-link:hover,
.social-links .placeholder-link:hover { color: #78918d; }
.form-note.form-error { color: #a13d35; }
