/* =================================================================
   Perminder Chohan — shared theme
   One place for colours, fonts and layout used across every page.
   ================================================================= */

:root {
    /* Palette — deliberate, not the default cream+terracotta */
    --ink:        #0F1E3D;   /* deep navy, primary brand */
    --ink-soft:   #1C2C4C;
    --brass:      #C08A2D;   /* warm gold accent */
    --brass-deep: #9C6E1F;
    --paper:      #F7F5F0;   /* warm off-white background */
    --paper-2:    #EFEBE2;
    --text:       #1C1C1E;
    --muted:      #5A6473;
    --line:       #E1DBCE;
    --white:      #FFFFFF;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --wrap:   1180px;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 30, 61, 0.10);
    --shadow-lg: 0 20px 50px rgba(15, 30, 61, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brass-deep); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.12;
    font-weight: 600;
    margin: 0 0 .4em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .74rem;
    font-weight: 600;
    color: var(--brass-deep);
    margin: 0 0 .6rem;
}

.wrap { width: min(var(--wrap), 92vw); margin: 0 auto; }

.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tint { background: var(--paper-2); }
.section--ink  { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brass); color: #241a06; }
.btn--primary:hover { background: var(--brass-deep); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 245, 240, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; padding: .85rem 0;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand-tag { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.site-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); border-color: var(--brass); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #C7CEDC; margin-top: 0; }
.footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
    padding: 3.5rem 0 2rem;
}
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand p { max-width: 34ch; color: #9AA5BC; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { color: #C7CEDC; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; font-size: .85rem; color: #8894AE; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .site-nav.is-open { max-height: 60vh; }
    .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
    .site-nav li { width: 100%; }
    .site-nav a { display: block; padding: .9rem 4vw; border-bottom: 0; }
    .header-inner { position: relative; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

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