:root {
  color-scheme: light;
  --color-charcoal: #0F1720;
  --color-red: #FF3B1F;
  --color-off-white: #FAFAF8;
  --color-muted-grey: #E5E7EB;
  --color-slate: #64748B;
  --paper: var(--color-off-white);
  --ink: var(--color-charcoal);
  --muted: var(--color-slate);
  --line: var(--color-muted-grey);
  --red: var(--color-red);
  --page-gutter: clamp(1.15rem, 5.1vw, 5.2rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--color-off-white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100dvh; margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 180ms ease both; }
::view-transition-new(root) { animation: page-in 360ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-out { to { opacity: 0; } }

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}
.page::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); pointer-events: none; z-index: 5; }
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(4.5rem, 10.5dvh, 7rem);
  padding: 0 var(--page-gutter);
}
.brand { display: inline-flex; align-items: center; width: auto; line-height: 0; }
.brand img { display: block; width: auto; max-width: 7rem; height: 2.5rem; }
.header-right { display: flex; align-items: center; gap: clamp(1.25rem, 3.1vw, 3.4rem); }
.main-nav { display: flex; align-items: center; gap: clamp(1.15rem, 2vw, 2.1rem); }
.main-nav a, .availability { font-size: .95rem; white-space: nowrap; }
.main-nav a { position: relative; padding: .4rem 0; }
.main-nav a::after { position: absolute; right: 0; bottom: .13rem; left: 0; height: 1px; content: ""; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.availability { display: inline-flex; align-items: center; gap: .48rem; color: var(--color-charcoal); }
.availability::before { content: ""; width: .46rem; height: .46rem; border-radius: 50%; background: var(--red); }
.page-main { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; min-height: 0; padding: clamp(1.2rem, 3.4dvh, 2.6rem) var(--page-gutter) clamp(2.1rem, 5dvh, 3.4rem); }
.intro { position: relative; width: min(69%, 790px); }
.eyebrow { display: inline-block; margin: 0 0 clamp(1.15rem, 3.4dvh, 2.15rem); padding: 0 .1rem .53rem; color: var(--red); border-bottom: 1px solid var(--red); font: italic 1.125rem "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; transform: rotate(-5deg); }
.headline { max-width: 790px; margin: 0; font-size: clamp(2.45rem, 4.15vw, 4.6rem); font-weight: 680; line-height: .99; letter-spacing: -.063em; }
.headline .period { color: var(--red); }
.copy { max-width: 700px; margin: clamp(.8rem, 1.5dvh, 1.25rem) 0 0; color: var(--muted); font-size: clamp(1.125rem, 1.25vw, 1.25rem); line-height: 1.5; }
.button-link, .submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 3.1rem; margin-top: 1rem; padding: 0 1.55rem; color: var(--color-off-white); border: 1px solid var(--red); background: var(--red); font-size: 1rem; transition: background 170ms ease, color 170ms ease, transform 170ms ease; }
.page-home .button-link { min-height: 3.65rem; margin-top: 1.2rem; padding: 0 1.8rem; gap: 1.4rem; font-size: .93rem; }
.button-link:hover, .submit-button:hover { color: var(--red); background: transparent; transform: translateY(-2px); }
.button-link span, .submit-button span { font-size: 1rem; }
.underline-mark { display: block; width: 1.35rem; height: 1px; margin-top: clamp(1.1rem, 3.1dvh, 2rem); background: var(--red); }
.hand-note { position: absolute; z-index: 2; top: 11%; right: var(--page-gutter); width: clamp(9rem, 17vw, 14rem); margin: 0; padding: 0 0 .9rem; color: var(--color-charcoal); border-bottom: 1px solid var(--red); font: italic clamp(.95rem, 1.55vw, 1.3rem)/1.7 "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; letter-spacing: .04em; text-align: center; transform: rotate(-15deg); }
.hand-note span { display: block; }
.page-cases .hand-note { top: 0; right: var(--page-gutter); width: clamp(9rem, 13vw, 11rem); font-size: clamp(.82rem, 1.15vw, .95rem); line-height: 1.35; }
.accent-shape { position: absolute; z-index: -1; right: 0; bottom: 0; width: clamp(17rem, 37vw, 39rem); height: 47%; background: var(--color-red); clip-path: polygon(0 100%, 8% 83%, 12% 81%, 17% 61%, 28% 53%, 37% 31%, 49% 27%, 58% 9%, 74% 14%, 100% 18%, 100% 100%); }
.accent-shape::after { position: absolute; inset: 0; content: ""; opacity: .15; background: repeating-linear-gradient(131deg, transparent 0 21px, rgba(255,255,255,.15) 22px, transparent 23px 39px), repeating-linear-gradient(38deg, transparent 0 33px, rgba(130,28,17,.13) 34px, transparent 35px 52px); clip-path: inherit; }
.page-about .accent-shape { width: clamp(17rem, 34vw, 35rem); height: 72%; clip-path: polygon(0 100%, 8% 55%, 31% 35%, 51% 34%, 61% 33%, 74% 7%, 80% 0, 100% 4%, 100% 100%); }
.page-cases .accent-shape { right: 0; width: 57%; height: 34%; clip-path: polygon(0 100%, 20% 75%, 44% 58%, 70% 24%, 87% 10%, 100% 0, 100% 100%); }
.page-contact .accent-shape { right: 0; width: 30%; height: 35%; clip-path: polygon(28% 100%, 18% 67%, 39% 41%, 66% 0, 100% 11%, 100% 100%); }

.features { display: flex; gap: clamp(2rem, 5vw, 5.4rem); margin-top: clamp(2rem, 6dvh, 4.5rem); padding-top: clamp(1.2rem, 2.5dvh, 2.2rem); }
.feature { display: grid; grid-template-rows: 1.75rem auto; gap: .65rem; min-width: 10rem; }
.feature svg { width: 1.55rem; height: 1.55rem; stroke: var(--red); stroke-width: 1.35; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feature p { max-width: 13rem; margin: 0; font-size: 1rem; line-height: 1.45; }
.page-about .headline { max-width: 600px; font-size: clamp(2.4rem, 3.7vw, 4.1rem); }
.page-about .copy { max-width: 720px; margin-top: 1.7rem; }
.about-features { margin-top: clamp(2rem, 6dvh, 4.5rem); padding-top: 2rem; }
.page-cases .page-main { display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.55fr); grid-template-rows: 1fr; align-items: center; column-gap: clamp(2.2rem, 4vw, 4rem); }
.page-cases .case-intro { grid-column: 1; grid-row: 1; width: 100%; }
.page-cases .case-intro .headline { max-width: 100%; font-size: clamp(2.8rem, 4vw, 4.4rem); }
.page-cases .case-intro .copy { max-width: 29rem; margin-top: 1.35rem; color: var(--muted); }
.project-grid { grid-column: 2; grid-row: 1; align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.5rem, 3.2dvh, 2.5rem) clamp(1.75rem, 3.5vw, 3.5rem); min-height: 0; padding: 6.25rem 0 1rem; }
.project-entry { min-width: 0; }
.project-entry h2 { margin: 0 0 .8rem; font-size: clamp(1.375rem, 1.7vw, 1.625rem); font-weight: 620; line-height: 1.2; letter-spacing: -.035em; }
.project-entry p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.48; }
.project-entry .project-detail { margin-top: .7rem; color: var(--ink); }
.project-entry .project-scale { margin-top: .75rem; font-size: 1.125rem; }
.project-scale strong { color: var(--red); font-size: 1.32em; font-weight: 680; letter-spacing: -.04em; }
.page-cases .accent-shape { width: 27%; height: 22%; clip-path: polygon(0 100%, 20% 78%, 44% 58%, 70% 24%, 87% 10%, 100% 0, 100% 100%); }
.contact-intro { width: min(68%, 760px); }
.contact-intro .headline { max-width: 670px; }
.contact-intro .copy { max-width: 720px; margin-top: 1rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem .8rem; width: min(76%, 700px); margin-top: clamp(1.2rem, 2.8dvh, 2rem); }
.contact-form input, .contact-form textarea { min-width: 0; padding: .95rem 1rem; color: var(--ink); border: 1px solid var(--color-muted-grey); border-radius: 0; outline: none; background: transparent; font-size: 1rem; transition: border-color 160ms ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form textarea { grid-column: 1 / -1; min-height: 7rem; resize: vertical; }
.contact-form .submit-button { justify-self: start; min-height: 2.6rem; margin-top: .25rem; }
.form-feedback { grid-column: 1 / -1; min-height: 1.4rem; margin: .1rem 0 0; color: var(--muted); font-size: .9rem; }
.email-route { margin: .75rem 0 0; color: var(--muted); font-size: .95rem; }
.email-route a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 1500px) {
  .page-main { padding-top: 4dvh; }
  .headline { font-size: clamp(4rem, 4.2vw, 5.3rem); }
  .intro { width: min(70%, 960px); }
}
@media (max-width: 760px) {
  :root { --page-gutter: 1.65rem; }
  .page::before { inset: 8px; }
  .site-header { min-height: auto; padding-top: 1.35rem; align-items: flex-start; }
  .header-right { align-items: flex-end; flex-direction: column-reverse; gap: .7rem; }
  .main-nav { gap: clamp(.7rem, 3.2vw, 1.1rem); }
  .main-nav a, .availability { font-size: .66rem; }
  .page-main { padding-top: 9dvh; padding-bottom: 2.7rem; }
  .intro, .contact-intro { width: 100%; }
  .headline { max-width: 100%; font-size: clamp(2.6rem, 9.3vw, 4rem); }
  .copy { max-width: 90%; font-size: .9rem; }
  .hand-note { top: auto; right: 1.6rem; bottom: 24%; width: 8rem; font-size: .83rem; }
  .accent-shape { width: 68%; height: 31%; opacity: .98; }
  .page-about .accent-shape { width: 50%; height: 51%; }
  .page-cases .accent-shape { width: 67%; height: 21%; }
  .page-contact .accent-shape { width: 48%; height: 24%; }
  .features { gap: 1.4rem; justify-content: space-between; padding-right: 3rem; }
  .feature { min-width: 0; }
  .feature p { font-size: .69rem; }
  .about-features { padding-right: 0; }
  .page-cases { height: auto; overflow: hidden; }
  .page-cases .page-main { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 1.6rem; padding-top: 4dvh; padding-bottom: 2.3rem; }
  .page-cases .case-intro { grid-column: 1; grid-row: 1; }
  .page-cases .case-intro .headline { max-width: 100%; font-size: clamp(2rem, 7vw, 3rem); }
  .page-cases .case-intro .copy { max-width: 100%; margin-top: .65rem; }
  .page-cases .page-main { grid-template-rows: auto auto auto; gap: 1.2rem; }
  .page-cases .hand-note { position: static; grid-column: 1; grid-row: 2; justify-self: end; align-self: start; width: 12rem; margin: 0 0 .25rem auto; font-size: .7rem; transform: rotate(-8deg); }
  .project-grid { grid-column: 1; grid-row: 3; grid-template-columns: 1fr; grid-template-rows: auto; gap: 1.6rem; padding: 0; }
  .project-entry h2 { margin-bottom: .55rem; font-size: 1.25rem; }
  .project-entry p { font-size: 1rem; }
  .project-entry .project-detail, .project-entry .project-scale { margin-top: .5rem; }
  .contact-form { width: 100%; }
  .contact-form textarea { min-height: 4.3rem; }
}
@media (max-width: 430px) {
  :root { --page-gutter: 1.3rem; }
  .brand { width: 4.8rem; }
  .main-nav { gap: .65rem; }
  .main-nav a { font-size: .6rem; }
  .availability { font-size: .6rem; }
  .page-main { padding-top: 7dvh; }
  .eyebrow { margin-bottom: 1.1rem; }
  .headline { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .copy { max-width: 100%; font-size: .84rem; }
  .hand-note { right: 1rem; bottom: 20%; width: 6.7rem; font-size: .7rem; }
  .features { padding-right: 0; gap: .7rem; }
  .feature p { font-size: .62rem; }
  .page-contact .hand-note { width: 12rem; }
}
@media (max-height: 680px) and (min-width: 761px) {
  .site-header { min-height: 4.2rem; }
  .page-main { padding-top: 1.1rem; padding-bottom: 2.1rem; }
  .eyebrow { margin-bottom: 1rem; }
  .headline { font-size: clamp(2.25rem, 3.5vw, 3.6rem); }
  .copy { margin-top: .65rem; }
  .features { padding-top: 1rem; }
  .about-features { padding-top: 1.3rem; }
  .hand-note { top: 9%; }
  .contact-form { margin-top: .75rem; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .page-main { padding-top: 4dvh; padding-bottom: 2rem; }
  .eyebrow { margin-bottom: .8rem; }
  .page-contact .headline { font-size: clamp(2.1rem, 8vw, 3rem); }
  .contact-intro .copy { margin-top: .6rem; }
  .contact-form { gap: .35rem .55rem; margin-top: .7rem; }
  .contact-form input { padding: .6rem .7rem; }
  .contact-form textarea { min-height: 3.7rem; }
  .page-cases .page-main { gap: .5rem; padding-top: 2dvh; padding-bottom: 1.8rem; }
  .hand-note { bottom: 17%; }
}
