:root {
  --bg: oklch(0.9834 0.0042 236.50);
  --surface: oklch(1 0 0);
  --fg: oklch(0.2805 0.0824 253.21);
  --muted: oklch(0.5115 0.0274 250.31);
  --border: oklch(0.9050 0.0136 240.97);
  --accent: oklch(0.5725 0.1641 250.70);
  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --fg-soft: color-mix(in oklch, var(--fg) 6%, transparent);
  --font-display: 'Iowan Old Style', 'Charter', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --fs-h1: clamp(46px, 7vw, 88px);
  --fs-h2: clamp(34px, 4.5vw, 56px);
  --fs-h3: 22px;
  --fs-lead: clamp(18px, 2vw, 21px);
  --fs-body: 16px;
  --fs-meta: 12px;
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;
  --container: 1180px;
  --gutter: 32px;
  --radius: 8px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--font-display); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--fg);
  color: var(--surface);
  border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, var(--gap-2xl)); }
.section + .section { border-top: 1px solid var(--border); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-md); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }

.h1, h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.035em; }
.h2, h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.025em; }
.h3, h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
.lead { max-width: 57ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; }
.eyebrow, .section-kicker, .meta {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: var(--gap-md); color: color-mix(in oklch, var(--accent) 84%, var(--fg)); }
.section-kicker { margin-bottom: var(--gap-md); color: var(--muted); }
.meta { color: var(--muted); }
.small { color: var(--muted); font-size: 14px; }

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.topnav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-lg); }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: 150px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { position: relative; padding-block: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a[aria-current='page'] { color: var(--fg); }
.desktop-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--fg);
}
.nav-contact { border: 1px solid var(--border); border-radius: var(--radius); padding-inline: 14px !important; }
.nav-contact:hover { border-color: var(--fg); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
}
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); }
.mobile-nav a { display: block; min-height: 48px; padding: 12px var(--gutter); color: var(--muted); }
.mobile-nav a:hover, .mobile-nav a[aria-current='page'] { background: var(--fg-soft); color: var(--fg); }
.mobile-nav[data-open='true'] { display: block; }

.hero { position: relative; padding-block: clamp(72px, 11vw, 144px); overflow: hidden; }
.hero::after {
  content: '';
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 12%;
  width: clamp(100px, 16vw, 220px);
  aspect-ratio: 1;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(-12deg);
  pointer-events: none;
}
.hero-center { max-width: 880px; text-align: center; }
.hero-center .lead { margin: 24px auto 0; }
.hero-center .hero-cta { justify-content: center; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: clamp(44px, 8vw, 112px); align-items: center; }
.hero-copy .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--gap-sm); margin-top: var(--gap-lg); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; color: var(--muted); font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ''; width: 16px; height: 1px; background: var(--fg); }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: var(--radius-lg); }
.image-caption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.image-caption a { text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  line-height: 1.2;
  transition: transform .15s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: color-mix(in oklch, var(--accent) 84%, var(--fg)); border-color: color-mix(in oklch, var(--accent) 84%, var(--fg)); color: var(--surface); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 74%, var(--fg)); border-color: color-mix(in oklch, var(--accent) 74%, var(--fg)); color: var(--surface); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-secondary:hover { background: var(--surface); border-color: var(--fg); color: var(--fg); }
.btn-ghost { padding-inline: 8px; background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--fg-soft); color: var(--fg); }
.btn-arrow::after { content: '→'; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

:focus-visible { outline: 3px solid color-mix(in oklch, var(--accent) 58%, var(--surface)); outline-offset: 3px; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; }
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg); }
.branch-card {
  display: grid;
  grid-template-columns: minmax(150px, .85fr) minmax(0, 1.15fr);
  min-height: 360px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.branch-card:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--fg) 32%, var(--border)); box-shadow: 0 20px 45px color-mix(in oklch, var(--fg) 10%, transparent); }
.branch-card img { width: 100%; height: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: var(--fg-soft); }
.branch-body { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(24px, 4vw, 40px); }
.branch-body p { margin-top: 12px; color: var(--muted); }
.branch-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.branch-link span { transition: transform .18s ease; }
.branch-card:hover .branch-link span { transform: translateX(4px); }

.feature { padding-top: 24px; border-top: 1px solid var(--fg); }
.feature-mark { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 50%; color: var(--fg); }
.feature-mark svg { width: 17px; height: 17px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.quote-section { background: var(--fg); color: var(--surface); }
.quote-wrap { max-width: 820px; }
.quote-label { margin-bottom: 24px; color: color-mix(in oklch, var(--surface) 66%, transparent); }
.quote { font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); line-height: 1.22; letter-spacing: -.02em; }
.quote-author { margin-top: 24px; color: color-mix(in oklch, var(--surface) 68%, transparent); font-size: 14px; }

.service-list { border-top: 1px solid var(--border); }
.service-row { display: grid; grid-template-columns: 64px minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--border); align-items: baseline; }
.service-row .num { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
.service-row p { color: var(--muted); }

.process-grid { counter-reset: step; }
.process-card { position: relative; padding: 28px 0 0; border-top: 1px solid var(--fg); }
.process-card::before { counter-increment: step; content: '0' counter(step); display: block; margin-bottom: 48px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.process-card p { margin-top: 8px; color: var(--muted); }

.carousel-shell { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.carousel-slide { min-width: 100%; display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); align-items: stretch; background: var(--surface); }
.carousel-slide img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; background: var(--fg-soft); }
.carousel-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 7vw, 88px); }
.carousel-copy p { margin-top: 16px; color: var(--muted); }
.carousel-copy .meta { margin-top: 28px; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.carousel-buttons { display: flex; gap: 8px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--fg); }
.icon-btn:hover { background: var(--fg); border-color: var(--fg); color: var(--surface); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: var(--border); }
.carousel-dot[aria-current='true'] { background: var(--accent); }

.material-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.material-card p { margin-top: 10px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 9vw, 120px); align-items: start; }
.contact-list { margin-top: 36px; border-top: 1px solid var(--border); }
.contact-item { padding-block: 20px; border-bottom: 1px solid var(--border); }
.contact-item .meta { display: block; margin-bottom: 6px; }
.contact-value { font-family: var(--font-display); font-size: 23px; }
.contact-form { padding: clamp(28px, 5vw, 52px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field + .field { margin-top: 18px; }
.field label { font-weight: 650; font-size: 14px; }
.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
}
.textarea { min-height: 132px; resize: vertical; }
.input:hover, .textarea:hover, .select:hover { border-color: color-mix(in oklch, var(--fg) 35%, var(--border)); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row .field + .field { margin-top: 0; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-note { max-width: 34ch; color: var(--muted); font-size: 12px; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--fg); font-size: 14px; font-weight: 650; }

.cta-strip { text-align: center; }
.cta-strip .container { max-width: 680px; }
.cta-strip .lead { margin: 16px auto 30px; }

.pagefoot { padding-block: 44px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: var(--gap-xl); align-items: start; }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { max-width: 38ch; margin-top: 16px; }
.footer-links strong { display: block; margin-bottom: 10px; color: var(--fg); font-size: 13px; }
.footer-links a { display: block; padding-block: 4px; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }

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

@media (max-width: 920px) {
  :root { --gutter: 22px; }
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2, .hero-split, .contact-grid, .carousel-slide { grid-template-columns: 1fr; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero::after { display: none; }
  .hero-visual { max-width: 520px; }
  .hero-visual img { max-height: 70vh; width: auto; margin-inline: auto; }
  .branch-grid { grid-template-columns: 1fr; }
  .branch-card { min-height: 320px; }
  .carousel-slide img { width: auto; max-height: 68vh; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .topnav-inner { min-height: 70px; }
  .brand img { width: 128px; }
  .hero { padding-block: 64px 72px; }
  .hero-cta { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .branch-card { grid-template-columns: minmax(118px, .75fr) minmax(0, 1.25fr); min-height: 300px; }
  .branch-body { padding: 22px; }
  .service-row { grid-template-columns: 42px 1fr; gap: 16px; }
  .service-row p { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field + .field { margin-top: 18px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .branch-card { grid-template-columns: 1fr; }
  .branch-card img { max-height: 420px; object-fit: contain; background: var(--fg-soft); }
}
