:root {
    --teal: #0b7f86;
    --teal-dark: #075b62;
    --teal-deep: #064851;
    --ink: #17313a;
    --muted: #5d6b70;
    --line: #dbe5e7;
    --paper: #ffffff;
    --soft: #f4f7f7;
    --radius: 28px;
    --shadow: 0 18px 55px rgba(8, 57, 63, .12);
    --container: 1180px;
    --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
section { scroll-margin-top: calc(var(--header-h) - 1px); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.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; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-h); border-bottom: 1px solid transparent; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .93); border-color: rgba(7, 91, 98, .08); box-shadow: 0 10px 35px rgba(8, 57, 63, .07); backdrop-filter: blur(14px); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 220px; }
.brand__mark { width: 58px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--teal); border-radius: 50%; color: var(--teal); font-family: Georgia, serif; font-size: 42px; font-style: italic; line-height: 1; }
.brand__text { display: grid; line-height: 1.1; text-transform: uppercase; letter-spacing: .22em; }
.brand__text strong { font-size: 11px; font-weight: 600; }
.brand__text span { margin-top: 6px; color: var(--teal); font-size: 20px; letter-spacing: .26em; }

.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-nav > a:not(.button) { position: relative; padding-block: 12px; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--teal); transition: right .25s ease; }
.site-nav > a:not(.button):hover::after { right: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 0 24px; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--teal-dark); box-shadow: 0 12px 30px rgba(11, 127, 134, .18); }
.button--small { min-height: 44px; padding-inline: 20px; }
.button--light { background: #fff; border-color: #fff; color: var(--teal-dark); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: 760px; padding-top: var(--header-h); overflow: hidden; background: linear-gradient(105deg, #fff 0%, #fff 48%, #eef5f5 100%); }
.hero__inner { min-height: calc(760px - var(--header-h)); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.hero__content { position: relative; z-index: 3; padding-block: 70px; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 13px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(58px, 7vw, 104px); font-weight: 300; line-height: .93; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 span { color: var(--teal); }
.hero__lead { max-width: 550px; margin: 34px 0 30px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); }
.hero__media { position: relative; align-self: stretch; display: grid; align-items: end; padding-block: 60px 0; }
.hero__image-placeholder { min-height: 560px; border-radius: 44% 0 0 0; background: linear-gradient(145deg, #dce9e8, #f7f9f9); box-shadow: var(--shadow); display: grid; place-content: center; color: var(--teal-dark); text-align: center; overflow: hidden; }
.hero__image-placeholder span, .about__image-placeholder span { display: block; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.hero__image-placeholder small, .about__image-placeholder small { color: var(--muted); }
.hero__decor { position: absolute; pointer-events: none; }
.hero__decor--left { left: -130px; top: 160px; width: 300px; height: 620px; border: 2px solid rgba(11, 127, 134, .55); border-radius: 50%; transform: rotate(-10deg); }
.hero__decor--right { right: 1.5%; top: 115px; z-index: 2; color: rgba(255, 255, 255, .7); font: italic 300px/1 Georgia, serif; }
.scroll-hint { position: absolute; z-index: 5; left: 50%; bottom: 26px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(8,57,63,.1); font-size: 28px; animation: bob 2s ease-in-out infinite; }

.section { padding: 110px 0; }
.section-heading { margin-bottom: 58px; text-align: center; }
.section-heading h2, .about h2, .contact h2, .legal-page h1 { margin: 0; font-size: clamp(34px, 4vw, 58px); font-weight: 350; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.service { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 24px; padding: 18px 38px; border-right: 1px solid var(--line); }
.service:last-child { border-right: 0; }
.service__icon { width: 96px; }
.service__icon svg { fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.service:hover .service__icon svg { transform: translateY(-5px) rotate(-2deg); }
.service h3 { margin: 0 0 8px; color: var(--teal-dark); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.service p { margin: 0; color: var(--muted); }

.about { position: relative; overflow: hidden; background: var(--soft); }
.about::after { content: "p"; position: absolute; right: -30px; bottom: -80px; color: rgba(11, 127, 134, .06); font: italic 420px/1 Georgia, serif; pointer-events: none; }
.about__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr .8fr; align-items: center; gap: 68px; }
.about__media { position: relative; }
.about__media::before, .about__media::after { content: ""; position: absolute; inset: -24px; border: 2px solid var(--teal); border-radius: 50%; }
.about__media::after { inset: -9px -35px 15px 12px; border-color: rgba(11, 127, 134, .4); }
.about__image-placeholder { position: relative; z-index: 2; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #d9e7e7, #fff); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); overflow: hidden; }
.about__content > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.check-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font-size: 12px; }
.about__quote { margin: 0; color: var(--teal); font-family: Georgia, serif; font-size: clamp(26px, 3vw, 44px); font-style: italic; line-height: 1.45; }

.contact { position: relative; overflow: hidden; padding: 90px 0 70px; background: linear-gradient(120deg, var(--teal), var(--teal-deep)); color: #fff; }
.contact__watermark { position: absolute; right: 3%; bottom: -90px; color: rgba(255, 255, 255, .08); font: italic 330px/1 Georgia, serif; }
.contact .container { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.5fr; gap: 80px; align-items: end; }
.eyebrow--light { color: rgba(255,255,255,.75); }
.contact__intro p:not(.eyebrow) { max-width: 440px; color: rgba(255,255,255,.8); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-item { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px; min-height: 120px; padding: 10px 28px; border-left: 1px solid rgba(255,255,255,.28); transition: background .2s ease; }
a.contact-item:hover { background: rgba(255,255,255,.05); }
.contact-item__icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; font-size: 24px; }
.contact-item strong, .contact-item small { display: block; }
.contact-item strong { margin-bottom: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact-item small { color: rgba(255,255,255,.85); font-size: 13px; }

.site-footer { background: #043b43; color: rgba(255,255,255,.8); }
.site-footer__inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer nav { display: flex; gap: 36px; font-size: 13px; }
.back-to-top { justify-self: end; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }

.legal-page { min-height: calc(100vh - 82px); padding: calc(var(--header-h) + 80px) 0 100px; }
.legal-page__inner { max-width: 900px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal--delay { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

@media (max-width: 980px) {
    :root { --header-h: 76px; }
    .site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
    .nav-toggle { display: block; position: relative; z-index: 1002; }
    .site-nav { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: rgba(255,255,255,.98); transform: translateX(100%); transition: transform .28s ease; font-size: 18px; }
    .site-nav.is-open { transform: translateX(0); }
    .brand { min-width: 0; }
    .brand__mark { width: 48px; font-size: 34px; }
    .brand__text strong { font-size: 9px; }
    .brand__text span { font-size: 16px; }
    .hero { min-height: auto; }
    .hero__inner { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding-top: 60px; }
    .hero__content { padding: 60px 0 10px; }
    .hero__media { padding: 0; }
    .hero__image-placeholder { min-height: 440px; border-radius: 32px 32px 0 0; }
    .hero__decor--right { top: auto; bottom: 30px; right: -20px; font-size: 220px; }
    .hero__decor--left { left: -220px; top: 140px; }
    .scroll-hint { display: none; }
    .service-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
    .service { grid-template-columns: 90px 1fr; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .service:last-child { border-bottom: 0; }
    .about__grid { grid-template-columns: 1fr 1.15fr; }
    .about__quote { grid-column: 1 / -1; max-width: 700px; text-align: center; justify-self: center; }
    .contact .container { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand__text { display: none; }
    .hero__inner { padding-top: 36px; }
    .hero__content { padding-top: 46px; }
    .hero h1 { font-size: clamp(48px, 15vw, 72px); letter-spacing: .04em; }
    .hero__lead { margin-top: 24px; font-size: 18px; }
    .hero__image-placeholder { min-height: 360px; }
    .section { padding: 78px 0; }
    .section-heading { margin-bottom: 28px; }
    .service { grid-template-columns: 74px 1fr; gap: 18px; }
    .service__icon { width: 70px; }
    .about__grid { grid-template-columns: 1fr; gap: 48px; }
    .about__media { width: min(88%, 360px); margin-inline: auto; }
    .about__quote { text-align: left; }
    .contact { padding: 72px 0 50px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-item { min-height: 96px; padding: 18px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
    .site-footer__inner { grid-template-columns: 1fr auto; padding-block: 22px; }
    .site-footer nav { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
    .back-to-top { grid-column: 2; grid-row: 1; }
}

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