/* CountWorks — editorial corporate landing page
   Brand hue extracted from countworks.us (#0170B9) deepened into a petrol-blue system */

:root {
  --petrol: #0e4c5c;
  --petrol-deep: #093a48;
  --petrol-ink: #072e3a;
  --petrol-accent: #2c8c9e;
  --ink: #1e2226;
  --body: #52585c;
  --offwhite: #f6f3ec;
  --offwhite-2: #f0ece2;
  --white: #ffffff;
  --line: #e3ddd0;
  --near-black: #10181c;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 60px -28px rgba(9, 33, 41, 0.28);
  --shadow-card: 0 10px 28px -16px rgba(9, 33, 41, 0.16);
  --r-lg: 32px;
  --r-md: 18px;
  --r-sm: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

strong, b { font-weight: 600; }
p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

section { position: relative; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 16px; height: 1.5px;
  background: var(--petrol);
  flex-shrink: 0;
  margin-top: 7px;
}
.eyebrow.on-petrol { color: #bfe0e6; }
.eyebrow.on-petrol::before { background: #bfe0e6; }
.eyebrow.on-dark { color: #9fb4bb; }
.eyebrow.on-dark::before { background: #9fb4bb; }

em.accent { font-style: normal; color: var(--petrol); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--petrol); color: var(--white); border-color: var(--petrol); }
.btn-primary:hover { background: var(--petrol-deep); border-color: var(--petrol-deep); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

.btn-outline.on-petrol { color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline.on-petrol:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--petrol);
  border-bottom: 1.5px solid var(--petrol); padding-bottom: 2px;
}

.btn-arrow { transition: transform 0.18s var(--ease); }
.btn:hover .btn-arrow, .btn-ghost:hover .btn-arrow { transform: translateX(3px); }

.circle-cta {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--petrol);
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.circle-cta:hover { background: var(--petrol); color: var(--white); border-color: var(--petrol); }

/* Header */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--body);
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--petrol); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; width: 48px; height: 48px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative;
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform 0.2s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero — large rounded container */

.hero-wrap { padding: 128px 24px 0; }

.hero {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 76px 64px;
  border: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin-bottom: 22px;
}

.hero-copy .lead {
  font-size: 17px;
  color: var(--body);
  max-width: 420px;
  margin-bottom: 34px;
}

.hero-visual {
  position: relative;
  height: 460px;
}

.collage-img {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.collage-img img { width: 100%; height: 100%; object-fit: cover; }

.collage-main { width: 62%; height: 92%; top: 0; left: 0; z-index: 2; }
.collage-second { width: 42%; height: 52%; bottom: 0; right: 0; z-index: 3; }
.collage-third { width: 26%; height: 40%; top: 6%; right: 4%; z-index: 1; }

.float-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--petrol);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.float-label .ic { font-size: 13px; }
.float-label.lbl-1 { top: 10%; left: -6%; }
.float-label.lbl-2 { bottom: 6%; left: 34%; }

/* Value proposition — editorial, not cards */

.value-section { padding: 130px 0 100px; }

.value-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.value-heading h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 24px; }

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

.value-col {
  padding: 0 28px;
  border-left: 1px solid var(--line);
}
.value-col:first-child { border-left: none; padding-left: 0; }

.value-col .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--petrol);
  margin-bottom: 14px;
}
.value-col h3 { font-size: 18px; margin-bottom: 10px; }
.value-col p { font-size: 14.5px; }

/* Problem — asymmetrical */

.problem-section { padding: 100px 0; }

.problem-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.problem-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 28px; }

.problem-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.problem-list li { display: flex; gap: 16px; }
.problem-list .idx {
  font-size: 13px; font-weight: 700; color: var(--petrol);
  flex-shrink: 0; width: 26px;
}
.problem-list p { font-size: 15px; color: var(--body); }

.problem-visual { position: relative; height: 420px; }
.problem-big { width: 72%; height: 100%; top: 0; left: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); position: absolute; z-index: 1; }
.problem-big img { width: 100%; height: 100%; object-fit: cover; }
.problem-small { width: 38%; height: 46%; bottom: -8%; right: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); position: absolute; z-index: 2; border: 4px solid var(--offwhite); }
.problem-small img { width: 100%; height: 100%; object-fit: cover; }
.problem-badge {
  position: absolute; z-index: 3; top: 8%; left: 8%;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--petrol); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow-card);
}

/* Services — documentation-style cards */

.services-section { padding: 110px 24px; }
.services-inner {
  max-width: 1280px; margin: 0 auto;
  background: var(--offwhite-2);
  border-radius: var(--r-lg);
  padding: 76px 64px;
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { font-size: 16px; margin-top: 14px; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
}

.service-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--petrol);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 22px;
}

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14px; margin-bottom: 18px; }

.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-card li {
  font-size: 13px; color: var(--ink); font-weight: 500;
  display: flex; align-items: flex-start; gap: 8px;
}
.service-card li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--petrol); margin-top: 7px; flex-shrink: 0;
}

/* How we work — split editorial */

.work-split { padding: 110px 0; }
.work-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.work-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow-soft); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; }
.work-copy h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 20px; }
.work-copy p { font-size: 16px; margin-bottom: 16px; max-width: 480px; }

/* Authority — full-width petrol banner */

.authority-section { padding: 24px; }
.authority-inner {
  max-width: 1280px; margin: 0 auto;
  background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-deep) 100%);
  border-radius: var(--r-lg);
  padding: 80px 64px;
  color: var(--white);
  overflow: hidden;
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.authority-visual { position: relative; height: 380px; }
.auth-img { position: absolute; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4); }
.auth-img img { width: 100%; height: 100%; object-fit: cover; }
.auth-1 { width: 58%; height: 100%; top: 0; left: 0; z-index: 2; }
.auth-2 { width: 40%; height: 54%; bottom: -32px; right: 4%; z-index: 3; border: 4px solid var(--petrol); }
.auth-3 { width: 30%; height: 40%; top: 0; right: 0; z-index: 1; }

.authority-copy h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.authority-copy p { color: #cfe2e6; font-size: 16px; margin-bottom: 28px; max-width: 460px; }

.trust-badge {
  display: block;
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em; text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 20px;
  margin-top: 28px;
  line-height: 1.7;
}

/* Risk / urgency */

.risk-section { padding: 110px 0; }
.risk-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.risk-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.risk-copy p { font-size: 16px; margin-bottom: 28px; max-width: 420px; }

.risk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.risk-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4.4;
  box-shadow: var(--shadow-card);
}
.risk-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.risk-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,33,41,0) 30%, rgba(9,33,41,0.94) 100%);
}
.risk-card .risk-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px;
}
.risk-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); color: var(--petrol);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.risk-icon svg { width: 16px; height: 16px; }
.risk-card p { color: var(--white); font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* Differentiator panel (replaces "funds" section for CountWorks) */

.diff-section { padding: 110px 0; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.diff-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.diff-copy p { font-size: 16px; margin-bottom: 28px; max-width: 440px; }

.diff-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 40px;
}
.diff-item {
  display: flex; gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.diff-item:last-child { border-bottom: none; }
.diff-item .num { font-size: 14px; font-weight: 700; color: var(--petrol); flex-shrink: 0; width: 28px; }
.diff-item h3 { font-size: 16px; margin-bottom: 6px; }
.diff-item p { font-size: 14px; }

/* Dark emphasis section */

.emphasis-section { padding: 24px; }
.emphasis-inner {
  max-width: 1280px; margin: 0 auto;
  background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-deep) 100%);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.emphasis-photo { position: relative; height: 100%; align-self: end; }
.emphasis-photo img {
  position: absolute; bottom: 0; left: -40px;
  width: calc(100% + 40px);
  max-width: 460px;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  height: 92%;
}
.emphasis-copy { padding: 76px 64px 76px 24px; color: var(--white); }
.emphasis-copy h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 20px; }
.emphasis-copy p { color: #cfe2e6; font-size: 16px; margin-bottom: 30px; max-width: 420px; }

/* Contact / appointment */

.contact-section { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.contact-info p { font-size: 16px; margin-bottom: 28px; max-width: 380px; }

.contact-detail {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 14px;
}
.contact-detail .ic {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--offwhite-2); color: var(--petrol);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--body); }

.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 14px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px;
  background: var(--white); color: var(--ink); width: 100%;
  transition: border-color 0.15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); }
.field textarea { resize: vertical; min-height: 84px; }

.check-group { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 4px; }
.check-option {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  cursor: pointer;
}
.check-option input {
  width: 16px; height: 16px;
  accent-color: var(--petrol);
  flex-shrink: 0;
  cursor: pointer;
}

.form-note { font-size: 12px; color: var(--body); margin-top: 14px; }

.form-success {
  display: none; align-items: center; gap: 12px;
  background: rgba(14, 76, 92, 0.08);
  border: 1px solid rgba(14, 76, 92, 0.25);
  color: var(--petrol);
  font-size: 14px; font-weight: 600;
  padding: 14px 16px; border-radius: 8px; margin-top: 16px;
}
.form-success.is-visible { display: flex; }

/* Footer — minimal institutional */

.site-footer { padding: 60px 24px 40px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-brand img { height: 26px; }
.footer-col p { font-size: 13.5px; margin-bottom: 8px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--body); margin-bottom: 16px; font-weight: 600; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 14px; color: var(--body); transition: color 0.15s var(--ease); }
.footer-nav a:hover { color: var(--petrol); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--body);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.footer-social a:hover { border-color: var(--petrol); color: var(--petrol); }

.footer-divider { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--line); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--body);
}
.footer-bottom a { color: var(--body); }
.footer-bottom a:hover { color: var(--petrol); }

/* Final CTA — near-black */

.final-cta {
  background: var(--near-black);
  padding: 120px 24px;
  text-align: center;
}
.final-cta .eyebrow { justify-content: center; color: #8fa3a9; }
.final-cta .eyebrow::before { background: #8fa3a9; }
.final-cta h2 { color: var(--white); font-size: clamp(34px, 5vw, 56px); margin-bottom: 36px; }
.final-cta .btn-primary { background: var(--petrol-accent); border-color: var(--petrol-accent); }
.final-cta .btn-primary:hover { background: var(--petrol); border-color: var(--petrol); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--petrol);
  outline-offset: 2px;
}

/* Fade-up reveal */
/* Content is visible by default so it never depends on JS running.
   JS opts sections into the pre-reveal (hidden) state only right before observing them. */
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); }
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero { padding: 56px 40px; }
  .value-grid, .problem-grid, .work-split-grid, .authority-grid, .risk-grid, .diff-grid { grid-template-columns: 1fr; }
  .problem-visual, .authority-visual { margin-top: 24px; }
  .emphasis-inner { grid-template-columns: 1fr; align-items: stretch; min-height: 0; }
  .emphasis-photo { display: none; }
  .emphasis-copy { padding: 64px 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-inner { padding: 56px 40px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: 100%; height: 380px; max-width: 420px; margin: 0 auto 8px; }
  .value-cols { grid-template-columns: 1fr; gap: 24px; }
  .value-col { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .value-col:first-child { border-top: none; padding-top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .risk-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }

  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 84px; left: 0; right: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--line);
    padding: 24px 32px 32px; gap: 20px;
  }
  .nav-links.is-open a { font-size: 16px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero-wrap { padding: 108px 16px 0; }
  .hero { padding: 44px 24px; border-radius: 20px; }
  .value-section, .problem-section, .work-split, .risk-section, .diff-section, .contact-section { padding: 72px 0; }
  .services-section, .authority-section, .emphasis-section { padding: 16px; }
  .services-inner, .authority-inner { padding: 44px 24px; border-radius: 20px; }
  .emphasis-inner { border-radius: 20px; }
  .emphasis-copy { padding: 48px 24px; }
  .final-cta { padding: 80px 20px; }

  .problem-visual { height: 320px; }
  .risk-cards { grid-template-columns: 1fr 1fr; }
  .risk-card { aspect-ratio: 3/3.6; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-label { font-size: 11px; padding: 8px 12px; }
  .diff-panel { padding: 8px 24px; }
  .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 32px; }
  .risk-cards { grid-template-columns: 1fr; }
  .collage-second, .collage-third { display: none; }
  .collage-main { width: 100%; height: 100%; }
}
