/* ==========================================================================
   HIGGINS BUILDING GROUP — STYLES
   Editorial / luxury aesthetic. Fraunces (display) + Manrope (text).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* ---------- Tokens ------------------------------------------------------- */
:root {
    --bone: #FFFFFF;            /* pure white base */
    --paper: #F4F7FB;            /* very pale blue-tinted white */
    --paper-2: #E8EFF7;          /* light blue-gray for accent sections */
    --ink: #0F2547;              /* deep HBG navy */
    --ink-soft: #1E3A66;         /* softer navy */
    --stone: #4A6280;            /* muted blue-gray */
    --mist: #B8C4D6;             /* light blue-gray */
    --line: rgba(15, 37, 71, 0.14);
    --line-soft: rgba(15, 37, 71, 0.07);
    --forest: #0A1B36;           /* deepest navy for dark sections */
    --brass: #D4A017;            /* HBG gold/yellow accent */
    --brass-soft: #EDC34A;       /* lighter yellow for hover states */
    --alt-blue: #F4F8FD;         /* very light blue for alternating sections */

    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --sans: 'DM Sans', system-ui, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-2: cubic-bezier(0.65, 0, 0.35, 1);

    --maxw: 1400px;
    --pad-x: clamp(1.25rem, 4vw, 4rem);
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

/* Subtle paper grain across the entire site */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.025 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
    opacity: 0.4;
}

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 7vw, 6.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.012em; }
h4 { font-size: 1.15rem; letter-spacing: -0.005em; }

p { font-size: clamp(0.98rem, 1.05vw, 1.075rem); line-height: 1.7; color: var(--ink-soft); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }

.eyebrow {
    font-family: var(--sans);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--stone);
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}
.eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--brass);
    display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.numeral {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--brass);
    letter-spacing: 0.05em;
}

/* ---------- Layout primitives ------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); position: relative; z-index: 2; }
.container-narrow { max-width: 920px; margin: 0 auto; padding-inline: var(--pad-x); position: relative; z-index: 2; }

section { position: relative; }

.divider {
    width: 100%;
    height: 1px;
    background: var(--line);
    margin: 0;
}

/* Alternating section backgrounds */
.section-alt,
.section.section-alt,
section.section-alt,
header.section-alt {
    background: var(--alt-blue);
}

/* ---------- Navigation --------------------------------------------------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem var(--pad-x);
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.scrolled {
    background: var(--forest);
    padding: 0.85rem var(--pad-x);
    box-shadow: 0 4px 24px rgba(10, 27, 54, 0.25);
}
/* Home page: nav starts transparent over hero, becomes solid past hero */
.nav.nav-home {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
}
.nav.nav-home.nav-solid {
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(10, 27, 54, 0.28);
    padding: 0.85rem var(--pad-x);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    line-height: 1;
}
.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-mark {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.55rem;
    letter-spacing: -0.01em;
    color: var(--bone);
}
.brand-mark em {
    font-style: italic;
    font-weight: 400;
    color: var(--brass);
}
.brand-sub {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.4rem;
}
.nav-links {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 1px;
    width: 100%;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--bone); }

.nav-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bone);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.7rem 1.2rem;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-cta:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 6px 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--bone);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--ink);
        flex-direction: column;
        justify-content: center;
        gap: 2.4rem;
        transform: translateY(-100%);
        transition: transform 0.6s var(--ease);
        z-index: 99;
    }
    .nav.open .nav-links { transform: translateY(0); }
    .nav-links a { font-size: 1rem; color: rgba(255,255,255,0.85); }
    .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1.05rem 1.8rem;
    border: 1px solid var(--ink);
    color: var(--ink);
    transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn .arrow {
    width: 18px; height: 1px; background: currentColor; position: relative;
    transition: width 0.4s var(--ease);
}
.btn .arrow::after {
    content: ''; position: absolute; right: 0; top: -3px;
    width: 7px; height: 7px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}
.btn:hover { background: var(--ink); color: var(--bone); }
.btn:hover .arrow { width: 26px; }
.btn.btn-light { color: var(--bone); border-color: var(--bone); }
.btn.btn-light:hover { background: var(--bone); color: var(--ink); }
.btn.btn-filled { background: var(--ink); color: var(--bone); }
.btn.btn-filled:hover { background: transparent; color: var(--ink); }

/* Text-style link with arrow */
.tlink {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 0.35rem;
    transition: gap 0.4s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tlink:hover { gap: 1.1rem; color: var(--brass); border-color: var(--brass); }

/* ---------- HERO (home) — rotating slideshow background ---------------- */
.hero {
    position: relative;
    height: 100vh;          /* lock to one viewport, no scroll needed */
    min-height: 640px;       /* sane minimum on tiny screens */
    padding-top: clamp(6rem, 12vh, 10rem);
    padding-bottom: 0;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background: var(--forest);
}
/* Slideshow layers stack absolute behind everything */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s var(--ease), transform 9s linear;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
}
/* Dark gradient overlay for text legibility */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(95deg,
            rgba(10, 27, 54, 0.78) 0%,
            rgba(10, 27, 54, 0.55) 38%,
            rgba(10, 27, 54, 0.22) 70%,
            rgba(10, 27, 54, 0.14) 100%),
        linear-gradient(180deg,
            rgba(10, 27, 54, 0.32) 0%,
            rgba(10, 27, 54, 0.0) 28%,
            rgba(10, 27, 54, 0.0) 58%,
            rgba(10, 27, 54, 0.62) 100%);
    pointer-events: none;
}
.hero > .container {
    z-index: 2;
    width: 100%;
    max-width: var(--maxw);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.hero-grid {
    flex: 1;                           /* fills remaining height above CTA bar */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;       /* text moved up */
    padding-top: clamp(1.5rem, 5vh, 4rem);   /* controlled top breathing room */
    padding-bottom: 1rem;
    min-height: 0;                     /* allow flex shrink so CTA stays in view */
}
.hero-text { max-width: 880px; }
.hero-eyebrow {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    animation: heroFadeIn 1.1s 0.15s var(--ease) both;
}
.hero-eyebrow::before { background: var(--brass-soft); }
.hero h1 {
    font-weight: 400;
    line-height: 1.02;
    color: var(--bone);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    font-size: clamp(2.55rem, 5.8vw, 5.2rem);
    animation: heroFadeIn 1.2s 0.25s var(--ease) both;
}
.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--brass-soft);
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 3rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    max-width: 720px;
    animation: heroFadeIn 1.2s 0.4s var(--ease) both;
}
.hero-meta p {
    max-width: 600px;
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.55;
}

/* Bottom CTA tab row — flush at bottom of hero, sits over image */
.hero-cta-bar {
    position: relative;
    z-index: 2;
    padding: 0 0 clamp(1.25rem, 3vh, 2.5rem);
    animation: heroFadeIn 1.2s 0.55s var(--ease) both;
}
.hero-cta-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
    gap: clamp(0.6rem, 1.2vw, 1.25rem);
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: var(--pad-x);
}
.hero-cta-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: clamp(1rem, 1.8vh, 1.3rem) 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(10, 27, 54, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--bone);
    font-size: clamp(0.72rem, 0.88vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero-cta-tab:hover {
    background: var(--brass);
    color: var(--ink);
    border-color: var(--brass);
    transform: translateY(-2px);
}
.hero-cta-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(88px, 9vw, 128px);
    height: clamp(88px, 9vw, 128px);
    flex-shrink: 0;
}
.hero-cta-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.50));
    transition: transform 0.5s var(--ease);
}
.hero-cta-logo:hover img { transform: scale(1.05); }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .hero::before {
        background:
            linear-gradient(180deg,
                rgba(10, 27, 54, 0.5) 0%,
                rgba(10, 27, 54, 0.4) 55%,
                rgba(10, 27, 54, 0.7) 100%);
    }
}
@media (max-width: 900px) {
    .hero { height: auto; min-height: 100vh; }
    .hero-cta-bar-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "logo logo"
            "a    b"
            "c    d";
        gap: 0.7rem;
    }
    .hero-cta-logo { grid-area: logo; justify-self: center; margin-bottom: 0.4rem; }
    .hero-cta-bar-inner > .hero-cta-tab:nth-child(1) { grid-area: a; }
    .hero-cta-bar-inner > .hero-cta-tab:nth-child(2) { grid-area: b; }
    .hero-cta-bar-inner > .hero-cta-tab:nth-child(4) { grid-area: c; }
    .hero-cta-bar-inner > .hero-cta-tab:nth-child(5) { grid-area: d; }
}
@media (max-width: 800px) {
    .hero { padding-top: 6.5rem; }
    .hero-meta { gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.25rem; }
    .hero-meta p { font-size: 0.95rem; }
}
@media (max-width: 520px) {
    .hero h1 { font-size: clamp(2.2rem, 8vw, 2.9rem); }
    .hero-cta-tab { font-size: 0.72rem; padding: 0.9rem 0.6rem; letter-spacing: 0.18em; }
}

/* ---------- Section headers --------------------------------------------- */
.section {
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}
.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: end;
}
.section-head .left { display: flex; flex-direction: column; gap: 1rem; }
.section-head h2 { max-width: 720px; }
@media (max-width: 800px) {
    .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}

/* ---------- Studio / Intro ---------------------------------------------- */
.studio { background: var(--bone); }
.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.studio-text .lede { margin-bottom: 1.5rem; }
.studio-text p + p { margin-top: 1.2rem; }
.studio-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.studio-image img { width: 100%; height: 100%; object-fit: cover; }
.studio-image .caption {
    position: absolute;
    bottom: 1.2rem; left: 1.2rem;
    background: var(--bone);
    padding: 0.7rem 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
}
@media (max-width: 800px) { .studio-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Capabilities / Services ------------------------------------- */
.capabilities { background: var(--bone); }
.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-block: 1px solid var(--line);
}
.cap {
    background: var(--bone);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-height: 320px;
    transition: background 0.4s var(--ease);
}
.cap:hover { background: var(--paper); }
.cap-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--brass);
    letter-spacing: 0.05em;
}
.cap h3 { font-weight: 400; }
.cap p { font-size: 0.95rem; }
.cap-icon {
    width: 36px; height: 36px;
    margin-bottom: 0.5rem;
    color: var(--ink-soft);
}
@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- Selected Work / Portfolio Preview --------------------------- */
.work { background: var(--bone); }
.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}
.work-item { position: relative; overflow: hidden; }
.work-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.work-item:hover img { transform: scale(1.05); }
.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.work-meta h4 { font-weight: 400; }
.work-meta .loc {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
}

.work-item.large { grid-column: span 7; aspect-ratio: 4/3; }
.work-item.small { grid-column: span 5; aspect-ratio: 4/4; }
.work-item.full  { grid-column: span 12; aspect-ratio: 16/8; }
.work-item.third { grid-column: span 4; aspect-ratio: 3/4; }

@media (max-width: 800px) {
    .work-item.large, .work-item.small, .work-item.third, .work-item.full {
        grid-column: span 12; aspect-ratio: 4/3;
    }
}

/* ---------- Recognition (logos / awards) --------------------------------- */
.recognition { background: var(--bone); color: var(--ink); }
.recognition h2 { color: var(--ink); }
.recognition .eyebrow { color: var(--stone); }
.recognition .eyebrow::before { background: var(--brass); }
.recognition p { color: var(--ink-soft); }

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(247, 240, 228, 0.18);
}
.award {
    padding: 2.5rem 1.5rem;
    border-right: 1px solid rgba(247, 240, 228, 0.18);
    border-bottom: 1px solid rgba(247, 240, 228, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.award:nth-child(4n) { border-right: none; }
.award h4 { font-family: var(--serif); font-weight: 400; color: var(--bone); font-size: 1.1rem; }
.award .org {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-soft);
}
.award p { font-size: 0.9rem; }

@media (max-width: 900px) { .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .award:nth-child(4n) { border-right: 1px solid rgba(247,240,228,0.18); }
    .award:nth-child(2n) { border-right: none; }
}
@media (max-width: 540px) { .awards-grid { grid-template-columns: 1fr; }
    .award { border-right: none !important; }
}

/* ---------- CTA strip ---------------------------------------------------- */
.cta-strip {
    background: var(--bone);
    padding: clamp(2.75rem, 4.5vw, 4.5rem) 0;
}
.cta-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: end;
}
.cta-inner h2 { max-width: 700px; }
.cta-inner .right { display: flex; flex-direction: column; gap: 1.2rem; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Footer ------------------------------------------------------- */
.footer {
    background: var(--ink);
    color: var(--mist);
    padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
    position: relative;
    z-index: 2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.1fr 0.85fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
    border-bottom: 1px solid rgba(247, 240, 228, 0.15);
}
.footer h4 {
    color: var(--bone);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    font-family: var(--sans);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    white-space: nowrap;
}
.footer p, .footer li, .footer a {
    font-size: 0.97rem;
    color: rgba(247, 240, 228, 0.68);
    line-height: 1.6;
}
.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer a:hover { color: var(--bone); }

/* Studio logo in footer — small, above address */
.footer-studio-logo {
    display: block;
    height: 58px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.88;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Brand block (logo + name + description) */
.footer .brand-block {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.footer-logo {
    height: 88px;
    width: auto;
    flex-shrink: 0;
    display: block;
}
.brand-block-text { display: flex; flex-direction: column; }
.footer .brand-block .brand-mark {
    display: block;
    color: var(--bone);
    font-size: 1.35rem;
    line-height: 1.15;
}
.footer .brand-block .brand-sub {
    display: block;
    color: rgba(247, 240, 228, 0.55);
    margin-top: 0.55rem;
}
.footer .brand-block p { margin-top: 1rem; max-width: 320px; }

/* Hours list — day on left, time on right */
.footer .hours-list { gap: 0.85rem; }
.footer .hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.97rem;
}
.footer .hours-list li .day { color: rgba(247, 240, 228, 0.75); }
.footer .hours-list li .time { color: rgba(247, 240, 228, 0.50); font-variant-numeric: tabular-nums; }

/* Hours — grouped blocks (alternate style) */
.footer .hours-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
}
.footer .hours-group:last-child { margin-bottom: 0; }
.footer .hours-group .days { font-size: 0.97rem; color: rgba(247, 240, 228, 0.68); }
.footer .hours-group .times { font-size: 0.92rem; color: rgba(247, 240, 228, 0.45); font-variant-numeric: tabular-nums; }

/* Social links row */
.footer-social {
    display: flex;
    gap: 1.4rem;
    margin-top: 1.5rem;
}
.footer-social a {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 240, 228, 0.55);
    transition: color 0.3s;
}
.footer-social a:hover { color: var(--brass-soft); }

.footer-base {
    margin-top: clamp(2rem, 3vw, 2.75rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.76rem;
    color: rgba(247, 240, 228, 0.42);
    letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer .brand-block { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
    .footer .brand-block { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer .brand-block { flex-direction: column; gap: 1.25rem; }
    .footer-logo { height: 72px; }
}

/* ---------- Page Hero (interior pages) ---------------------------------- */
.page-hero {
    padding-top: 9rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--brass); }
.page-hero .lede { max-width: 720px; }

/* ---------- About page --------------------------------------------------- */
.about-statement { padding: clamp(2.75rem, 4.5vw, 4.5rem) 0; background: var(--paper); }
.about-statement-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}
.about-statement .left h2 { font-style: italic; font-weight: 400; }
.about-statement .right p + p { margin-top: 1.2rem; }
@media (max-width: 800px) { .about-statement-grid { grid-template-columns: 1fr; gap: 2rem; } }

.principles { padding: clamp(2.75rem, 4.5vw, 4.5rem) 0; }
.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}
.principle {
    padding-top: 2rem;
    border-top: 1px solid var(--ink);
}
.principle .num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    color: var(--brass);
    margin-bottom: 1rem;
    display: block;
}
.principle h3 { margin-bottom: 0.8rem; font-weight: 400; }
.principle p { font-size: 0.95rem; }
@media (max-width: 800px) { .principle-grid { grid-template-columns: 1fr; gap: 2rem; } }

.leadership { padding: clamp(2.75rem, 4.5vw, 4.5rem) 0; background: var(--bone); color: var(--ink); }
.leadership h2 { color: var(--ink); }
.leadership .eyebrow { color: var(--stone); }
.leadership .eyebrow::before { background: var(--brass); }
.leadership p { color: var(--ink-soft); }
.leader-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}
.leader { padding-top: 2rem; border-top: 1px solid var(--line); }
.leader .role {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.7rem;
}
.leader h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin-bottom: 0.8rem; }
@media (max-width: 700px) { .leader-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Properties page --------------------------------------------- */
.properties-empty { padding: clamp(3rem, 5vw, 5.5rem) 0; }
.empty-card {
    background: var(--paper);
    padding: clamp(2.5rem, 5vw, 5rem);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.empty-card .num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--brass);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.empty-card h2 { margin-bottom: 1.5rem; }
.empty-card p { margin-bottom: 2rem; }
.notify-form { display: flex; flex-direction: column; gap: 1rem; }
.notify-form input {
    background: var(--bone);
    border: 1px solid var(--line);
    padding: 1rem 1.2rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
}
.notify-form input:focus { outline: none; border-color: var(--ink); }
.empty-card .right { display: flex; flex-direction: column; gap: 1.5rem; }
.empty-card .meta-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}
.empty-card .meta-row .label {
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--stone);
}
@media (max-width: 800px) { .empty-card { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Gallery page ------------------------------------------------- */
.gallery-filter {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: space-between;
    align-items: center;
}
.filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pill {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--line);
    color: var(--stone);
    transition: all 0.3s var(--ease);
}
.pill.active, .pill:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.gallery-count {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}

.gallery {
    padding: 4rem 0 6rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 80px;
    gap: 1.2rem;
}
.gimg { position: relative; overflow: hidden; }
.gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gimg:hover img { transform: scale(1.04); }
.gimg .ginfo {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.2rem;
    background: linear-gradient(0deg, rgba(27,24,20,0.78) 0%, transparent 100%);
    color: var(--bone);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.gimg:hover .ginfo { opacity: 1; }
.gimg .ginfo .ttl { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.gimg .ginfo .sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass-soft);
    margin-top: 0.3rem;
}

/* gallery item sizing */
.g-tall  { grid-column: span 4; grid-row: span 7; }
.g-wide  { grid-column: span 8; grid-row: span 5; }
.g-sq    { grid-column: span 4; grid-row: span 5; }
.g-mid   { grid-column: span 6; grid-row: span 6; }
.g-flat  { grid-column: span 6; grid-row: span 4; }
.g-block { grid-column: span 4; grid-row: span 6; }

@media (max-width: 900px) {
    .gallery-grid { grid-auto-rows: 70px; }
    .g-tall, .g-mid, .g-block { grid-column: span 6; grid-row: span 5; }
    .g-wide { grid-column: span 12; grid-row: span 5; }
    .g-sq { grid-column: span 6; grid-row: span 5; }
    .g-flat { grid-column: span 6; grid-row: span 4; }
}
@media (max-width: 600px) {
    .gallery-grid > * { grid-column: span 12 !important; grid-row: span 4 !important; }
    .gallery-grid { grid-auto-rows: 90px; }
}

/* ---------- Testimonials page ------------------------------------------- */
.testimonials { padding: clamp(2.75rem, 4.5vw, 4.5rem) 0; }
.t-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3.5rem;
    margin-top: 2rem;
}
.t-card {
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.t-card .quote-mark {
    font-family: var(--serif);
    font-style: italic;
    font-size: 3rem;
    color: var(--brass);
    line-height: 0.5;
    height: 1rem;
}
.t-card blockquote {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    line-height: 1.45;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.t-card .attr {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: auto;
    padding-top: 1rem;
}
.t-card .attr .name {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink);
}
.t-card .attr .meta {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
}
@media (max-width: 800px) { .t-grid { grid-template-columns: 1fr; gap: 0; } }

.t-feature {
    background: var(--alt-blue);
    color: var(--ink);
    padding: clamp(2.75rem, 4.5vw, 4.5rem) 0;
    border-left: 4px solid var(--brass);
}
.t-feature blockquote {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: -0.02em;
    max-width: 900px;
}
.t-feature .attr {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.t-feature .attr .name { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }
.t-feature .attr .meta { color: var(--brass); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Contact page ------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    padding: clamp(2.75rem, 4.5vw, 4.5rem) 0;
    align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
}
.field input, .field select, .field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 0;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.info-block {
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}
.info-block:last-child { border-bottom: 1px solid var(--line); }
.info-block .label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 0.5rem;
    display: block;
}
.info-block .value {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.4;
}
.info-block .value a { transition: color 0.3s var(--ease); }
.info-block .value a:hover { color: var(--brass); }

@media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---------- Reveal animations ------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Testimonials page-hero with rating box ---------------------- */
.page-hero.with-rating .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.page-hero.with-rating .lede { margin-top: 1rem; }

.rating-card {
    background: var(--bone);
    border: 1px solid var(--line);
    padding: clamp(1.75rem, 2.5vw, 2.5rem);
    box-shadow: 0 12px 40px rgba(15, 37, 71, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Center the card in the space between text right edge and page right edge */
    margin-left: auto;
    width: min(100%, 380px);
}
.rating-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}
.rating-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--brass);
}
.rating-stars svg {
    width: 22px;
    height: 22px;
    fill: var(--brass);
    flex-shrink: 0;
}
.rating-score {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
    margin-left: 0.5rem;
}
.rating-divider {
    width: 1px;
    height: 24px;
    background: var(--line);
    margin: 0 0.25rem;
}
.rating-count {
    font-size: 0.92rem;
    color: var(--stone);
    font-weight: 500;
}
.rating-rows {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}
.rating-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr auto;
    align-items: center;
    gap: 1.1rem;
}
.rating-row .label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.01em;
}
.rating-row .bar {
    display: flex;
    gap: 4px;
}
.rating-row .bar span {
    flex: 1;
    height: 14px;
    background: var(--brass);
    border-radius: 2px;
}
.rating-row .val {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--ink);
    min-width: 1.8rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.rating-source {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}
.rating-source .dot {
    width: 6px;
    height: 6px;
    background: var(--brass);
    border-radius: 50%;
}

@media (max-width: 900px) {
    .page-hero.with-rating .container {
        grid-template-columns: 1fr;
    }
    .rating-row { grid-template-columns: 6.5rem 1fr 2rem; }
}
@media (max-width: 480px) {
    .rating-row { grid-template-columns: 1fr auto; }
    .rating-row .bar { display: none; }
}

/* ---------- Credentials section ----------------------------------------- */
.credentials {
    background: var(--bone);
    padding: clamp(3rem, 5vw, 5rem) 0;
}
.credentials-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}
.cred-block .cred-head {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.cred-block .cred-count {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--brass);
    line-height: 1;
    letter-spacing: -0.01em;
}
.cred-block .cred-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
}
/* Houzz year award cards */
.cred-awards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}
.cred-award {
    aspect-ratio: 1 / 1.15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid var(--line);
    background: var(--bone);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cred-award:hover {
    transform: translateY(-3px);
    border-color: var(--brass);
    box-shadow: 0 8px 22px rgba(15, 37, 71, 0.08);
}
.cred-award.gold { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.cred-award.silver { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.cred-award .yr {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}
.cred-award .lbl {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.2;
    opacity: 0.8;
}
.cred-award.gold .lbl,
.cred-award.silver .lbl { color: var(--ink); opacity: 0.7; }

/* Houzz badges */
.cred-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}
.cred-badge {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 0.5rem;
    border: 1px solid var(--line);
    background: var(--bone);
    text-align: center;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cred-badge:hover {
    transform: translateY(-3px);
    border-color: var(--brass);
    box-shadow: 0 8px 22px rgba(15, 37, 71, 0.08);
}
.cred-badge .icon {
    width: 32px;
    height: 32px;
    color: var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cred-badge .icon svg { width: 100%; height: 100%; }
.cred-badge .name {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.2;
}

/* Affiliations */
.cred-affiliations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}
.cred-aff {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 0.5rem;
    border: 1px solid var(--line);
    background: var(--bone);
    text-align: center;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cred-aff:hover {
    transform: translateY(-3px);
    border-color: var(--brass);
    box-shadow: 0 8px 22px rgba(15, 37, 71, 0.08);
}
.cred-aff .icon {
    width: 36px;
    height: 36px;
    color: var(--ink);
}
.cred-aff .icon svg { width: 100%; height: 100%; }
.cred-aff .abbr {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1;
}
.cred-aff .full {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    line-height: 1.25;
}

@media (max-width: 1000px) {
    .credentials-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
    .cred-awards { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
    .cred-award .yr { font-size: 1.25rem; }
}
