/* Pungent Ltd — pungent.uk
   Restrained dark-walnut corporate typography. No animations. */

:root {
    --bg:        #1A0F0A;
    --bg-soft:   #221611;
    --ink:       #F5E6C8;
    --ink-muted: rgba(245, 230, 200, 0.66);
    --ink-dim:   rgba(245, 230, 200, 0.42);
    --ink-faint: rgba(245, 230, 200, 0.22);
    --gold:      #B8860B;
    --gold-soft: #DAA520;
    --rule:      rgba(184, 134, 11, 0.22);
    --rule-soft: rgba(184, 134, 11, 0.10);
    --max:       960px;
    --narrow:    720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    /* Subtle paper-grain overlay via layered radial noise-like gradients.
       Keeps the dark surface from looking flat on large monitors. */
    background-image:
        radial-gradient(circle at 20% 10%, rgba(184,134,11,0.035) 0%, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(184,134,11,0.025) 0%, transparent 45%);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
    font-size: 17px;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Header / nav ───────────────────────────────────────── */

.site-header {
    border-bottom: 1px solid var(--rule-soft);
    padding: 28px 32px;
}

.site-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.wordmark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: 0.32em;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
}

.wordmark:hover { color: var(--gold-soft); }

.nav {
    display: flex;
    gap: 28px;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav a {
    color: var(--ink-muted);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--gold-soft);
    border-bottom-color: var(--rule);
}

/* ── Main content ───────────────────────────────────────── */

main {
    flex: 1;
    padding: 72px 32px 96px;
}

.content {
    max-width: var(--narrow);
    margin: 0 auto;
}

.content-wide {
    max-width: var(--max);
    margin: 0 auto;
}

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.4rem);
    letter-spacing: -0.005em;
    margin-bottom: 28px;
}

h1.display {
    font-size: clamp(2.6rem, 6.2vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 56px 0 16px;
    letter-spacing: -0.005em;
}

h3 {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    margin: 32px 0 10px;
    color: var(--gold-soft);
}

p {
    margin-bottom: 20px;
    color: var(--ink-muted);
}

.lede {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 40px;
    max-width: 620px;
}

.eyebrow {
    font-family: Georgia, serif;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

a {
    color: var(--gold-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
}

a:hover {
    color: var(--ink);
    border-bottom-color: var(--gold-soft);
}

/* Subtle gold rule, used as a section divider */
.rule {
    border: 0;
    border-top: 1px solid var(--rule);
    margin: 56px auto;
    width: 64px;
}

.rule-wide {
    border: 0;
    border-top: 1px solid var(--rule-soft);
    margin: 64px 0;
}

/* ── Hero (homepage) ────────────────────────────────────── */

.hero {
    padding: 40px 0 8px;
}

.hero-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    color: var(--ink-muted);
    margin-bottom: 48px;
    max-width: 560px;
}

/* ── Approach grid ──────────────────────────────────────── */

.approach {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 8px;
}

@media (min-width: 720px) {
    .approach { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.approach-item {
    border-top: 1px solid var(--rule);
    padding-top: 20px;
}

.approach-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.approach-item p {
    font-size: 0.98rem;
    margin-bottom: 0;
}

/* ── Contact card ───────────────────────────────────────── */

.contact-card {
    border: 1px solid var(--rule);
    padding: 40px 44px;
    margin: 32px 0;
    background: var(--bg-soft);
    max-width: 520px;
}

.contact-card .name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-card .block {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.contact-card .block:last-child { margin-bottom: 0; }

.contact-card hr {
    border: 0;
    border-top: 1px solid var(--rule-soft);
    margin: 16px 0;
}

.contact-card a {
    color: var(--ink);
    border-bottom-color: var(--rule);
}

.contact-card a:hover {
    color: var(--gold-soft);
}

.hours {
    font-size: 0.92rem;
    color: var(--ink-dim);
    margin-top: 24px;
    font-style: italic;
}

/* ── Footer (present on every page) ─────────────────────── */

.site-footer {
    border-top: 1px solid var(--rule-soft);
    padding: 40px 32px;
    margin-top: auto;
    font-size: 0.86rem;
    line-height: 1.8;
    color: var(--ink-dim);
    text-align: center;
}

.site-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.site-footer .legal-name {
    color: var(--ink-muted);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.site-footer a {
    color: var(--ink-dim);
    border-bottom-color: transparent;
}

.site-footer a:hover {
    color: var(--gold-soft);
    border-bottom-color: var(--rule);
}

.site-footer .footer-links {
    margin-top: 14px;
}

.site-footer .footer-links a { margin: 0 10px; }

/* ── Legal pages (privacy / terms) ──────────────────────── */

.legal h1 {
    font-size: clamp(2rem, 4.2vw, 2.6rem);
    margin-bottom: 10px;
}

.legal .updated {
    color: var(--ink-dim);
    font-size: 0.88rem;
    font-style: italic;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    margin: 40px 0 12px;
    color: var(--gold-soft);
    font-weight: 500;
}

.legal p {
    font-size: 0.98rem;
    line-height: 1.8;
}

/* ── Mobile adjustments ─────────────────────────────────── */

@media (max-width: 640px) {
    .site-header { padding: 22px 22px; }
    .site-header-inner { gap: 18px; justify-content: flex-start; }
    .wordmark { font-size: 1.15rem; letter-spacing: 0.28em; }
    .nav { gap: 18px; font-size: 0.75rem; }
    main { padding: 48px 24px 72px; }
    .contact-card { padding: 28px 24px; }
    .site-footer { padding: 32px 22px; font-size: 0.8rem; }
}

@media (max-width: 420px) {
    .nav { width: 100%; }
}
