:root {
  color-scheme: light;
  --ink: #17211d;
  --ink-soft: #35433d;
  --paper: #f3efe6;
  --white: #fffdf8;
  --sage: #536b60;
  --sage-light: #cbd7ce;
  --accent: #d4e49a;
  --copper: #8f563d;
  --line: rgba(23, 33, 29, 0.16);
  --side: clamp(22px, 5vw, 76px);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif TC", "Songti TC", "PMingLiU", "新細明體", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "微軟正黑體", system-ui, sans-serif;
  --type-home-display: clamp(3rem, calc(5.3vw + 0.625rem), 5.375rem);
  --type-page-title: clamp(2.75rem, calc(3.9vw + 1rem), 4.5rem);
  --type-section-title: clamp(2.125rem, calc(3vw + 0.75rem), 3.5rem);
  --type-statement-title: clamp(2.375rem, calc(3vw + 1rem), 3.75rem);
  --type-item-title: clamp(1.875rem, calc(1.8vw + 0.875rem), 2.5rem);
  --type-card-title: clamp(1.625rem, calc(0.5vw + 1.5rem), 1.875rem);
  --type-small-title: clamp(1.5625rem, calc(0.4vw + 1.4375rem), 1.75rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  font-size: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 33, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1,
h2 { text-wrap: balance; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--paper);
}

.heading-phrase {
  display: inline-block;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 96px;
  padding: 20px var(--side);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(14px);
}

.site-nav {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.site-nav a {
  min-height: 44px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--copper); }

.site-nav a.current {
  position: relative;
  color: var(--copper);
}

.site-nav a.current::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--copper);
  content: "";
}

.site-nav .staff-entry {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--sage);
}

.mobile-nav {
  position: relative;
  max-width: 100%;
  display: none;
}

.mobile-nav summary {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8125rem;
  list-style: none;
  white-space: normal;
}

.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary strong { color: var(--copper); }
.mobile-nav summary span { margin-left: 4px; color: var(--ink-soft); }

.mobile-nav[open] summary {
  color: var(--paper);
  background: var(--ink);
}

.mobile-nav[open] summary strong,
.mobile-nav[open] summary span { color: var(--paper); }

.mobile-menu {
  position: absolute;
  z-index: 30;
  top: 50px;
  right: 0;
  width: min(230px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(23, 33, 29, 0.2);
}

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.mobile-menu a:last-child { border-bottom: 0; }

.mobile-menu a.current {
  padding-left: 13px;
  border-left: 3px solid var(--copper);
  color: var(--copper);
  background: rgba(143, 86, 61, 0.08);
  font-weight: 800;
}

.brand {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.brand-mark {
  width: 2.375rem;
  height: 2.375rem;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name { font-size: 1rem; }

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
}

.hero-copy {
  padding: clamp(80px, 10vw, 150px) var(--side);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--sage);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin: 24px 0 30px;
  font-size: var(--type-page-title);
  line-height: 1.05;
}

h3 {
  line-height: 1.22;
  text-wrap: balance;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.9;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 23px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.text-link {
  min-height: 44px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 10px;
  color: var(--copper);
}

.hero-art {
  position: relative;
  min-height: 620px;
  padding: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 68% 30%, rgba(212, 228, 154, 0.13), transparent 30%),
    radial-gradient(circle at 24% 76%, rgba(169, 109, 79, 0.18), transparent 34%),
    var(--ink);
}

.hero-art::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(243, 239, 230, 0.16);
  content: "";
}

.hero-art svg {
  width: min(92%, 650px);
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.25));
}

.ring,
.orbit,
.h-shape {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ring {
  stroke: rgba(243, 239, 230, 0.17);
  stroke-width: 1;
}

.ring-two { stroke-dasharray: 4 12; }

.orbit {
  stroke: var(--accent);
  stroke-width: 2;
}

.orbit-small {
  stroke: rgba(243, 239, 230, 0.42);
  stroke-width: 1;
}

.h-shape {
  stroke: var(--paper);
  stroke-width: 31;
  stroke-linecap: square;
}

.node { fill: var(--copper); }
.node-two { fill: var(--accent); }

.art-label,
.art-caption {
  position: absolute;
  z-index: 1;
  margin: 0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.art-label {
  top: 44px;
  left: 46px;
}

.art-caption {
  right: 46px;
  bottom: 43px;
  color: var(--sage-light);
}

.ticker {
  overflow: hidden;
  color: var(--paper);
  background: var(--copper);
}

.ticker-track {
  min-width: max-content;
  padding: 14px var(--side);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 60px);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ticker-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.story-section,
.capabilities-section,
.quality-section,
.contact-section {
  padding: clamp(92px, 11vw, 168px) var(--side);
}

.story-section {
  background: rgba(255, 253, 248, 0.84);
}

.story-copy p {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.fact-grid div {
  min-height: 170px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.fact-grid div:last-child { border-right: 0; }

.fact-grid strong {
  font-family: var(--display);
  font-size: clamp(1.9375rem, 3.5vw, 3.125rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.fact-grid span {
  color: var(--sage);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.capabilities-section { background: var(--paper); }

.capabilities-section .section-heading > p {
  max-width: 520px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.capability-card {
  min-height: 340px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.38);
}

.capability-card:last-child { border-right: 0; }

.capability-card > span,
.process-grid > li > span {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.125rem;
}

.capability-card h3 {
  margin: auto 0 14px;
  font-family: var(--display);
  font-size: var(--type-card-title);
  font-weight: 500;
}

.capability-card p {
  min-height: 86px;
  margin: 0;
  color: var(--ink-soft);
}

.process-section {
  padding: clamp(92px, 11vw, 160px) var(--side);
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 228, 154, 0.1), transparent 30rem),
    var(--ink);
}

.process-heading {
  max-width: 980px;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.process-heading .eyebrow { color: var(--accent); }

.process-heading h2 {
  max-width: 920px;
}

.process-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(243, 239, 230, 0.45);
  list-style: none;
}

.process-grid li {
  min-height: 260px;
  padding: 28px 22px;
  border-right: 1px solid rgba(243, 239, 230, 0.14);
}

.process-grid li:last-child { border-right: 0; }

.process-grid h3 {
  margin: 75px 0 12px;
  font-family: var(--display);
  font-size: var(--type-small-title);
  font-weight: 500;
}

.process-grid p {
  margin: 0;
  color: var(--sage-light);
  font-size: 0.875rem;
}

.quality-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  align-items: end;
  gap: clamp(60px, 10vw, 170px);
  background: rgba(255, 253, 248, 0.88);
}

.quality-copy > p:last-child {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.quality-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.quality-list li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
}

.quality-list span {
  color: var(--copper);
  font-family: var(--display);
  font-weight: 500;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.72fr);
  gap: clamp(60px, 10vw, 160px);
  background: #dfe6e1;
}

.contact-note {
  max-width: 620px;
  color: var(--ink-soft);
}

.contact-card {
  padding: 38px;
  color: var(--paper);
  background: var(--ink);
  font-style: normal;
}

.contact-card h3 {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: var(--type-card-title);
  font-weight: 500;
}

.contact-card > p {
  margin: 0 0 36px;
  color: var(--sage-light);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.contact-card dl { margin: 0; }

.contact-card dl div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  border-top: 1px solid rgba(243, 239, 230, 0.17);
}

.contact-card dt {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-card dd { margin: 0; }

.contact-card dd a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section-heading {
  margin-bottom: clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: clamp(48px, 10vw, 170px);
}

h2 {
  max-width: 770px;
  margin: 18px 0 0;
  font-size: var(--type-section-title);
  line-height: 1.1;
}

.section-heading > p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.site-footer {
  padding: 36px var(--side);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--paper);
  background: #0f1713;
  border-top: 1px solid rgba(243, 239, 230, 0.12);
}

.footer-brand .brand-mark,
.error-card .brand-mark {
  color: var(--ink);
  background: var(--paper);
}

.footer-meta {
  display: flex;
  gap: 34px;
  color: var(--sage-light);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.footer-company {
  margin: 18px 0 0;
  color: var(--sage-light);
  font-size: 0.75rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-company span { display: block; }

.footer-nav {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--sage-light);
  font-size: 0.75rem;
  text-decoration: none;
}

.section-link {
  min-height: 44px;
  display: inline-flex;
  margin-top: 12px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.section-link span { color: var(--copper); }

.section-action {
  padding-top: 42px;
  text-align: right;
}

.dark-action { text-align: left; }

.light-button {
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.light-button:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.home-contact {
  padding: clamp(90px, 11vw, 160px) var(--side);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  align-items: end;
  gap: clamp(60px, 10vw, 160px);
  background: #dfe6e1;
}

.home-contact h2 { margin-bottom: 0; }

.home-contact > div:last-child p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.page-hero {
  min-height: clamp(480px, 38vw, 540px);
  padding: clamp(72px, 7vw, 104px) var(--side);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  background:
    linear-gradient(rgba(23, 33, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
}

.page-hero-inner {
  width: 100%;
  max-width: none;
}

.page-hero h1 {
  margin: 24px 0 30px;
  font-family: var(--display);
  font-size: var(--type-page-title);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.page-hero-inner > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  line-height: 1.9;
}

.content-section,
.values-section,
.quality-gates {
  padding: clamp(92px, 11vw, 168px) var(--side);
}

.content-section { background: rgba(255, 253, 248, 0.88); }
.values-section { background: #dfe6e1; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.value-grid article {
  min-height: 310px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.value-grid article:last-child { border-right: 0; }

.value-grid article::before {
  width: 38px;
  height: 2px;
  margin-bottom: auto;
  background: var(--copper);
  content: "";
}

.timeline-section li > span {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.1875rem;
}

.value-grid h3 {
  margin: 42px 0 12px;
  font-family: var(--display);
  font-size: var(--type-card-title);
  font-weight: 500;
}

.value-grid p {
  min-height: 78px;
  margin: 0;
  color: var(--ink-soft);
}

.quality-gates .value-grid { grid-template-columns: repeat(4, 1fr); }
.quality-gates .value-grid article { min-height: 340px; }

.split-cta {
  padding: clamp(70px, 9vw, 120px) var(--side);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  color: var(--paper);
  background: var(--ink);
}

.split-cta .eyebrow { color: var(--accent); }

.split-cta h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: var(--type-statement-title);
}

.split-cta .button {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.service-list { background: rgba(255, 253, 248, 0.88); }

.service-list article {
  min-height: 300px;
  padding: 54px var(--side);
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  border-top: 1px solid var(--line);
}

.service-list article:last-child { border-bottom: 1px solid var(--line); }

.service-list h2 {
  margin: 8px 0 0;
  font-size: var(--type-item-title);
}

.service-detail > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.service-detail ul,
.prepare-section ul,
.contact-prep ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.note-section,
.quality-statement {
  padding: clamp(90px, 11vw, 160px) var(--side);
  text-align: center;
}

.note-section { background: #dfe6e1; }

.note-section h2,
.quality-statement h2 {
  max-width: 950px;
  margin-right: auto;
  margin-left: auto;
  font-size: var(--type-statement-title);
}

.note-section > p:not(.eyebrow),
.quality-statement > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 30px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.timeline-section {
  padding: 0 var(--side);
  background: rgba(255, 253, 248, 0.88);
}

.timeline-section ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.timeline-section li {
  min-height: 230px;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 80px minmax(280px, 0.65fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
}

.timeline-section li > * { min-width: 0; }

.timeline-section h2 {
  margin: 6px 0 0;
  font-size: var(--type-item-title);
}

.timeline-section li > p {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.prepare-section,
.contact-prep {
  padding: clamp(90px, 10vw, 140px) var(--side);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.72fr);
  align-items: start;
  gap: clamp(60px, 10vw, 160px);
  color: var(--paper);
  background: var(--ink);
}

.prepare-section .eyebrow,
.contact-prep .eyebrow { color: var(--accent); }

.prepare-section h2,
.contact-prep h2 { margin-bottom: 0; }

.prepare-section li,
.contact-prep li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.18);
}

.quality-statement {
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 0, rgba(212, 228, 154, 0.12), transparent 32rem),
    var(--ink);
}

.quality-statement .eyebrow { color: var(--accent); }
.quality-statement > p:not(.eyebrow) { color: var(--sage-light); }
.quality-statement .home-flow-link { margin-top: 12px; }

.contact-page {
  padding: clamp(92px, 11vw, 160px) var(--side);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  align-items: start;
  gap: clamp(60px, 10vw, 160px);
  background: #dfe6e1;
}

.contact-intro h2 {
  margin-bottom: 8px;
  font-size: var(--type-item-title);
}

.contact-intro > p:nth-of-type(2) {
  color: var(--sage);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-notice {
  max-width: 640px;
  margin-top: 38px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.contact-page .contact-card { width: 100%; }

.contact-intro,
.contact-card,
.contact-card dl,
.contact-card dl div,
.contact-card dd {
  min-width: 0;
}

.contact-card dd,
.contact-card dd a {
  overflow-wrap: anywhere;
}

.location-section {
  padding: clamp(80px, 9vw, 125px) var(--side);
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  background: rgba(255, 253, 248, 0.88);
}

.location-copy h2 {
  margin: 12px 0 18px;
  font-size: var(--type-item-title);
}

.location-copy > p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.map-link {
  min-height: 44px;
  margin-top: 28px;
  padding-bottom: 8px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.map-link span {
  margin-left: 8px;
  color: var(--copper);
}

.location-copy small {
  max-width: 350px;
  margin-top: 24px;
  display: block;
  color: var(--sage);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.map-frame {
  min-height: 480px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.map-frame iframe {
  width: 100%;
  height: 460px;
  display: block;
  border: 0;
}

.contact-prep li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-prep li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.error-section {
  min-height: 720px;
  padding: clamp(100px, 13vw, 180px) var(--side);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 20%, rgba(212, 228, 154, 0.13), transparent 32rem),
    var(--ink);
}

.error-section .eyebrow { color: var(--accent); }

.error-section h1 {
  margin: 25px 0;
  font-size: clamp(3.625rem, 9vw, 7.5rem);
}

.error-section > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--sage-light);
  font-size: 1.0625rem;
}

.error-section .button {
  margin-top: 28px;
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

.error-page {
  min-height: 100vh;
  padding: var(--side);
  display: grid;
  place-items: center;
  color: var(--paper);
  background:
    radial-gradient(circle at 75% 20%, rgba(212, 228, 154, 0.13), transparent 32rem),
    var(--ink);
}

.error-card {
  width: min(760px, 100%);
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid rgba(243, 239, 230, 0.18);
}

.error-code {
  margin: clamp(70px, 12vw, 130px) 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.error-card h1 {
  margin: 0 0 24px;
  font-size: clamp(2.875rem, 8vw, 5.375rem);
}

.error-card > p:not(.error-code) {
  max-width: 560px;
  color: var(--sage-light);
  font-size: 1.0625rem;
}

.error-card .button {
  margin-top: 28px;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.error-card .button:hover {
  color: var(--paper);
  background: transparent;
}

.home-wrap {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-right: var(--side);
  padding-left: var(--side);
}

.home-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--paper);
}

.home-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 239, 230, 0.99) 0%, rgba(243, 239, 230, 0.94) 34%, rgba(243, 239, 230, 0.22) 68%);
  content: "";
  pointer-events: none;
}

.home-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  display: block;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-hero .home-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.home-hero-copy {
  width: min(610px, 54%);
  padding: 90px 0;
}

.home-hero h1 {
  margin: 18px 0 26px;
  font-size: var(--type-home-display);
  letter-spacing: -0.04em;
  line-height: 1.01;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.85;
}

.home-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-pill {
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  transition: color 180ms ease, background 180ms ease;
}

.home-pill:hover {
  color: var(--paper);
  background: var(--ink);
}

.home-image-note {
  position: absolute;
  right: var(--side);
  bottom: 22px;
  max-width: calc(100% - (2 * var(--side)));
  margin: 0;
  padding: 7px 10px;
  color: var(--paper);
  background: rgba(23, 33, 29, 0.78);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.home-services,
.home-flow,
.home-cta {
  padding: clamp(78px, 9vw, 118px) 0;
}

.home-services { background: var(--paper); }

.home-section-head {
  margin-bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.home-section-head h2 {
  margin: 10px 0 0;
  font-size: var(--type-section-title);
}

.home-cta h2 {
  margin: 10px 0 0;
  font-size: var(--type-statement-title);
}

.home-section-head > p {
  max-width: 490px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-card {
  min-height: 280px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--sage);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 22px 55px rgba(23, 33, 29, 0.06);
}

.home-card b {
  color: var(--copper);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.home-card h3 {
  margin: 30px 0 12px;
  font-family: var(--display);
  font-size: var(--type-card-title);
  font-weight: 500;
}

.home-card p {
  margin: 0 0 26px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.home-card a {
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: var(--sage);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.home-flow {
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 10%, rgba(212, 228, 154, 0.1), transparent 30rem),
    var(--ink);
}

.home-flow .eyebrow { color: var(--accent); }
.home-flow .home-section-head > p { color: var(--sage-light); }

.home-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
}

.home-steps li {
  min-height: 235px;
  padding-top: 25px;
  border-top: 1px solid rgba(243, 239, 230, 0.24);
}

.home-steps h3 {
  margin: 22px 0 9px;
  font-family: var(--display);
  font-size: var(--type-small-title);
  font-weight: 500;
}

.home-steps p {
  margin: 0;
  color: var(--sage-light);
  font-size: 0.875rem;
  line-height: 1.7;
}

.home-flow-link {
  min-height: 44px;
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  border-bottom: 1px solid rgba(243, 239, 230, 0.5);
  text-decoration: none;
}

.home-proof {
  padding: 66px 0;
  background: #dfe6e1;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-proof-grid article {
  min-height: 150px;
  padding: 18px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(23, 33, 29, 0.18);
}

.home-proof-grid article:first-child { padding-left: 0; }
.home-proof-grid article:last-child { border-right: 0; }

.home-proof-grid span {
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-proof-grid strong,
.home-proof-grid h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.5vw, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-proof-grid p {
  max-width: 18rem;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.home-cta { background: rgba(255, 253, 248, 0.88); }

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.home-cta h2 { margin-bottom: 17px; }

.home-cta-inner > div > p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 1200px) {
  .heading-phrase {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 940px) {
  .home-hero-copy { width: min(620px, 68%); }
  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .home-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }
  .home-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 680px; }
  .hero-art { min-height: min(100vw, 720px); }
  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-nav { display: none; }
  .mobile-nav { display: block; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card:nth-child(2) { border-right: 0; }
  .capability-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li { border-bottom: 1px solid rgba(243, 239, 230, 0.14); }
  .quality-section,
  .contact-section { grid-template-columns: 1fr; }

  .page-hero {
    min-height: 420px;
    grid-template-columns: 1fr;
  }

  .timeline-section li {
    grid-template-columns: 55px minmax(200px, 0.75fr) minmax(0, 1fr);
    gap: clamp(20px, 3.5vw, 34px);
  }

  .timeline-section li > p { min-width: 0; }

  .quality-gates .value-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-gates .value-grid article:nth-child(2) { border-right: 0; }
  .quality-gates .value-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .service-list article {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .service-detail { grid-column: 1; }

  .home-contact,
  .prepare-section,
  .contact-prep,
  .contact-page,
  .location-section { grid-template-columns: minmax(0, 1fr); }

  .site-footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-meta { width: 100%; }
}

@media (max-width: 820px) {
  .home-card-grid,
  .home-proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-proof-grid article,
  .home-proof-grid article:first-child {
    min-height: 150px;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 33, 29, 0.18);
  }

  .home-proof-grid article:last-child { border-bottom: 0; }
}

@media (max-width: 660px) {
  .heading-phrase {
    display: block;
    white-space: normal;
    text-wrap: balance;
  }

  .heading-phrase + wbr { display: none; }

  .home-hero {
    min-height: 620px;
  }

  .home-hero::after {
    background: linear-gradient(90deg, rgba(243, 239, 230, 0.99) 0%, rgba(243, 239, 230, 0.95) 54%, rgba(243, 239, 230, 0.68) 100%);
  }

  .home-hero-copy {
    width: 100%;
    padding: 76px 0 112px;
  }

  .home-hero h1 { font-size: var(--type-home-display); }

  .home-hero-copy > p:not(.eyebrow) {
    max-width: 410px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-actions .button,
  .home-pill { width: 100%; }

  .home-image-note {
    right: var(--side);
    bottom: 18px;
  }

  .home-card-grid,
  .home-steps,
  .home-proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-card { min-height: 255px; }
  .home-steps li { min-height: 205px; }

  .home-proof-grid article,
  .home-proof-grid article:first-child {
    min-height: 150px;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 33, 29, 0.18);
  }

  .home-proof-grid article:last-child { border-bottom: 0; }

  .site-header { min-height: 78px; }
  .brand-name { font-size: 0.875rem; }

  .hero-copy {
    min-height: 610px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  h1 { font-size: var(--type-page-title); }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-art {
    min-height: 100vw;
    padding: 26px;
  }

  .hero-art::before { inset: 14px; }

  .art-label {
    top: 29px;
    left: 30px;
  }

  .art-caption {
    right: 30px;
    bottom: 28px;
  }

  .ticker-track {
    justify-content: flex-start;
    gap: 22px;
  }

  .ticker-track span:nth-of-type(3),
  .ticker-track i:nth-of-type(3) {
    display: none;
  }

  .fact-grid,
  .capability-grid,
  .process-grid,
  .value-grid,
  .quality-gates .value-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid div,
  .capability-card,
  .capability-card:nth-child(2),
  .process-grid li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-card { min-height: 285px; }
  .process-grid h3 { margin-top: 50px; }

  .contact-card {
    margin-left: calc(var(--side) * -0.25);
    margin-right: calc(var(--side) * -0.25);
    padding: 30px 24px;
  }

  .contact-card dl div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-card dd a { align-items: flex-start; }
  .contact-card dd { margin-top: 4px; }

  .map-frame {
    min-height: 380px;
    margin-right: calc(var(--side) * -0.35);
    margin-left: calc(var(--side) * -0.35);
    padding: 6px;
  }

  .map-frame iframe { height: 366px; }

  .page-hero {
    min-height: 460px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-hero h1 { font-size: var(--type-page-title); }

  .value-grid article,
  .quality-gates .value-grid article,
  .quality-gates .value-grid article:nth-child(2) {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-detail { grid-column: 1; }

  .timeline-section li {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 16px;
  }

  .timeline-section li > p { grid-column: 2; }

  .footer-nav { justify-content: flex-start; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
    gap: 8px;
  }

  .brand { gap: 8px; }

  .brand-mark {
    width: 2.125rem;
    height: 2.125rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
