:root {
  --navy: #1b3a6b;
  --navy-deep: #122747;
  --steel: #7d93c2;
  --steel-soft: #a9bade;
  --mist: #eef2f9;
  --paper: #ffffff;
  --ink: #232a35;
  --ink-soft: #55607a;
  --line: #dce3f0;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shell-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }

em {
  font-style: italic;
  color: var(--navy);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--navy); }

.shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  min-width: 0;
}
.brand-textonly .brand-name {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}
.brand-logo {
  height: 136px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--navy-deep);
  line-height: 1.1;
}
.brand-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--steel);
  line-height: 1.25;
  white-space: normal;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
}

.primary-nav a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background: var(--mist);
}

.hero-arc {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1.5px solid var(--steel-soft);
  opacity: 0.6;
}
.hero-arc::before {
  content: "";
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  border: 1px solid var(--steel-soft);
  opacity: 0.6;
}

.hero-inner { position: relative; max-width: 760px; }

.hero-brand {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
}
.hero-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 14px 32px rgba(18, 39, 71, 0.14);
  border: 1px solid rgba(27, 58, 107, 0.07);
}
.hero-logo {
  height: 148px;
  width: auto;
  display: block;
}
.hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--navy-deep);
  line-height: 1.05;
}
.hero-brand-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--navy);
  line-height: 1.2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel);
  margin: 0 0 14px;
}

.hero-lede { font-size: 1.1rem; max-width: 600px; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--mist); }
.section-intro { max-width: 680px; font-size: 1.04rem; }
.section-note { font-size: 0.92rem; color: var(--ink-soft); }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--steel);
  margin-bottom: 14px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.service-card p { margin: 0; font-size: 0.94rem; }

.service-note {
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--mist);
  border-left: 3px solid var(--steel);
  border-radius: 6px;
  font-size: 0.92rem;
}

/* Area list */
.area-list {
  list-style: none;
  margin: 28px 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.area-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-deep);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-card {
  background: var(--mist);
  border-radius: 14px;
  padding: 28px;
}
.about-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel);
}

/* Contact */
.section-contact { background: var(--navy-deep); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-intro .eyebrow { color: var(--steel-soft); }
.contact-intro h2 { color: #fff; }
.contact-intro p { color: #c7d2e8; }
.contact-direct {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-direct a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.contact-direct a:hover { color: var(--steel-soft); }

.inquiry-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy-deep); }
.form-row input, .form-row textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--steel);
  outline-offset: 1px;
  border-color: var(--steel);
}
.form-submit { margin-top: 4px; }
.form-hint { font-size: 0.9rem; min-height: 1.2em; color: var(--navy); font-weight: 600; margin: 0; }
.form-fallback { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c7d2e8;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { text-align: center; }
.footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(0.92);
}
.footer-fine { font-size: 0.8rem; color: #8ea0c6; margin: 0; }
.footer-inner p { margin: 0 0 6px; }
.footer-legal { font-size: 0.85rem; }
.footer-legal a { color: #c7d2e8; }
.footer-legal a:hover { color: #fff; }

/* Legal pages */
.legal-content { max-width: 720px; }
.legal-content h1 { margin-top: 0; }
.legal-content h3 { margin: 28px 0 8px; font-size: 1.02rem; }
.legal-content p { font-size: 0.97rem; }
.legal-content a { text-decoration: underline; }
.legal-link { margin-top: 32px; font-weight: 600; }

/* Responsive */
@media (max-width: 880px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand-logo { height: 92px; }
  .brand-name { font-size: 1.2rem; }
  .brand-slogan { display: none; }
  .hero-brand { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .hero-logo-frame { padding: 10px 14px; border-radius: 16px; }
  .hero-logo { height: 104px; }
  .hero-brand-name { font-size: 1.7rem; }
  .hero-brand-slogan { font-size: 1rem; }
  .footer-logo { height: 92px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
