:root {
  --paper: #f2f0e9;
  --ink: #161713;
  --muted: #6d6d65;
  --line: rgba(22, 23, 19, .2);
  --coral: #ee5a3f;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--paper); background: var(--coral); }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 10px 16px; z-index: 100; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.scroll-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; will-change: transform; }

.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 25px 3.1vw; border-bottom: 1px solid var(--line); background: rgba(242,240,233,.88); backdrop-filter: blur(14px); transition: transform .5s var(--ease); }
.site-header.header-hidden { transform: translateY(-105%); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; color: var(--paper); background: var(--ink); border-radius: 50%; font-family: "DM Mono", monospace; font-size: 13px; }
.header-logo { display: block; width: 44px; height: 44px; object-fit: contain; transition: transform .45s var(--ease); }
.brand:hover .header-logo { transform: rotate(-5deg) scale(1.04); }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; }
.desktop-nav a, .socials a, footer > a { position: relative; }
.desktop-nav a::after, .socials a::after, footer > a::after { content: ""; position: absolute; right: 0; bottom: -3px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.desktop-nav a:hover::after, .socials a:hover::after, footer > a:hover::after { transform: scaleX(1); transform-origin: left; }
.available { justify-self: end; display: flex; align-items: center; gap: 9px; font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.available span { width: 7px; height: 7px; border-radius: 50%; background: #5e9f64; box-shadow: 0 0 0 4px rgba(94,159,100,.12); animation: pulse 2s infinite; }
.menu-toggle, .mobile-menu { display: none; }

.hero { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); padding: 5vh 3.1vw 4vh; display: flex; flex-direction: column; justify-content: space-between; }
.hero-meta { display: flex; justify-content: space-between; color: var(--muted); font: 10px/1.4 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero-title { margin: auto 0; font-size: clamp(4.3rem, 10.7vw, 10.5rem); font-weight: 500; line-height: .87; letter-spacing: -.075em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line:nth-child(2) { padding-left: 7.3vw; }
.hero-title .accent-line { padding-left: 36vw; color: var(--coral); }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.hero-foot > p { width: min(420px, 38vw); margin: 0; color: var(--muted); font-size: clamp(14px, 1.25vw, 18px); }
.round-link { width: 104px; height: 104px; border: 1px solid var(--ink); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 17px; font: 10px/1.25 "DM Mono", monospace; text-transform: uppercase; transition: color .4s, background .4s, transform .4s var(--ease); }
.round-link:hover { color: var(--paper); background: var(--ink); transform: rotate(-7deg); }
.round-link svg { align-self: flex-end; width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.section { padding: 130px 3.1vw; border-top: 1px solid var(--line); scroll-margin-top: 78px; }
.section-label { font: 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.section-label span { margin-right: 22px; color: var(--coral); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; margin-top: 110px; }
.about-grid > * { min-width: 0; }
.statement { max-width: 850px; margin: 0; font-size: clamp(3rem, 5.8vw, 6rem); line-height: 1; letter-spacing: -.055em; }
.statement em { color: var(--coral); }
.about-copy { align-self: end; max-width: 520px; font-size: 16px; }
.about-copy > p { margin: 0 0 20px; }
.about-copy > p + p { color: var(--muted); }
.disciplines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.disciplines span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }

.work { padding-bottom: 4vw; background: var(--ink); color: var(--paper); }
.work-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.work-heading p { margin: 0; color: #96968d; }
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; }
.project { min-height: 700px; display: flex; flex-direction: column; padding: 24px; overflow: hidden; transform-origin: center bottom; transition: transform .8s var(--ease), opacity .8s var(--ease), clip-path 1.1s var(--ease); }
.project:hover { transform: translateY(-8px); }
.project-top { display: flex; justify-content: space-between; font: 10px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.project-top span:last-child { transition: transform .4s var(--ease); }
.project:hover .project-top span:last-child { transform: translate(4px, -4px); }
.project-visual { --parallax: 0px; position: relative; flex: 1; min-height: 420px; margin: 25px 0; overflow: hidden; }
.logo-card { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(58%, 310px); aspect-ratio: 1; overflow: hidden; transform: translate(-50%, calc(-50% + var(--parallax))) scale(1); transition: transform .8s var(--ease), box-shadow .8s var(--ease); will-change: transform; }
.logo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project:hover .logo-card { transform: translate(-50%, calc(-50% + var(--parallax))) scale(1.045) rotate(-2deg); box-shadow: 0 30px 70px rgba(0,0,0,.18); }
.project-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.project-bottom h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.6rem); font-weight: 500; line-height: .9; letter-spacing: -.055em; }
.project-bottom p { margin: 0; font-size: 13px; line-height: 1.5; }
.project-coral { color: #1b1913; background: #e96244; }
.visual-dia { border: 1px solid rgba(27,25,19,.24); }
.road { position: absolute; top: -15%; right: 17%; width: 34%; height: 135%; border: 2px dashed rgba(27,25,19,.35); border-width: 0 2px; transform: rotate(16deg); }
.route-dot { position: absolute; width: 20px; height: 20px; background: #1b1913; border: 6px solid #e96244; border-radius: 50%; box-shadow: 0 0 0 1px #1b1913; }
.route-dot.one { top: 19%; right: 25%; }.route-dot.two { right: 6%; bottom: 18%; }
.logo-dia { border-radius: 50%; box-shadow: 0 20px 60px rgba(67,36,18,.18); }
.project-ink { background: #282822; color: #ece8dc; }
.visual-garlic { display: grid; place-items: center; }
.logo-garlic { width: min(60%, 320px); aspect-ratio: 1; border: 1px solid rgba(236,232,220,.18); border-radius: 50%; background: #fff; box-shadow: 0 24px 65px rgba(0,0,0,.24); }
.logo-garlic img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.orbit { position: absolute; border: 1px solid rgba(236,232,220,.13); border-radius: 50%; }
.orbit-one { width: 75%; aspect-ratio: 1; }.orbit-two { width: 105%; aspect-ratio: 1; }
.project-moss { background: #879b77; color: #152015; }
.logo-makalu { width: min(62%, 330px); border-radius: 50%; box-shadow: 0 22px 60px rgba(20,32,20,.18); }
.mountain-lines { position: absolute; inset: 4%; opacity: .23; background: repeating-linear-gradient(120deg, transparent 0 38px, #152015 39px 40px); }
.visual-caption { position: absolute; top: 30%; left: 5%; max-width: 160px; font: 11px/1.4 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.project-blue { background: #b9cbed; color: #121c35; }
.visual-rhanon { display: grid; place-items: center; perspective: 900px; }
.logo-rhanon { width: min(60%, 320px); border-radius: 50%; box-shadow: 0 24px 65px rgba(18,28,53,.2); }
.grid-lines { position: absolute; inset: 4%; opacity: .25; background-image: linear-gradient(#121c35 1px, transparent 1px), linear-gradient(90deg, #121c35 1px, transparent 1px); background-size: 38px 38px; }

.principle { min-height: 75vh; display: flex; flex-direction: column; justify-content: space-between; }
.principle blockquote { max-width: 1150px; margin: 130px auto; text-align: center; font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .95; letter-spacing: -.06em; }
.principle blockquote em { color: var(--coral); }
.principle-foot { display: flex; justify-content: space-between; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }

.contact { padding-bottom: 70px; color: var(--paper); background: var(--coral); }
.contact-kicker { font: 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.contact h2 { margin: 85px 0 65px; font-size: clamp(5rem, 11vw, 11rem); font-weight: 500; line-height: .78; letter-spacing: -.075em; }
.contact h2 em { color: var(--ink); }
.contact-link { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(242,240,233,.5); border-bottom: 1px solid rgba(242,240,233,.5); font-size: clamp(1.1rem, 2.2vw, 2rem); }
.contact-link span:last-child { transition: transform .4s var(--ease); }.contact-link:hover span:last-child { transform: translate(5px, -5px); }
.socials { display: flex; gap: 30px; margin-top: 70px; font: 11px "DM Mono", monospace; text-transform: uppercase; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px 3.1vw; color: var(--paper); background: var(--ink); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
footer p { margin: 0; text-align: center; color: #85857c; } footer > a:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.project.reveal { opacity: 0; transform: translateY(70px) scale(.975); clip-path: inset(0 0 12% 0); }
.project.reveal.visible { opacity: 1; transform: translateY(0) scale(1); clip-path: inset(0); }
.project-list .project:nth-child(2) { transition-delay: .08s; }
.project-list .project:nth-child(4) { transition-delay: .08s; }
.hero-title .reveal:nth-child(2) { transition-delay: .08s; }.hero-title .reveal:nth-child(3) { transition-delay: .16s; }
@keyframes pulse { 50% { opacity: .55; } }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; padding: 20px; }
  .site-header.header-hidden { transform: none; }
  .desktop-nav, .available { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; width: 38px; height: 38px; padding: 9px; border: 0; background: transparent; }
  .menu-toggle span { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .35s, opacity .35s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 0; padding: 130px 25px 40px; background: var(--coral); flex-direction: column; gap: 15px; font-size: 15vw; line-height: 1; letter-spacing: -.06em; }
  .mobile-menu.open { display: flex; }
  .hero { padding: 35px 20px 25px; }
  .hero-meta span:last-child { display: none; }
  .hero-title { font-size: clamp(3.8rem, 17vw, 7rem); }
  .hero-title .line:nth-child(2) { padding-left: 0; }
  .hero-title .accent-line { padding-left: 16vw; }
  .hero-foot > p { width: 60%; }
  .round-link { width: 86px; height: 86px; padding: 13px; }
  .section { padding: 90px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 65px; margin-top: 70px; }
  .statement { font-size: clamp(3rem, 12.5vw, 5rem); }
  .project-list { grid-template-columns: 1fr; gap: 20px; }
  .project { min-height: 620px; padding: 18px; }
  .project-bottom { grid-template-columns: 1fr; }
  .project-bottom p { max-width: 300px; }
  .work-heading p { display: none; }
  .principle blockquote { margin: 100px auto; }
  .contact h2 { font-size: clamp(4.5rem, 20vw, 8rem); }
  .socials { flex-wrap: wrap; gap: 20px 26px; }
  footer { grid-template-columns: 1fr auto; gap: 25px; padding: 25px 20px; }
  footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 16.5vw; }
  .hero-foot > p { width: 58%; font-size: 12px; }
  .project { min-height: 540px; }
  .project-visual { min-height: 350px; }
  .contact-link { font-size: 15px; }
  .principle-foot span:last-child { display: none; }
}

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