:root {
  --linen: #FAFAF7;
  --linen-2: #F4EFE8;
  --linen-3: #EDE8DF;
  --linen-4: #E4DDD4;
  --espresso: #110D09;
  --bark: #5D5645;
  --stone: #8C8478;
  --stone-lt: #B8B2AA;
  --rose: #C4907A;
  --rose-dim: rgba(196, 144, 122, .45);
  --rose-faint: rgba(196, 144, 122, .08);
  --terra: #C4907A;
  --terra-faint: rgba(196, 144, 122, .08);
  /* sage alias — all var(--rose) refs now render rose */
  --sage: #C4907A;
  --sage-faint: rgba(196, 144, 122, .08);
  --sage-dim: rgba(196, 144, 122, .45);
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--linen);
  color: var(--espresso);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  cursor: none;
  overflow-x: hidden
}

/* ── CURSOR ── */
#cd {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--rose);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%)
}

#cr {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(196, 144, 122, .4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, border-color .2s
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 5vw;
  background: var(--linen);
  border-bottom: 1px solid var(--linen-4);
  transition: all .4s
}

.nav.scrolled {
  background: rgba(250, 250, 247, .96);
  backdrop-filter: blur(12px)
}

.nav-tag {
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--stone)
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--espresso);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%)
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none
}

.nav-links a {
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--rose)
}

.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none
}

.nav-ham span {
  width: 22px;
  height: 1px;
  background: var(--espresso);
  display: block;
  transition: all .3s
}

#mnav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 247, .98);
  backdrop-filter: blur(20px);
  z-index: 490;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem
}

#mnav a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--espresso);
  text-decoration: none;
  transition: color .2s
}

#mnav a:hover {
  color: var(--rose)
}

#mnav.open {
  display: flex
}

.mnav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: none;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0
}

.mnav-close span {
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  display: block;
  transition: all .3s;
  transform-origin: center
}

.mnav-close span:first-child {
  transform: rotate(45deg) translateY(1px)
}

.mnav-close span:last-child {
  transform: rotate(-45deg) translateY(-1px)
}

.nav-ham.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px)
}

.nav-ham.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.nav-ham.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px)
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 3.2rem;
  position: relative;
  overflow: hidden
}

.hero-left {
  padding: 5rem 4vw 6rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--linen-4);
  position: relative;
  overflow: hidden;
}

/* parallax layers inside left col */
.hero-bg-word {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  color: rgba(196, 144, 122, .055);
  pointer-events: none;
  user-select: none;
  will-change: transform;
  line-height: 1;
}

.hero-bg-w1 {
  font-size: clamp(7rem, 16vw, 18rem);
  bottom: -1rem;
  left: -2rem;
  letter-spacing: -.04em
}

.hero-bg-w2 {
  font-size: clamp(3.5rem, 8vw, 9rem);
  top: 5rem;
  right: -1rem;
  letter-spacing: -.02em;
  opacity: .5
}

.hero-bg-w3 {
  font-size: clamp(2.5rem, 5vw, 6rem);
  top: 45%;
  left: 10%;
  letter-spacing: -.01em;
  opacity: .35
}

.hero-top-label {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0;
  animation: fadeUp .7s ease .2s forwards
}

/* Name-first "Engineer's Letter" stack */
.hero-letter-head {
  margin-top: auto;
  padding-top: 3rem
}

/* Small label above — "Engineer's Letter by" */
.hero-el-byline {
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .6rem;
  opacity: 0;
  animation: fadeUp .7s ease .35s forwards;
}

.hero-el-byline em {
  color: var(--rose);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: .65rem
}

/* BIG NAME — the hero statement */
.hero-el-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(4rem, 9.5vw, 10rem);
  line-height: .86;
  letter-spacing: -.03em;
  color: var(--espresso);
  opacity: 0;
  animation: fadeUp 1s ease .5s forwards;
}

.hero-el-title .firstname {
  display: block
}

.hero-el-title .lastname {
  display: block;
  font-style: italic;
  color: var(--rose)
}

/* "Engineer's Letter" label below name */
.hero-el-sub-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  color: var(--bark);
  margin-top: .8rem;
  opacity: 0;
  animation: fadeUp .8s ease .8s forwards;
  letter-spacing: .01em;
}

.hero-name-rule {
  width: 100%;
  height: 1px;
  background: var(--linen-4);
  margin: 1.5rem 0;
  opacity: 0;
  animation: fadeUp .6s ease 1s forwards
}

.hero-name-sub {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0;
  animation: fadeUp .7s ease 1.1s forwards
}

/* terra accent stripe */
.hero-terra-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 40%;
  background: var(--rose);
  opacity: .6
}

/* Right column */
.hero-right {
  padding: 5rem 8vw 6rem 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative
}

.hero-pull {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--espresso);
  text-transform: uppercase;
  border: 1px solid var(--linen-4);
  padding: 2.2rem;
  position: relative;
  opacity: 0;
  animation: fadeUp .9s ease .6s forwards;
}

/* floating outline circle behind pull quote */
.hero-pull::after {
  content: '';
  position: absolute;
  bottom: -28%;
  right: -14%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid var(--linen-4);
  pointer-events: none;
  z-index: -1
}

.hero-intro {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp .8s ease .9s forwards
}

.hero-intro p {
  font-size: .82rem;
  line-height: 1.85;
  color: var(--bark);
  font-weight: 300
}

/* small terra accent */
.hero-terra-dot {
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp .5s ease .3s forwards
}

.hero-footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  padding: 1rem 8vw 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--linen-4);
}

.hero-footer-label {
  font-size: .5rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--stone-lt)
}

.hero-page-num {
  font-family: 'Playfair Display', serif;
  font-size: .72rem;
  color: var(--stone)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ── SECTIONS ── */
.section {
  padding: 7rem 8vw;
  border-top: 1px solid var(--linen-4);
  position: relative;
  overflow: hidden
}

.section.alt {
  background: var(--linen-2)
}

.mag-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--linen-4)
}

.mag-sname {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--stone)
}

.mag-pnum {
  font-family: 'Playfair Display', serif;
  font-size: .68rem;
  color: var(--stone-lt)
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--espresso);
  margin-bottom: 4rem
}

.section-heading .sub {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: .55rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .8rem
}

/* decorative large letter */
.deco-letter {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 22rem;
  color: rgba(196, 144, 122, .04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  right: 4vw;
  top: 4rem;
  will-change: transform
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0 5rem;
  align-items: start
}

.about-div {
  background: var(--linen-4)
}

.about-pull-big {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  line-height: 1.3;
  color: var(--espresso);
  margin-bottom: 2.5rem
}

.about-pull-big em {
  color: var(--rose);
  font-style: normal
}

.about-body {
  font-size: .86rem;
  line-height: 1.92;
  color: var(--bark)
}

.about-body p+p {
  margin-top: 1.2rem
}

.about-interests-label {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem
}

.interest-list {
  list-style: none;
  display: flex;
  flex-direction: column
}

.interest-list li {
  font-size: .84rem;
  font-weight: 300;
  color: var(--bark);
  padding: .85rem 0;
  border-bottom: 1px solid var(--linen-4);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color .2s, padding-left .2s;
  cursor: default
}

.interest-list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--rose);
  flex-shrink: 0;
  transition: width .2s
}

.interest-list li:hover {
  color: var(--rose);
  padding-left: .3rem
}

.interest-list li:hover::before {
  width: 24px
}

/* ── SKILLS ── */

/* Hero featured cards */
.skills-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 4rem;
  border: 1px solid var(--linen-4)
}

.sf-card {
  padding: 1.8rem 1.5rem 1.5rem;
  border-right: 1px solid var(--linen-4);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background .3s;
}

.sf-card:last-child {
  border-right: none
}

.sf-card:hover {
  background: rgba(196, 144, 122, .04)
}

/* Rose top border — draws in on scroll via JS adding .sf-active */
.sf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.sf-card.sf-active::before {
  transform: scaleX(1)
}

.sf-tag {
  font-family: 'DM Mono', monospace;
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .8rem;
  opacity: .8
}

.sf-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: .6rem;
  line-height: 1.1
}

/* Description hidden by default, slides up on hover */
.sf-desc {
  font-size: .75rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
}

.sf-card:hover .sf-desc {
  max-height: 80px;
  opacity: 1
}

/* Full grid below */
.skills-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0
}

.skill-col {
  padding: 0 2.5rem;
  border-right: 1px solid var(--linen-4)
}

.skill-col:first-child {
  padding-left: 0
}

.skill-col:last-child {
  border-right: none;
  padding-right: 0
}

.skill-col-label {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--linen-4)
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column
}

.skill-list li {
  font-size: .8rem;
  font-weight: 300;
  color: var(--bark);
  padding: .58rem 0;
  border-bottom: 1px solid rgba(228, 221, 212, .55);
  transition: color .2s, padding-left .2s
}

.skill-list li:hover {
  color: var(--rose);
  padding-left: .4rem
}

/* ── EXPERIENCE ── */
.exp-item {
  display: grid;
  grid-template-columns: 200px 1px 1fr;
  gap: 0 4rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--linen-4)
}

.exp-item:first-child {
  border-top: 1px solid var(--linen-4)
}

.exp-div {
  background: var(--linen-4)
}

.exp-meta {
  padding-right: 4rem
}

.exp-company {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: .4rem
}

.exp-period {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .3rem
}

.exp-location {
  font-size: .56rem;
  color: var(--stone);
  letter-spacing: .05em
}

.exp-role {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 1.7vw, 1.6rem);
  color: var(--espresso);
  margin-bottom: .8rem;
  line-height: 1.2
}

.exp-desc {
  font-size: .82rem;
  line-height: 1.85;
  color: var(--bark);
  margin-bottom: 1rem
}

.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.exp-bullets li {
  font-size: .79rem;
  line-height: 1.75;
  color: var(--stone);
  padding-left: 1.2rem;
  position: relative
}

.exp-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rose)
}

.metric {
  color: var(--rose);
  font-weight: 500
}

/* ── EDUCATION ── */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0
}

.edu-card {
  padding: 3rem;
  border-right: 1px solid var(--linen-4);
  position: relative;
  overflow: hidden
}

.edu-card:last-child {
  border-right: none
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease
}

.edu-card:hover::before {
  transform: scaleX(1)
}

.edu-degree {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--espresso);
  margin-bottom: .6rem;
  line-height: 1.3
}

.edu-school {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .5rem
}

.edu-detail {
  font-size: .72rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
  line-height: 1.6
}

.edu-courses {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem
}

.edu-course {
  font-size: .62rem;
  padding: .25rem .7rem;
  border: 1px solid var(--linen-4);
  color: var(--bark);
  transition: all .2s
}

.edu-course:hover {
  border-color: var(--rose);
  color: var(--rose)
}

/* ── RECOGNITION ── */
/* Top: asymmetric spread — featured left, sidebar right */
.rec-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--linen-4);
  margin-bottom: 1px
}

.rec-featured {
  padding: 2.5rem;
  border-right: 1px solid var(--linen-4)
}

.rec-eyebrow {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem
}

.rec-featured-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--espresso);
  margin-bottom: .8rem
}

.rec-featured-detail {
  font-size: .8rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 1.2rem
}

.rec-medals {
  display: flex;
  gap: .5rem
}

.rec-medal {
  font-family: 'DM Mono', monospace;
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border: 1px solid
}

.rec-medal.gold {
  color: #8E7B54;
  border-color: #C4A882;
  background: rgba(196, 168, 130, .07)
}

.rec-medal.bronze {
  color: var(--stone);
  border-color: var(--linen-4);
  background: rgba(184, 178, 170, .07)
}

/* Sidebar */
.rec-side {
  padding: 0;
  display: flex;
  flex-direction: column
}

.rec-side-item {
  padding: 1.5rem;
  border-bottom: 1px solid var(--linen-4);
  transition: background .2s
}

.rec-side-item:last-child {
  border-bottom: none
}

.rec-side-item:hover {
  background: var(--rose-faint)
}

.rec-side-name {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: var(--espresso);
  margin-bottom: .3rem;
  line-height: 1.3
}

.rec-side-org {
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone)
}

/* Bottom: three equal cells */
.rec-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--linen-4)
}

.rec-bottom-item {
  padding: 1.5rem;
  border-right: 1px solid var(--linen-4);
  transition: background .2s
}

.rec-bottom-item:last-child {
  border-right: none
}

.rec-bottom-item:hover {
  background: var(--rose-faint)
}

.rec-bottom-label {
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .6rem
}

.rec-bottom-val {
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  color: var(--espresso);
  line-height: 1.35
}

.rec-bottom-sub {
  font-size: .62rem;
  font-weight: 300;
  color: var(--stone);
  margin-top: .3rem
}

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0
}

.proj-card {
  padding: 2.5rem;
  border-right: 1px solid var(--linen-4);
  border-bottom: 1px solid var(--linen-4);
  position: relative;
  cursor: none;
  transition: background .25s;
  overflow: hidden
}

.proj-card:hover {
  background: var(--rose-faint)
}

.proj-card:nth-child(3n) {
  border-right: none
}

.proj-card:nth-child(n+4) {
  border-bottom: none
}

.proj-num {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(196, 144, 122, .07);
  position: absolute;
  top: .8rem;
  right: 1.2rem;
  line-height: 1;
  pointer-events: none;
  user-select: none
}

.proj-stack {
  font-family: 'DM Mono', monospace;
  font-size: .57rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .9rem;
  opacity: .75
}

.proj-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: .85rem
}

.proj-desc {
  font-size: .79rem;
  line-height: 1.8;
  color: var(--bark)
}

.proj-impact {
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  color: var(--rose);
  margin-top: 1rem;
  letter-spacing: .04em
}

/* ── BLOG ── */
/* ──

/* ── /* ── GALLERY TEASER ── creative earth + big word ── */

/* ── GALLERY TEASER ── Marauder's Map ── */
#gallery-teaser {
  background: var(--linen-3);
  border-top: 1px solid var(--linen-4);
  padding: 8rem 8vw;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: none;
}

/* Ghost word behind */
.gt-bg-word {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(12rem, 28vw, 30rem);
  color: rgba(196, 144, 122, .04);
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
  will-change: transform;
  z-index: 1;
}

/* Left accent stripe */
.gt-lines {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  pointer-events: none;
}

.gt-lines::before {
  content: '';
  flex: 1;
  background: var(--rose);
  opacity: .5
}

.gt-lines::after {
  content: '';
  flex: 1;
  background: var(--linen-4)
}

.gt-left {
  position: relative;
  z-index: 2
}

.gt-eyebrow {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem
}

.gt-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--espresso)
}

.gt-heading em {
  font-style: italic;
  color: var(--rose)
}

.gt-sub {
  font-size: .82rem;
  font-weight: 300;
  color: var(--stone);
  margin-top: 2rem;
  line-height: 1.75;
  max-width: 420px
}

.gt-btn {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--linen);
  background: var(--espresso);
  padding: 1rem 2.5rem;
  transition: background .3s, letter-spacing .3s;
  position: relative;
  z-index: 4;
}

#gallery-teaser:hover .gt-btn {
  background: var(--rose);
  letter-spacing: .35em
}

/* Coming Soon badge */
.gt-coming {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
}

.gt-coming-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  opacity: .7;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: .7;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.3)
  }
}

.gt-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center
}

.gt-ring-outer {
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  border-radius: 50%;
  border: 1px solid var(--linen-4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), border-color .5s;
}

#gallery-teaser:hover .gt-ring-outer {
  transform: rotate(15deg);
  border-color: rgba(196, 144, 122, .3)
}

.gt-ring-mid {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  border: 1px solid rgba(196, 144, 122, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}

#gallery-teaser:hover .gt-ring-mid {
  transform: rotate(-20deg)
}

.gt-ring-inner {
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: rgba(196, 144, 122, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .5s;
}

#gallery-teaser:hover .gt-ring-inner {
  background: rgba(196, 144, 122, .15)
}

.gt-ring-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: .9rem;
  color: var(--bark);
  text-align: center;
  line-height: 1.4;
}

/* ── CONTACT ── */

/* Already-sent overlay — replaces form when localStorage flag is set */
#form-already-sent {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 2.5rem;
  border: 1px solid var(--linen-4);
  background: var(--linen-2);
  position: relative;
  overflow: hidden;
}

#form-already-sent.show {
  display: flex
}

/* animated envelope */
.fas-envelope {
  width: 48px;
  height: 36px;
  position: relative;
  opacity: 0;
  animation: fasEnvIn .6s cubic-bezier(.34, 1.56, .64, 1) .2s forwards;
}

.fas-envelope-body {
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--rose);
  background: var(--linen);
  position: relative;
}

.fas-envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 18px solid var(--rose);
  opacity: .5;
}

.fas-envelope-check {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fas-envelope-check::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(40deg) translate(-1px, -1px);
  display: block;
}

@keyframes fasEnvIn {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-6deg)
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg)
  }
}

.fas-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--espresso);
  line-height: 1.2;
  opacity: 0;
  animation: fasTextIn .5s ease .5s forwards;
}

.fas-sub {
  font-size: .8rem;
  font-weight: 300;
  color: var(--bark);
  line-height: 1.7;
  opacity: 0;
  animation: fasTextIn .5s ease .7s forwards;
}

.fas-note {
  font-size: .68rem;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: .02em;
  opacity: 0;
  animation: fasTextIn .5s ease .9s forwards;
}

/* floating hearts animation */
.fas-hearts {
  position: absolute;
  top: 0;
  right: 1.5rem;
  pointer-events: none;
}

.fas-heart {
  position: absolute;
  font-size: .9rem;
  color: var(--rose);
  opacity: 0;
  animation: fasHeartFloat 2s ease forwards;
}

.fas-heart:nth-child(1) {
  right: 0;
  animation-delay: .4s
}

.fas-heart:nth-child(2) {
  right: 1.2rem;
  animation-delay: .65s;
  font-size: .7rem
}

.fas-heart:nth-child(3) {
  right: -.5rem;
  animation-delay: .9s;
  font-size: .6rem
}

@keyframes fasTextIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fasHeartFloat {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.6)
  }

  30% {
    opacity: .8
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1)
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0 6rem;
  align-items: start
}

.contact-div {
  background: var(--linen-4)
}

.contact-big {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--espresso);
  margin-bottom: 3.5rem
}

.contact-big em {
  font-style: italic;
  color: var(--rose)
}

.contact-rows {
  display: flex;
  flex-direction: column
}

.crow {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--linen-4)
}

.crow-lbl {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose);
  min-width: 78px
}

.crow-val {
  font-size: .84rem;
  font-weight: 300;
  color: var(--bark)
}

.crow-val a {
  color: inherit;
  text-decoration: none;
  transition: color .2s
}

.crow-val a:hover {
  color: var(--rose)
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem
}

.fg {
  display: flex;
  flex-direction: column
}

.fg label {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .5rem
}

.fg input,
.fg textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--linen-4);
  padding: .7rem 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  font-size: .87rem;
  color: var(--espresso);
  outline: none;
  resize: none;
  transition: border-color .2s;
  width: 100%
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--rose)
}

/* hCaptcha wrapper */
.captcha-wrap {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.2rem 0 .5rem;
  border-top: 1px solid var(--linen-4);
  border-bottom: 1px solid var(--linen-4);
}

.captcha-label {
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
}

.captcha-note {
  font-size: .68rem;
  font-weight: 300;
  color: var(--stone-lt);
  font-style: italic;
}

/* hCaptcha iframe sits naturally inside — light theme matches linen bg */
.h-captcha {
  margin: .2rem 0
}

.f-submit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--linen);
  border: none;
  padding: 1rem 2.5rem;
  cursor: none;
  align-self: flex-start;
  transition: background .3s;
  margin-top: .5rem
}

.f-submit:hover {
  background: var(--rose)
}

/* ── FOOTER ── */
footer {
  background: var(--espresso);
  padding: 2rem 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.f-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--linen);
  opacity: .6
}

.f-copy {
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, .32)
}

/* ── LOVE BUZZER ── */
#lb {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem
}

.lbtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--linen);
  border: 1px solid var(--linen-4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all .3s;
  box-shadow: 0 2px 16px rgba(30, 18, 8, .1)
}

.lbtn:hover {
  border-color: var(--rose);
  transform: scale(1.06)
}

.lbtn.pop {
  animation: hp .4s cubic-bezier(.36, .07, .19, .97) forwards
}

.lbtn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.5;
  transition: fill .2s
}

.lbtn.liked svg {
  fill: var(--rose)
}

.lct {
  font-family: 'DM Mono', monospace;
  font-size: .5rem;
  letter-spacing: .1em;
  color: var(--rose);
  text-align: center
}

@keyframes hp {
  0% {
    transform: scale(1)
  }

  35% {
    transform: scale(1.32)
  }

  65% {
    transform: scale(.93)
  }

  100% {
    transform: scale(1)
  }
}

.hf {
  position: fixed;
  pointer-events: none;
  font-size: 1rem;
  color: var(--rose);
  animation: fu 1.1s ease forwards;
  z-index: 700
}

@keyframes fu {
  from {
    opacity: 1;
    transform: translateY(0) scale(1)
  }

  to {
    opacity: 0;
    transform: translateY(-80px) scale(.4)
  }
}

/* ── SCROLL REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease
}

.rv.vs {
  opacity: 1;
  transform: translateY(0)
}

.d1 {
  transition-delay: .1s
}

.d2 {
  transition-delay: .2s
}

.d3 {
  transition-delay: .3s
}

/* ── PARALLAX ── */
[data-parallax] {
  will-change: transform
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  #hero {
    grid-template-columns: 1fr
  }

  .hero-left {
    border-right: none;
    border-bottom: 1px solid var(--linen-4);
    padding: 5rem 6vw 4rem
  }

  .hero-right {
    padding: 4rem 6vw 5rem
  }

  .hero-intro {
    grid-template-columns: 1fr
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .about-div {
    display: none
  }

  .skills-cols {
    grid-template-columns: 1fr 1fr
  }

  .skill-col:nth-child(3) {
    border-right: none
  }

  .skill-col:nth-child(4) {
    padding-left: 0;
    border-right: none;
    border-top: 1px solid var(--linen-4);
    padding-top: 2rem
  }

  .ca-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .ca-div {
    display: none
  }

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

  .proj-card:nth-child(3n) {
    border-right: 1px solid var(--linen-4)
  }

  .proj-card:nth-child(2n) {
    border-right: none
  }

  .writing-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .writing-carousel-outer {
    grid-template-columns: 36px 1fr 36px
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem
  }

  .contact-div {
    display: none
  }

  #gallery-teaser {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .gt-ring-outer {
    width: 260px;
    height: 260px
  }
}

@media(max-width:768px) {
  .section {
    padding: 4.5rem 5vw
  }

  .nav-links {
    display: none
  }

  .nav-ham {
    display: flex
  }

  .hero-left {
    padding: 4.5rem 5vw 3rem
  }

  .hero-right {
    padding: 3rem 5vw 4.5rem
  }

  .hero-pull {
    font-size: clamp(1.4rem, 5vw, 2rem);
    padding: 1.8rem
  }

  .hero-name-big {
    font-size: clamp(3rem, 12vw, 5.5rem)
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .about-pull-big {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem)
  }

  .deco-letter {
    display: none
  }

  .skills-cols {
    grid-template-columns: 1fr
  }

  .skill-col {
    border-right: none;
    padding: 0 0 2rem;
    border-bottom: 1px solid var(--linen-4);
    margin-bottom: .5rem
  }

  .skill-col:last-child {
    border-bottom: none;
    padding-bottom: 0
  }

  .skills-featured {
    grid-template-columns: 1fr 1fr
  }

  .exp-item {
    grid-template-columns: 1fr;
    gap: .6rem;
    padding: 2.5rem 0
  }

  .exp-div {
    display: none
  }

  .exp-meta {
    padding-right: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: baseline
  }

  .edu-grid {
    grid-template-columns: 1fr
  }

  .edu-card {
    border-right: none;
    border-bottom: 1px solid var(--linen-4);
    padding: 2.5rem 0
  }

  .edu-card:last-child {
    border-bottom: none
  }

  .ca-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .ca-div {
    display: none
  }

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

  .proj-card {
    border-right: none
  }

  .writing-intro {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem
  }

  .writing-carousel-outer {
    grid-template-columns: 32px 1fr 32px;
    gap: 0 .6rem
  }

  .wcard {
    width: clamp(260px, 78vw, 400px);
    padding: 2.2rem 2rem
  }

  .wcard-more {
    width: clamp(160px, 40vw, 220px);
    padding: 2.2rem 1.5rem
  }

  .writing-footer {
    flex-direction: column;
    gap: .8rem;
    align-items: flex-start
  }

  #gallery-teaser {
    padding: 5rem 5vw;
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .gt-ring-outer {
    width: 220px;
    height: 220px
  }

  .gt-heading {
    font-size: clamp(3rem, 12vw, 5rem)
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .contact-div {
    display: none
  }

  .contact-big {
    font-size: clamp(2.2rem, 8vw, 3.5rem)
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center
  }
}

@media(max-width:480px) {
  .section {
    padding: 3.5rem 5vw
  }

  .nav {
    padding: .8rem 5vw
  }

  .nav-tag {
    display: none;
  }

  .hero-left {
    padding: 4rem 5vw 2.5rem
  }

  .hero-right {
    padding: 2.5rem 5vw 4rem
  }

  .hero-pull {
    font-size: 1.35rem;
    padding: 1.4rem
  }

  .hero-intro p {
    font-size: .78rem;
    margin-bottom: 2rem
  }

  .section-heading {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 2.5rem
  }

  .skills-featured {
    grid-template-columns: 1fr
  }

  .writing-statement {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem)
  }

  .writing-byline {
    font-size: .78rem
  }

  .wcard {
    width: calc(100vw - 10vw - 32px - .6rem);
    padding: 2rem 1.5rem
  }

  .wcard-num {
    font-size: 2.5rem
  }

  .wcard-title {
    font-size: 1rem
  }

  .wcard-more {
    width: 140px
  }

  .proj-card {
    padding: 2rem
  }

  #gallery-teaser {
    padding: 4rem 5vw
  }

  .gt-ring-outer {
    width: 180px;
    height: 180px
  }

  .contact-big {
    font-size: clamp(1.8rem, 8vw, 2.8rem)
  }

  #lb {
    bottom: 1.5rem;
    right: 1.5rem
  }

  .hero-pull {
    font-size: 1.4rem;
    padding: 1.5rem
  }

  #gallery-teaser {
    padding: 5rem 6vw
  }

  .gt-ring-outer {
    width: 200px;
    height: 200px
  }
}