@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;0,7..72,600;0,7..72,700;1,7..72,400&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --primary: #B6A91B;
    --primary-rgb: 182, 169, 27;
    --secondary: #DAD59A;
    --accent: #867C09;
    --bg: #FAFAFA;
    --bg-alt: #F3F4F6;
    --text: #1F2937;
    --text-muted: #6B7280;
    --section-dark: #1F2937;
    --section-accent: #F0F2F5;
    --border-hairline: rgba(31, 41, 55, 0.1);

    --font-serif: 'Literata', Georgia, serif;
    --font-sans: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-xxl: 1.5rem;
    --fs-hero: 2.875rem;

    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 32px;
    --sp-xl: 48px;
    --sp-xxl: 64px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(31, 41, 55, 0.06);
    --shadow-md: 0 12px 32px rgba(31, 41, 55, 0.1);
    --shadow-lg: 0 24px 60px rgba(31, 41, 55, 0.16);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --max-width: 1360px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: 2rem; margin-bottom: var(--sp-md); }
h3 { font-size: var(--fs-xxl); margin-bottom: var(--sp-sm); }
h4 { font-size: var(--fs-xl); }

p {
    margin-bottom: var(--sp-md);
    color: var(--text);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

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

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    padding-left: 1.25rem;
    margin-bottom: var(--sp-md);
}

li {
    margin-bottom: var(--sp-xs);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--sp-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
}

.two-col-layout {
    display: flex;
    align-items: center;
    gap: var(--sp-xxl);
    padding: var(--sp-xxl) 0;
}

.two-col-layout > * {
    flex: 1;
    min-width: 0;
}

.two-col-layout.reverse {
    flex-direction: row-reverse;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--fs-base);
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-position 0.4s ease, color 0.25s ease;
}

.btn-primary {
    color: #1a1704;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-size: 160% 160%;
    background-position: 0% 50%;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-position: 100% 50%;
    color: #1a1704;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.35);
}

.btn-secondary {
    color: #fff;
    background: var(--section-dark);
}

.btn-secondary:hover {
    color: #fff;
    background: #0f1420;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border-color: var(--text);
    color: var(--text);
}

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

.btn-lg {
    padding: 1.15rem 2.6rem;
    font-size: var(--fs-lg);
}

.navbar {
    position: fixed;
    top: var(--sp-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - var(--sp-lg) * 2);
    max-width: 1120px;
    background: rgba(250, 250, 250, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem var(--sp-md) 0.65rem var(--sp-lg);
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--text);
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 500;
    position: relative;
    padding: 0.35rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    font-size: var(--fs-sm);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

main {
    padding-top: 112px;
}

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    overflow: hidden;
    padding: var(--sp-xxl) 0;
}

.hero--diagonal-split-angle {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 0;
}

.hero-panel {
    position: relative;
    z-index: 2;
}

.hero-panel--text {
    padding: 0 var(--sp-xxl) 0 max(var(--sp-xxl), calc((100vw - var(--max-width)) / 2 + var(--sp-lg)));
}

.hero-panel--text h1 {
    margin-bottom: var(--sp-md);
    max-width: 14ch;
}

.hero-lede {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    color: var(--text-muted);
    max-width: 42ch;
    margin-bottom: var(--sp-lg);
}

.cta-group {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

.hero-panel--media {
    position: relative;
    height: 100%;
    min-height: 480px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    background: var(--section-dark);
}

.hero-panel--media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.hero-diagonal {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.16) 0%, transparent 70%);
    top: -140px;
    left: -100px;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent), 0.12) 0%, transparent 70%);
    background: radial-gradient(circle, rgba(134, 124, 9, 0.12) 0%, transparent 70%);
    bottom: -80px;
    left: 34%;
    z-index: 0;
    animation: float 9s ease-in-out infinite reverse;
}

.header-hero {
    position: relative;
    padding: calc(var(--sp-xxl) + 60px) 0 var(--sp-xxl);
    background: var(--section-dark);
    color: #fff;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
    top: -120px;
    right: -60px;
    animation: float 8s ease-in-out infinite;
}

.header-hero h1 {
    color: #fff;
    max-width: 20ch;
}

.header-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.header-hero p {
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    max-width: 52ch;
}

.content-section {
    padding: var(--sp-xxl) 0;
    position: relative;
}

.section-header {
    max-width: 620px;
    margin: 0 auto var(--sp-xxl);
    text-align: center;
}

.section-header .eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: var(--sp-sm);
}

.section-dark {
    background: var(--section-dark);
    color: rgba(255, 255, 255, 0.88);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.section-accent {
    background: var(--section-accent);
}

.band--text-left-50-image-right-50 {
    display: flex;
    align-items: center;
    gap: var(--sp-xxl);
}

.band--text-left-50-image-right-50 .band-text {
    flex: 1 1 50%;
    min-width: 0;
}

.band--text-left-50-image-right-50 .band-media {
    flex: 1 1 50%;
    min-width: 0;
    margin: 0;
}

.band-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.5s var(--ease);
}

.band-media:hover img {
    transform: scale(1.02);
}

.band-media figcaption {
    margin-top: var(--sp-sm);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-style: italic;
}

.grid--masonry-pinterest {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-lg);
}

.grid--masonry-pinterest .card {
    flex: 1 1 260px;
}

.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--sp-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-hairline);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-md);
    transition: transform 0.4s ease;
    overflow: hidden;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-sm);
}

.card p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(var(--primary-rgb), 0.14);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
}

.comparison-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-hairline);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: var(--fs-sm);
}

table caption {
    text-align: left;
    padding: var(--sp-md);
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    color: var(--text-muted);
}

thead th {
    background: var(--section-dark);
    color: #fff;
    text-align: left;
    padding: var(--sp-md);
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

tbody td,
tbody th {
    padding: var(--sp-md);
    border-bottom: 1px solid var(--border-hairline);
    text-align: left;
    vertical-align: top;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--section-accent);
}

tbody th {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

td.highlight,
th.highlight {
    background: rgba(var(--primary-rgb), 0.08);
    font-weight: 600;
}

.testimonials-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-xl);
}

blockquote {
    position: relative;
    margin: 0;
    padding: var(--sp-xl) var(--sp-lg) var(--sp-lg);
    background: #fff;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: var(--text);
}

blockquote::before {
    content: '\201C';
    position: absolute;
    top: 0.2rem;
    left: 1.1rem;
    font-size: 3.5rem;
    color: rgba(var(--primary-rgb), 0.28);
    font-family: Georgia, serif;
    line-height: 1;
}

blockquote cite {
    display: block;
    margin-top: var(--sp-md);
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

blockquote cite::before {
    content: '\2014 ';
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--sp-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-hairline);
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-hairline);
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15), var(--shadow-md);
}

.contact-section {
    display: flex;
    gap: var(--sp-xxl);
    flex-wrap: wrap;
}

.contact-details {
    flex: 1 1 320px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-hairline);
}

.contact-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-sm) var(--sp-md);
    margin-top: var(--sp-md);
}

.contact-details dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.contact-details dd {
    margin: 0;
}

footer {
    background: var(--section-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--sp-xl) 0;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-md);
}

footer .logo {
    color: #fff;
}

footer .footer-links {
    display: flex;
    gap: var(--sp-lg);
    list-style: none;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.68);
    font-size: var(--fs-sm);
}

footer .footer-links a:hover {
    color: var(--primary);
}

footer .copyright {
    width: 100%;
    text-align: center;
    padding-top: var(--sp-md);
    margin-top: var(--sp-md);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.45);
}

.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    line-height: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.section-divider.flip {
    transform: scaleY(-1);
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].visible {
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(30px);
}

[data-animate="slide-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.eyebrow-shimmer {
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s linear infinite;
}

.faq-item {
    border-bottom: 1px solid var(--border-hairline);
    padding: var(--sp-md) 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: var(--sp-sm);
    color: var(--text-muted);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--sp-lg);
    text-align: center;
}

.stat-figure {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 1280px) {
    .hero-panel--text {
        padding-left: var(--sp-xxl);
    }
}

@media (max-width: 1024px) {
    .hero--diagonal-split-angle {
        grid-template-columns: 1fr;
    }

    .hero-panel--media {
        clip-path: none;
        min-height: 320px;
        order: -1;
        border-radius: var(--radius-lg);
        margin: 0 var(--sp-lg);
        width: calc(100% - var(--sp-lg) * 2);
    }

    .hero-panel--text {
        padding: var(--sp-xl) var(--sp-lg) 0;
    }

    .band--text-left-50-image-right-50 {
        flex-direction: column;
    }

    .two-col-layout,
    .two-col-layout.reverse {
        flex-direction: column;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-hero: 2.1rem;
    }

    .navbar {
        top: var(--sp-sm);
        width: calc(100% - var(--sp-md) * 2);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--sp-xl);
        background: rgba(31, 41, 55, 0.98);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s var(--ease);
    }

    body.menu-open .nav-menu {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        color: #fff;
        font-size: var(--fs-xl);
        font-family: var(--font-serif);
    }

    .nav-cta {
        border: 2px solid var(--primary);
    }

    main {
        padding-top: 96px;
    }

    .hero {
        min-height: auto;
        padding: var(--sp-xl) 0;
    }

    .content-section {
        padding: var(--sp-xl) 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .contact-section {
        flex-direction: column;
    }

    footer .footer-content {
        flex-direction: column;
        text-align: center;
    }

    footer .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--sp-md);
    }

    .hero-panel--text {
        padding: var(--sp-lg) var(--sp-md) 0;
    }

    .btn {
        width: 100%;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
}
