/* ============================================================
   CARTOGRAPHER'S SCRIPTORIUM — Guildheim marketing homepage
   Location: /public_html/css/home.css

   Ported from SuiteDnD index.php (Apr 29, 2026) — extracted to
   external stylesheet for cacheability and maintainability.
   Rebranded for Guildheim 2026-05-15.

   Palette: Deep Inkwell · Weathered Plank · Aged Vellum
            Amber Flame · Celestial Midnight · Antique Brass
   ============================================================ */

:root {
    --ink:      #1A1612;
    --ink-2:    #0f0c09;
    --plank:    #2D241E;
    --plank-2:  #3a2f26;
    --vellum:   #E8D9C3;
    --vellum-2: #d9c7ab;
    --vellum-3: #f0e5d3;
    --flame:    #D49B35;
    --flame-2:  #e8b249;
    --flame-3:  #a07420;
    --midnight: #3A4D5F;
    --brass:    #A68952;
    --brass-2:  #c4a468;

    --serif:      "Cormorant Garamond", "EB Garamond", Georgia, serif;
    --display:    "Cinzel", "Trajan Pro", serif;
    --journal:    "IM Fell English", "Cormorant Garamond", serif;

    --shadow-deep: 0 20px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4);
    --shadow-lift: 0 10px 30px rgba(0,0,0,0.5);
    --glow-flame:  0 0 40px rgba(212, 155, 53, 0.35);

    /* Shared seam used between the cinematic-background sections */
    --seam: 1px solid var(--brass);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--ink);
    color: var(--vellum);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(212,155,53,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(58,77,95,0.05) 0%, transparent 50%);
}

/* ----------  NAVIGATION  ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(15,12,9,0.92) 0%, rgba(15,12,9,0.6) 70%, transparent 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: padding .3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.nav-brand img {
    height: 11vh;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}
.nav-brand-text {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 0.1em;
    color: var(--vellum);
    text-transform: uppercase;
    line-height: 1;
}
.nav-brand-text .cap {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25em;
    letter-spacing: 0.1em;
    color: var(--vellum);
    text-transform: uppercase;
}
.nav-brand-text .tag {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: .75em;
    letter-spacing: 0.18em;
    color: var(--brass-2);
    text-transform: none;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--vellum);
    text-decoration: none;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    transition: color .3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0;
    height: 1px;
    background: var(--flame);
    transition: all .35s ease;
    transform: translateX(-50%);
}
.nav-links a:hover { color: var(--flame-2); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--brass);
    color: var(--vellum);
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    display: inline-block;
}
.nav-cta:hover {
    background: var(--flame);
    border-color: var(--flame);
    color: var(--ink);
    box-shadow: var(--glow-flame);
}

/* ----------  HERO  ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/home/hero-1.webp');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowDrift 24s ease-in-out infinite alternate;
}
@keyframes slowDrift {
    from { transform: scale(1.05) translate(0, 0); }
    to   { transform: scale(1.08) translate(-1%, -1%); }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(15,12,9,0.85) 90%),
        linear-gradient(to bottom, rgba(15,12,9,0.3) 0%, transparent 40%, rgba(15,12,9,0.9) 100%);
}

.candle-glow {
    position: absolute;
    top: 8%;
    right: 6%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255,180,80,0.5) 0%, rgba(212,155,53,0.18) 40%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
    animation: flicker 3.5s infinite ease-in-out;
    filter: blur(8px);
}
@keyframes flicker {
    0%, 100% { opacity: 1;    transform: scale(1); }
    20%      { opacity: 0.82; transform: scale(0.97); }
    35%      { opacity: 0.95; transform: scale(1.02); }
    55%      { opacity: 0.78; transform: scale(0.96); }
    75%      { opacity: 1;    transform: scale(1.03); }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 32px;
    animation: heroRise 1.6s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: .2s;
}
@keyframes heroRise {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.55em;
    color: var(--brass-2);
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--brass));
}
.hero-eyebrow::after {
    background: linear-gradient(to left, transparent, var(--brass));
}

.hero h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(38px, 6.2vw, 82px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--vellum-3);
    margin-bottom: 32px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.hero h1 .accent {
    font-style: italic;
    font-family: var(--serif);
    font-weight: 500;
    color: var(--flame-2);
    display: inline-block;
}

.hero-sub {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.5;
    color: var(--vellum-2);
    max-width: 580px;
    margin: 0 auto 48px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
    padding: 16px 34px;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all .35s ease;
    border: none;
}
.btn-primary {
    background: linear-gradient(to bottom, var(--flame-2), var(--flame-3));
    color: var(--ink);
    box-shadow: 0 4px 0 var(--flame-3), 0 10px 24px rgba(0,0,0,0.4);
    position: relative;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--flame-3), 0 14px 32px rgba(212,155,53,0.4);
}
.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--flame-3), 0 4px 8px rgba(0,0,0,0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--vellum);
    border: 1px solid var(--brass);
}
.btn-secondary:hover {
    background: rgba(166,137,82,0.12);
    border-color: var(--flame-2);
    color: var(--flame-2);
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.4em;
    color: var(--brass);
    text-transform: uppercase;
    opacity: 0.7;
    z-index: 3;
    animation: fadePulse 2.5s infinite ease-in-out;
}
.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background: var(--brass);
    margin: 12px auto 0;
}
@keyframes fadePulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.9; }
}

/* ----------  ORNAMENTAL DIVIDER ----------
   One base class; add .divider--footer for the ink-2 background band. */
.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 64px 0 48px;
    gap: 28px;
}
.divider--footer { background-color: var(--ink-2); }
.divider-img {
    height: 58px;
    width: auto;
    opacity: 0.82;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.divider-line {
    flex: 1;
    max-width: 180px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brass), transparent);
}

/* ----------  SECTION: THE TOOLS  ---------- */
.section {
    padding: 80px 48px;
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}
.section-eyebrow {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.5em;
    color: var(--flame);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.15;
    color: var(--vellum-3);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.section-title .italic {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--flame-2);
    letter-spacing: 0;
}
.section-sub {
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    color: var(--vellum-2);
    line-height: 1.6;
}

.tools-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tool-card {
    background: linear-gradient(180deg, rgba(45,36,30,0.92), rgba(26,22,18,0.96));
    border: 1px solid rgba(166,137,82,0.25);
    padding: 44px 32px 36px;
    text-align: center;
    position: relative;
    transition: all .5s cubic-bezier(.2,.7,.2,1);
    overflow: hidden;
}
.tool-card::before,
.tool-card::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--brass);
    transition: all .4s ease;
}
.tool-card::before {
    top: 8px; left: 8px;
    border-right: none;
    border-bottom: none;
}
.tool-card::after {
    bottom: 8px; right: 8px;
    border-left: none;
    border-top: none;
}
.tool-card:hover {
    transform: translateY(-6px);
    border-color: var(--flame);
    box-shadow: var(--shadow-lift), 0 0 40px rgba(212,155,53,0.15);
}
.tool-card:hover::before,
.tool-card:hover::after {
    border-color: var(--flame-2);
    width: 32px;
    height: 32px;
}

.tool-icon {
    height: 96px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6));
    transition: transform .5s ease;
}
.tool-card:hover .tool-icon {
    transform: scale(1.08) rotate(-3deg);
}

.tool-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.16em;
    color: var(--vellum-3);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.tool-desc {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--vellum-2);
    line-height: 1.55;
}

/* ----------  SECTION: SCRIPTORIUM (text LEFT, image RIGHT)  ---------- */
.scriptorium {
    position: relative;
    padding: 0;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink-2);
}
.scriptorium-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/home/background-cartography.webp');
    background-size: cover;
    background-position: center right;
    opacity: 0.95;
    /* Seam borders fade with the bg opacity — the gold line trails off
       into the open (transparent) side of each cinematic panel. */
    border-top: var(--seam);
    border-bottom: var(--seam);
}
.scriptorium-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(45,36,30,0.96) 0%, rgba(45,36,30,0.78) 38%, rgba(45,36,30,0.15) 70%, transparent 100%);
}

.scriptorium-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 96px 48px;
}
.scriptorium-inner { max-width: 520px; }

.dropcap {
    font-family: var(--display);
    font-weight: 700;
    float: left;
    font-size: 82px;
    line-height: 0.8;
    padding: 10px 16px 2px 0;
    color: var(--flame-2);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.scriptorium-body {
    font-family: var(--journal);
    font-size: 20px;
    line-height: 1.7;
    color: var(--vellum-2);
    margin-bottom: 28px;
}

.ornate-list {
    list-style: none;
    margin: 32px 0;
}
.ornate-list li {
    padding: 10px 0 10px 28px;
    font-family: var(--serif);
    font-size: 18px;
    color: var(--vellum);
    position: relative;
    border-bottom: 1px dashed rgba(166,137,82,0.3);
}
.ornate-list li:last-child { border-bottom: none; }
.ornate-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--flame);
    font-size: 14px;
    top: 14px;
}

/* ----------  SECTION: AI SCRIBE (text RIGHT, mirrors Scriptorium)  ---------- */
.scribe {
    position: relative;
    padding: 0;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink-2);
}
.scribe-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/home/background-machinist-owl-2.webp');
    background-size: cover;
    background-position: center left;
    opacity: 0.95;
    border-top: var(--seam);
    border-bottom: var(--seam);
}
/* Gradient mirrored from Scriptorium: dark on RIGHT this time, open on LEFT */
.scribe-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(270deg, rgba(45,36,30,0.96) 0%, rgba(45,36,30,0.78) 38%, rgba(45,36,30,0.15) 70%, transparent 100%);
}

.scribe-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 96px 48px;
    display: flex;
    justify-content: flex-end;  /* push content to the right side */
}
.scribe-inner {
    max-width: 520px;
    position: relative;
}

/* Decorative owl floating in the negative space above the heading */
.scribe-owl {
    position: absolute;
    top: -72px;
    right: 0;
    width: 120px;
    height: auto;
    opacity: 0.65;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.7));
    transform: rotate(6deg);
    pointer-events: none;
}

.scribe-body {
    font-family: var(--journal);
    font-size: 20px;
    line-height: 1.7;
    color: var(--vellum-2);
    margin-bottom: 28px;
}

/* ----------  SECTION: AT THE TABLE  ---------- */
.at-table {
    padding: 120px 48px;
    background:
        linear-gradient(180deg, var(--ink) 0%, var(--plank) 50%, var(--ink) 100%);
    position: relative;
}

.at-table-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}

.at-table-img {
    position: relative;
    padding: 14px;
    background: linear-gradient(135deg, var(--brass) 0%, var(--flame-3) 50%, var(--brass) 100%);
    box-shadow: var(--shadow-deep);
}
.at-table-img img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid var(--ink);
    transform: rotateY(180deg);
}
.at-table-img::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(26,22,18,0.6);
    pointer-events: none;
}

.at-table-copy .section-eyebrow { text-align: left; margin-bottom: 16px; }
.at-table-copy .section-title   { text-align: left; margin-bottom: 28px; }
.at-table-copy .section-sub     { text-align: left; margin-bottom: 28px; }

.session-video {
    height: 65px;
    float: left;
}

.quote-mark {
    font-family: var(--serif);
    font-style: italic;
    font-size: 120px;
    line-height: 0.5;
    color: var(--flame);
    opacity: 0.3;
    display: block;
    margin-bottom: -20px;
}

.testimonial {
    font-family: var(--journal);
    font-style: italic;
    font-size: 21px;
    line-height: 1.6;
    color: var(--vellum-2);
    padding: 0 0 20px 36px;
    border-left: 2px solid var(--flame);
    margin-top: 32px;
}
.testimonial-cite {
    display: block;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--brass-2);
    margin-top: 16px;
    text-transform: uppercase;
    font-style: normal;
}

/* ----------  SECTION: THE PILLARS  ---------- */
.pillars {
    padding: 110px 48px;
    background: var(--ink);
    text-align: center;
    position: relative;
}

.pillars-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.pillar-card {
    background: linear-gradient(180deg, rgba(45,36,30,0.92), rgba(26,22,18,0.96));
    border: 1px solid rgba(166,137,82,0.25);
    padding: 44px 28px 36px;
    text-align: center;
    position: relative;
    transition: all .5s cubic-bezier(.2,.7,.2,1);
    overflow: hidden;
}
.pillar-card::before,
.pillar-card::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--brass);
    transition: all .4s ease;
}
.pillar-card::before {
    top: 8px; left: 8px;
    border-right: none;
    border-bottom: none;
}
.pillar-card::after {
    bottom: 8px; right: 8px;
    border-left: none;
    border-top: none;
}
.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--flame);
    box-shadow: var(--shadow-lift), 0 0 40px rgba(212,155,53,0.15);
}
.pillar-card:hover::before,
.pillar-card:hover::after {
    border-color: var(--flame-2);
    width: 32px;
    height: 32px;
}

.pillar-roman {
    display: inline-block;
    padding: 6px 14px 4px;
    margin: 0 auto 20px;
    border-top: 1px solid rgba(166,137,82,0.4);
    border-bottom: 1px solid rgba(166,137,82,0.4);
    transition: border-color .4s ease;
}
.pillar-roman img { height: 30px; width: auto; vertical-align: middle; }
.pillar-card:hover .pillar-roman { border-color: var(--flame); }

.pillar-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.16em;
    color: var(--vellum-3);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.pillar-line {
    width: 40px;
    height: 1px;
    background: var(--brass);
    margin: 0 auto 18px;
    transition: width .4s ease, background .4s ease;
}
.pillar-card:hover .pillar-line {
    width: 72px;
    background: var(--flame);
}
.pillar-desc {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--vellum-2);
    line-height: 1.55;
}

/* ----------  SECTION: THE CALL (moonlit study)  ---------- */
.call {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.call-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/home/background-room.webp');
    background-size: cover;
    background-position: center;
    border-top: var(--seam);
    border-bottom: var(--seam);
}
/* Vignette tuned for the moonlit study — center is naturally dark so we
   only darken the edges, letting the window and candles glow through. */
.call-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(15,12,9,0.15) 0%, rgba(15,12,9,0.7) 70%, rgba(15,12,9,0.88) 100%);
}
.call-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 120px 48px;
}
.call h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    color: var(--vellum-3);
    margin-bottom: 24px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}
.call h2 .accent {
    font-family: var(--serif);
    font-style: italic;
    color: var(--flame-2);
    font-weight: 500;
}
.call-sub {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--vellum-2);
    margin-bottom: 44px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* ----------  FOOTER  ---------- */
.footer {
    background: var(--ink-2);
    border-top: 1px solid rgba(166,137,82,0.2);
    padding: 72px 48px 28px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 64px;
}
.footer-brand2 img { width: 260px; margin-bottom: 18px; }
.footer-brand .brand-name {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--vellum-3);
    margin-bottom: 8px;
}
.footer-brand .brand-tag {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--brass-2);
    max-width: 280px;
}
.footer-col { text-align: center; }
.footer-col h5 {
    font-family: var(--display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--flame);
    text-transform: uppercase;
    margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--vellum-2);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 16px;
    transition: color .2s ease;
}
.footer-col a:hover { color: var(--flame-2); }

/* Column icon: block-level + auto margins for a reliable center. */
.footer-icons {
    display: block;
    height: 60px;
    width: auto;
    margin: 0 auto 12px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 56px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(166,137,82,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--brass);
    font-style: italic;
}

/* ----------  FOOTER LINK STATE  ---------- */
.footer-col a.is-active {
    color: var(--vellum-2);
}
.footer-col a.is-active:hover {
    color: var(--flame-2);
}

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 960px) {
    .nav { padding: 12px 20px; }
    .nav-brand img { height: 56px; }
    .nav-links { display: none; }
    .section { padding: 60px 24px; }
    .tools-grid { grid-template-columns: 1fr; gap: 20px; }
    .at-table-grid { grid-template-columns: 1fr; gap: 40px; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .scriptorium-content,
    .scribe-content { padding: 60px 24px; }
    .candle-glow { width: 160px; height: 160px; }
    .hero-eyebrow::before, .hero-eyebrow::after { width: 30px; }
    .scribe-owl { width: 80px; top: -50px; }
}
@media (max-width: 540px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}