/* ==========================================================================
   Live Oak Property Group
   ========================================================================== */

/* fonts: Cormorant Garamond + Source Sans 3, both OFL (licences in /fonts) --- */

@font-face { font-family: 'Cormorant Garamond'; src: url(/fonts/cormorant-garamond.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(/fonts/cormorant-garamond-italic.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url(/fonts/source-sans-3.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }

/* palette ------------------------------------------------------------------ */

:root {
    --navy: #112B44;      /* logo background */
    --cream: #EDE1C9;     /* logo lettering */
    --tree: #FBEACB;      /* the logo's tree */
    --gold-text: #E2C38E; /* gold for text on navy (the gradient's light middle) */
    /* brushed gold, sampled from the mock: light at the edges, deeper in the middle */
    --gold: linear-gradient(115deg, #B98F57 0%, #E9CB9C 22%, #C9A26A 45%, #EDD3AA 68%, #B08D57 100%);
    --ivory: #FAF7F0;     /* page background */
    --brass: #B08D57;     /* accents, and text on navy only */
    --brass-ink: #7A5F35; /* brass for text on ivory / cream (AA) */
    --ink: #1E2A36;       /* body text */
    --slate: #5A646E;     /* muted text (darkened from #6B7680 for AA) */
    --moss: #5E6B4E;
    --line: #DDD3BF;

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Source Sans 3', system-ui, sans-serif;

    --wrap: 72rem;
    --gap: clamp(1rem, 4vw, 2rem);
    --space: clamp(3rem, 8vw, 6rem);
    --bar: 4.5rem;
    --badge: 11rem;      /* logo in the menu bar; hangs below it */
    --over: calc((var(--badge) - var(--bar)) / 2 + .6rem); /* ivory strip above the bar, room for the logo's top half */
    --hang: calc((var(--badge) - var(--bar)) / 2 + .75rem); /* how far the logo reaches below the bar */
    --radius: 6px;
    --sky: max(80rem, 140svh); /* how far down the backdrop's sky reaches before it's all ivory */
}

/* base --------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 1rem); -webkit-text-size-adjust: 100%; }

/* backdrop: the backdrop's warm sky at the top, fading slowly into ivory; its treeline sits above the footer */
body {
    margin: 0;
    background:
        /* colours sampled down the backdrop's sky, eased into ivory so there's no visible edge */
        linear-gradient(#D6C09F, #D9C4A4 10%, #DECCAF 22%, #E5D6BE 36%, #ECE1CF 50%, #F2EBDF 64%, #F6F1E8 78%, #F9F5EE 90%, var(--ivory)) top / 100% var(--sky) no-repeat,
        var(--ivory);
    color: var(--ink);
    font: 1.125rem/1.6 var(--sans);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { color: var(--brass-ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 44rem; }
main > section { padding-block: var(--space); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--slate); max-width: 40rem; }
.kicker { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .25em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--cream); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

/* bands -------------------------------------------------------------------- */

.band-cream { background: var(--cream); }
.band-navy { background: var(--navy); color: var(--cream); }
.band-navy :is(h1, h2, h3) { color: var(--cream); }
.band-navy a:not(.btn) { color: var(--cream); }
.band-navy .lede { color: var(--cream); opacity: .85; }

.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.split > div:first-child { flex: 1 1 28rem; }
.split p:last-child { margin: 0; }
.two { display: grid; gap: 3rem; }
@media (min-width: 48rem) { .two { grid-template-columns: 1fr 1fr; } }

/* buttons ------------------------------------------------------------------ */

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 3rem; padding: .7rem 1.5rem;
    border: 2px solid transparent; border-radius: var(--radius);
    font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--ink); color: var(--ivory); }
.band-navy .btn-primary, .hero .btn-primary { background: var(--cream); color: var(--navy); }
.band-navy .btn-primary:hover, .hero .btn-primary:hover { background: var(--ivory); color: var(--navy); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: var(--ivory); color: var(--navy); }
.btn-ghost, .btn-ghost-light { border-color: currentColor; color: var(--cream); background: transparent; }
.btn-ghost:hover, .btn-ghost-light:hover { background: rgb(237 225 201 / .12); color: var(--ivory); }
.more { font-weight: 600; text-decoration: none; color: var(--navy); }
.more:hover { text-decoration: underline; }

/* logo --------------------------------------------------------------------- */
/* the logo image is always shown whole on its own navy, inside a padded box */

.logo { display: block; background: var(--navy); }
.logo img { width: 100%; }
.logo-badge { display: block; width: 100%; border-radius: 50%; }
.logo-foot { width: 8rem; }

/* holds the shared #gold gradient for icons; takes no space */
.defs { position: absolute; }

/* menu bar ----------------------------------------------------------------- */

/* navy bar between gold rules, set down from the top on an ivory strip (as in the mock);
   the logo sits centred on it in a gold ring. Scrolling tucks the strip away and the bar sticks. */
.bar {
    position: sticky; top: calc(-1 * var(--over)); z-index: 50; padding-top: var(--over);
    background: linear-gradient(transparent var(--over), var(--navy) 0); color: var(--gold-text);
}
.bar::before, .bar::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--gold); }
.bar::before { top: calc(var(--over) - 3px); }
.bar::after { top: 100%; box-shadow: 0 2px 6px rgb(0 0 0 / .25); }
.bar-inner { position: relative; display: flex; align-items: center; height: var(--bar); transition: height .2s; }
.bar.slim { --badge: 4.25rem; }
.bar-logo {
    position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
    width: var(--badge); padding: 3px; border-radius: 50%; background: var(--gold);
    box-shadow: 0 4px 18px rgb(0 0 0 / .35);
}
/* scrolled: the logo sits inside the bar, no gold ring */
.bar.slim .bar-logo { padding: 0; background: none; box-shadow: none; }
/* scrolled (wide screens): the logo slides to the left end of the bar and the menu follows it, with room between */
@media (min-width: 64rem) {
    .bar.slim .bar-logo { left: 0; translate: 0 -50%; }
    .bar.slim .nav { justify-content: flex-start; padding-left: calc(var(--badge) + 2rem); }
    .bar.slim .nav-gap { width: 0; }
}
.bar a { color: var(--gold-text); text-decoration: none; }
.nav { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; }
.nav ul { display: flex; align-items: center; gap: .25rem; }
.nav-gap { width: calc(var(--badge) + 2.5rem); }
.nav a { position: relative; display: block; padding: .5rem .75rem; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }
.nav a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 2px; background: var(--gold); opacity: 0; transition: opacity .15s; }
.nav a:hover::after, .nav a[aria-current]::after { opacity: 1; }
.nav .nav-cta a::after { display: none; }
.nav-toggle { display: none; }
.nav .nav-cta a {
    margin-left: .5rem; padding: .45rem .9rem; border-radius: var(--radius); color: var(--gold-text);
    border: 1px solid transparent; border-image: none; background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--gold) border-box;
}
.nav .nav-cta a:hover, .nav .nav-cta a[aria-current] { background: var(--gold) border-box; color: var(--navy); }

@media (max-width: 63.99rem) {
    :root { --badge: 7.5rem; }
    .bar.slim { --badge: 4.5rem; }
    .nav { position: static; inset: auto; }
    .nav-gap { display: none; }
    .nav-toggle {
        display: block; min-height: 2.75rem; padding: 0 .9rem;
        color: var(--gold-text); border: 1px solid transparent; border-radius: var(--radius);
        background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--gold) border-box;
        font: inherit; cursor: pointer;
    }
    .nav ul {
        /* full page width: the bar's wrap is inset by --gap each side at these sizes */
        display: none; position: absolute; left: calc(-1 * var(--gap)); right: calc(-1 * var(--gap)); top: 100%;
        flex-direction: column; align-items: flex-start; background: var(--navy); padding: .5rem var(--gap) 1.75rem;
        border-bottom: 3px solid; border-image: var(--gold) 1;
    }
    .nav.open ul { display: flex; }
    .nav a { padding: .85rem 0; font-size: 1.1rem; }
    .nav a::after { left: 0; right: 0; bottom: .45rem; }
    .nav .nav-cta { align-self: stretch; }
    .nav .nav-cta a { margin: .75rem 0 0; padding: .75rem 1rem; text-align: center; }
}

/* hero --------------------------------------------------------------------- */
/* photo is a real <img> (srcset, high priority); overlay keeps text readable */

.hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; place-items: center; min-height: 75vh; min-height: 75svh;
    text-align: center; color: var(--cream); background: var(--navy);
}
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; }
.hero.has-tiles::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(17 43 68 / .3), rgb(17 43 68 / .45) 45%, rgb(17 43 68 / .6)); }
main > .hero { padding-block: 2.5rem; }
.hero h1 { color: var(--ivory); font-weight: 500; text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.hero .lede { color: var(--ivory); margin-inline: auto; text-shadow: 0 1px 8px rgb(0 0 0 / .4); }
.hero .actions { justify-content: center; margin-top: 1.5rem; }
@media (max-width: 47.99rem) { .hero { min-height: 0; } main > .hero { padding-block: 2rem 2.25rem; } }

/* home --------------------------------------------------------------------- */

/* heading with a thin rule either side, as in the mock */
.rule-title {
    display: flex; align-items: center; justify-content: center; gap: 1.25rem;
    font: 500 clamp(.85rem, 1.6vw, 1.15rem) var(--serif); letter-spacing: .22em; text-transform: uppercase; text-align: center;
}
.rule-title::before, .rule-title::after { content: ""; flex: 0 1 4rem; height: 1px; background: currentColor; opacity: .7; }

.hero-title { font-size: clamp(1.75rem, 4.5vw, 3rem); margin: 0; }

/* four big choices, overlapping the hero on wide screens */
main > .tiles { padding-block: 1rem 0; position: relative; z-index: 1; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
    height: 100%; padding: 1.25rem .75rem; text-align: center; text-decoration: none;
    color: var(--gold-text);
    border: 3px solid transparent; border-radius: var(--radius);
    background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--gold) border-box;
    transition: transform .15s, box-shadow .15s;
}
.tile:hover, .tile:focus-visible { color: var(--gold-text); transform: translateY(-3px); box-shadow: 0 10px 24px rgb(17 43 68 / .3); }
.tile .icon { width: 3rem; height: 3rem; }
.tile-title { font: 500 clamp(1.35rem, 2.6vw, 1.75rem)/1.15 var(--serif); color: var(--ivory); }
.tile-action { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

@media (min-width: 48rem) {
    main > .tiles { margin-top: -4rem; }
    .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .tile { padding: 2rem 1rem 1.5rem; gap: .9rem; }
    .tile .icon { width: 4rem; height: 4rem; }
    .tile-title { font-size: clamp(1.4rem, 2.1vw, 1.85rem); }
    .tile-action { margin-top: .4rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: var(--radius); background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--gold) border-box; }
    .tile:hover .tile-action { background: var(--gold) border-box; color: var(--navy); }
}

.intro { text-align: center; }
.intro .rule-title { color: var(--navy); font-size: clamp(1rem, 2vw, 1.35rem); margin-bottom: 1rem; }
.intro-text { font: italic 500 clamp(1.25rem, 2.4vw, 1.6rem)/1.4 var(--serif); color: var(--ink); margin-bottom: 1.75rem; }

/* navy button with a gold edge */
.btn-frame { color: var(--gold-text); border: 1px solid transparent; background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--gold) border-box; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; padding-inline: 1.75rem; }
.btn-frame:hover { background: var(--gold) border-box; color: var(--navy); }

/* page head ---------------------------------------------------------------- */

main > .page-head { padding-bottom: 1rem; }

/* properties --------------------------------------------------------------- */

.filters { display: flex; gap: .5rem; margin-bottom: 2rem; }
.filters button {
    min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 99px;
    background: transparent; color: var(--ink); font: inherit; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.grid, .team { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .grid, .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid, .team { grid-template-columns: repeat(3, 1fr); } }
.card-img { aspect-ratio: 3 / 2; background: var(--cream); display: grid; place-items: center; color: var(--slate); border-radius: var(--radius); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding-top: 1rem; }
.card h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: .25rem; }
.facts { color: var(--slate); margin-bottom: .25rem; }
.price { font-weight: 600; color: var(--navy); }
.card[hidden] { display: none; }

/* about -------------------------------------------------------------------- */

.team { margin-top: 2rem; }
.person { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.person > p:not(.kicker) { color: var(--slate); }
.avatar {
    display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1rem;
    border-radius: 50%; background: var(--navy); color: var(--cream);
    font: 1.4rem var(--serif); overflow: hidden;
}
.person-contact a { color: var(--navy); }

/* sell your land ----------------------------------------------------------- */

main > .sell-hero { padding-block: clamp(2rem, 6vw, 5rem); }
.sell-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .sell-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.promises { margin: 1.5rem 0; }
.promises li, .ticks li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.promises li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border: solid var(--brass); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ticks li::before { border-color: var(--moss); }
.band-navy .promises li::before { border-color: var(--gold-text); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; }
.form-card { background: var(--ivory); color: var(--ink); padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--radius); }
.form-card h2 { color: var(--navy); font-size: 1.6rem; }

.steps { display: grid; gap: 2rem; counter-reset: step; margin-top: 2rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 2.5rem/1 var(--serif); color: var(--brass); margin-bottom: .75rem; }
.steps p, .reasons p { color: var(--slate); }

.reasons { display: grid; gap: 1.5rem 3rem; margin-top: 2rem; }
@media (min-width: 48rem) { .reasons { grid-template-columns: 1fr 1fr; } }

.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.compare { width: 100%; border-collapse: collapse; min-width: 32rem; }
.compare th, .compare td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 1.1rem var(--serif); color: var(--navy); }
.compare td:nth-child(2) { font-weight: 600; color: var(--navy); }
.compare td:nth-child(3) { color: var(--slate); }

.ticks { columns: 2 12rem; column-gap: 2rem; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.1rem 2rem 1.1rem 0; cursor: pointer; font: 1.15rem var(--serif); color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--brass-ink); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--slate); }

/* bottom dock on phones (We Buy Land) */
.dock { display: none; }
@media (max-width: 47.99rem) {
    .page-sell .dock {
        display: grid; grid-template-columns: 2fr 1fr; gap: .5rem;
        position: fixed; inset: auto 0 0; z-index: 40; padding: .6rem var(--gap) calc(.6rem + env(safe-area-inset-bottom));
        background: var(--navy); box-shadow: 0 -2px 12px rgb(0 0 0 / .2);
        transform: translateY(100%); transition: transform .2s;
    }
    .page-sell .dock.show { transform: none; }
    .page-sell .foot { padding-bottom: 5rem; }
}

/* forms -------------------------------------------------------------------- */

.form { display: grid; gap: .35rem; }
.form label { font-weight: 600; font-size: .95rem; margin-top: .65rem; }
.form input, .form textarea {
    width: 100%; min-height: 3rem; padding: .7rem .85rem;
    border: 1px solid #B9AF9C; border-radius: var(--radius); background: #fff; color: var(--ink);
    font: inherit;
}
.form input:focus, .form textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 0; }
.form .btn { margin-top: 1.25rem; width: 100%; }
.form-note { font-size: .9rem; color: var(--slate); margin: .75rem 0 0; }
.opt { font-weight: 400; color: var(--slate); }
.more summary { margin-top: .85rem; cursor: pointer; color: var(--navy); font-weight: 600; font-size: .95rem; }
.more[open] { display: grid; gap: .35rem; }
.hp { position: absolute; left: -9999px; }
.band-navy .form label, .band-navy .more summary { color: var(--cream); }
.band-navy .form-note, .band-navy .opt { color: var(--cream); opacity: .85; }
.band-navy .form-card .form label, .band-navy .form-card .more summary { color: var(--navy); }
.band-navy .form-card .form-note, .band-navy .form-card .opt { color: var(--slate); opacity: 1; }
.band-navy .form-card a { color: var(--navy); }
.band-navy .form-card .btn-primary { background: var(--navy); color: var(--cream); }

/* contact ------------------------------------------------------------------ */

.big { font: 2rem var(--serif); text-decoration: none; }

/* footer ------------------------------------------------------------------- */

.treeline {
    height: clamp(7rem, 22vw, 20rem); margin-top: calc(-1 * var(--space));
    background: url(/images/treeline.webp) bottom / cover no-repeat;
    border-bottom: 3px solid; border-image: var(--gold) 1; /* gold rule under the trees, on every page */
    -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%);
}
@media (max-width: 47.99rem) { .treeline { background-image: url(/images/treeline-768.webp); } }
/* after a navy band, start the treeline on clear ivory instead of fading over the navy */
main:has(> .band-navy:last-child) + .treeline { margin-top: 0; }

.foot { background: var(--navy); color: var(--cream); padding-block: 3.5rem 1.5rem; font-size: .95rem; }
.foot a { color: var(--cream); }
.foot h2 { font: 600 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.foot li { margin-bottom: .35rem; }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: auto 1fr 1fr; gap: 4rem; } }
.foot-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(237 225 201 / .15); opacity: .7; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* home hero: a photo strip under the hanging logo, short enough that About shows on the first screen */
main > .hero.has-tiles { min-height: 0; height: clamp(22rem, 58svh, 36rem); padding: 0; }
.hero.has-tiles::before { background: linear-gradient(rgb(17 43 68 / .1), rgb(17 43 68 / .3)); }
@media (max-width: 47.99rem) { main > .hero.has-tiles { height: 16rem; } }

/* room under the hanging logo ------------------------------------------------ */

main > :first-child { padding-top: calc(var(--hang) + clamp(1.5rem, 4vw, 2.5rem)); }
