:root {
  --paper: #f2efe5;
  --paper-deep: #e9e3d4;
  --ink: #18201b;
  --ink-soft: #4e574f;
  --forest: #203f32;
  --orange: #f26a3d;
  --orange-deep: #d94c22;
  --line: rgba(24, 32, 27, .17);
  --white: #fffdf7;
  --focus: #176dba;
  --shadow: 0 18px 60px rgba(32, 43, 36, .13);
  --shell: min(1180px, calc(100% - 40px));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .15; z-index: 20; 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; text-decoration: none; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 15; background: rgba(242, 239, 229, .88); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .2s ease; }
.site-header.scrolled { border-color: var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.brand b { color: var(--orange-deep); font-weight: 800; }
.brand-mark { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.site-menu { display: flex; align-items: center; gap: 28px; }
.site-menu > a:not(.button) { font-size: 14px; font-weight: 650; text-decoration: none; }
.site-menu > a:not(.button):hover { color: var(--orange-deep); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; padding: 12px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 19px; border: 1px solid var(--ink); background: var(--orange); color: var(--ink); text-decoration: none; font-weight: 750; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); background: #ff7a4b; }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button-small { min-height: 40px; padding: 8px 14px; box-shadow: 3px 3px 0 var(--ink); }
.button-dark { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--orange); }
.button-dark:hover { background: #28312b; box-shadow: 7px 7px 0 var(--orange); }
.button-light { background: var(--white); box-shadow: 4px 4px 0 var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link span { font-size: 20px; color: var(--orange-deep); }

.hero { padding-top: 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(44px, 7vw, 100px); padding-bottom: 100px; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: var(--orange); }
.hero h1, .section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(54px, 7.2vw, 102px); line-height: .9; letter-spacing: -.075em; font-weight: 820; text-wrap: balance; }
h1 em, h2 em { color: var(--orange-deep); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero-lede { max-width: 650px; margin: 34px 0 28px; color: var(--ink-soft); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; text-wrap: pretty; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-note { margin: 28px 0 0; color: var(--ink-soft); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }

.hero-workbench { border: 1px solid var(--ink); background: var(--white); box-shadow: 15px 15px 0 var(--forest); transform: rotate(1.2deg); }
.workbench-top { min-height: 43px; display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-bottom: 1px solid var(--ink); background: var(--paper-deep); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.workbench-title { padding: 30px 24px; border-bottom: 1px solid var(--ink); font-size: clamp(26px, 3vw, 42px); font-weight: 780; line-height: 1.04; letter-spacing: -.045em; }
.workbench-lines > div { display: grid; grid-template-columns: 32px 1fr auto; gap: 13px; align-items: center; min-height: 78px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.workbench-lines span, .workbench-lines b { font-family: var(--mono); font-size: 9px; }
.workbench-lines span { color: var(--orange-deep); }
.workbench-lines p { margin: 0; font-size: 14px; font-weight: 600; }
.workbench-lines b { padding: 4px 7px; border: 1px solid var(--line); }
.workbench-footer { display: flex; align-items: center; gap: 9px; padding: 18px; font-size: 12px; font-weight: 650; }
.workbench-footer svg { width: 70px; margin-left: auto; fill: none; stroke: var(--orange-deep); stroke-width: 2; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2a8f58; box-shadow: 0 0 0 4px rgba(42,143,88,.12); }
.hero-ticker { width: max-content; min-width: 100%; padding: 13px 0; border-block: 1px solid var(--ink); background: var(--orange); overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.hero-ticker div { animation: ticker 28s linear infinite; }
.hero-ticker i { margin: 0 24px; font-style: normal; }
@keyframes ticker { to { transform: translateX(-45%); } }

.band { background: var(--forest); color: var(--white); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle-grid article { min-height: 270px; padding: 48px 38px; border-right: 1px solid rgba(255,255,255,.2); }
.principle-grid article:last-child { border-right: 0; }
.number { display: block; margin-bottom: 60px; color: #ef9b7c; font-family: var(--mono); font-size: 11px; }
.principle-grid h2 { margin: 0 0 14px; font-size: clamp(24px, 2.5vw, 34px); line-height: 1; letter-spacing: -.04em; }
.principle-grid p { margin: 0; color: rgba(255,255,255,.72); }

.section { padding: clamp(90px, 11vw, 150px) 0; }
.section-heading { max-width: 900px; margin-bottom: 66px; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(46px, 6.2vw, 80px); }
.section-heading > p.section-intro { max-width: 680px; margin: 27px 0 0; color: var(--ink-soft); font-size: 18px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.split-heading > p { max-width: 490px; margin: 0 0 4px; color: var(--ink-soft); font-size: 18px; }
.service-list { border-top: 1px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 26px; align-items: center; padding: 32px 8px; border-bottom: 1px solid var(--line); }
.service-index { font-family: var(--serif); color: var(--orange-deep); font-size: 34px; font-style: italic; }
.service-row h3 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.04em; }
.service-row p { max-width: 710px; margin: 0; color: var(--ink-soft); }
.service-tag { padding: 7px 10px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

.gallery-section { background: var(--ink); color: var(--white); overflow: hidden; }
.gallery-section .section-heading h2 em { color: #f5a486; }
.gallery-section .section-intro { color: rgba(255,255,255,.65); }
.gallery-section .eyebrow span { background: #f5a486; }
.gallery-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); border: 1px solid rgba(255,255,255,.28); }
.gallery-tabs { display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.28); }
.gallery-tabs button { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 13px; text-align: left; padding: 23px 18px; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--white); cursor: pointer; min-height: 112px; }
.gallery-tabs button:last-child { border-bottom: 0; }
.gallery-tabs button:hover { background: rgba(255,255,255,.055); }
.gallery-tabs button[aria-selected="true"] { background: var(--orange); color: var(--ink); }
.gallery-tabs button[aria-selected="true"]::after { content: ""; position: absolute; right: -13px; top: calc(50% - 13px); border-block: 13px solid transparent; border-left: 13px solid var(--orange); z-index: 2; }
.tab-number { font-family: var(--mono); font-size: 10px; }
.gallery-tabs b { display: block; font-size: 17px; letter-spacing: -.03em; }
.gallery-tabs small { display: block; margin-top: 5px; opacity: .68; line-height: 1.35; }
.gallery-tabs em { grid-column: 2; width: max-content; margin-top: 7px; padding: 3px 6px; border: 1px solid currentColor; font-family: var(--mono); font-size: 8px; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.gallery-panel { min-width: 0; padding: 24px; }
.browser-frame { background: #d9d7ce; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; color: #515852; font-family: var(--mono); font-size: 8px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #889088; }
.browser-bar i:first-child { background: #dd6c51; }
.browser-bar span { margin-left: 8px; opacity: .75; }
.browser-frame iframe { display: block; width: 100%; height: 480px; border: 0; background: white; }
.gallery-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 42px; align-items: start; padding: 31px 3px 4px; }
.detail-kicker { margin: 0 0 8px; color: #f5a486; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.gallery-detail h3 { margin: 0; font-size: 27px; line-height: 1.05; letter-spacing: -.04em; }
.gallery-detail > p { margin: 0; color: rgba(255,255,255,.68); }
.gallery-detail ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.gallery-detail li { padding: 6px 9px; border: 1px solid rgba(255,255,255,.22); font-family: var(--mono); font-size: 9px; }
.gallery-detail .button { grid-column: 1 / -1; justify-self: start; }

.complexity { background: var(--paper-deep); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.tier { min-height: 510px; display: flex; flex-direction: column; padding: 38px 30px; border-right: 1px solid var(--ink); background: var(--paper); }
.tier:last-child { border-right: 0; }
.tier-featured { background: var(--orange); }
.tier-label { margin: 0 0 68px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.tier h3 { margin: 0 0 16px; font-size: 35px; line-height: 1; letter-spacing: -.05em; }
.tier > p:not(.tier-label) { min-height: 76px; margin: 0 0 24px; color: var(--ink-soft); }
.tier ul { padding: 21px 0 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.tier li { position: relative; padding: 7px 0 7px 18px; font-size: 14px; }
.tier li::before { content: "↳"; position: absolute; left: 0; color: var(--orange-deep); }
.tier-featured li::before { color: var(--ink); }
.tier-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.pricing-note { max-width: 750px; margin: 23px 0 0; color: var(--ink-soft); font-size: 13px; }

.process-list { padding: 0; margin: 0; border-top: 1px solid var(--ink); list-style: none; }
.process-list li { display: grid; grid-template-columns: 130px 1fr; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--orange-deep); font-family: var(--serif); font-size: 46px; font-style: italic; }
.process-list div { display: grid; grid-template-columns: minmax(200px, .55fr) 1fr; gap: 40px; align-items: baseline; }
.process-list h3 { margin: 0; font-size: 33px; letter-spacing: -.04em; }
.process-list p { max-width: 640px; margin: 0; color: var(--ink-soft); }

.about { background: #d9dfd3; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.about-mark { position: relative; min-height: 480px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--forest); color: var(--white); box-shadow: 15px 15px 0 var(--orange); }
.about-mark svg { width: 65%; fill: none; stroke: var(--paper); stroke-width: 2.3; stroke-linecap: round; }
.about-mark span { position: absolute; right: 16px; bottom: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: .15em; }
.about-copy > p:not(.eyebrow) { max-width: 660px; color: #3d483f; font-size: 17px; }
.about-location { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: baseline; margin-top: 33px; padding-top: 25px; border-top: 1px solid rgba(24,32,27,.25); }
.about-location span { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.about-location b { font-size: 17px; }

.contact { background: var(--forest); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 140px); }
.contact h2 em { color: #f5a486; }
.contact-copy > p:last-child { max-width: 550px; color: rgba(255,255,255,.68); font-size: 18px; }
.eyebrow-light span { background: #f5a486; }
.contact-form { padding: 35px; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
.contact-form label { display: block; margin-bottom: 22px; }
.contact-form label > span { display: block; margin-bottom: 7px; font-family: var(--mono); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.42); border-radius: 0; background: transparent; color: white; padding: 11px 2px; }
.contact-form textarea { resize: vertical; }
.contact-form select { background: var(--forest); }
.contact-form ::placeholder { color: rgba(255,255,255,.45); }
.form-status { margin: 22px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }
.form-status.success { color: #b9e4c8; }

.site-footer { padding: 46px 0; background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.16); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 36px; align-items: start; }
.brand-footer b { color: #f5a486; }
.footer-grid > p { max-width: 500px; margin: 0; color: rgba(255,255,255,.58); font-size: 12px; }
.footer-grid > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.footer-grid > div a { font-size: 13px; text-underline-offset: 4px; }
.footer-grid .copyright { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.16); font-family: var(--mono); font-size: 9px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-menu { position: absolute; inset: 76px 20px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
  .site-menu.open { display: flex; }
  .site-menu > a:not(.button) { min-height: 48px; display: flex; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
  .site-menu .button { margin-top: 12px; }
  .menu-button { display: block; }
  .hero-grid, .split-heading, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero-grid { gap: 62px; }
  .hero-copy { max-width: 760px; }
  .hero-workbench { max-width: 650px; }
  .split-heading { gap: 28px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .number { margin-bottom: 26px; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-tabs { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .gallery-tabs button { border-right: 1px solid rgba(255,255,255,.18); }
  .gallery-tabs button[aria-selected="true"]::after { display: none; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .tier:last-child { border-bottom: 0; }
  .tier-label { margin-bottom: 35px; }
  .tier > p:not(.tier-label) { min-height: 0; }
  .tier-foot { margin-top: 30px; }
  .about-mark { min-height: 400px; max-width: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { justify-self: end; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header .shell { width: calc(100% - 28px); }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .section-heading h2, .about h2, .contact h2 { font-size: clamp(44px, 13vw, 64px); }
  .hero-workbench { transform: none; box-shadow: 8px 8px 0 var(--forest); }
  .workbench-lines > div { grid-template-columns: 25px 1fr; }
  .workbench-lines b { display: none; }
  .hero-ticker div { animation-duration: 18s; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 43px; }
  .service-row { grid-template-columns: 38px 1fr; padding: 25px 2px; }
  .service-tag { grid-column: 2; width: max-content; }
  .gallery-tabs { grid-template-columns: 1fr; }
  .gallery-tabs button { min-height: 92px; border-right: 0; }
  .gallery-panel { padding: 12px; }
  .browser-frame iframe { height: 390px; }
  .gallery-detail { grid-template-columns: 1fr; }
  .gallery-detail ul, .gallery-detail .button { grid-column: 1; }
  .process-list li { grid-template-columns: 70px 1fr; }
  .process-list div { grid-template-columns: 1fr; gap: 8px; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { justify-self: start; }
  .footer-grid .copyright { grid-column: 1; }
}

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