:root {
  --navy: #0f2747;
  --navy-2: #163a66;
  --ink: #13233b;
  --sky: #4ba3f0;
  --sky-soft: #e7f1fb;
  --red: #cf3727;
  --red-d: #c23224;
  --paper: #fbfcfe;
  --line: #dbe4ef;
  --muted: #55657c;
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --display: "Avenir Next", "Futura", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
:focus-visible { outline: 3px solid #247abf; outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fdfefe; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { text-decoration: none; color: var(--navy); display: grid; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.65rem; letter-spacing: -.02em; }
.brand-legal { font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-2); }
.brand-place { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.2rem; }
.site-nav a { text-decoration: none; color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.site-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 1px solid var(--line); color: var(--navy); border-radius: 8px; padding: .5rem .8rem; font: 700 .8rem var(--font); cursor: pointer; }

/* hero */
.hero { position: relative; min-height: min(620px, 82vh); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,32,60,.96) 0%, rgba(12,32,60,.85) 38%, rgba(12,32,60,.15) 75%); }
.hero-copy { position: relative; padding-block: 5rem; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--sky); margin: 0 0 1rem; }
.eyebrow.center { text-align: center; color: var(--navy-2); }
.hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.02; margin: 0 0 1.2rem; font-weight: 800; letter-spacing: -.02em; max-width: 12ch; }
.hero h1 span, .feature h2 span { display: block; color: var(--sky); }
.lede { font-size: 1.1rem; max-width: 34ch; color: #dbe7f5; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-note { font-size: .8rem; color: #dbe7f5; margin: .9rem 0 0; }
.feature p.cta-note { font-size: .8rem; margin: .9rem 0 0; }
.btn { display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px; padding: .9rem 1.5rem; font: 700 .8rem var(--font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .2s, background-color .2s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { background: transparent; border-color: var(--line); color: var(--navy); }
.tag { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; font-size: .68rem; letter-spacing: .04em; background: rgba(12,32,60,.78); color: #fff; padding: .25rem .55rem; border-radius: 4px; }
.tag-inline { position: static; display: inline-block; margin-top: 1rem; background: var(--sky-soft); color: var(--navy); }

/* services */
.services { padding: 5rem 0 5.5rem; background: linear-gradient(#fbfcfe, #f1f6fb); }
.section-title { font-family: var(--display); text-align: center; color: var(--navy); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 0 0 3rem; font-weight: 800; }
.section-title span { display: block; font-weight: 400; color: var(--navy-2); }
.section-title::before { content: ""; display: block; width: 44px; height: 3px; background: var(--red); margin: 0 auto 1.2rem; }
.cards-figure { text-align: center; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; text-align: center; }
.card { background: #fdfefe; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding-bottom: 1.6rem; box-shadow: 0 10px 24px -18px rgba(15,39,71,.45); transition: transform .25s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.badge { width: 54px; height: 54px; margin: -27px auto .8rem; position: relative; display: grid; place-items: center; background: var(--navy-2); color: #fff; border-radius: 50%; border: 4px solid #fdfefe; }
.badge svg { width: 24px; height: 24px; }
.card h3 { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 0 1rem .5rem; }
.card p { margin: 0 1.2rem; color: var(--muted); font-size: .92rem; }

/* feature */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--navy); color: #fff; min-height: 440px; }
.feature-copy { padding: 4.5rem max(1.25rem, calc((100vw - 1160px) / 2)); padding-right: 3rem; align-self: center; }
.feature h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; margin: 0 0 1.2rem; font-weight: 800; }
.feature p:not(.eyebrow) { color: #d3e0f0; max-width: 44ch; margin: 0 0 2rem; }
.feature-media { position: relative; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

/* strip */
.strip { background: #fdfefe; border-bottom: 1px solid var(--line); }
.strip-list { list-style: none; margin: 0 auto; padding: 1.8rem 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-list li { display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.strip-list li + li { border-left: 1px solid var(--line); }
.strip-list svg { width: 36px; height: 36px; color: var(--navy-2); flex: none; }

/* footer */
.site-footer { background: var(--navy); color: #c9d7e8; font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner p:first-child { color: #fff; font-weight: 600; }

/* dialog */
.inquiry { border: none; border-radius: 12px; padding: 0; width: min(460px, 100% - 2rem); color: var(--ink); background: #fdfefe; box-shadow: 0 30px 60px -20px rgba(15,39,71,.5); }
.inquiry::backdrop { background: rgba(12,32,60,.6); }
.inquiry form { padding: 1.6rem; display: grid; gap: .5rem; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-head h2 { margin: 0; font-size: 1.3rem; color: var(--navy); }
.close { background: none; border: none; color: var(--navy); cursor: pointer; padding: .4rem; border-radius: 6px; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.local-note { margin: 0 0 .6rem; padding: .6rem .8rem; background: var(--sky-soft); border-left: 3px solid var(--red); font-size: .85rem; }
.inquiry label { font-weight: 700; font-size: .85rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
.inquiry select, .inquiry textarea { font: inherit; padding: .65rem .75rem; border: 1px solid #b8c7da; border-radius: 8px; background: #fdfefe; color: var(--ink); width: 100%; }
.dialog-actions { display: flex; gap: .6rem; margin-top: .6rem; flex-wrap: wrap; }
.result { display: block; margin-top: .6rem; padding: .7rem .8rem; border-radius: 8px; background: #eef6ee; border: 1px solid #b7d5ba; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.result[hidden] { display: none; }

/* responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-media { clip-path: none; min-height: 280px; }
  .feature-copy { padding: 3.5rem 1.25rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fdfefe; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .site-nav a { display: block; padding: .85rem 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(12,32,60,.55), rgba(12,32,60,.95) 70%); }
  .hero { align-items: flex-end; min-height: 560px; }
  .cards, .strip-list { grid-template-columns: 1fr; }
  .strip-list li { justify-content: flex-start; padding: .8rem 0; }
  .strip-list li + li { border-left: none; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
