/* ============================================================
   EstatesBase marketing site — single stylesheet.
   Hand-written port of the prototype's Tailwind output: the same
   design tokens (Visual Identity Brief v1.1 / prototype index.css),
   the same utility values at the same breakpoints (640/768/1024),
   so the markup mirrors the prototype class-for-class.
   ============================================================ */

:root {
    --color-navy: 222.6 75.8% 17.8%;
    --color-gold: 41 100% 49%;
    --color-gold-dark: 42 88% 41%;
    --color-teal: 183 35% 45%;
    --color-teal-hover: 183 37% 37%;
    --color-bg: 216 33% 97%;
    --color-navy-mid: 213 24% 33%;
    --color-navy-tint: 222 38% 93%;
}

/* ---- Preflight (Tailwind-faithful subset) ---- */

*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: hsl(var(--color-navy-tint));
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
}
body {
    margin: 0;
    line-height: inherit;
    background-color: hsl(var(--color-bg));
    color: hsl(var(--color-navy-mid));
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-size: inherit;
    font-family: 'Spectral', Georgia, serif;
    font-weight: 600;
    color: hsl(var(--color-navy));
}
p, figure, blockquote, dl, dd {
    margin: 0;
}
ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    color: inherit;
    text-decoration: inherit;
}
b, strong {
    font-weight: bolder;
}
img, svg, video {
    display: block;
    vertical-align: middle;
}
img {
    max-width: 100%;
    height: auto;
}
table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}
button, select {
    text-transform: none;
}
button {
    background-color: transparent;
    background-image: none;
    cursor: pointer;
    -webkit-appearance: button;
}
:disabled {
    cursor: default;
}
[hidden] {
    display: none;
}

/* ---- Layout ---- */

.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-self-center { justify-self: center; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-shot { grid-template-columns: 1.6fr 1.1fr 0.8fr 0.7fr; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-full { top: 100%; }
.top-1\.5 { top: 0.375rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.-left-\[31px\] { left: -31px; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.-mr-2 { margin-right: -0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-3 { padding: 0.75rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.\!py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-3 { padding-top: 0.75rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-14 { padding-top: 3.5rem; }
.pt-20 { padding-top: 5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pl-4 { padding-left: 1rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-6 { padding-left: 1.5rem; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-x-10 { column-gap: 2.5rem; }
.gap-y-8 { row-gap: 2rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-bottom-width: 0; }
.divide-navy-tint > :not([hidden]) ~ :not([hidden]) { border-color: hsl(var(--color-navy-tint)); }

.h-2\.5 { height: 0.625rem; }
.h-3 { height: 0.75rem; }
.h-9 { height: 2.25rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-\[2px\] { height: 2px; }
.h-\[3px\] { height: 3px; }
.w-2\.5 { width: 0.625rem; }
.w-3 { width: 0.75rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }
.w-40 { width: 10rem; }
.w-52 { width: 13rem; }
.w-80 { width: 20rem; }
.w-full { width: 100%; }
.w-1\/3 { width: 33.333333%; }
.w-1\/5 { width: 20%; }
.min-h-screen { min-height: 100vh; }
.min-h-\[44px\] { min-height: 44px; }
.min-w-0 { min-width: 0; }
.min-w-\[44px\] { min-width: 44px; }
.min-w-\[640px\] { min-width: 640px; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overscroll-contain { overscroll-behavior: contain; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pointer-events-none { pointer-events: none; }

/* ---- Typography ---- */

.font-spectral { font-family: 'Spectral', Georgia, serif; }
.font-outfit { font-family: 'Outfit', system-ui, sans-serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.text-\[10px\] { font-size: 10px; line-height: 1.5; }
.text-\[11px\] { font-size: 11px; line-height: 1.5; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-\[0\.35em\] { letter-spacing: 0.35em; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration-line: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.align-top { vertical-align: top; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

/* ---- Colours ---- */

.text-navy { color: hsl(var(--color-navy)); }
.text-navy\/25 { color: hsl(var(--color-navy) / 0.25); }
.text-navy-mid { color: hsl(var(--color-navy-mid)); }
.text-navy-mid\/70 { color: hsl(var(--color-navy-mid) / 0.7); }
.text-teal { color: hsl(var(--color-teal)); }
.text-gold-dark { color: hsl(var(--color-gold-dark)); }
.text-white { color: #fff; }
.text-white\/60 { color: rgb(255 255 255 / 0.6); }
.text-white\/80 { color: rgb(255 255 255 / 0.8); }

.bg-white { background-color: #fff; }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-cool-bg { background-color: hsl(var(--color-bg)); }
.bg-navy { background-color: hsl(var(--color-navy)); }
.bg-navy\/10 { background-color: hsl(var(--color-navy) / 0.1); }
.bg-navy\/20 { background-color: hsl(var(--color-navy) / 0.2); }
.bg-navy-tint { background-color: hsl(var(--color-navy-tint)); }
.bg-teal { background-color: hsl(var(--color-teal)); }
.bg-teal\/15 { background-color: hsl(var(--color-teal) / 0.15); }
.bg-gold { background-color: hsl(var(--color-gold)); }
.bg-gold\/20 { background-color: hsl(var(--color-gold) / 0.2); }

.fill-navy { fill: hsl(var(--color-navy)); }
.fill-navy-tint { fill: hsl(var(--color-navy-tint)); }
.fill-teal { fill: hsl(var(--color-teal)); }
.fill-gold { fill: hsl(var(--color-gold)); }
.fill-white { fill: #fff; }
.stroke-teal { stroke: hsl(var(--color-teal)); }
.stroke-white { stroke: #fff; }

/* ---- Borders ---- */

.border { border-width: 1px; }
.border-\[3px\] { border-width: 3px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-collapse { border-collapse: collapse; }
.border-navy-tint { border-color: hsl(var(--color-navy-tint)); }
.border-navy\/25 { border-color: hsl(var(--color-navy) / 0.25); }
.border-teal { border-color: hsl(var(--color-teal)); }
.border-gold { border-color: hsl(var(--color-gold)); }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1); }
.border-white\/20 { border-color: rgb(255 255 255 / 0.2); }
.last\:border-0:last-child { border-width: 0; }
.last\:pb-0:last-child { padding-bottom: 0; }

.rounded { border-radius: 0.25rem; }
.rounded-\[2px\] { border-radius: 2px; }
.rounded-\[4px\] { border-radius: 4px; }
.rounded-full { border-radius: 9999px; }

/* ---- Effects ---- */

.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-shot { box-shadow: 0 18px 40px -24px hsl(var(--color-navy) / 0.45); }
.opacity-90 { opacity: 0.9; }
.rotate-\[-16deg\] { transform: rotate(-16deg); }
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* ---- States ---- */

.hover\:text-teal:hover { color: hsl(var(--color-teal)); }
.hover\:text-teal-hover:hover { color: hsl(var(--color-teal-hover)); }
.hover\:bg-teal-hover:hover { background-color: hsl(var(--color-teal-hover)); }
.hover\:bg-cool-bg:hover { background-color: hsl(var(--color-bg)); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-teal:focus { border-color: hsl(var(--color-teal)); }

/* ---- Site-specific ---- */

/* Honeypot: visually removed, still submittable by bots. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- sm: 640px ---- */
@media (min-width: 640px) {
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:flex { display: flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:gap-4 { gap: 1rem; }
    .sm\:gap-5 { gap: 1.25rem; }
    .sm\:w-auto { width: auto; }
    .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
}

/* ---- md: 768px ---- */
@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-start { align-items: flex-start; }
    .md\:justify-between { justify-content: space-between; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }
    .md\:grid-cols-\[1\.5fr_auto\] { grid-template-columns: 1.5fr auto; }
    .md\:gap-14 { gap: 3.5rem; }
    .md\:w-40 { width: 10rem; }
    .md\:w-44 { width: 11rem; }
    .md\:w-64 { width: 16rem; }
    .md\:py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:pt-28 { padding-top: 7rem; }
    .md\:pb-20 { padding-bottom: 5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* ---- lg: 1024px ---- */
@media (min-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:pr-64 { padding-right: 16rem; }
    .lg\:w-72 { width: 18rem; }
}
