:root {
  --rose: #f4b9cf;
  --rose-deep: #df4d84;
  --rose-soft: #f9dce7;
  --paper: #fff8f3;
  --ink: #24171c;
  --muted: #72565f;
  --line: rgba(78, 27, 47, .18);
  --hero-inner-gutter: clamp(30px, 4.2vw, 70px);
  --hero-top-gutter: clamp(28px, 3.3vw, 54px);
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--rose); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--paper); background: var(--rose-deep); }

.hero-wrap { min-height: 100svh; padding: 2px; position: relative; display: grid; place-items: center; }
.hero-panel { width: 100%; min-height: calc(100svh - 4px); background: var(--paper); position: relative; padding: var(--hero-top-gutter) var(--hero-inner-gutter); display: flex; flex-direction: column; overflow: hidden; }
.site-header { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; animation: hero-enter .7s both; }
.wordmark { font: 500 14px var(--serif); letter-spacing: -.02em; }
.wordmark-dot { color: var(--rose-deep); }
.site-nav { display: flex; align-items: center; gap: clamp(23px, 3vw, 48px); }
.site-nav a { text-transform: uppercase; font-size: 9px; letter-spacing: .08em; transition: color .2s ease; }
.site-nav a:hover, .text-link:hover { color: var(--rose-deep); }
.menu-toggle { display: none; }
.hero-content { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 30%); align-items: start; gap: clamp(14px, 2vw, 30px); padding: var(--hero-top-gutter) 0 0; }
.hero-eyebrow, .eyebrow { margin: 0 0 20px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-heading-wrap { 
  position: relative; 
  z-index: 1; 
  animation: hero-enter .8s .08s both; 
}
#hero-title { 
  margin: 0;
  width: 20px;
   
}
h1 { 
  margin: 0; 
  white-space: normal; 
  font: 400 clamp(76px, 16vw, 320px)/.91 var(--serif); 
  letter-spacing: -.055em; 
}
h1 .headline-developer { 
  display: flex; 
  justify-content: space-between; 
  width: calc(100vw - var(--hero-inner-gutter) - var(--hero-inner-gutter) - 4px); 
  white-space: nowrap; 
  letter-spacing: -.06em; 
}
h1 .headline-developer > span { flex: 0 0 auto; }
.hero-aside { align-self: start; margin-top: clamp(22px, 4.3vw, 64px); display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(18px, 3vw, 44px); animation: hero-enter .8s .18s both; }
.hero-intro { max-width: 150px; flex: 1 1 140px; margin: 0; font-size: 12px; line-height: 1.5; }
.round-link { width: 126px; height: 126px; border-radius: 50%; display: grid; place-items: center; text-align: center; position: relative; font-size: 8px; line-height: 1.45; font-weight: 500; transition: transform .3s ease, background .3s ease, color .3s ease; }
.round-link:hover { transform: scale(1.06); }
.hero-globe-cta { display: block; flex: 0 0 clamp(130px, 11vw, 170px); width: clamp(130px, 11vw, 170px); aspect-ratio: 1; transition: transform .35s ease; }
.hero-globe-cta:hover { transform: scale(1.05) rotate(1.5deg); }
.hero-globe-cta picture, .hero-globe-cta img { display: block; width: 100%; height: 100%; }
.hero-globe-cta img { object-fit: contain; }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; width: 126px; height: 140px; transform: translateX(-50%); display: grid; justify-items: center; align-items: center; z-index: 4; border-radius: 70px; }
.scroll-cue:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 5px; }
.scroll-type { width: 120px; height: 120px; overflow: visible; animation: rotate 18s linear infinite; }
.scroll-type text { fill: var(--ink); font: 9px var(--sans); letter-spacing: 1.15px; }
.cup-icon { position: absolute; width: 40px; height: 44px; left: 50%; top: 45%; transform: translate(-50%, -50%); overflow: visible; }
.cup-handle, .cup-outline, .cup-saucer { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cup-water { fill: var(--rose-deep); transform: scaleY(var(--cup-fill, 0)); transform-origin: 50% 100%; transform-box: fill-box; transition: transform .12s linear; }
.scroll-cue.is-floating { position: fixed; left: auto; right: 20px; bottom: 18px; width: 142px; height: 150px; transform: none; border: 1px solid rgba(78, 27, 47, .18); background: rgba(255, 248, 243, .94); box-shadow: 0 8px 30px rgba(78, 27, 47, .1); backdrop-filter: blur(8px); }
.scroll-cue.is-floating .scroll-type { width: 134px; height: 134px; }
.scroll-cue.is-floating .scroll-type text { font-size: 9px; }
.scroll-cue.is-floating .cup-icon { width: 43px; height: 48px; top: 43%; }
.section-shell { padding: clamp(46px, 6vw, 78px) 10.5vw; }
.section-topline { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 13px; 
margin-bottom: 20px; }
.section-heading-row { margin: clamp(30px, 5vw, 60px) 0 38px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading-row h2, .about-copy h2 { margin: 0; font: 400 clamp(48px, 7.2vw, 102px)/.93 var(--serif); letter-spacing: -.06em; }
.section-heading-row h2 em, .about-copy h2 em, .contact-inner h2 em { font-weight: 400; color: #b94d70; }
.skills-section { 
  background: var(--paper); 
  margin: 0;
}
.skills-heading { margin: 34px 0 26px; text-align: center; }
.skills-heading .eyebrow { margin: 0 0 8px; color: var(--rose-deep); }
.skills-heading h2 { margin: 0; font: 400 clamp(37px, 5vw, 58px)/1 var(--serif); letter-spacing: -.045em; }
.skills-grid { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 3vw, 42px); }
.skill-card { text-align: center; }
.skill-hex { width: min(100%, 142px); aspect-ratio: .92; margin: 0 auto; clip-path: polygon(50% 0%, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%); background: #fce5ed; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 12px; }
.skill-icon { min-height: 28px; display: grid; place-items: center; font: 600 19px/1 var(--sans); }
.icon-html { color: #df572f; }
.icon-css { color: #247bb8; }
.icon-js { width: 28px; height: 28px; background: #f1d94a; color: #2d2826; font-size: 13px; align-self: center; }
.icon-react { color: #149eca; font-size: 27px; }
.skill-name { color: #51434a; font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.skill-descriptor { max-width: 110px; color: var(--muted); font-size: 9px; line-height: 1.3; text-align: center; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px) 3.2vw; align-items: start; }
.project-card { display: block; min-width: 0; }
.project-card-offset, .project-card-wide { width: 100%; grid-column: auto; margin: 0; }
.project-art { min-height: 0; height: auto; aspect-ratio: 1.18; position: relative; overflow: hidden; }
.art-serein { background: #d9e0d3; color: #375046; display: flex; align-items: center; justify-content: center; }
.art-label { position: absolute; top: 8%; left: 8%; z-index: 2; font: 12px/.92 var(--serif); letter-spacing: .16em; }
.art-stem { position: absolute; bottom: -18%; width: 1px; height: 91%; background: #667b63; transform-origin: bottom; z-index: 1; }
.stem-one { left: 48%; transform: rotate(-22deg); }
.stem-two { left: 55%; transform: rotate(18deg); height: 75%; }
.art-circle { width: 56%; aspect-ratio: 1; border: 1px solid rgba(84, 113, 90, .4); border-radius: 50%; background: radial-gradient(ellipse at 50% 55%, rgba(237, 218, 184, .92) 0 28%, transparent 29%), radial-gradient(ellipse at 60% 42%, #9cae91 0 14%, transparent 15%), radial-gradient(ellipse at 38% 41%, #a8b49c 0 14%, transparent 15%); filter: saturate(.75); }
.art-caption { position: absolute; right: 8%; bottom: 8%; z-index: 2; font: clamp(18px, 2.1vw, 28px)/1.05 var(--serif); text-align: right; }
.art-forme { background: #f6d8e2; color: #4c343c; padding: 9%; }
.art-sunday { background: #fff3ed; display: grid; place-items: center; color: #414139; }
.sunday-sun { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #e99ab5; top: 12%; right: 18%; }
.sunday-title { position: relative; z-index: 1; font: 400 clamp(68px, 10vw, 145px)/.75 var(--serif); letter-spacing: -.09em; transform: translate(-6%, 2%); }
.sunday-title::first-line { color: #65614e; }
.sunday-line { position: absolute; left: 9%; right: 9%; top: 52%; height: 1px; background: rgba(49, 47, 40, .45); }
.sunday-tag { position: absolute; right: 8%; bottom: 8%; font-size: 8px; letter-spacing: .12em; }
.art-lune { background: #f6e8e7; color: #493940; padding: 10%; }
.lune-mark { position: absolute; top: 9%; right: 10%; color: var(--rose-deep); font: 400 22px var(--serif); }
.lune-title { position: absolute; left: 10%; top: 26%; font: 400 clamp(24px, 3vw, 40px)/.96 var(--serif); letter-spacing: -.05em; }
.lune-title em { color: #ae6578; }
.lune-caption { position: absolute; left: 10%; bottom: 10%; font-size: 7px; letter-spacing: .13em; }
.art-petal { background: #e7eadf; color: #48513d; padding: 9%; display: flex; flex-direction: column; justify-content: space-between; }
.petal-kicker, .petal-footer { font-size: 7px; letter-spacing: .13em; }
.petal-name { position: relative; z-index: 1; font: 400 clamp(30px, 4vw, 50px)/.8 var(--serif); letter-spacing: -.06em; }
.petal-bloom { position: absolute; right: 7%; bottom: 17%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #dfb24d 0 11%, transparent 12%), radial-gradient(ellipse at 50% 24%, #e9a9b9 0 21%, transparent 22%), radial-gradient(ellipse at 77% 50%, #e9a9b9 0 21%, transparent 22%), radial-gradient(ellipse at 50% 76%, #e9a9b9 0 21%, transparent 22%), radial-gradient(ellipse at 23% 50%, #e9a9b9 0 21%, transparent 22%); }
.art-soft-hours { background: #f1dfd6; color: #6a454e; display: grid; place-items: center; }
.soft-orb { position: absolute; width: 45%; aspect-ratio: 1; top: 8%; right: 12%; border-radius: 50%; background: #e6a6b9; opacity: .8; }
.soft-title { z-index: 1; font: 400 clamp(38px, 5vw, 60px)/.73 var(--serif); letter-spacing: -.07em; transform: translate(-4%, 2%); }
.soft-title em { color: #ad6278; }
.soft-note { position: absolute; bottom: 9%; left: 9%; font-size: 7px; letter-spacing: .14em; }
.project-meta { padding-top: 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.project-meta h3 { margin: 0 0 5px; font: 400 19px var(--serif); }
.project-meta p { margin: 0; color: var(--muted); font-size: 10px; }
.project-art, .project-meta h3 { transition: transform .35s ease; }
.project-card:hover .project-art { transform: translateY(-5px); }

.process-section { background: var(--paper); }
.process-heading-row { margin-bottom: clamp(55px, 8vw, 105px); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 22px 30px 25px 0; min-height: 210px; position: relative; border-bottom: 1px solid var(--line); }
.process-step + .process-step { border-left: 1px solid var(--line); padding-left: 30px; }
.step-count { color: var(--rose-deep); font-size: 9px; }
.process-step h3 { margin: 45px 0 10px; font: 400 22px var(--serif); }
.process-step p { max-width: 245px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.step-mark { position: absolute; top: 15px; right: 24px; color: var(--rose-deep); font: 25px var(--serif); }
.about-section { background: var(--paper); padding-top: 0; }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 10%; padding: clamp(42px, 5vw, 68px) 5% 0; }
.about-stamp { width: min(280px, 100%); aspect-ratio: 1; border: 1px solid #edb4c8; border-radius: 50%; display: grid; place-items: center; position: relative; color: #9b6677; }
.about-stamp::before { content: ""; position: absolute; inset: 11%; border: 1px solid #edb4c8; border-radius: 50%; }
.about-stamp span { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 7%; font-size: 7px; letter-spacing: .15em; }
.about-stamp b { font: 400 78px var(--serif); color: var(--rose-deep); }
.about-copy h2 { font-size: clamp(48px, 6.2vw, 85px); }
.about-copy > p { max-width: 485px; margin: 28px 0 25px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.text-link { display: inline-flex; gap: 14px; align-items: center; border-bottom: 1px solid #a99292; padding-bottom: 7px; font-size: 10px; transition: color .2s ease; }

.contact-section { background: var(--rose); padding: clamp(46px, 6vw, 78px) 10.5vw 27px; }
.contact-inner { position: relative; }
.contact-inner .section-topline { border-color: rgba(35, 25, 25, .35); }
.contact-inner h2 { margin: 0; max-width: 920px; font: 400 clamp(64px, 10vw, 145px)/.84 var(--serif); letter-spacing: -.075em; }
.contact-inner h2 em { color: var(--paper); }
.contact-cta { position: absolute; right: 8%; bottom: 7%; border:  1px solid rgba(23,20,20,.55); color: var(--ink); 
margin:20px;}
.contact-cta:hover { background: var(--ink); color: var(--paper); }
.footer-bottom { margin-top: clamp(68px, 9vw, 125px); padding-top: 17px; border-top: 1px solid rgba(35, 25, 25, .35); display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 9px; }
.footer-bottom > span { color: #594a4c; }
.back-top { border-bottom: 1px solid rgba(35, 25, 25, .5); padding-bottom: 4px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { h1 { font-size: clamp(190px, 16vw, 320px); } }
@media (max-width: 800px) {
  :root { --hero-inner-gutter: 24px; --hero-top-gutter: 25px; }
  .hero-wrap { padding: 2px; min-height: 100svh; }
  .hero-panel { min-height: calc(100svh - 4px); padding: 25px 24px; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 8px; }
  .hero-content { grid-template-columns: 1fr; align-content: start; gap: 24px; padding: var(--hero-top-gutter) 0 0; }
  h1 { font-size: clamp(88px, 16vw, 128px); }
  .hero-aside { flex-direction: row; align-items: center; justify-content: space-between; width: min(100%, 470px); margin-left: auto; }
  .hero-intro { max-width: 185px; }
  .round-link { width: 112px; height: 112px; margin: 10px;}
  .section-shell { padding: 60px 8vw; }
  .section-heading-row { margin: 38px 0 30px; }
  .section-heading-row h2 { font-size: clamp(55px, 10vw, 82px); }
  .project-art { min-height: 0; height: auto; }
  .process-step + .process-step { padding-left: 20px; }
  .process-step { padding-right: 18px; }
  .contact-section { padding-left: 8vw; padding-right: 8vw; }
}
@media (max-width: 560px) {
  :root { --hero-inner-gutter: 20px; --hero-top-gutter: 22px; }
  .hero-panel { min-height: calc(100svh - 4px); padding: 22px 20px; }
  .wordmark { font-size: 14px; }
  .menu-toggle { display: grid; gap: 5px; justify-items: end; border: 0; padding: 10px 0 10px 10px; background: transparent; color: var(--ink); position: relative; z-index: 7; }
  .menu-toggle span { width: 23px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: -22px; left: -20px; right: -20px; padding: 86px 24px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; background: var(--rose-deep); color: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { font: 400 24px var(--serif); text-transform: none; letter-spacing: -.02em; }
  .hero-content { padding: var(--hero-top-gutter) 0 0; gap: 29px; }
  .hero-eyebrow { font-size: 8px; margin-bottom: 17px; }
  h1 { font-size: clamp(54px, 16.8vw, 100px); line-height: .84; }
  .hero-aside { align-items: flex-start; }
  .hero-intro { font-size: 12px; max-width: 150px; padding-top: 12px; }
  .round-link { width: 98px; height: 98px; font-size: 7px; }
  .hero-globe-cta { flex-basis: clamp(108px, 32vw, 132px); width: clamp(108px, 32vw, 132px); }
  .scroll-cue { bottom: 20px; width: 108px; height: 120px; }
  .scroll-type { width: 104px; height: 104px; }
  .scroll-type text { font-size: 7.6px; letter-spacing: 1px; }
  .cup-icon { width: 32px; height: 36px; }
  .scroll-cue.is-floating { right: 12px; bottom: 12px; width: 116px; height: 126px; }
  .scroll-cue.is-floating .scroll-type { width: 108px; height: 108px; }
  .scroll-cue.is-floating .scroll-type text { font-size: 7.8px; }
  .scroll-cue.is-floating .cup-icon { width: 32px; height: 36px; top: 42%; }
  .section-shell { padding: 44px 7vw; }
  .section-heading-row { 
    margin: 30px 0 25px; 
    margin-top: 0px;
  }
  .section-topline { font-size: 7px; }
  .section-heading-row { display: block; margin: 30px 0 25px; }
  .section-heading-row h2, .about-copy h2 { font-size: clamp(50px, 13vw, 70px); }
  .section-intro { width: 78%; margin: 25px 0 0 auto; font-size: 11px; }
  .skills-heading { margin: 28px 0 22px; }
  .skills-heading h2 { font-size: clamp(30px, 8vw, 42px); }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; max-width: 360px; }
  .skill-hex { width: min(100%, 130px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .project-art { aspect-ratio: .9; }
  .forme-title { font-size: 22vw; }
  .sunday-title { font-size: 20vw; }
  .process-heading-row { margin-bottom: 34px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: 165px; padding: 18px 20px 24px 0; border-left: 0; }
  .process-step h3 { margin-top: 26px; }
  .step-mark { top: 18px; right: 8px; }
  .about-section { padding-top: 0; }
  .about-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 42px; padding: 40px 0 0; }
  .about-stamp { width: 185px; align-self: center; }
  .about-stamp b { font-size: 58px; }
  .about-stamp span { font-size: 6px; }
  .about-copy > p { margin-top: 22px; font-size: 11px; }
  .contact-section { padding: 44px 7vw 22px; }
  .contact-inner h2 { font-size: clamp(62px, 15vw, 95px); }
  .contact-cta { position: relative; right: auto; bottom: auto; margin: 38px 0 0 auto; }
  .footer-bottom { margin-top: 100px; flex-wrap: wrap; }
  .footer-bottom > span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .site-header, .hero-heading-wrap, .hero-aside { animation: none; }
}





















/* PROJECT PREVIEW OVERLAY */
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(35, 20, 28, 0.65);
    backdrop-filter: blur(6px);

    align-items: center;
    justify-content: center;

    padding: 3vh 3vw;
}

/* MODAL WINDOW */
.project-modal-content {
    position: relative;
    width: 85%;
    height: 85%;
    max-width: 1400px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

/* ACTUAL PROJECT WEBSITE */
.project-modal-content iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    z-index: 10;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;
    background: #f4b9cf;
    color: #333;

    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

/* STOP BACKGROUND SCROLLING */
body.modal-open {
    overflow: hidden;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .project-modal {
        padding: 12px;
    }

    .project-modal-content {
        width: 100%;
        height: 90%;
        border-radius: 14px;
    }
}

/* ALTERNATING PROJECT DESIGNS */

.project-card:nth-child(4n+1) .project-art {
    background: #d9e0d3;
    color: #375046;
}

.project-card:nth-child(4n+2) .project-art {
    background: #f6d8e2;
    color: #4c343c;
}

.project-card:nth-child(4n+3) .project-art {
    background: #fff3ed;
    color: #414139;
}

.project-card:nth-child(4n+4) .project-art {
    background: #f6e8e7;
    color: #493940;
}