:root {
    --cream: #f5f0e6;
    --paper: #fbf8f1;
    --navy: #0f2c43;
    --rust: #E67E7E;
    --sage: #69765d;
    --sand: #e2c99d;
    --line: rgba(15, 44, 67, .16);
    --serif: Georgia, "Times New Roman", Times, serif;
    --sans: Arial, Helvetica, sans-serif;
    --content: 1200px;
}

html { scroll-behavior: smooth; }
body.taxnerd-theme, body.taxnerd-theme * { box-sizing: border-box; }
body.taxnerd-theme { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--serif); font-size: 18px; line-height: 1.55; }
body.taxnerd-theme,
body.taxnerd-theme button,
body.taxnerd-theme input,
body.taxnerd-theme textarea,
body.taxnerd-theme select { -webkit-font-smoothing: antialiased; }
body.taxnerd-theme a { color: inherit; }
body.taxnerd-theme img { max-width: 100%; height: auto; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--paper); }

.site-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    height: 82px;
    padding: 20px clamp(24px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Responsive header navigation */
.menu-toggle {
    display: none;
    border: 0;
    padding: 9px 4px;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.brand { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--navy); font-family: var(--sans); font-weight: 700; letter-spacing: -.065em; }
.brand-word { font-size: 20px; }
.brand-word span { color: var(--rust); }
.brand-icon { width: 29px; display: inline-flex; color: var(--rust); }
.brand-icon svg { display: block; width: 100%; height: auto; }
.header-cta, .under-link, .footer-link { font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.header-cta span, .taxnerd-button span, .under-link span, .footer-link span { margin-left: 8px; }

.menu{color: var(--rust);
  font-size: 1.5em;
font-family: var(--sans)}
.menu-item{
    text-decoration: none;
    display: inline-block;
    margin: 0 20px;
}
.menu-item:hover{
    text-decoration: underline;
    color: black;
}

.eyebrow { color: var(--rust); font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .22em; line-height: 1.3; text-transform: uppercase; margin-bottom: 25px; }
body.taxnerd-theme h1,
body.taxnerd-theme h2,
body.taxnerd-theme h3,
body.taxnerd-theme p { margin-top: 0; }
body.taxnerd-theme h1,
body.taxnerd-theme h2 { font-weight: 400; letter-spacing: -.045em; line-height: .92; }
body.taxnerd-theme em { color: var(--rust); font-style: italic; font-weight: 400; }

.header-logo{
    max-height: 60px;
}

.hero { padding-top: 82px; }
.hero-visual { position: relative; background-repeat: no-repeat; background-position: center center; height: clamp(430px, 64vw, 700px); overflow: hidden; background-size: contain;}
.hero-sun { position: absolute; width: clamp(110px, 18vw, 190px); aspect-ratio: 1; border-radius: 50%; background: #f4e4a6; right: 12%; top: 9%; }
.hero-arch { position: absolute; width: min(62%, 560px); height: 78%; left: 50%; top: 21%; transform: translateX(-50%); border: clamp(18px, 3vw, 34px) solid #c49a70; border-bottom: 0; border-radius: 52% 52% 0 0; }
.hero-water { position: absolute; inset: 48% 0 0; background: #73a5aa; overflow: hidden; border-top: 7px solid rgba(15,44,67,.1); }
.hero-water span { position: absolute; left: 8%; width: 84%; height: 1px; background: rgba(251,248,241,.5); }
.hero-water span:nth-child(1) { top: 28%; }
.hero-water span:nth-child(2) { top: 42%; }
.hero-water span:nth-child(3) { top: 62%; }
.sail { position: absolute; bottom: 30%; width: 0; height: 0; border-bottom: 48px solid var(--paper); border-left: 17px solid transparent; border-right: 2px solid transparent; }
.sail-one { left: 37%; }
.sail-two { left: 65%; bottom: 48%; border-bottom-width: 30px; border-left-width: 10px; }
.hero-leaf { position: absolute; width: 72px; height: 40px; border-radius: 100% 0; background: #4d684e; }
.hero-leaf::after { content: ""; position: absolute; inset: 7px 12px 8px 0; border-left: 2px solid #d4a97c; transform: rotate(-25deg); }
.hero-leaf-left { left: -12px; top: 25%; transform: rotate(25deg); }
.hero-leaf-right { right: -13px; bottom: 18%; transform: rotate(205deg); }
.hero-card { position: absolute; z-index: 3; left: 10%; bottom: 11%; width: min(58%, 350px); padding: 20px 24px; background: var(--paper); box-shadow: 9px 9px 0 rgba(15,44,67,.12); text-align: center; transform: rotate(-1deg); }
.hero-card span, .hero-card small { display: block; font-family: var(--sans); font-size: 7px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.hero-card strong { display: block; color: var(--rust); font-size: clamp(22px, 4vw, 34px); font-style: italic; font-weight: 400; line-height: 1.05; }
.hero-content { max-width: 1120px; margin: 0 auto; padding: clamp(62px, 8vw, 100px) max(24px, 7vw) clamp(60px, 7vw, 90px); }
.hero-content h1 { font-size: clamp(55px, 9vw, 105px); margin-bottom: 34px; }
.hero-content > p { max-width: 570px; font-size: clamp(17px, 2vw, 21px); }
.taxnerd-button { display: inline-flex; align-items: center; margin-top: 23px; padding: 15px 21px; background: var(--rust); color: #fff; font-family: var(--sans); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.under-link { display: block; width: fit-content; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 25px max(24px, 7vw); color: var(--paper); max-width:var(--content); margin: auto; }
.hero-stats > div { border-left: 1px solid rgba(255,255,255,.22); padding-left: 15px; }
.hero-stats strong { display: block; font-size: 18px; font-weight: 400; color: var(--sand);}
.hero-stats span { display: block; margin-top: 3px; font-family: var(--sans); font-size: 7px; letter-spacing: .12em; text-transform: uppercase; opacity: .68; }
.hero-outer{ background: var(--navy); }

.story { max-width: var(--content); margin: 0 auto; padding: clamp(80px, 11vw, 145px) max(24px, 7vw); }
.story-copy { max-width: 650px; }
.story h2 { font-size: clamp(51px, 8vw, 91px); margin-bottom: 36px; }
.story p { max-width: 600px; }
.story-img {width: 650px; height: 400px; background-repeat: no-repeat; background-position: center; background-size: cover; box-shadow: 0 0 5px; border-radius: 3px;}
.story-lead { font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; }
.signature { color: var(--rust); font-size: 20px; font-style: italic; margin-top: 30px; }
.freedom-card { width: min(100%, 520px); margin: 55px 0 0 auto; padding: 34px; background: var(--sage); color: var(--paper); box-shadow: 10px 10px 0 var(--sand); }
.freedom-card h3 { font-size: 28px; font-style: italic; font-weight: 400; }
.freedom-card ul { list-style: none; padding: 0; margin: 26px 0 0; }
.freedom-card li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.25); font-family: var(--sans); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }

.fit { margin: 0 auto; position: relative;}
.fit-image{width: 20%;
  height: 100%;
  position: absolute;
  left: 0;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;}
.fit-content{
    padding: 40px 90px;
    max-width: 70%;
        margin-left: 25%;
  display: block;
}
@media (max-width: 1200px) {
    .fit-content {
        
    }
}

.fit-intro h2 { font-size: clamp(51px, 8vw, 92px); margin-bottom: 70px; }
.fit-grid { display: grid; gap: 45px; }
.fit-card { padding: clamp(30px, 5vw, 58px); background: var(--paper); border: 1px solid var(--line); }
.fit-card-yes { border-top: 5px solid var(--rust); }
.fit-card-no { border-top: 5px solid var(--sage); }
.check-list, .dash-list { list-style: none; padding: 0; margin: 30px 0 0; }
.check-list li, .dash-list li { position: relative; padding: 19px 0 19px 38px; border-top: 1px solid var(--line); font-size: 16px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--rust); font-family: var(--sans); font-weight: 800; }
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--sage); font-family: var(--sans); font-weight: 800; }

.advisory { padding: clamp(75px, 10vw, 135px) max(24px, 7vw); }
.advisory-inner { max-width: var(--content); margin: 0 auto; }
.advisory h2 { font-size: clamp(54px, 8vw, 92px); margin-bottom: 38px; }
.advisory-lead { max-width: 600px; font-size: clamp(17px, 2vw, 21px); }
.services { margin-top: 75px; }
.service { padding: 28px 0 40px; border-top: 1px solid rgba(255,255,255,.2); }
.service::nth-child(2n){ text-align:right; }
.service-number { display: block; color: #d38b75; font-size: 18px; font-style: italic; margin-bottom: 22px; }
.service h3 { font-size: clamp(29px, 4vw, 44px); font-weight: 400; margin-bottom: 12px; }
.service p { max-width: 650px; margin-bottom: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6; opacity: .7; }

.cta { max-width: var(--content); margin: 0 auto; padding: clamp(85px, 11vw, 145px) max(24px, 7vw); }
.cta h2 { font-size: clamp(55px, 8vw, 96px); margin-bottom: 36px; }
.cta > p { max-width: 590px; font-size: 18px; }

.how { max-width: var(--content); margin: 0 auto; padding: clamp(80px, 10vw, 135px) max(24px, 7vw); }
.how h2 { font-size: clamp(52px, 8vw, 90px); margin-bottom: 20px; }
.how-lead { max-width: 580px; font-size: 20px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 65px; }
.steps article { border-top: 1px solid var(--line); padding-top: 22px; }
.steps span { color: var(--rust); font-size: 13px; font-style: italic; }
.steps h3 { margin: 25px 0 8px; font-size: 28px; font-weight: 400; }
.steps p { font-family: var(--sans); font-size: 15px; line-height: 1.6; }

.site-footer { padding: 55px max(24px, 7vw); }
.footer-brand { margin-bottom: 20px; }
.brand-light { color: var(--paper); }
.site-footer p { max-width: 430px; margin-bottom: 28px; font-family: var(--sans); font-size: 15px; opacity: .7; }
.footer-link { color: var(--paper); }
.generic-page { min-height: 70vh; padding: 150px max(24px, 7vw); }
.generic-page > article { max-width: 850px; margin: 0 auto; }
.generic-page h1 { font-size: clamp(50px, 8vw, 90px); }

@media (min-width: 760px) {
    .hero-content { padding-top: 95px; }
    .freedom-card { margin: 0; }
    .fit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .fit-card { min-height: 100%; }
}

@media (min-width: 760px) {
    .story {
        display: grid;
        grid-template-columns: minmax(330px, 360px) minmax(0, 1fr);
        grid-template-areas:
            "head copy"
            "card copy";
        grid-template-rows: auto 1fr;
        column-gap: 70px;
        row-gap: 35px;
        align-items: start;
    }

    .story-head {
        grid-area: head;
    }

    .story-copy {
        grid-area: copy;
        max-width: 650px;
    }

    .freedom-card {
        grid-area: card;
        align-self: start;
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 1050px) {
    .hero { display: grid; grid-template-columns: 1fr 1fr; padding-top: 82px; }
    .hero-visual { grid-column: 2; grid-row: 1 / span 2; height: 720px; max-width: 900px;}
    .hero-content { grid-column: 1; grid-row: 1; align-self: center; padding: 105px 7vw 80px; max-width: 900px; }
    .hero-stats { grid-column: 1; grid-row: 2; grid-template-columns: 1fr 1fr; padding: 35px 7vw; }
    .hero-card { left: 10%; }
}

@media (max-width: 1000px) {
    .site-header { height: 70px; padding: 10px 22px; }
    .header-logo { max-height: 48px; }
    .menu-toggle { display: block; margin-left: auto; }
    .site-header .menu,
    .site-header .supermenu { display: none; }
    .site-header.is-menu-open .menu,
    .site-header.is-menu-open .supermenu {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px 24px;
        background: var(--cream);
        box-shadow: 0 12px 18px rgba(15, 44, 67, .10);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .site-header.is-menu-open .menu { top: 70px; padding-top: 10px; padding-bottom: 4px; }
    .site-header.is-menu-open .supermenu { top: 260px; padding-top: 4px; padding-bottom: 18px; }
    .menu-item { display: block; margin: 0; padding: 10px 0; font-size: 17px; }
    .supermenu br { display: none; }
    .header-cta { display: block; padding: 10px 0; font-size: 11px; }
    .site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding-top: 70px; }
    .hero-visual { height: 440px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
    .hero-stats strong { font-size: 16px; }
    .hero-content h1 { font-size: 55px; }
    .story h2, .fit-intro h2, .advisory h2, .cta h2, .how h2 { line-height: .9; }
    .steps { grid-template-columns: 1fr; }
}


/* Contact form */
.contact-form-section { padding: clamp(75px, 10vw, 135px) max(24px, 7vw); }
.contact-form-inner { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.28fr); gap: clamp(45px, 7vw, 95px); align-items: stretch; }
.contact-form-image { min-height: 620px; background-position: center; background-size: cover; background-repeat: no-repeat; }
.contact-form-content { align-self: center; }
.contact-form-section .eyebrow { color: var(--rust); }
.contact-form-content h2 { font-size: clamp(52px, 7vw, 86px); margin-bottom: 28px; color: var(--paper); }
.contact-form-lead { max-width: 600px; font-size: clamp(18px, 2vw, 22px); color: var(--paper); }
.contact-form-body { max-width: 600px; margin: 28px 0 35px; font-size: 16px; color: rgba(251,248,241,.78); }
.contact-form-body a { color: var(--paper); }
.taxnerd-contact-form { max-width: 650px; margin-top: 34px; }
.taxnerd-contact-form label { display: block; margin-top: 20px; color: var(--paper); font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.taxnerd-contact-form input,
.taxnerd-contact-form textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid rgba(251,248,241,.3); border-radius: 0; background: rgba(251,248,241,.08); color: var(--paper); font: 16px/1.45 var(--serif); outline: none; }
.taxnerd-contact-form textarea { resize: vertical; min-height: 140px; }
.taxnerd-contact-form input:focus,
.taxnerd-contact-form textarea:focus { border-color: var(--rust); box-shadow: 0 0 0 1px var(--rust); }
.taxnerd-contact-form label span { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .6; }
.contact-submit { border: 0; cursor: pointer; margin-top: 28px; }
.contact-form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-form-message { max-width: 650px; margin: 25px 0; padding: 16px 18px; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.contact-form-success { border-left: 4px solid var(--rust); background: rgba(251,248,241,.08); color: var(--paper); }
.contact-form-error { border-left: 4px solid var(--sand); background: rgba(251,248,241,.08); color: var(--paper); }

@media (max-width: 760px) {
    .contact-form-inner { grid-template-columns: 1fr; }
    .contact-form-image { min-height: 360px; max-height: 500px; }
    .contact-form-row { grid-template-columns: 1fr; gap: 0; }
}
