:root {
  color-scheme: light;
  --paper: #f6f7f4;
  --white: #fff;
  --ink: #182b36;
  --muted: #4e626b;
  --accent: #0d5c62;
  --accent-light: #dcebea;
  --line: #d8e0df;
  --deep: #142a35;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #edb94e; outline-offset: 4px; box-shadow: 0 0 0 7px var(--ink); }
::selection { background: #c4e3df; color: var(--ink); }
.container { width: min(var(--max-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-150%); background: var(--deep); color: var(--white); border-radius: 3px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; gap: 40px; min-height: 88px; }
.wordmark { flex: 0 0 auto; color: var(--ink); font-size: 1.05rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--accent); }
.header-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; flex: 0 0 auto; min-height: 42px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 3px; color: var(--accent); font-size: .84rem; font-weight: 700; text-decoration: none; }
.header-action:hover { background: var(--accent-light); }
.mobile-action, .menu-toggle { display: none; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: center; gap: clamp(45px, 8vw, 120px); min-height: 610px; padding-block: 88px 76px; }
.hero-content { position: relative; z-index: 1; }
.eyebrow, .section-number { margin: 0; color: var(--accent); font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 13px; }
.eyebrow-rule { display: inline-block; width: 30px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.045em; }
h1 { max-width: 760px; margin: 28px 0 26px; font-size: clamp(3.25rem, 5.4vw, 5.5rem); font-weight: 700; }
h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 590px; margin-bottom: 35px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.26rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 54px; padding: 0 20px; border-radius: 3px; font-size: .95rem; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: #08474c; }
.text-link { color: var(--ink); font-size: .94rem; font-weight: 700; text-underline-offset: 5px; }
.text-link span { margin-left: 8px; }
.hero-graphic { position: relative; width: min(100%, 430px); aspect-ratio: 1 / 1.08; justify-self: end; background: #e8eeeb; border: 1px solid #dbe5e2; overflow: hidden; }
.hero-graphic::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(13, 92, 98, .08) 1px, transparent 1px), linear-gradient(to bottom, rgba(13, 92, 98, .08) 1px, transparent 1px); background-size: 48px 48px; }
.graphic-frame { position: absolute; border: 1px solid rgba(13, 92, 98, .36); }
.graphic-frame-one { inset: 12% 15% 18% 12%; }
.graphic-frame-two { inset: 25% 27% 31% 26%; }
.graphic-frame-three { inset: 38% 39% 43% 40%; background: var(--accent); border-color: var(--accent); }
.graphic-line { position: absolute; height: 1px; background: var(--accent); transform-origin: left center; }
.graphic-line-one { top: 25%; left: 12%; width: 72%; }
.graphic-line-two { top: 69%; left: 26%; width: 62%; }
.graphic-node { position: absolute; width: 9px; height: 9px; background: var(--paper); border: 2px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%); }
.graphic-node-one { top: 25%; left: 12%; }
.graphic-node-two { top: 25%; left: 73%; }
.graphic-node-three { top: 69%; left: 88%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .graphic-frame { transition: transform 260ms ease-out; }
  .hero-graphic:hover .graphic-frame-one { transform: translate(-3px, 3px); }
  .hero-graphic:hover .graphic-frame-two { transform: translate(4px, -4px); }
  .hero-graphic:hover .graphic-frame-three { transform: translate(-2px, 2px); }
}
.hero-footnote { display: flex; justify-content: space-between; gap: 20px; padding-block: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.section { padding-block: clamp(80px, 10vw, 140px); }
.section-heading { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 35px; margin-bottom: 48px; }
.section-heading h2, .about-content h2, .contact-section h2 { max-width: 700px; margin: -8px 0 22px; font-size: clamp(2.4rem, 4.4vw, 4.25rem); font-weight: 690; }
.section-intro { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1.15rem; line-height: 1.7; }
.services-section { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 276px; padding: clamp(28px, 3.5vw, 46px); background: var(--white); }
.card-number { display: block; margin-bottom: 32px; color: var(--accent); font-size: .77rem; font-weight: 750; letter-spacing: .1em; }
.service-card h3 { max-width: 380px; margin-bottom: 14px; font-size: clamp(1.45rem, 2vw, 1.85rem); font-weight: 680; }
.service-card p { max-width: 450px; margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.7; }

.approach-section { background: var(--paper); }
.approach-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.approach-list li { padding: 32px 32px 0 0; }
.approach-list li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; margin-bottom: 36px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: .75rem; font-weight: 750; }
.approach-list h3 { margin-bottom: 13px; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.approach-list p { max-width: 330px; margin-bottom: 0; color: var(--muted); line-height: 1.7; }

.about-section { overflow: hidden; background: #e9efec; }
.about-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) 110px; gap: 35px; align-items: start; }
.about-content p { max-width: 700px; margin-bottom: 0; color: #354d56; font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.75; }
.about-mark { display: flex; flex-direction: column; align-items: end; gap: 14px; padding-top: 4px; }
.about-mark span { display: block; height: 1px; background: var(--accent); }
.about-mark span:nth-child(1) { width: 100%; }
.about-mark span:nth-child(2) { width: 70%; }
.about-mark span:nth-child(3) { width: 40%; }

.contact-section { padding-block: clamp(85px, 11vw, 150px); background: var(--deep); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr); gap: clamp(40px, 6vw, 90px); align-items: end; }
.contact-section .section-number { margin-bottom: 40px; color: #9ed1ce; }
.contact-section h2 { max-width: 730px; margin-bottom: 27px; }
.contact-section p:not(.section-number) { max-width: 580px; margin-bottom: 0; color: #c5d2d4; font-size: 1.08rem; line-height: 1.75; }
.contact-links { display: flex; flex-direction: column; align-items: start; padding-bottom: 7px; }
.contact-label { margin-bottom: 22px; color: #9ed1ce; font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.contact-email { display: flex; align-items: center; gap: 17px; max-width: 100%; padding-bottom: 10px; border-bottom: 1px solid #6a8589; white-space: nowrap; font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 650; text-decoration: none; }
.contact-social { margin-top: 26px; color: #d7e8e5; font-weight: 650; text-underline-offset: 5px; }
.contact-email:hover, .contact-social:hover { color: #9ed1ce; }
.site-footer { background: #0f222b; color: #b9c8ca; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 92px; padding-block: 22px; }
.site-footer p { margin: 0; font-size: .83rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.site-footer a { font-size: .83rem; text-underline-offset: 4px; }

.legal-main { padding-block: clamp(70px, 9vw, 120px) clamp(90px, 10vw, 140px); }
.legal-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.legal-heading { position: sticky; top: 42px; }
.legal-heading h1 { margin: 25px 0 19px; font-size: clamp(3rem, 5vw, 5rem); }
.legal-heading > p:not(.section-number) { max-width: 400px; color: var(--muted); font-size: 1.07rem; line-height: 1.7; }
.legal-heading .legal-date { margin-top: 28px; font-size: .82rem !important; }
.legal-content { border-top: 1px solid var(--line); }
.legal-content section { padding-block: 34px 38px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 16px; font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.legal-content p { margin-bottom: 14px; color: var(--muted); line-height: 1.75; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-content a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .header-inner { gap: 24px; }
  .site-nav ul { gap: 18px; }
  .header-action { display: none; }
  .mobile-action { display: list-item; }
  .hero-grid { gap: 35px; }
  .about-grid { grid-template-columns: 145px minmax(0, 1fr); }
  .about-mark { display: none; }
  .section-heading { grid-template-columns: 145px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 40px, var(--max-width)); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; min-height: 72px; }
  .wordmark { font-size: 1rem; }
  .menu-toggle { display: none; align-items: center; gap: 12px; padding: 8px 0 8px 8px; border: 0; background: none; color: var(--ink); font-size: .85rem; font-weight: 700; cursor: pointer; }
  .js .menu-toggle { display: inline-flex; }
  .menu-toggle-icon { display: flex; flex-direction: column; gap: 5px; width: 19px; }
  .menu-toggle-icon span { display: block; width: 100%; height: 2px; background: currentColor; }
  .site-nav { grid-column: 1 / -1; width: 100%; margin: 0; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { display: block; padding: 0 0 18px; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 12px 0; font-size: .95rem; }
  .site-nav .mobile-action a { color: var(--accent); }
  .hero-grid { display: block; min-height: 0; padding-block: 75px 65px; }
  h1 { max-width: 640px; font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .hero-graphic { display: none; }
  .section-heading, .about-grid { display: block; }
  .section-number { margin-bottom: 31px; }
  .section-heading h2, .about-content h2, .contact-section h2 { margin-top: 0; }
  .service-card { min-height: 0; }
  .approach-list { grid-template-columns: 1fr; }
  .approach-list li, .approach-list li + li { display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step-number { grid-row: 1 / 3; margin: 0; }
  .approach-list h3 { margin: 0 0 8px; }
  .approach-list p { max-width: 550px; }
  .contact-section .section-number { margin-bottom: 31px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .legal-grid { display: block; }
  .legal-heading { position: static; margin-bottom: 55px; }
}

@media (max-width: 520px) {
  .hero-grid { padding-block: 62px 55px; }
  .eyebrow { font-size: .67rem; letter-spacing: .1em; }
  .eyebrow-rule { width: 20px; flex: 0 0 auto; }
  .hero-intro { font-size: 1.04rem; }
  .hero-actions { align-items: start; flex-direction: column; gap: 23px; }
  .hero-footnote { font-size: .66rem; }
  .section { padding-block: 75px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .about-content h2, .contact-section h2 { font-size: clamp(2.2rem, 9vw, 3.1rem); }
  .section-intro { font-size: 1.04rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px; }
  .card-number { margin-bottom: 22px; }
  .contact-section { padding-block: 80px; }
}

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