@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #151814;
  --paper: #f3f0e8;
  --paper-deep: #e8e3d8;
  --orange: #e96845;
  --green: #173f38;
  --line: rgba(21, 24, 20, .18);
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --arrow-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 16.6L16.6 3.4'/%3E%3Cpath d='M8.2 3.4H16.6V11.8'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.5; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: white; background: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section-pad { padding-inline: var(--gutter); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 6rem; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 1.25rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.75rem); font-size: .83rem; font-weight: 500; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: -.4rem; left: 0; height: 1px; background: currentColor; content: ''; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; }
/* Single masked SVG path. The previous construction combined a border corner
   with a rotated pseudo-element positioned by hand-tuned rem offsets: the
   engine rounded the 1.5px borders down to 1px while the shaft kept its 1.5px
   height, so the diagonal rendered thicker than the head and, landing on
   fractional subpixels, overshot the corner. A mask keeps one stroke weight and
   stays crisp at any size or pixel density. */
.arrow { display: inline-block; flex: none; width: .78rem; height: .78rem; }
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .arrow {
    background-color: currentColor;
    -webkit-mask: var(--arrow-svg) center / contain no-repeat;
    mask: var(--arrow-svg) center / contain no-repeat;
  }
}
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }

.hero { position: relative; display: grid; min-height: min(57rem, 100svh); padding: clamp(9rem, 17vh, 12rem) var(--gutter) 3rem; overflow: hidden; align-content: center; background: var(--paper); }
.hero-copy { position: relative; z-index: 2; max-width: 69rem; }
.eyebrow, .section-label { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 1rem; }
.eyebrow::before { width: 2.2rem; height: 1px; background: var(--orange); content: ''; }
.hero h1 { max-width: 63rem; margin: 1.3rem 0 1.6rem; font-family: var(--serif); font-size: clamp(4rem, 8.6vw, 8.8rem); font-weight: 400; letter-spacing: -.045em; line-height: .84; }
h1 em, h2 em { color: var(--orange); font-weight: 400; }
.hero-intro { max-width: 37rem; margin: 0; color: #454a43; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; padding: .95rem 1.25rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.button-dark { color: white; background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: .8rem; padding-block: .6rem; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 600; }
.hero-note { position: absolute; z-index: 2; right: var(--gutter); bottom: 3rem; display: flex; align-items: center; gap: .6rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #55a36a; box-shadow: 0 0 0 .25rem rgba(85, 163, 106, .15); }
.hero-index { position: absolute; bottom: 2.8rem; left: var(--gutter); margin: 0; color: #686c66; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-orbit { position: absolute; border: 1px solid rgba(21, 24, 20, .08); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 5rem; right: -14rem; width: 46rem; height: 46rem; }
.orbit-two { right: 8rem; bottom: -20rem; width: 36rem; height: 36rem; }

.intro { padding-top: clamp(6rem, 10vw, 11rem); padding-bottom: clamp(6rem, 10vw, 11rem); background: #fffdf7; }
.section-label { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.section-label b { color: #8a8d87; font-weight: 500; }
.intro-grid { display: grid; grid-template-columns: 1.45fr .7fr; gap: 8vw; margin-top: 4rem; }
.intro h2, .title-row h2, .approach h2, .contact h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 6.5vw, 7rem); font-weight: 400; letter-spacing: -.035em; line-height: .95; }
.intro-copy { max-width: 32rem; color: #555b53; font-size: 1.02rem; }
.intro-copy p { margin: 0 0 1.4rem; }

.projects { background: var(--ink); color: white; }
.projects-heading { padding-top: 6rem; padding-bottom: 5rem; }
.projects .section-label { border-color: rgba(255,255,255,.2); }
.title-row { display: grid; grid-template-columns: 1.2fr .6fr; align-items: end; gap: 6vw; margin-top: 4rem; }
.title-row p { max-width: 31rem; margin: 0; color: rgba(255,255,255,.65); }
.project-card { padding: clamp(2.5rem, 6vw, 6rem) var(--gutter); }
.project-warm { color: #193d37; background: #e9dcca; }
.project-green { color: #f7f1e8; background: #28544b; }
.project-browser { overflow: hidden; border-radius: .35rem; box-shadow: 0 2rem 5rem rgba(0,0,0,.16); }
.browser-bar { display: flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; background: #f7f6f3; color: #575a55; }
.browser-bar > span { width: .55rem; height: .55rem; border-radius: 50%; background: #d2d0ca; }
.browser-bar small { margin: auto; padding-right: 3rem; font-size: .58rem; letter-spacing: .04em; }
.project-browser a { display: block; overflow: hidden; }
.project-browser img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-browser:hover img { transform: scale(1.015); }
.project-meta { display: grid; grid-template-columns: 1fr .7fr auto; align-items: end; gap: 4vw; margin-top: 2.6rem; }
.project-meta > div { display: flex; align-items: baseline; gap: 1.2rem; }
.project-number { font-size: .65rem; }
.project-meta h3 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; line-height: 1; }
.project-meta p { max-width: 31rem; margin: 0; opacity: .78; }
.circle-link { display: grid; width: 3.6rem; height: 3.6rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: transform .25s, background .25s, color .25s; }
.circle-link .arrow { width: 1.15rem; height: 1.15rem; }
.circle-link:hover { color: white; background: var(--orange); border-color: var(--orange); transform: rotate(45deg); }
.project-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid currentColor; }
.project-tags span { padding: .42rem .7rem; border: 1px solid currentColor; border-radius: 999px; opacity: .72; font-size: .62rem; text-transform: uppercase; letter-spacing: .09em; }
.concept-note { margin: 0; padding-top: 3rem; padding-bottom: 3rem; color: rgba(255,255,255,.67); background: var(--ink); font-size: .75rem; }
.concept-note strong { color: white; }

.approach { padding-top: clamp(6rem, 10vw, 10rem); padding-bottom: clamp(6rem, 10vw, 10rem); background: #fffdf7; }
.approach-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 10vw; margin-top: 5rem; }
.approach-sticky { align-self: start; position: sticky; top: 3rem; }
.approach h2 { font-size: clamp(3.3rem, 5.5vw, 6rem); }
.approach-sticky p { max-width: 24rem; color: #656a62; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.8rem 0 2.2rem; border-top: 1px solid var(--line); }
.steps li > span { color: var(--orange); font-size: .7rem; }
.steps h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.steps p { max-width: 30rem; margin: 0; color: #62675f; }

.pricing { padding-top: clamp(6rem, 10vw, 10rem); padding-bottom: clamp(6rem, 10vw, 10rem); background: var(--paper-deep); }
.pricing-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 6vw; margin-top: 4rem; }
.pricing-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -.035em; line-height: .95; }
.pricing-head p { max-width: 32rem; margin: 0; color: #555b53; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 2.4vw, 2.4rem); border: 1px solid var(--line); border-radius: .5rem; background: #fffdf7; }
.plan-featured { color: #f7f1e8; background: var(--green); border-color: var(--green); }
.plan-badge { position: absolute; top: -.7rem; left: clamp(1.6rem, 2.4vw, 2.4rem); padding: .3rem .7rem; border-radius: 999px; background: var(--orange); color: white; font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.plan h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.plan-price { display: flex; align-items: baseline; gap: .5rem; margin: .9rem 0 0; }
.plan-price b { font-family: var(--serif); font-size: clamp(3rem, 4.5vw, 4.2rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.plan-price span { font-size: .74rem; opacity: .7; }
.plan-for { margin: 1rem 0 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid currentColor; font-size: .88rem; opacity: .72; }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.plan li { position: relative; padding: .45rem 0 .45rem 1.35rem; }
.plan li::before { position: absolute; top: .95rem; left: 0; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); content: ''; }
.pricing-terms { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pricing-terms p { max-width: 52rem; margin: 0 0 1.6rem; color: #555b53; font-size: .82rem; line-height: 1.75; }
.pricing-terms strong { color: var(--ink); }
.pricing-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.pricing-cta span { max-width: 26rem; font-size: .78rem; }

.contact { color: white; background: var(--green); }
.contact-top { padding-top: 5rem; padding-bottom: 6rem; }
.section-label-light { border-color: rgba(255,255,255,.2); }
.contact-kicker { margin: 5rem 0 1rem; color: rgba(255,255,255,.65); }
.contact h2 { max-width: 68rem; font-size: clamp(4rem, 8vw, 8rem); }
.contact-mail { display: inline-flex; align-items: center; gap: 1rem; margin-top: 3rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.6); font-size: clamp(1rem, 2vw, 1.5rem); }
.contact-bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 3rem; padding-top: 2rem; padding-bottom: 2.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.contact-bottom p { margin: 0 0 .25rem; color: rgba(255,255,255,.55); font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-bottom a, .contact-bottom span { font-size: .84rem; }
.back-top { display: flex; align-items: center; gap: .7rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem var(--gutter); color: rgba(255,255,255,.74); background: #10130f; font-size: .72rem; }
.brand-footer { color: white; font-size: .85rem; }
.brand-footer .brand-mark { width: 2rem; height: 2rem; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 780px) {
  :root { --gutter: 1.25rem; }
  .site-header { height: 4.7rem; }
  .menu-toggle { position: relative; z-index: 24; display: flex; align-items: center; gap: .65rem; padding: .6rem 0; color: inherit; cursor: pointer; }
  .menu-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
  .menu-icon { display: grid; gap: 5px; }
  .menu-icon i { display: block; width: 1.25rem; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 22; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.1rem; padding: 6rem var(--gutter) 3rem; color: white; background: var(--ink); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s, visibility .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .site-nav > a:not(.nav-cta) { font-family: var(--serif); font-size: clamp(3.6rem, 16vw, 5.5rem); font-weight: 400; line-height: .9; }
  .nav-cta { margin-top: 1.5rem; }
  .menu-open .brand, .menu-open .menu-toggle { color: white; }
  .hero { min-height: 47rem; padding-top: 8rem; padding-bottom: 5.5rem; align-content: start; }
  .hero h1 { margin-top: 2.5rem; font-size: clamp(4.2rem, 20vw, 6.3rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .hero-note { right: auto; bottom: 2rem; left: var(--gutter); }
  .hero-index { display: none; }
  .orbit-one { top: 17rem; right: -17rem; width: 31rem; height: 31rem; }
  .intro-grid, .title-row, .approach-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 2.5rem; margin-top: 2.5rem; }
  .intro h2, .title-row h2 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .title-row { gap: 2rem; margin-top: 2.5rem; }
  .project-card { padding-block: 3rem; }
  .browser-bar { height: 1.8rem; }
  .browser-bar small { padding-right: 1.5rem; }
  .project-meta { grid-template-columns: 1fr auto; gap: 1.5rem; margin-top: 1.7rem; }
  .project-meta > div { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .project-meta p { grid-column: 1 / -1; grid-row: 2; }
  .project-meta h3 { font-size: 3.2rem; }
  .circle-link { grid-column: 2; grid-row: 1; }
  .project-tags { margin-top: 1.5rem; }
  .concept-note { line-height: 1.7; }
  .approach-grid { gap: 3rem; margin-top: 3rem; }
  .approach-sticky { position: static; }
  .pricing-head { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2.5rem; }
  .pricing-head h2 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .plans { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 3rem; }
  .pricing-cta { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .contact-kicker { margin-top: 3rem; }
  .contact h2 { font-size: clamp(4rem, 19vw, 6rem); }
  .contact-mail { max-width: 100%; font-size: .95rem; overflow-wrap: anywhere; }
  .contact-bottom { grid-template-columns: 1fr; gap: 1.5rem; }
  .back-top { justify-self: start; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .site-footer p { margin: 0; }
}
