:root {
  --ink: #182b32;
  --ink-soft: #4c5e63;
  --navy: #173c43;
  --teal: #2f7474;
  --teal-dark: #245d5e;
  --mint: #dbe9e5;
  --paper: #f7f5ef;
  --white: #fffefa;
  --line: #d8dcd7;
  --max-width: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid #c56b32; outline-offset: 4px; border-radius: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); font-weight: 560; }
h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 560; }
h3 { font-size: 1.3rem; font-weight: 620; letter-spacing: -.02em; }

.container { width: min(calc(100% - 3rem), var(--max-width)); margin-inline: auto; }
.narrow { max-width: 930px; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: white; }
.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; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(247, 245, 239, .96); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-size: 1.25rem; font-weight: 680; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .83rem; font-weight: 750; }
.site-nav ul, .footer-links { display: flex; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; color: var(--ink-soft); font-size: .94rem; font-weight: 560; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: -.65rem; left: 0; height: 2px; background: var(--teal); }

.hero { padding: clamp(5rem, 11vw, 9.5rem) 0 clamp(5rem, 9vw, 8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.eyebrow { margin-bottom: 1.4rem; color: var(--teal-dark); font-size: .77rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin-bottom: 2rem; }
.hero-copy { max-width: 760px; margin-bottom: 2.4rem; color: var(--ink-soft); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 2px solid var(--navy); border-radius: 3px; background: var(--navy); color: white; font-weight: 650; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.button:hover { border-color: var(--teal-dark); background: var(--teal-dark); color: white; }
.text-link { color: var(--teal-dark); font-weight: 680; text-decoration: none; }
.text-link span[aria-hidden="true"] { display: inline-block; margin-left: .25rem; transition: transform .15s ease; }
.text-link:hover span[aria-hidden="true"] { transform: translateX(3px); }
.hero-panel { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; background: var(--mint); }
.panel-number { color: var(--teal-dark); font-size: .75rem; font-weight: 750; letter-spacing: .12em; }
.hero-panel p { max-width: 310px; margin: auto 0 2rem; font-size: 1.28rem; font-weight: 550; line-height: 1.45; }
.signal { display: flex; gap: .45rem; align-items: end; height: 28px; }
.signal span { display: block; width: 3px; background: var(--teal); }
.signal span:nth-child(1) { height: 35%; }.signal span:nth-child(2) { height: 70%; }.signal span:nth-child(3) { height: 100%; }

.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-compact { padding-top: 1rem; }
.section-tint { background: var(--mint); }
.section-heading { max-width: 720px; margin-bottom: 3.25rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { min-height: 270px; padding: 1.8rem 2rem 1rem 0; border-right: 1px solid var(--line); }
.feature + .feature { padding-left: 2rem; }
.feature:last-child { border-right: 0; }
.feature-index { display: block; margin-bottom: 4.5rem; color: var(--teal-dark); font-size: .75rem; font-weight: 750; }
.feature p { max-width: 310px; color: var(--ink-soft); }
.callout { display: flex; min-height: 370px; align-items: end; justify-content: space-between; gap: 3rem; padding: clamp(2rem, 5vw, 4.5rem); background: var(--navy); color: #d9e5e3; }
.callout h2 { max-width: 700px; margin-bottom: 1rem; color: white; }
.callout p:not(.eyebrow) { margin-bottom: 0; font-size: 1.08rem; }
.eyebrow-light { color: #9cc7c1; }
.button-light { flex: 0 0 auto; border-color: white; background: white; color: var(--navy); }
.button-light:hover { border-color: var(--mint); background: var(--mint); color: var(--navy); }

.page-header { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 950px; margin-bottom: 2rem; }
.page-intro { max-width: 760px; margin-bottom: 0; color: var(--ink-soft); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.page-header-small { padding-bottom: 4.5rem; }
.page-header-small h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); }
.content-grid .section-heading { margin-bottom: 0; }
.prose { max-width: 680px; }
.prose p { margin-bottom: 1.65rem; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.prose strong { color: var(--ink); }
.principle-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 10vw, 9rem); }
.principles article { padding: 0 0 2rem; border-bottom: 1px solid rgba(24, 43, 50, .18); }
.principles article + article { padding-top: 2rem; }
.principles p { max-width: 540px; margin-bottom: 0; color: var(--ink-soft); }

.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.project-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.6rem, 3vw, 2.5rem); border: 1px solid var(--line); background: var(--white); }
.project-featured { background: var(--navy); color: #d9e5e3; }
.project-card h2 { margin-bottom: .8rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.project-card h2 span { color: var(--teal); }
.project-featured h2 { color: white; }.project-featured h2 span { color: #96c9c2; }
.project-card p { max-width: 470px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.08rem; }
.project-featured p { color: #d9e5e3; }
.project-meta { display: flex; justify-content: space-between; align-items: start; }
.status { display: inline-flex; padding: .32rem .55rem; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-soft); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.status-active { border-color: #82b6b0; color: #c0ded9; }.status-live { border-color: #9ebcac; color: #3c6c50; }.status-archive { color: #667176; }
.project-number { color: #839094; font-size: .75rem; font-weight: 700; }.project-featured .project-number { color: #9db6b6; }
.project-note { color: #78878b; font-size: .85rem; }.project-featured .project-note { color: #a9c0c0; }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(4rem, 10vw, 10rem); }
.contact-primary { min-width: 0; }
.email-link { color: var(--ink); font-size: clamp(1.65rem, 4.2vw, 4.2rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.15; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.company-details { display: grid; gap: 3rem; }
.company-details h2 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: -.01em; }
.company-details p, .company-details address { margin: 0; color: var(--ink-soft); font-style: normal; }
.legal-copy { max-width: 760px; }
.legal-copy > p:first-child { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.2rem; }
.legal-copy h2 { margin: 3rem 0 1rem; font-size: 1.45rem; }
.legal-copy p { color: var(--ink-soft); }

.site-footer { margin-top: clamp(4rem, 8vw, 8rem); padding: 4rem 0 1.5rem; background: #102d33; color: #c8d5d4; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 4rem; }
.brand-footer { color: white; }.brand-footer:hover { color: white; }.brand-footer .brand-mark { background: #dceae7; color: var(--navy); }
.footer-links a { color: #c8d5d4; font-size: .92rem; text-decoration: none; }.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); color: #94aaa9; font-size: .78rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 800px) {
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .header-inner { min-height: 78px; flex-direction: column; align-items: stretch; gap: .8rem; padding: 1rem 0; }
  .site-nav ul { justify-content: space-between; gap: .75rem; }
  .site-nav a { font-size: .88rem; }
  .site-nav a[aria-current="page"]::after { bottom: -.3rem; }
  .hero-grid, .content-grid, .principle-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 250px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature { min-height: auto; padding: 1.7rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-index { margin-bottom: 2.5rem; }
  .callout { min-height: 420px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .project-list { grid-template-columns: 1fr; }
  .project-card { min-height: 340px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.55rem; }
  .site-nav ul { gap: .6rem; }
  .site-nav a { font-size: .82rem; }
  .actions { align-items: flex-start; flex-direction: column; }
  .email-link { font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
