:root {
    --ink: #102a2e;
    --teal: #0d7c78;
    --teal-dark: #075c5a;
    --mint: #d9f2ec;
    --coral: #ef8b73;
    --sand: #f6f3ed;
    --line: rgba(16, 42, 46, 0.14);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    color: #ffffff;
    background: var(--teal);
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    color: #ffffff;
    background: var(--ink);
    border-radius: 0.35rem;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(246, 243, 237, 0.84);
    border-bottom: 1px solid rgba(16, 42, 46, 0.08);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    position: sticky;
    top: 0;
    box-shadow: 0 7px 28px rgba(16, 42, 46, 0.07);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    width: 24px;
    height: 24px;
}

.brand-mark span {
    display: block;
    width: 5px;
    border-radius: 3px 3px 1px 1px;
    background: var(--teal);
}

.brand-mark span:nth-child(1) { height: 11px; opacity: 0.65; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 24px; background: var(--coral); }

.brand-name {
    font-size: 0.84rem;
    font-weight: 650;
    letter-spacing: 0.15em;
}

.brand-name strong {
    font-weight: 800;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.primary-nav a {
    color: rgba(16, 42, 46, 0.7);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--teal);
}

.primary-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.76rem 1rem;
    color: #ffffff;
    background: var(--ink);
    border-radius: 999px;
    transition: background 180ms ease, transform 180ms ease;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
    color: #ffffff;
    background: var(--teal);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 2.7rem;
    height: 2.7rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    margin: 5px 0;
    background: var(--ink);
    transition: transform 180ms ease;
}

.hero-section {
    min-height: min(760px, calc(100vh - 76px));
    background: var(--sand);
}

.hero-grid {
    opacity: 0.65;
    background-image: linear-gradient(rgba(16, 42, 46, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 42, 46, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-grid::after {
    position: absolute;
    right: -14%;
    top: -30%;
    width: 52%;
    height: 96%;
    content: "";
    background: radial-gradient(circle, rgba(217, 242, 236, 0.9), transparent 66%);
}

.hero-title,
.section-intro h2,
.contact-section h2 {
    margin: 1.5rem 0 0;
    color: var(--ink);
    font-size: clamp(3.2rem, 7vw, 6.6rem);
    font-weight: 450;
    letter-spacing: -0.075em;
    line-height: 0.97;
}

.hero-title em {
    color: var(--teal);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.hero-copy {
    max-width: 34rem;
    margin-top: 1.7rem;
    color: rgba(16, 42, 46, 0.67);
    font-size: 1.08rem;
    line-height: 1.8;
}

.eyebrow,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--teal);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 5px rgba(239, 139, 115, 0.15);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.15rem;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-size: 0.81rem;
    font-weight: 750;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: transform 180ms var(--ease-out), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-3px);
}

.button-primary {
    color: #ffffff;
    background: var(--teal);
    box-shadow: 0 12px 22px rgba(13, 124, 120, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--teal-dark);
}

.button-quiet {
    color: var(--ink);
    border: 1px solid var(--line);
}

.button-quiet:hover,
.button-quiet:focus-visible {
    border-color: rgba(13, 124, 120, 0.45);
    background: rgba(217, 242, 236, 0.5);
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 3.5rem;
    color: rgba(16, 42, 46, 0.55);
    font-size: 0.74rem;
}

.hero-proof p {
    max-width: 13rem;
    margin: 0;
    line-height: 1.5;
}

.hero-proof strong {
    color: var(--ink);
    font-weight: 750;
}

.proof-avatars {
    display: flex;
}

.proof-avatars span {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin-left: -0.3rem;
    place-items: center;
    color: var(--ink);
    background: var(--mint);
    border: 2px solid var(--sand);
    border-radius: 50%;
    font-size: 0.52rem;
    font-weight: 800;
}

.proof-avatars span:first-child { margin-left: 0; background: #e9d9cd; }
.proof-avatars span:nth-child(2) { background: #d2e2df; }
.proof-avatars span:nth-child(3) { background: #f4c7b9; }

.hero-visual {
    position: relative;
    min-height: 31rem;
}

.dashboard-card {
    position: absolute;
    z-index: 2;
    top: 2.8rem;
    right: 1rem;
    width: min(100%, 32rem);
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.67);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 1.1rem;
    box-shadow: 0 30px 70px rgba(16, 42, 46, 0.18);
    transform: rotate(3deg);
}

.dashboard-topline,
.dashboard-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.65rem 0.7rem;
    color: rgba(16, 42, 46, 0.54);
    font-size: 0.57rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 620;
    object-fit: cover;
    border-radius: 0.62rem;
}

.dashboard-caption {
    padding: 0.72rem 0.65rem 0.2rem;
    color: rgba(16, 42, 46, 0.55);
    letter-spacing: 0.03em;
}

.dashboard-caption strong {
    color: var(--teal);
    font-size: 0.78rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--teal);
}

.live-indicator i {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 3px rgba(239, 139, 115, 0.14);
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(13, 124, 120, 0.18);
    border-radius: 50%;
}

.orbit-one {
    top: 0;
    right: 0;
    width: 27rem;
    height: 27rem;
}

.orbit-two {
    right: 5rem;
    bottom: 0;
    width: 13rem;
    height: 13rem;
    border-color: rgba(239, 139, 115, 0.22);
}

.floating-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 0.7rem;
    box-shadow: 0 16px 34px rgba(16, 42, 46, 0.12);
}

.note-top { top: 1.5rem; left: 0; }
.note-bottom { right: 0; bottom: 2.2rem; }

.note-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: var(--teal);
    background: var(--mint);
    border-radius: 50%;
    font-size: 1.2rem;
}

.note-icon-coral {
    color: #c95e47;
    background: #fce3dc;
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note strong { font-size: 0.72rem; }
.floating-note small { margin-top: 0.15rem; color: rgba(16, 42, 46, 0.52); font-size: 0.6rem; }

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: 7rem;
    margin: -1.5rem auto 0;
    color: rgba(16, 42, 46, 0.48);
    font-size: 0.61rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hero-scroll span {
    width: 1px;
    height: 3rem;
    background: var(--coral);
}

.section-light {
    background: #ffffff;
}

.section-intro h2,
.contact-section h2 {
    max-width: 39rem;
    font-size: clamp(2.8rem, 5.6vw, 5rem);
}

.section-intro h2 span,
.contact-section h2 span {
    color: var(--teal);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.lead-copy {
    color: rgba(16, 42, 46, 0.72);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: -0.025em;
    line-height: 1.55;
}

.principle span {
    color: var(--coral);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.principle h3 {
    margin: 0.85rem 0 0.45rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.principle p {
    margin: 0;
    color: rgba(16, 42, 46, 0.56);
    font-size: 0.78rem;
    line-height: 1.6;
}

.services-section {
    background: var(--sand);
}

.services-section .section-intro h2 {
    margin-top: 1.25rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    display: flex;
    min-height: 27.5rem;
    flex-direction: column;
    padding: 1.7rem 1.45rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 220ms ease, transform 220ms var(--ease-out);
}

.service-card:hover {
    position: relative;
    z-index: 1;
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(16, 42, 46, 0.07);
}

.service-card-featured {
    color: #ffffff;
    background: var(--ink);
}

.service-card-featured:hover {
    background: var(--ink);
}

.service-number {
    color: var(--coral);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.service-card:not(.service-card-featured) .service-number { color: var(--teal); }

.service-icon {
    display: grid;
    width: 3.3rem;
    height: 3.3rem;
    margin: 4.5rem 0 1.35rem;
    place-items: center;
    color: var(--teal);
    background: var(--mint);
    border-radius: 50%;
}

.service-card-featured .service-icon {
    color: var(--ink);
    background: var(--coral);
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.service-card h3 {
    max-width: 12rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.18;
}

.service-card p {
    margin: 0.85rem 0 1.3rem;
    color: rgba(16, 42, 46, 0.59);
    font-size: 0.79rem;
    line-height: 1.65;
}

.service-card-featured p { color: rgba(255, 255, 255, 0.64); }

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.service-card-featured a { color: var(--coral); }
.service-card a span { transition: transform 180ms ease; }
.service-card a:hover span { transform: translate(3px, -3px); }

.about-section {
    background: #ffffff;
}

.about-visual {
    position: relative;
    padding: 0 2rem 2rem 0;
}

.about-visual::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 85%;
    height: 87%;
    content: "";
    background: var(--mint);
    border-radius: 0.4rem;
}

.about-visual img {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 0.4rem;
    box-shadow: 0 22px 45px rgba(16, 42, 46, 0.16);
}

.about-stamp {
    position: absolute;
    right: 0;
    top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    color: #ffffff;
    background: var(--teal);
    border-radius: 0.3rem;
    transform: rotate(5deg);
}

.about-stamp strong {
    font-family: Georgia, serif;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1;
}

.about-stamp span {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-section h2 {
    max-width: 34rem;
    margin: 1.45rem 0 1.5rem;
    color: var(--ink);
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    font-weight: 450;
    letter-spacing: -0.075em;
    line-height: 1;
}

.about-copy {
    max-width: 33rem;
    color: rgba(16, 42, 46, 0.67);
    font-size: 1rem;
    line-height: 1.8;
}

.quote-block {
    display: flex;
    gap: 0.8rem;
    max-width: 32rem;
    margin: 2.2rem 0;
    padding: 1.1rem 0 1.1rem 1.2rem;
    border-left: 2px solid var(--coral);
}

.quote-mark {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 2.5rem;
    line-height: 0.75;
}

.quote-block p {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.45;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -3px); }

.metric-band {
    color: #ffffff;
    background: var(--teal);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.metric-item:last-child { border-right: none; }
.metric-item strong { min-width: 3rem; color: var(--coral); font-size: 2.7rem; font-weight: 450; letter-spacing: -0.07em; }
.metric-item span { color: rgba(255, 255, 255, 0.7); font-size: 0.69rem; font-weight: 650; line-height: 1.45; }

.contact-section {
    color: #ffffff;
    background: var(--ink);
}

.contact-section h2 { color: #ffffff; }
.contact-section .section-kicker { color: var(--coral); }

.contact-details {
    display: grid;
    max-width: 28rem;
    gap: 1.1rem;
}

.contact-details a,
.contact-details address {
    display: grid;
    grid-template-columns: 4.4rem 1fr;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.6;
    text-decoration: none;
}

.contact-details a:hover { color: var(--coral); }
.detail-label { color: rgba(255, 255, 255, 0.4); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.contact-form {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.55rem;
}

.form-row { margin-bottom: 1.45rem; }
.form-row label { display: block; margin-bottom: 0.5rem; color: rgba(255, 255, 255, 0.62); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.form-row input,
.form-row textarea {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 0;
    outline: none;
    font: inherit;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 180ms ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--coral); }
.button-light { color: var(--ink); background: var(--coral); border: 0; cursor: pointer; }
.button-light:hover,
.button-light:focus-visible { background: #f5a38f; }
.form-status { min-height: 1.4rem; margin: 0.8rem 0 0; color: var(--coral); font-size: 0.75rem; line-height: 1.5; }

.site-footer { color: rgba(255, 255, 255, 0.62); background: #0a2023; }
.brand-footer { color: #ffffff; }
.footer-note { margin: 0.55rem 0 0 2.15rem; color: rgba(255, 255, 255, 0.38); font-size: 0.68rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 1.3rem; color: rgba(255, 255, 255, 0.42); font-size: 0.65rem; letter-spacing: 0.04em; }
.footer-meta a { color: var(--coral); text-decoration: none; }

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 260ms; }
.reveal-delay-4 { transition-delay: 340ms; }

@media (max-width: 1023px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { min-height: 25rem; }
    .service-icon { margin-top: 3rem; }
    .hero-visual { min-height: 29rem; }
    .dashboard-card { right: 0; }
}

@media (max-width: 767px) {
    .site-header .mx-auto { padding-top: 1rem; padding-bottom: 1rem; }
    .menu-toggle { display: block; }
    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: grid;
        gap: 0;
        padding: 0 1.5rem 1.5rem;
        background: rgba(246, 243, 237, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 25px rgba(16, 42, 46, 0.08);
        transform: translateY(-140%);
        transition: transform 250ms var(--ease-out);
    }
    .primary-nav.is-open { transform: translateY(0); }
    .primary-nav a { padding: 0.85rem 0; }
    .primary-nav .nav-cta { justify-content: center; margin-top: 0.35rem; }
    .hero-section { min-height: auto; }
    .hero-grid { background-size: 40px 40px; }
    .hero-title { font-size: clamp(3.25rem, 15vw, 5rem); }
    .hero-copy { font-size: 1rem; }
    .hero-proof { margin-top: 2.3rem; }
    .hero-visual { min-height: 25rem; margin-top: 1.2rem; }
    .dashboard-card { top: 1.5rem; right: 0.5rem; width: calc(100% - 1rem); }
    .orbit-one { top: 0.3rem; right: -3.5rem; width: 20rem; height: 20rem; }
    .orbit-two { right: 1rem; bottom: 1rem; }
    .floating-note { padding: 0.6rem 0.7rem; }
    .note-top { top: 0.2rem; left: 0; }
    .note-bottom { right: 0; bottom: 0.8rem; }
    .floating-note strong { font-size: 0.64rem; }
    .floating-note small { font-size: 0.54rem; }
    .hero-scroll { display: none; }
    .section-intro h2,
    .contact-section h2,
    .about-section h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 21rem; }
    .service-card-featured { min-height: 23rem; }
    .service-icon { margin-top: 2.4rem; }
    .about-visual { padding-right: 0.85rem; padding-bottom: 0.85rem; }
    .about-stamp { top: 1.2rem; }
    .metric-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); padding: 1rem 0; }
    .metric-item:last-child { border-bottom: 0; }
    .contact-form { padding: 1.35rem; }
    .footer-meta { gap: 0.7rem 1rem; }
}

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