:root {
  --paper: #f5efe5;
  --paper-deep: #eadfce;
  --ink: #211f1d;
  --muted: #6e675f;
  --coral: #d7674e;
  --coral-deep: #b84e39;
  --yellow: #e5b84f;
  --blue: #9ebdc3;
  --lilac: #baafd0;
  --mint: #afc7b0;
  --white: #fffdf8;
  --border: rgba(33, 31, 29, 0.18);
  --shadow: 0 24px 70px rgba(49, 38, 27, 0.15);
  --radius: 28px;
  --max: 1240px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--coral); color: var(--white); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

.cursor-dot {
  position: fixed;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, background .2s ease;
  display: none;
}
.cursor-dot.is-active { width: 46px; height: 46px; background: rgba(215,103,78,.14); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 64px);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  padding-top: 13px;
  padding-bottom: 13px;
  background: rgba(245,239,229,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50% 46% 52% 43%;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  transform: rotate(-6deg);
}
.brand-name { font-size: 19px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .2s ease; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  grid-template-rows: 1fr auto;
  gap: 20px 64px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 140px clamp(20px, 5vw, 86px) 48px;
}
.hero-copy { max-width: 760px; position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero h1, .section-heading h2, .about h2, .contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 7.2vw, 118px);
  line-height: .91;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero h1 em, .section-heading h2 em, .about h2 em, .contact h2 em, blockquote em {
  color: var(--coral);
  font-family: var(--font-hand);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.06em;
}
.hero-intro { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.45vw, 22px); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 24px rgba(33,31,29,.16); }
.button-primary:hover, .button-primary:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(33,31,29,.22); }
.text-link { font-size: 14px; font-weight: 750; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }

.hero-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.sun-disc { position: absolute; width: min(38vw, 500px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); opacity: .88; }
.frame-stack { position: relative; width: min(88%, 430px); aspect-ratio: .78; }
.art-frame { position: absolute; inset: 0; border: 2px solid var(--ink); background: var(--white); border-radius: 6px; box-shadow: var(--shadow); }
.frame-back { transform: rotate(12deg) translate(18px, -10px); background: var(--blue); }
.frame-mid { transform: rotate(-9deg) translate(-20px, 12px); background: var(--lilac); }
.frame-front { overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.frame-front svg { width: 100%; flex: 1; }
.frame-caption { font-family: var(--font-hand); font-size: 15px; transform: rotate(-2deg); }
.draw-line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: draw 3.6s ease forwards .5s; }
.line-soft { stroke-width: 2; opacity: .35; animation-delay: .2s; }
.accent-line { stroke: var(--coral); animation-delay: 1.2s; }
.ink-dot { fill: var(--ink); opacity: 0; animation: pop .4s ease forwards 2.1s; }
.motion-mark { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 12; opacity: .8; animation: drift 3s ease-in-out infinite alternate; }
.floating-note { position: absolute; z-index: 3; padding: 9px 13px; background: var(--white); border: 1px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); font-family: var(--font-hand); font-size: 14px; }
.note-one { left: 1%; top: 18%; transform: rotate(-7deg); }
.note-two { right: 0; bottom: 17%; transform: rotate(6deg); }
.scribble { position: absolute; width: 110px; height: 60px; border-top: 4px solid var(--ink); border-radius: 50%; opacity: .45; }
.scribble-one { right: 0; top: 12%; transform: rotate(22deg); }
.scribble-two { left: 0; bottom: 8%; transform: rotate(-24deg); }
.hero-foot { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.hero-foot p { margin: 0; color: var(--muted); }
.hero-foot strong { color: var(--ink); }
.scroll-cue { display: inline-flex; align-items: center; gap: 16px; font-weight: 700; }
.scroll-cue span { animation: bob 1.5s ease-in-out infinite; }

.marquee { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--coral); color: var(--white); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 16px 0; animation: marquee 24s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 25px; white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: 13px; }

.section { max-width: var(--max); margin: 0 auto; padding: 140px clamp(20px, 4vw, 52px); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 70px; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -10px; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(54px, 6vw, 94px); }
.section-heading > p:last-child { max-width: 430px; color: var(--muted); font-size: 17px; margin: 0 0 8px; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 28px; }
.project-card { outline: none; }
.project-media { position: relative; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--white); }
.project-wide .project-media { aspect-ratio: 16 / 10; }
.project-tall .project-media { aspect-ratio: 4 / 5; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.project-index { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.project-meta { display: flex; justify-content: space-between; align-items: start; padding: 18px 4px 0; }
.project-meta h3 { margin: 0; font-family: var(--font-display); font-size: clamp(25px, 2.5vw, 38px); font-weight: 500; letter-spacing: -.035em; }
.project-meta p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.project-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; transition: background .2s ease, color .2s ease, transform .2s ease; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.045) rotate(.5deg); }
.project-card:hover .project-arrow, .project-card:focus-visible .project-arrow { background: var(--ink); color: var(--white); transform: rotate(8deg); }
.work-note { margin: 52px 0 0; max-width: 640px; color: var(--muted); font-size: 12px; }

.about { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.about-portrait { position: relative; }
.portrait-card { overflow: hidden; border: 2px solid var(--ink); border-radius: 48% 52% 46% 54% / 43% 42% 58% 57%; background: var(--blue); box-shadow: 18px 22px 0 var(--ink); }
.portrait-card svg { width: 100%; }
.portrait-label { position: absolute; left: -18px; bottom: 26px; padding: 9px 14px; background: var(--yellow); border: 1px solid var(--ink); transform: rotate(-7deg); font-family: var(--font-hand); }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; max-width: 650px; }
.about-copy .about-lead { color: var(--ink) !important; font-size: 22px !important; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.about-stats div { display: flex; flex-direction: column; gap: 4px; }
.about-stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 500; }
.about-stats span { color: var(--muted); font-size: 12px; }

.quote-section { position: relative; overflow: hidden; padding: 130px 24px; background: var(--ink); color: var(--white); text-align: center; }
.quote-section::before, .quote-section::after { content: ""; position: absolute; width: 260px; height: 260px; border: 2px solid rgba(255,255,255,.15); border-radius: 50%; }
.quote-section::before { left: -80px; top: -100px; }
.quote-section::after { right: -90px; bottom: -120px; }
blockquote { position: relative; z-index: 2; margin: 0 auto; max-width: 1100px; font-family: var(--font-display); font-size: clamp(40px, 5.3vw, 78px); line-height: 1.12; font-weight: 500; letter-spacing: -.04em; }
.quote-doodle { position: absolute; z-index: 2; right: 12%; bottom: 18%; color: var(--yellow); font-size: 72px; transform: rotate(-18deg); }

.process { padding-bottom: 110px; }
.process-list { border-top: 1px solid var(--ink); }
.process-item { display: grid; grid-template-columns: 90px 1fr 60px; gap: 26px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--ink); transition: padding .25s ease, background .25s ease; }
.process-item:hover { padding-left: 18px; padding-right: 18px; background: rgba(255,255,255,.35); }
.process-number { color: var(--coral); font-size: 12px; font-weight: 800; }
.process-item h3 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); font-weight: 500; }
.process-item p { margin: 6px 0 0; color: var(--muted); max-width: 650px; }
.process-icon { font-size: 24px; text-align: right; }

.contact { position: relative; max-width: none; overflow: hidden; margin: 0; padding-top: 130px; padding-bottom: 130px; background: var(--yellow); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.contact-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; text-align: center; }
.contact-inner > p:not(.eyebrow) { max-width: 560px; margin: 28px auto; font-size: 18px; }
.contact-email { display: inline-flex; align-items: center; gap: 14px; margin-top: 6px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 56px); border-bottom: 2px solid var(--ink); }
.contact-email span { transition: transform .2s ease; }
.contact-email:hover span { transform: translate(6px, -6px); }
.social-links { display: flex; justify-content: center; gap: 28px; margin-top: 45px; }
.social-links a { font-weight: 750; }
.social-links span { display: inline-block; transition: transform .2s ease; }
.social-links a:hover span { transform: translate(3px, -3px); }
.contact-shape { position: absolute; border: 2px solid var(--ink); }
.shape-one { width: 240px; height: 240px; left: -80px; top: 60px; border-radius: 44% 56% 62% 38%; transform: rotate(18deg); }
.shape-two { width: 170px; height: 310px; right: -50px; bottom: -80px; border-radius: 50%; transform: rotate(-24deg); background: var(--coral); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 30px clamp(20px, 4vw, 64px); font-size: 12px; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer p:last-child { text-align: right; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 17px; }
.footer-brand .brand-name { font-size: 16px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes bob { 50% { transform: translateY(7px); } }
@keyframes drift { to { transform: translate(4px, -4px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
  body, a, button, .project-card { cursor: none; }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-stage { min-height: 560px; margin-top: 10px; }
  .hero-copy { max-width: 800px; }
  .sun-disc { width: min(72vw, 500px); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { grid-column: 1; }
  .about { grid-template-columns: 1fr; }
  .about-portrait { max-width: 520px; margin: 0 auto; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p:nth-child(2) { display: none; }
}

@media (max-width: 760px) {
  .site-header { padding: 16px 20px; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--paper);
    font-family: var(--font-display);
    font-size: 40px;
    transform: translateY(-105%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .site-nav.is-open { transform: translateY(0); }
  .nav-cta { font-family: var(--font-sans); font-size: 14px; }
  .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); }
  .hero { padding-left: 20px; padding-right: 20px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(54px, 17vw, 82px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-stage { min-height: 480px; }
  .frame-stack { width: min(82%, 340px); }
  .floating-note { font-size: 12px; }
  .hero-foot { align-items: flex-start; }
  .hero-foot p { max-width: 55%; }
  .section { padding: 100px 20px; }
  .work-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-wide .project-media, .project-media { aspect-ratio: 4 / 3; }
  .project-tall .project-media { aspect-ratio: 4 / 5; }
  .about-stats { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 44px 1fr; align-items: start; gap: 16px; }
  .process-icon { display: none; }
  .contact { padding-left: 20px; padding-right: 20px; }
  .contact-email { font-size: clamp(25px, 7vw, 38px); }
  .social-links { flex-direction: column; gap: 12px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: 0 auto; }
  .site-footer p:last-child { text-align: center; }
}

@media (max-width: 430px) {
  .hero-stage { min-height: 430px; }
  .note-one { left: -2%; }
  .note-two { right: -1%; }
  .hero-foot .scroll-cue { display: none; }
  .hero-foot p { max-width: 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; }
}
