/* ---------- Fonts (self-hosted) ---------- */
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('/fonts/HelveticaNowDisplay-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('/fonts/HelveticaNowDisplay-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
    --color-bg:        #060807;  /* matches sixmarkets.io #app */
    --color-dark-60:   #1a1a1a;
    --color-light:     #ffffff;
    --color-gray-100:  #c7c9ce;
    --color-gray-50:   #999999;
    --color-border:    #606d76;  /* matches sixmarkets footer card border */
    --color-accent:    #67fbc9;  /* teal/green from SixMarkets */
    --color-violet:    #a366ff;  /* matches sixmarkets primary button */

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Helvetica Now Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    --container:        1440px;  /* matches sixmarkets */
    --container-pad-x:  24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
    -webkit-text-size-adjust: 100%;
    background-color: var(--color-bg);  /* moved here so .aurora can sit behind content via z-index: -1 */
}
body {
    color: var(--color-light);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Aurora background (SVG wave paths, fixed, animated) ---------- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.aurora__svg {
    width: 100%;
    height: 100%;
    display: block;
}
.aurora__wave {
    will-change: transform;
}

/* Each wave's translateX must equal one full wavelength of its path
   for the loop to be seamless. Back: 800px, Mid: 1000px, Fore: 600px. */
.aurora__wave--back {
    animation: aurora-drift-back 35s linear infinite;
}
.aurora__wave--mid {
    animation: aurora-drift-mid 50s linear infinite reverse;
}
.aurora__wave--fore {
    animation: aurora-drift-fore 22s linear infinite;
}

@keyframes aurora-drift-back { to { transform: translateX(-800px); } }
@keyframes aurora-drift-mid  { to { transform: translateX(1000px); } }
@keyframes aurora-drift-fore { to { transform: translateX(-600px); } }

@media (prefers-reduced-motion: reduce) {
    .aurora__wave { animation: none; }
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout primitives ---------- */
main { max-width: var(--container); margin: 0 auto; padding-inline: var(--container-pad-x); }

/* ---------- Header ---------- */
.site-header {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px var(--container-pad-x) 0;
    text-align: center;  /* center the logo, matching sixmarkets */
}
.logo {
    display: inline-block;
}
.logo img {
    width: 500px;
    height: auto;
}

/* ---------- Hero (placeholder layout) ---------- */
.hero { padding: 20px 0 96px; text-align: center; }
.hero__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.4;
    margin-bottom: 24px;
}
.hero__subtitle {
    color: var(--color-gray-100);
    font-weight: 300;
    font-size: 22px;
    line-height: 1.45;
    max-width: 640px;
    margin: 0 auto 32px;
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; text-align: center; }
.section__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 24px;
}
.section__body {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;  /* paragraphs and bullets share the same left edge */
}
.section__body p + p,
.section__body p + ul,
.section__body ul + p { margin-top: 16px; }
.section__lead {
    font-size: 18px;
    color: var(--color-gray-100);
}
.bullets {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-gray-100);
}
.bullets li + li { margin-top: 8px; }

/* ---------- Buttons ---------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.button:hover { opacity: 0.9; }

.button--primary {
    background: var(--color-violet);
    border-color: var(--color-violet);
    color: #000;
}
.button--outline {
    background: transparent;
    border-color: var(--color-light);
    color: var(--color-light);
}

/* ---------- Contact form (placeholder) ---------- */
.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 520px; margin: 0 auto; }
.contact-form button[type="submit"] { align-self: center; }
.field { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.field__label { color: var(--color-gray-50); font-size: 14px; }
.field input,
.field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-light);
    padding: 12px 0;
    color: var(--color-light);
    font-size: 16px;
}
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--color-violet); }

/* ---------- Footer ---------- */
.site-footer {
    max-width: var(--container);
    margin: 40px auto 0;
    padding: 40px var(--container-pad-x) 60px;
    color: var(--color-gray-50);
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}
