:root {
  --paper: #fafbf8;
  --white: #fff;
  --ink: #192c29;
  --muted: #56645e;
  --teal: #174f49;
  --teal-dark: #103c37;
  --soft: #edf2ed;
  --line: #dce3da;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
.wrap { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 14px 22px; background: var(--teal); color: white; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; font-size: 21px; font-weight: 760; letter-spacing: -.9px; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 33px; height: 33px; margin-right: 11px; }
.brand-accent { color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.site-nav a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; padding: 5px 0; }
.site-nav a:hover, .site-nav a[aria-current=page] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; }
.site-nav .nav-contact { padding: 8px 17px; border: 1px solid #b6c7bc; border-radius: 4px; }
.menu-toggle { display: none; }
.eyebrow { color: var(--teal); font-size: 11px; line-height: 1.6; font-weight: 650; letter-spacing: 1.35px; text-transform: uppercase; margin-bottom: 20px; }
h1 { font-size: clamp(42px, 5.1vw, 70px); line-height: 1.09; letter-spacing: -3px; font-weight: 630; }
h1 span { color: var(--teal); }
h2 { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.15; letter-spacing: -1.5px; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.4px; font-weight: 650; }
.hero { padding-block: 80px 62px; }
.hero h1 { max-width: 1060px; margin-bottom: 25px; }
.hero-copy { max-width: 590px; font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; border: 1px solid var(--teal); border-radius: 4px; padding: 12px 21px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease; }
.button-primary { color: var(--white); background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { background: transparent; color: var(--teal); border-color: #b6c7bc; }
.button-secondary:hover { background: var(--soft); }
.price-note { margin: 30px 0 0; font-size: 12px; color: var(--muted); }
.price-note strong { display: inline; color: var(--ink); font-weight: 650; margin-right: 5px; }
.section { padding-block: 68px; }
.selected-work { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--teal); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px 26px; }
.project { min-width: 0; display: flex; flex-direction: column; align-items: start; }
.project-image { display: block; width: 100%; aspect-ratio: 1.6; overflow: hidden; border: 1px solid #d7ded4; border-radius: 6px; background: var(--soft); }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
a.project-image { transition: border-color .15s; }
a.project-image:hover { border-color: var(--teal); }
.project-meta { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 17px 0 11px; font-size: 10px; color: var(--muted); line-height: 1.5; }

.project h3 { margin: 0 0 10px; max-width: 320px; font-size: 20px; }
.project>p { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 12px; }
.project-link { margin-top: auto; font-size: 12px; }
.unavailable { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; color: var(--muted); }
.services { background: var(--soft); }
.services-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; }
.service-list { border-top: 1px solid #cbd6cb; }
.service-list article { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; padding: 23px 0; border-bottom: 1px solid #cbd6cb; }
.service-list h3 { font-size: 16px; margin: 0; }
.service-list p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.75; }
.process .section-heading { margin-bottom: 35px; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }
.process-list li { display: flex; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.step-number { font-size: 11px; font-weight: 600; color: var(--teal); padding-top: 3px; }
.process-list h3 { font-size: 16px; margin-bottom: 10px; }
.process-list p { font-size: 13px; color: var(--muted); margin: 0; }
.contact-section { background: var(--teal); color: #f6f8ef; }
.contact-section h2, .contact-section h3 { color: #f6f8ef; }
.contact-section .eyebrow { color: #d5e4d8; }
.contact-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: center; }
.contact-heading h2 { margin-bottom: 0; }
.contact-copy p { font-size: 15px; line-height: 1.8; max-width: 430px; margin-bottom: 12px; color: #e0eade; }
.email-link { display: inline-flex; gap: 25px; align-items: center; min-height: 48px; font-size: clamp(18px, 2vw, 23px); font-weight: 500; letter-spacing: -.5px; }
.contact-section a:focus-visible, .contact-section button:focus-visible, .contact-section summary:focus-visible, .contact-section input:focus-visible, .contact-section select:focus-visible, .contact-section textarea:focus-visible { outline-color: #f6f8ef; }
.contact-form { border-top: 1px solid #73968a; margin-top: 35px; padding-top: 15px; }
.contact-form summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; font-size: 13px; font-weight: 500; min-height: 44px; list-style: none; }
.contact-form summary::-webkit-details-marker { display: none; }
.contact-form summary span { font-size: 24px; font-weight: 400; }
.contact-form[open] summary span { transform: rotate(45deg); }
.contact-form form { padding: 23px 0 0; max-width: 880px; display: grid; gap: 20px; }
.honeypot { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
form label { display: block; font-size: 12px; margin-bottom: 7px; font-weight: 600; }
form label span { font-size: 11px; color: #dfebdf; font-weight: 400; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; border: 1px solid #c6d7ca; border-radius: 4px; color: var(--ink); font-size: 16px; }
textarea { resize: vertical; min-height: 130px; }
textarea::placeholder { color: #617068; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.form-bottom p { max-width: 400px; font-size: 11px; color: #dfebdf; margin: 0; }
.button-light { background: var(--paper); color: var(--teal); border-color: var(--paper); flex-shrink: 0; }
.button-light:hover { background: #e1ebdf; }
.site-footer { padding-block: 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer p { font-size: 11px; margin: 0; font-weight: 500; }
.site-footer p span { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 4px; }
.footer-inner>div { display: flex; gap: 25px; font-size: 11px; }
.footer-inner a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.page-intro { padding-block: 70px 45px; }
.page-intro h1 { font-size: clamp(42px,5vw,64px); margin-bottom: 23px; }
.page-intro>p:last-child { max-width: 550px; font-size: 16px; color: var(--muted); margin: 0; }
.work-section { padding-bottom: 60px; }
.work-toolbar { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding-block: 18px; border-top: 1px solid var(--line); margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { min-height: 44px; padding: 9px 16px; border: 1px solid #c0cebf; border-radius: 4px; background: transparent; color: var(--muted); font-size: 12px; }
.filters button[aria-pressed=true] { background: var(--teal); color: white; border-color: var(--teal); }
.work-toolbar>p { font-size: 11px; color: var(--muted); margin: 0; white-space: nowrap; }
.portfolio-note { border-top: 1px solid var(--line); margin: 40px 0 0; padding-top: 22px; font-size: 12px; color: var(--muted); max-width: 850px; line-height: 1.8; }
.small-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 40px 60px; border-top: 1px solid var(--line); }
.small-cta .eyebrow { margin-bottom: 10px; }
.small-cta h2 { font-size: 32px; margin: 0; }
.about-page { min-height: calc(100svh - 200px); padding-block: 90px; display: flex; align-items: center; }
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 85px; align-items: center; width: 100%; }
.portrait { margin: 0; width: 280px; }
.portrait img { aspect-ratio: 4/5; object-fit: cover; width: 280px; border-radius: 6px; }
.portrait figcaption { font-size: 10px; color: var(--muted); margin-top: 12px; }
.about-copy { max-width: 650px; }
.about-copy h1 { font-size: clamp(42px,4.5vw,62px); margin: 0 0 25px; }
.about-copy .eyebrow { margin-bottom: 15px; }
.about-copy>p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
.about-copy .actions { margin-top: 30px; gap: 30px; }
.message-page { min-height: calc(100svh - 220px); padding-block: 90px; }
.message-page h1 { max-width: 800px; }
.message-page>p:not(.eyebrow) { max-width: 550px; color: var(--muted); margin-bottom: 30px; }
@media (max-width: 1000px) {
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-projects { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .project-meta { flex-direction: column; gap: 3px; }

  .project h3 { font-size: 18px; }
  .services-layout, .contact-heading { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .service-list article { display: block; }
  .service-list h3 { margin-bottom: 8px; }
  .about-layout { grid-template-columns: 250px 1fr; gap: 45px; }
  .portrait, .portrait img { width: 250px; }
  .process-list { gap: 25px; }
  .process-list li { gap: 12px; }
}
@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 40px), var(--max)); }
  html { scroll-padding-top: 85px; }
  .header-inner { min-height: 72px; gap: 15px; flex-wrap: wrap; }
  .brand { font-size: 20px; }
  .brand-mark { width: 30px; height: 30px; margin-right: 9px; }
  .site-nav { width: 100%; gap: 12px; padding-bottom: 15px; flex-wrap: wrap; }
  .site-nav a { padding: 6px 12px; }
  .js .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 13px; border: 1px solid #b6c7bc; border-radius: 4px; background: transparent; padding: 8px 13px; color: var(--ink); font-size: 12px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 5px 0 20px; }
  .js .site-nav a { min-height: 48px; padding-inline: 12px; }
  .site-nav .nav-contact { border: 0; background: var(--soft); }
  .hero { padding-block: 52px 42px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.1px; margin-bottom: 20px; }
  h1 { font-size: clamp(39px,7.7vw,54px); line-height: 1.12; letter-spacing: -1.8px; }
  .desktop-break { display: none; }
  .hero-copy { font-size: 16px; line-height: 1.75; margin-bottom: 24px; max-width: 460px; }
  .hero h1 { margin-bottom: 22px; }
  .button { padding-inline: 17px; font-size: 12px; gap: 15px; }
  .actions { gap: 10px; }
  .price-note { margin-top: 25px; font-size: 11px; line-height: 1.85; max-width: 440px; }
  .price-note strong { display: block; }
  .section { padding-block: 45px; }
  h2 { font-size: 32px; letter-spacing: -1px; }
  .section-heading { align-items: start; gap: 20px; margin-bottom: 25px; }
  .section-heading>.text-link { align-self: end; font-size: 11px; gap: 8px; max-width: 125px; }
  .section-heading .eyebrow { margin-bottom: 12px; }
  .project-grid, .home-projects { grid-template-columns: 1fr; gap: 34px; }
  .project-image { aspect-ratio: 1.55; }
  .project-meta { flex-direction: row; font-size: 10px; margin-top: 14px; }
  .project h3 { font-size: 21px; max-width: 100%; }
  .project>p { margin-bottom: 7px; max-width: 500px; }
  .services-layout, .contact-heading { grid-template-columns: 1fr; gap: 20px; }
  .services-layout h2 { margin-bottom: 8px; }
  .service-list article { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding-block: 20px; }
  .service-list h3 { font-size: 15px; margin: 0; }
  .service-list p { font-size: 12px; }
  .process-list { grid-template-columns: 1fr; gap: 20px; }
  .process-list li { gap: 20px; padding-top: 17px; }
  .process-list h3 { font-size: 16px; margin-bottom: 6px; }
  .process-list p { font-size: 12px; }
  .contact-heading { gap: 25px; }
  .contact-copy p { font-size: 14px; }
  .email-link { font-size: 20px; }
  .contact-form { margin-top: 24px; }
  .contact-form summary { font-size: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .form-bottom { flex-direction: column; align-items: start; gap: 20px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 15px; }
  .footer-inner>div { gap: 25px; }
  .site-footer { padding-block: 25px; }
  .page-intro { padding-block: 45px 30px; }
  .page-intro h1 { font-size: 44px; letter-spacing: -2px; }
  .page-intro>p:last-child { font-size: 14px; }
  .work-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .filters { gap: 7px; }
  .filters button { font-size: 11px; padding-inline: 12px; }
  .work-toolbar>p { font-size: 10px; }
  .portfolio-grid { gap: 35px; }
  .portfolio-note { font-size: 11px; margin-top: 25px; }
  .work-section { padding-bottom: 35px; }
  .small-cta { flex-direction: column; align-items: start; padding-block: 30px 45px; gap: 20px; }
  .small-cta h2 { font-size: 28px; }
  .about-page { padding-block: 45px 55px; min-height: auto; }
  .about-layout { display: flex; flex-direction: column; gap: 35px; align-items: start; }
  .portrait, .portrait img { width: 240px; }
  .portrait figcaption { font-size: 9px; margin-top: 10px; }
  .about-copy h1 { font-size: 45px; }
  .about-copy>p:not(.eyebrow) { font-size: 15px; line-height: 1.85; }
  .about-copy .actions { gap: 25px; }
  .message-page { padding-block: 55px; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 37px; }
  .hero .button { gap: 10px; padding-inline: 14px; }
  .service-list article { display: block; }
  .service-list h3 { margin-bottom: 8px; }
  .filters button { padding-inline: 10px; font-size: 10px; }
  .project-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Keep important pricing and service copy comfortable to read. */
.price-note { font-size: 14px; }
.project>p, .service-list p, .process-list p { font-size: 14px; }
.portfolio-note { font-size: 13px; }
@media (max-width:700px) {
  .price-note { font-size: 13px; }
  .project>p, .service-list p, .process-list p { font-size: 14px; }
  .portfolio-note { font-size: 12px; }
}

/* A native scrollable portfolio: touch, trackpad, keyboard, or arrow buttons. */
.home-projects { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 6px; padding: 6px 6px 18px; margin: -6px; scrollbar-width: thin; scrollbar-color: #73968a var(--soft); }
.home-projects .project { scroll-snap-align: start; }
.home-projects:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.portfolio-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 17px; }
.portfolio-controls p { margin: 0; font-size: 12px; color: var(--muted); }
.portfolio-arrows { display: flex; gap: 10px; }
.portfolio-arrows button { width: 46px; height: 46px; border: 1px solid #b6c7bc; border-radius: 4px; color: var(--teal); background: transparent; font-size: 22px; }
.portfolio-arrows button:hover { background: var(--soft); }
.portfolio-arrows button[aria-disabled="true"] { opacity: .4; cursor: default; }
@media (max-width:1000px) { .home-projects { grid-auto-columns: calc((100% - 26px) / 2); } }
@media (max-width:700px) { .home-projects { grid-auto-columns: 88%; gap: 20px; } }
