:root {
  --paper: #f6f5f1;
  --surface: #eeede8;
  --text: #242824;
  --secondary: #50574f;
  --muted: #656b62;
  --line: #d5d7ce;
  --orange: #ff792d;
  --orange-ink: #9b3c09;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: max(32px, calc((100vw - 1360px) / 2));
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-mono: Consolas, "Liberation Mono", "Courier New", monospace;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; }
::selection { background: #ffd2b5; color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-mono); font-weight: 600; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.14; letter-spacing: -.025em; }
h3 { font-size: 21px; line-height: 1.25; }
em { font-style: normal; }
p { font-size: 16px; line-height: 1.65; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 4px; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding: 16px var(--gutter); border-bottom: 1px solid var(--orange-ink); background: var(--orange); }
.site-header a:focus-visible { outline-color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.brand-mark { width: 24px; height: 32px; flex-shrink: 0; background: currentColor; clip-path: polygon(35% 0,100% 0,65% 40%,100% 40%,15% 100%,35% 55%,0 55%); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { position: relative; font-family: var(--font-mono); font-size: 14px; padding: 12px 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; bottom: 4px; left: 0; right: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.button, .header-action { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; background: var(--orange); color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; transition: color 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease); }
.header-action { min-height: 40px; padding: 8px 20px; background: var(--text); color: var(--paper); }
.button, .header-action { font-family: var(--font-body); transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.button:hover { background-color: #f38c52; }
.header-action:hover { background-color: var(--secondary); }
.button.secondary { background: transparent; border-color: var(--line); }
.button.secondary:hover { background-color: var(--surface); border-color: var(--muted); }
.hero-lab { position: relative; isolation: isolate; min-height: 680px; padding: 64px var(--gutter) 48px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; width: 52%; max-width: 680px; }
.hero-copy h1 {
  margin-bottom: 28px;
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-size: clamp(52px, 5.6vw, 82px);
  font-weight: 400;
  line-height: 1.04;
}
.hero-copy h1 em { color: var(--orange-ink); }
.hero-carousel { position: absolute; z-index: 1; inset: 0 0 0 36%; }
.carousel-slides { position: absolute; inset: 0; mask-image: linear-gradient(to right, transparent, #000 36%); }
.carousel-slide { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 28%; background: #e6ded0; }
.carousel-slide:nth-child(2n) { background: #dedfd5; }
.carousel-slide:nth-child(3n) { background: #e9dccc; }
.carousel-slide[hidden], .carousel-controls[hidden] { display: none; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.carousel-slide:has(img) { padding: 0; }
.carousel-placeholder { color: var(--secondary); font: 16px/1.4 var(--font-mono); }
.carousel-controls { position: absolute; right: var(--gutter); bottom: 24px; display: flex; align-items: center; gap: 8px; }
.carousel-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 4px; background: var(--text); color: var(--paper); font: 23px/1 var(--font-body); }
.carousel-controls button:hover { background: var(--secondary); }
.carousel-count { min-width: 64px; padding: 8px 10px; border-radius: 4px; background: var(--paper); color: var(--text); text-align: center; font: 14px/1.5 var(--font-mono); }
.accent-scene-picture img { filter: saturate(.75); }
.gallery-note h2 { margin-bottom: 24px; }
.gallery-note > p:not(.eyebrow) { color: var(--secondary); margin-bottom: 24px; max-width: 440px; }
.eyebrow, .form-kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--muted); margin-bottom: 24px; }
.eyebrow.hot { color: var(--orange-ink); }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-copy > .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); }
.hero-lead { max-width: 400px; color: var(--secondary); font-size: 17px; line-height: 1.65; margin-bottom: 28px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.hero-actions { align-items: start; flex-direction: column; gap: 16px; }
.hero-actions > .text-link { font-size: 13px; }
.text-link { display: inline-block; width: fit-content; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.text-link:hover { color: var(--orange-ink); border-color: var(--orange); }
.inquiry-band { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; padding: 64px var(--gutter); background: #fff; border-top: 1px solid var(--line); }
.inquiry-copy h2 { margin-bottom: 24px; }
.hero-form, .contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-content: start; }
.hero-form h2, .contact-panel h2 { font-size: 24px; margin-bottom: 8px; grid-column: 1 / -1; }
.form-kicker { grid-column: 1 / -1; margin: 0; }
.hero-form label:has(textarea), .contact-panel label:has(textarea) { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-family: var(--font-mono); font-size: 14px; font-weight: 400; min-width: 0; }
input, textarea { width: 100%; padding: 12px; min-height: 48px; border: 1px solid #bfc4b8; border-radius: 4px; color: var(--text); background: #fff; transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, textarea:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 2px #ff792d26; }
textarea { resize: vertical; min-height: 112px; }
.hero-form .button, .contact-panel .button { grid-column: 1 / -1; justify-self: start; }
.section { padding: 80px var(--gutter); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-bottom: 48px; }
.section-heading .eyebrow { margin: 8px 0 0; }
.service-grid { display: grid; }
.service-card { display: grid; grid-template-columns: 64px 1fr 1.25fr; gap: 24px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.service-card h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; }
.service-card:last-child { border-bottom: 1px solid var(--line); }
.card-index { padding-top: 4px; font-family: var(--font-mono); color: var(--orange-ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.service-card p, .photo-card p, .doc-card p { color: var(--secondary); font-size: 15px; line-height: 1.65; }
.team-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; background: #eeede8; border-top: 1px solid var(--line); }
.team-intro { max-width: 600px; }
.team-intro h2 { margin-bottom: 24px; font-size: clamp(27px, 3.1vw, 43px); }
.team-intro > p:not(.eyebrow) { max-width: 440px; }
.team-principles { padding-top: 40px; }
.team-intro > p:not(.eyebrow) { color: var(--secondary); margin-bottom: 24px; }
.team-principles article { padding: 24px 0; border-top: 1px solid var(--line); }
.team-principles article:last-child { border-bottom: 1px solid var(--line); }
.team-principles h3 { font-size: 22px; margin-bottom: 12px; }
.team-principles p { font-size: 15px; color: var(--secondary); }
.kinetic-section { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; color: #f6f5f1; background: #252d29; }
.standards-title { max-width: 480px; }
.standards-title .eyebrow { color: #c5cbbf; }
.standards-title h2 { margin-bottom: 24px; }
.standards-title em { color: #ffac79; }
.section-copy { color: #d0d6cb; margin-bottom: 24px; }
.kinetic-section .text-link { color: #f6f5f1; border-color: #ffac79; }
.kinetic-section .text-link:hover { color: #ffac79; }
.kinetic-section :focus-visible { outline-color: #ffac79; }
.kinetic-section details { border-top: 1px solid #51594f; }
.kinetic-section details:last-child { border-bottom: 1px solid #51594f; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--font-mono); font-size: 16px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; color: #ffac79; font-size: 24px; font-weight: 400; transition: transform 180ms var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details[open] p { animation: detail-in 200ms var(--ease); }
details p { color: #d0d6cb; font-size: 15px; padding-right: 48px; margin-bottom: 24px; }
.local-section { background: #fff; }
.local-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: start; }
.local-area { border-left: 2px solid var(--orange); padding: 0 24px; }
.local-section .section-heading { display: block; }
.local-area h3 { margin-bottom: 12px; }
.local-area p { font-size: 14px; color: var(--secondary); }
.local-copy { max-width: 520px; }
.local-copy h3 { margin-bottom: 16px; }
.local-copy p { color: var(--secondary); margin-bottom: 24px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px var(--gutter); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: 36px; }
.cta-band .eyebrow { margin-bottom: 16px; }
.cta-actions { flex-shrink: 0; }
.page-hero { padding: 64px var(--gutter) 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1040px; margin-bottom: 24px; }
.page-lead { max-width: 720px; color: var(--secondary); font-size: 18px; }
.doc-grid { display: grid; }
.doc-card { display: grid; grid-template-columns: 1fr 1.25fr 2fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.doc-card:last-child { border-bottom: 1px solid var(--line); }
.doc-type { font-family: var(--font-mono); color: var(--muted); font-size: 13px; line-height: 1.6; }
.gallery-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.photo-grid { display: grid; }
.photo-card { padding: 28px 0; border-top: 1px solid var(--line); }
.photo-card h3 { margin-bottom: 12px; }
.photo-card:last-child { border-bottom: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact-list { display: grid; align-content: start; }
.contact-line { padding: 24px 0; border-top: 1px solid var(--line); }
.contact-line strong { display: block; margin-bottom: 8px; font-size: 18px; font-weight: 500; }
.contact-line span { color: var(--secondary); }
.about-page { display: grid; min-height: 100vh; grid-template-rows: auto 1fr auto; }
.site-footer { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; padding: 24px var(--gutter); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 13px; color: var(--secondary); }
.site-footer a:hover { text-decoration: underline; }
/* The photographs form the surfaces behind the copy; switches share their coordinates. */
.accent-scene-picture { position: relative; aspect-ratio: 3 / 2; isolation: isolate; }
.accent-scene-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.accent-scene-lit { opacity: 1; transition: opacity 550ms ease; }
.accent-scene-picture:has(.scene-switch[aria-checked="false"]) .accent-scene-lit { opacity: 0; }
.scene-switch { position: absolute; z-index: 3; transform: translate(-50%, -50%); min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; border-radius: 4px; touch-action: manipulation; }
.scene-switch[hidden], .scene-hint[hidden] { display: none; }
.scene-switch::after { content: ""; position: absolute; inset: -4px; border: 1px solid #fff9; border-radius: inherit; opacity: 0; transition: opacity 180ms ease; }
.scene-switch:hover::after { opacity: 1; }
.scene-switch:focus-visible { outline: 2px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px #5c422c; }
.scene-hint { position: absolute; z-index: 2; font: 11px/1.5 var(--font-mono); color: #483b28; pointer-events: none; }
.inquiry-band .inquiry-copy { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 clamp(205px, 20vw, 260px); background: #e6dac4; }
.inquiry-text { position: relative; z-index: 1; padding: 40px 40px 0; color: #302d23; }
.inquiry-text > p:not(.eyebrow) { color: #454233; }
.inquiry-text h2 { font-size: clamp(27px, 2.8vw, 38px); }
.desk-backdrop { position: absolute; bottom: 0; left: 0; width: 100%; aspect-ratio: 1122 / 1402; }
.desk-backdrop img { mask-image: linear-gradient(to bottom, transparent, #000 24%); }
.desk-backdrop .scene-switch { left: 79.4%; top: 87%; width: 9%; height: 7%; border-radius: 50%; }
.desk-backdrop .scene-hint { right: 28%; top: 82%; max-width: 130px; text-align: right; }
.inquiry-band .hero-form { align-self: center; }
.service-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 64px; align-items: center; color: #f6f5f1; background: #374139; }
.service-band > h2 { grid-column: 1 / -1; }
.service-band .card-index { color: #ffac79; }
.niche-scene { container-type: inline-size; }
.niche-caption { position: absolute; z-index: 1; left: 34%; top: 25%; width: 57%; font: 600 clamp(17px, 5.2cqw, 30px)/1.15 var(--font-mono); letter-spacing: -.025em; overflow-wrap: anywhere; color: #3d3025; }
.niche-scene .scene-switch { left: 18.5%; top: 62.5%; width: 10%; height: 16%; }
.niche-scene .scene-hint { left: 4%; top: 76%; width: 23%; text-align: center; font-size: clamp(9px, 2.2cqw, 11px); }
.service-band .service-card { grid-template-columns: 32px 1fr; gap: 8px 16px; padding: 24px 0; border-color: #657063; }
.service-band .service-card h3 { font-size: 22px; }
.service-band .service-card p { grid-column: 2; color: #d0d6cb; }
@media (max-width: 1100px) {
  .inquiry-text { padding: 28px 28px 0; }
  .service-band { gap: 32px; }
}
@media (max-width: 860px) {
  .service-band { grid-template-columns: 1fr; }
  .niche-scene { max-width: 600px; }
  .inquiry-band .inquiry-copy { padding-bottom: 42vw; }
}
@media (max-width: 480px) {
  .inquiry-text { padding: 28px 24px 0; }
  .inquiry-band .inquiry-copy { padding-bottom: 200px; }
  .desk-backdrop .scene-hint { font-size: 10px; max-width: 110px; }
  .service-band .service-card h3 { font-size: 19px; }
}
@keyframes detail-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .hero-lab { min-height: 660px; padding-top: 48px; }
  .cta-band { align-items: start; flex-direction: column; }
}
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; gap: 8px 24px; }
  .nav-links { order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; }
  html { scroll-padding-top: 144px; }
  .hero-lab { min-height: 0; padding: 40px var(--gutter) 0; }
  .hero-copy { width: 100%; max-width: 640px; }
  .hero-copy h1 { font-size: clamp(42px, 8.6vw, 68px); margin-bottom: 24px; }
  .hero-lead { max-width: 480px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px 24px; }
  .hero-carousel { position: relative; inset: auto; height: 400px; margin: 24px calc(-1 * var(--gutter)) 0; }
  .carousel-slides { mask-image: linear-gradient(to bottom, transparent, #000 20%); }
  .carousel-slide { padding-left: 0; }
  .carousel-slide img { object-position: center; }
  .inquiry-band, .kinetic-section, .local-grid, .contact-layout, .gallery-layout, .team-section { grid-template-columns: 1fr; gap: 40px; }
  .standards-title, .local-copy { max-width: 600px; }
  .inquiry-band, .section { padding-top: 48px; padding-bottom: 48px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-heading .eyebrow { margin: 0; }
  .team-principles { padding-top: 0; }
  .service-card { grid-template-columns: 32px 1fr 1.2fr; gap: 16px; }
  .service-card h3 { font-size: 20px; }
  .doc-card { grid-template-columns: 1fr 2fr; }
  .doc-type { grid-column: 1 / -1; }
  .page-hero { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .brand { font-size: 20px; }
  .header-action { padding: 8px 16px; font-size: 14px; }
  .nav-links { column-gap: 8px; }
  .nav-links a { font-size: 12px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-carousel { height: 340px; }
  .hero-lead, .page-lead { font-size: 16px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 20px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  h2 { font-size: 30px; }
  .hero-form, .contact-panel { grid-template-columns: 1fr; }
  .hero-form .button, .contact-panel .button { width: 100%; }
  .service-card { grid-template-columns: 32px 1fr; gap: 12px 16px; padding: 24px 0; }
  .service-card p { grid-column: 2; }
  .doc-card { grid-template-columns: 1fr; gap: 12px; }
  .cta-band h2 { font-size: 30px; }
  .cta-actions { gap: 12px; }
  details p { padding-right: 0; }
}
@media (max-width: 360px) {
  .nav-links { column-gap: 6px; }
  .nav-links a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
