/* ===============================================================
   IAMSAVILLION — ROYAL VIOLET & GOLD EDITION
   Primary presentation layer, loaded after site.css.
   Reference: dark violet patterned material and geometric gold trim.
================================================================ */

:root {
    --royal-violet: #4b286d;
    --royal-gold: #d6a84b;
    --availability-height: 46px;
    --black: #09060e;
    --black-soft: #100a18;
    --black-raised: #191023;
    --blue-deep: #1a0b29;      /* aliases preserve existing layouts */
    --blue-panel: #28133b;
    --blue-neon: #c89736;
    --blue-bright: #edc777;
    --gold: #c99b42;
    --gold-light: #f0d087;
    --white: #fbf5e9;
    --text: #e0d9e6;
    --muted: #b2a5bd;
    --line: rgba(217, 169, 79, .32);
    --line-soft: rgba(229, 203, 150, .14);
    --shadow: 0 28px 70px rgba(2, 0, 6, .56);
    --radius-large: 14px;
    --radius-medium: 12px;
    --radius-small: 7px;
    --font-display: Georgia, "Times New Roman", serif;
}

body {
    background: #09060e;
    color: var(--text);
}

html { scroll-padding-top: calc(var(--availability-height) + var(--header-height) + 24px); }

::selection { color: #180d22; background: #f0d087; }
a:focus-visible, button:focus-visible, .filter-button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline-color: #f0d087;
}

h1, h2 { letter-spacing: -.025em; }
h2 { font-weight: 700; }
h3 { letter-spacing: -.015em; }

/* Availability and site navigation stay visible as one compact header system. */
.availability-bar {
    position: fixed;
    z-index: 110;
    top: 0;
    right: 0;
    left: 0;
    height: var(--availability-height);
    color: #f7eddc;
    border-bottom: 1px solid rgba(214, 168, 75, .55);
    background:
        linear-gradient(90deg, rgba(75, 40, 109, .8), rgba(16, 8, 24, .97) 32%, rgba(16, 8, 24, .97) 68%, rgba(75, 40, 109, .8)),
        #100818;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}
.availability-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.availability-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}
.availability-copy p {
    overflow: hidden;
    margin: 0;
    font-size: .78rem;
    letter-spacing: .01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.availability-copy strong { color: #fff1cb; margin-right: 5px; }
.availability-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
}
.is-available .availability-dot {
    background: #7ed39b;
    box-shadow: 0 0 0 4px rgba(126, 211, 155, .12), 0 0 14px rgba(126, 211, 155, .38);
}
.is-booked .availability-dot {
    background: var(--royal-gold);
    box-shadow: 0 0 0 4px rgba(214, 168, 75, .12), 0 0 14px rgba(214, 168, 75, .34);
}
.availability-inner > a {
    flex: 0 0 auto;
    color: #f4d286;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.availability-inner > a:hover { color: #fff3ce; }

.site-header {
    top: var(--availability-height);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #7d4c12, #e9bf6e 23%, #a46e26 52%, #f7d98b 78%, #7d4c12) 1;
    background: rgba(13, 7, 20, .94);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
}
.site-header.is-scrolled {
    background: rgba(15, 8, 24, .95);
    border-color: #b88b40;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .46);
}
.brand-mark {
    border: 1px solid #e7bc65;
    border-radius: 8px;
    color: #ffe0a0;
    background: linear-gradient(145deg, #39204d, #150c20 55%, #09060e);
    box-shadow: inset 0 0 0 3px rgba(201, 155, 66, .10), 0 0 18px rgba(201, 155, 66, .10);
    font-family: Georgia, serif;
    letter-spacing: .035em;
}
.brand-copy small { color: #c9b18b; }
.site-nav > a:not(.button) { color: #e1d5e7; }
.site-nav > a:not(.button)::after {
    background: linear-gradient(90deg, #9d6922, #ffdb86, #9d6922);
    box-shadow: 0 0 12px rgba(235, 188, 100, .35);
}
.nav-toggle { background: #2e1841; border-color: rgba(221, 177, 88, .65); border-radius: 7px; }

/* Buttons — solid metal, understated rather than cartoon-gold. */
.button { border-radius: 6px; font-weight: 750; letter-spacing: .015em; }
.button-gold {
    color: #21130b;
    border: 1px solid #f9dd99;
    background: linear-gradient(115deg, #ab7527 0%, #f3d183 39%, #d19a3e 72%, #f7d88c 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(187,132,35,.20);
}
.button-gold:hover {
    background: linear-gradient(115deg, #c69342, #ffe5a5 42%, #e9ba64 78%, #ffe7aa);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 36px rgba(219,165,72,.32);
}
.button-outline {
    color: #f6e6c9;
    border-color: rgba(231,188,101,.65);
    background: linear-gradient(145deg, rgba(72,34,96,.7), rgba(25,12,37,.8));
}
.button-outline:hover { border-color: #f7d98b; background: #432158; box-shadow: 0 0 22px rgba(217, 169, 79, .13); }

/* HERO — dark woven hexagon texture, violet light, framed gold geometry */
.hero {
    padding-top: calc(var(--availability-height) + var(--header-height) + 72px);
    background:
        radial-gradient(ellipse at 88% 44%, rgba(103, 36, 128, .42), transparent 53%),
        linear-gradient(112deg, rgba(9,5,14,.97) 0%, rgba(23,10,34,.98) 47%, rgba(32,12,43,.94) 100%);
}
.hero::before {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
    top: calc(var(--availability-height) + var(--header-height) + 9px);
    left: 0;
    right: 0;
    height: 68px;
    background:
        linear-gradient(to bottom, rgba(255,232,160,.42) 0 2px, transparent 2px 100%),
        linear-gradient(103deg, #7e4e13, #e5b962 14%, #b2761c 29%, #f4d388 43%, #845117 56%, #d9aa4e 72%, #f4d388 91%, #845117);
    clip-path: polygon(0 0, 20% 0, 23% 37%, 34% 37%, 37% 0, 63% 0, 66% 37%, 77% 37%, 80% 0, 100% 0, 100% 13%, 82% 13%, 79% 54%, 64% 54%, 61% 13%, 39% 13%, 36% 54%, 21% 54%, 18% 13%, 0 13%);
    opacity: .9;
}
.hero::after {
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(9, 6, 14, .95));
}
.hero-grid {
    opacity: .44;
    background-image: url('../images/royal-hex-pattern.svg');
    background-size: 54px 48px;
    mask-image: linear-gradient(90deg, transparent, black 30%, black 90%);
}
.hero-glow-blue { background: radial-gradient(circle, rgba(120,53,144,.26), transparent 69%); }
.hero-glow-gold { background: radial-gradient(circle, rgba(223,168,69,.16), transparent 70%); }
.hero h1 {
    font-size: clamp(3.2rem, 6.35vw, 6.3rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.038em;
    text-transform: none;
    text-shadow: 0 5px 22px rgba(0,0,0,.55);
}
.hero h1 span {
    color: #f3cf7f;
    text-shadow: 0 0 28px rgba(224,172,71,.18);
}
.hero-lead { color: #d7cddd; }
.hero-identity-note {
    max-width: 610px;
    margin: -14px 0 30px;
    padding-left: 15px;
    color: #cdbdd6;
    border-left: 2px solid var(--royal-gold);
    font-size: .88rem;
}
.hero-meta { color: #c1b1cc; }
.hero-meta span::before { border-color: #ebc471; border-radius: 1px; }
.status-dot { background: #e2ad4d; box-shadow: 0 0 0 5px rgba(201,155,66,.14), 0 0 16px rgba(201,155,66,.48); }

/* The monogram becomes the geometric centerpiece, not an orb. */
.identity-card::before {
    inset: 8%;
    transform: none;
    border: 0;
    border-radius: 0;
    clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
    background:
        linear-gradient(135deg, #f8db8f, #9c611d 16%, #e3b761 30%, #472037 30.5%, #1a0b26 70%, #b07c35 96%, #f5d486);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.identity-card::after {
    inset: 11%;
    border-radius: 0;
    border: 1px solid rgba(240,202,120,.60);
    background:
        linear-gradient(145deg, rgba(44,18,57,.8), rgba(12,6,18,.92)),
        url('../images/royal-hex-pattern.svg');
    clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
    box-shadow: inset 0 0 80px rgba(0,0,0,.5);
}
.identity-orbit {
    border-color: rgba(236,184,82,.35);
    border-radius: 0;
}
.orbit-one { inset: 17%; transform: rotate(45deg) scale(.76); }
.orbit-two { inset: 28%; transform: rotate(-45deg) scale(.95); border-color: rgba(203,153,61,.25); }
.identity-core {
    z-index: 1;
    width: 142px;
    height: 142px;
    border: 2px solid #e1b762;
    border-radius: 9px;
    color: #fff5db;
    background: linear-gradient(145deg, #4a215c, #13091e 72%);
    box-shadow: 0 0 0 8px rgba(201,155,66,.10), 0 0 42px rgba(215,160,64,.16);
    transform: rotate(-45deg);
}
.identity-core span, .identity-core strong { display: inline-block; transform: rotate(45deg); }
.identity-core span { margin-left: 10px; font-size: 3rem; }
.identity-core strong { margin-left: 8px; }
.identity-label {
    z-index: 3;
    color: #f5dfbb;
    border-color: rgba(221,174,91,.55);
    border-radius: 4px;
    background: rgba(27,12,36,.90);
    box-shadow: 0 8px 20px rgba(0,0,0,.28);
}
.identity-card > p { color: #ded0dd; }
.discipline-strip {
    border: 1px solid rgba(225,176,84,.55);
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(37,14,51,.9), rgba(17,8,26,.9));
    box-shadow: inset 0 2px 0 rgba(255,219,142,.11), 0 20px 50px rgba(0,0,0,.20);
}
.discipline-strip span { color: #f1dfc9; }
.discipline-strip span + span { border-left-color: rgba(214,170,85,.24); }

/* Alternating sections echo the gold-edged violet panels in the reference. */
.section-black {
    background: linear-gradient(160deg, #0b0711, #140b1e 55%, #0c0711);
}
.section-blue {
    border-block: 1px solid rgba(232,186,101,.35);
    background:
        radial-gradient(circle at 90% 15%, rgba(98,39,116,.37), transparent 36rem),
        linear-gradient(145deg, #1b0e28, #281136 49%, #12091e);
}
.section-blue::before {
    opacity: .28;
    background-image: url('../images/royal-hex-pattern.svg');
    background-size: 54px 48px;
}
.eyebrow { color: #f2cc79; }
.eyebrow::before { background: linear-gradient(90deg, #8d5a1f, #f4d186); }
.lead-paragraph { color: #f4e7d3; }
.principle-row strong { color: #f4d18b; }
.principle-row span { color: #bfb1c7; }
.section-heading > p, .about-copy > p, .experience-intro > p:not(.eyebrow) { color: #cabed1; }

/* Three visitor paths make the mixed portfolio immediately legible. */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.audience-card {
    position: relative;
    display: flex;
    min-height: 430px;
    overflow: hidden;
    padding: 34px;
    flex-direction: column;
    border: 1px solid rgba(214, 168, 75, .44);
    border-radius: 11px;
    background:
        linear-gradient(150deg, rgba(75, 40, 109, .7), rgba(18, 8, 28, .96) 62%),
        #160b21;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.audience-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 64px;
    height: 64px;
    content: "";
    border-right: 2px solid var(--royal-gold);
    border-bottom: 2px solid var(--royal-gold);
    opacity: .9;
}
.audience-card:hover {
    border-color: #e6bd69;
    box-shadow: 0 28px 68px rgba(0, 0, 0, .42), 0 0 28px rgba(214, 168, 75, .08);
    transform: translateY(-4px);
}
.audience-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
    color: #e8c574;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.audience-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff0c6;
    border: 1px solid rgba(239, 203, 126, .68);
    background: rgba(214, 168, 75, .08);
    font-family: var(--font-display);
    font-size: 1rem;
}
.audience-card h3 { margin-bottom: 14px; color: #fff4dc; font-size: 1.55rem; }
.audience-card p { color: #d3c8d8; }
.audience-card ul {
    display: grid;
    margin: 2px 0 30px;
    padding: 0;
    gap: 8px;
    list-style: none;
}
.audience-card li {
    position: relative;
    padding-left: 18px;
    color: #bcaec5;
    font-size: .86rem;
}
.audience-card li::before {
    position: absolute;
    top: .68em;
    left: 0;
    width: 7px;
    height: 1px;
    content: "";
    background: var(--royal-gold);
}
.audience-card > a {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: #f0cb7b;
    font-size: .84rem;
    font-weight: 800;
}
.audience-card > a:hover { color: #fff0bf; }

.process-row {
    display: grid;
    margin-top: 38px;
    gap: 10px;
}
.process-card {
    display: grid;
    padding: 18px 0;
    border-top: 1px solid rgba(214, 168, 75, .22);
    grid-template-columns: 44px 1fr;
    gap: 16px;
}
.process-card > span {
    padding-top: 3px;
    color: #dfb965;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
}
.process-card strong {
    display: block;
    margin-bottom: 5px;
    color: #f8e7c4;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.process-card p { margin: 0; color: #bcaec5; font-size: .87rem; }

.about-profile-link {
    display: inline-flex;
    margin-top: 10px;
    align-items: center;
    gap: 8px;
}

/* Full professional profile: visible introduction, expandable long-form detail. */
.professional-profile-section { overflow: clip; }
.profile-intro-grid {
    display: grid;
    align-items: end;
    margin-bottom: 42px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: clamp(32px, 7vw, 90px);
}
.profile-title-block {
    padding: 20px 0 4px 22px;
    border-left: 2px solid var(--royal-gold);
}
.profile-title-block p { margin: 0; color: #d6c9dc; }
.profile-title-block .profile-kicker {
    margin-bottom: 6px;
    color: #f1cc7d;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.profile-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(214, 168, 75, .48);
    border-radius: 13px;
    background:
        linear-gradient(150deg, rgba(75, 40, 109, .72), rgba(16, 8, 24, .98) 44%),
        #13091d;
    box-shadow: var(--shadow);
}
.profile-panel::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    content: "";
    pointer-events: none;
    border-top: 2px solid var(--royal-gold);
    border-right: 2px solid var(--royal-gold);
    opacity: .7;
}
.profile-introduction {
    position: relative;
    z-index: 1;
    max-width: 930px;
}
.profile-introduction h3,
.profile-chapter h3 {
    margin-bottom: 20px;
    color: #fff1cf;
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}
.profile-introduction p,
.profile-chapter p {
    color: #d2c6d7;
    line-height: 1.78;
}
.profile-introduction p:last-child,
.profile-chapter p:last-child { margin-bottom: 0; }
.profile-values {
    display: grid;
    margin: 36px 0 0;
    border-block: 1px solid rgba(214, 168, 75, .28);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.profile-values span {
    display: grid;
    min-height: 76px;
    padding: 16px;
    place-items: center;
    color: #f1d38f;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
}
.profile-values span + span { border-left: 1px solid rgba(214, 168, 75, .22); }
.profile-details { margin-top: 28px; }
.profile-details > summary {
    display: grid;
    position: relative;
    padding: 21px 64px 21px 22px;
    cursor: pointer;
    border: 1px solid rgba(214, 168, 75, .38);
    background: rgba(13, 7, 21, .64);
    list-style: none;
    gap: 4px;
    transition: border-color 180ms ease, background 180ms ease;
}
.profile-details > summary::-webkit-details-marker { display: none; }
.profile-details > summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    color: #f0c875;
    content: "+";
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1;
    transform: translateY(-50%);
}
.profile-details[open] > summary::after { content: "−"; }
.profile-details > summary:hover,
.profile-details > summary:focus-visible {
    border-color: #e9c46f;
    background: rgba(75, 40, 109, .34);
}
.profile-details > summary span { color: #fff0c9; font-weight: 820; }
.profile-details > summary small { color: #b9aabe; font-size: .78rem; }
.profile-body {
    display: grid;
    max-width: 980px;
    margin: 0 auto;
}
.profile-chapter {
    padding: clamp(34px, 5vw, 56px) 4px;
    border-bottom: 1px solid rgba(214, 168, 75, .19);
}
.profile-chapter h3::before {
    display: inline-block;
    width: 24px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    content: "";
    background: var(--royal-gold);
}
.profile-philosophy {
    margin-top: 22px;
    padding-inline: clamp(20px, 4vw, 42px);
    border: 1px solid rgba(214, 168, 75, .42);
    background: linear-gradient(135deg, rgba(75, 40, 109, .42), rgba(11, 6, 17, .82));
}
.profile-declaration {
    color: #f2cf83 !important;
    font-family: var(--font-display);
    font-size: clamp(1.12rem, 2vw, 1.42rem);
    font-weight: 700;
}
.profile-motto {
    margin-top: 30px !important;
    padding-top: 22px;
    color: #fff0c7 !important;
    border-top: 1px solid rgba(214, 168, 75, .32);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-style: italic;
}

/* Decorative card corner highlights; no extra markup. */
.capability-card, .project-card, .contact-panel, .local-message-card,
.check-card, .local-instruction-card {
    border-color: rgba(221,176,91,.37);
    background: linear-gradient(145deg, rgba(50,24,65,.98), rgba(19,9,29,.98) 72%);
    box-shadow: var(--shadow);
}
.capability-card {
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(76,35,93,.54), transparent 46%),
        linear-gradient(135deg, #2a153a, #140b20 85%);
}
.capability-card::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 56px;
    content: "";
    pointer-events: none;
    border-bottom: 2px solid #d6a449;
    border-left: 2px solid #d6a449;
    border-bottom-left-radius: 9px;
    opacity: .85;
}
.capability-card::after {
    top: 0;
    right: 0;
    bottom: auto;
    width: 56px;
    height: 56px;
    border: 0;
    border-top: 2px solid #d6a449;
    border-right: 2px solid #d6a449;
    border-radius: 0 9px 0 0;
    box-shadow: none;
    opacity: .85;
}
.capability-card:hover, .project-card:hover { border-color: #ebc679; box-shadow: 0 27px 60px rgba(0,0,0,.45), 0 0 28px rgba(212,158,61,.08); }
.capability-card p, .project-content > p { color: #cfc3d5; }
.card-number { color: #f0c875; }
.line-icon, .line-icon::after { border-color: rgba(234,188,96,.6); }
.tag-list li { border-color: rgba(225,179,89,.32); background: rgba(135,83,151,.12); color: #ecd8bb; }

/* Timeline becomes a subtle gold architectural line. */
.timeline::before { background: linear-gradient(to bottom, #e7c173, #7e4e1c); }
.timeline-item::before { border-color: #edc779; background: #2b143b; box-shadow: 0 0 0 5px rgba(201,155,66,.08); }
.timeline-date, .timeline-company, .text-link { color: #f0c878; }
.text-link:hover { color: #ffe5a4; }

/* Keep individual project illustrations/content; tone their frames. */
.project-card { border-radius: 12px; background: #140a1e; }
.project-visual { border-bottom: 2px solid rgba(215,166,78,.7); }
.project-visual::before {
    opacity: .15;
    background-image: url('../images/royal-hex-pattern.svg');
    background-size: 54px 48px;
}
.visual-forge { background: radial-gradient(circle at 42% 75%, rgba(231,171,65,.32), transparent 40%), linear-gradient(135deg, #3b1e37, #2d152b, #100917); }
.visual-web { background: radial-gradient(circle at 55% 0, rgba(121,63,137,.4), transparent 60%), linear-gradient(135deg, #120b1d, #38204a, #150b20); }
.visual-outdoor { background: radial-gradient(circle at 72% 18%, rgba(214,168,74,.34), transparent 28%), linear-gradient(155deg, #1b1820, #292133 58%, #0d0a15); }
.visual-savillion {
    background:
        radial-gradient(circle at 50% 72%, rgba(214, 168, 75, .34), transparent 40%),
        linear-gradient(145deg, #13091d, #4b286d 58%, #140a1e);
}
.visual-savillion > span { color: #f7d889; }
.visual-savillion > div {
    position: absolute;
    bottom: 32px;
    width: 190px;
    height: 28px;
    border-radius: 50%;
    background: rgba(214, 168, 75, .2);
    filter: blur(11px);
}
.visual-christmas {
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 220, 142, .22), transparent 30%),
        linear-gradient(145deg, #103424, #7f1d2d 58%, #160b21);
}
.visual-christmas > span { color: #fff0c3; }
.star-mark {
    position: absolute;
    top: 30px;
    right: 38px;
    width: 48px;
    height: 48px;
    background: #f3ca6d;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 13px rgba(243, 202, 109, .38));
}
.project-meta span:last-child { color: #c3b0ca; }
.filter-button { color: #decfdf; background: rgba(18,8,27,.85); border-color: rgba(219,171,86,.35); border-radius: 6px; }
.filter-button:hover, .filter-button.is-active { color: #24130b; background: #e8ba68; border-color: #f5d88b; }
.project-card { grid-template-rows: 220px auto; }
.project-evidence {
    display: grid;
    margin: 24px 0 22px;
    border-block: 1px solid rgba(214, 168, 75, .2);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.project-evidence > div { padding: 15px 15px 15px 0; }
.project-evidence > div + div {
    padding-right: 0;
    padding-left: 15px;
    border-left: 1px solid rgba(214, 168, 75, .18);
}
.project-evidence span {
    display: block;
    margin-bottom: 5px;
    color: #e9c46f;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.project-evidence p { margin: 0; color: #bfb1c7; font-size: .78rem; line-height: 1.5; }

/* Gold-plated résumé banner gives the page a strong architectural break. */
.resume-banner {
    position: relative;
    border-block: 5px solid #a66c25;
    background: linear-gradient(115deg, #8b591f 0%, #f5d48a 26%, #c38b36 55%, #f6d78d 78%, #9d651f 100%);
    box-shadow: inset 0 2px rgba(255,241,197,.55), inset 0 -2px rgba(66,35,10,.35);
}
.resume-banner .eyebrow, .resume-banner h2, .resume-banner p { color: #251422; }
.resume-banner .eyebrow::before { background: #402323; }
.resume-banner .button-gold { color: #fff0d3; border-color: #421c53; background: linear-gradient(145deg, #3c1b51, #1d0c2b); }
.resume-banner .button-gold:hover { background: #542b67; }
.resume-banner .button-outline { color: #241321; border-color: #45243b; background: rgba(255,244,209,.22); }
.resume-banner .button-outline:hover { color: #fff0d3; background: #321940; }

/* Contact forms — visible focus states, original validation intact. */
.contact-section::before { background: radial-gradient(circle, rgba(125,60,145,.20), transparent 65%); }
.contact-panel { background: linear-gradient(140deg, #2b163a, #130a1e 76%); border-radius: 13px; }
.field label, .label-row { color: #f4e8dc; }
.field input, .field select, .field textarea {
    color: #fcf4e9;
    border-color: rgba(214,168,81,.36);
    border-radius: 6px;
    background: rgba(9,5,15,.85);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(234,194,108,.77); }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: #f2cb80;
    background: rgba(13,7,21,.96);
    box-shadow: 0 0 0 4px rgba(217,168,76,.14);
}
.contact-method > span, .contact-method a { color: #f4d18c; }
.copy-button { border-color: rgba(224,180,94,.5); color: #f5ddb3; }
.copy-button:hover { color: #fff3dc; border-color: #f5d389; }
.contact-note { border-color: rgba(227,181,94,.4); background: rgba(46,21,56,.5); }
.contact-promise {
    margin: 0 0 28px;
    padding: 17px 19px;
    border: 1px solid rgba(214, 168, 75, .34);
    background: linear-gradient(135deg, rgba(75, 40, 109, .38), rgba(14, 7, 22, .68));
}
.contact-promise strong {
    display: block;
    margin-bottom: 5px;
    color: #f5d58e;
    font-size: .84rem;
}
.contact-promise p { margin: 0; color: #c5b8cb; font-size: .82rem; }

.site-footer { background: #0b0610; border-top: 3px solid #ba8b3c; }
.footer-links a:hover { color: #f4d18c; }
.back-to-top { color: #1b1015; border-color: #efd28e; background: linear-gradient(145deg,#efd28e,#b37a2a); }
.copy-toast { color: #f5e6d5; border-color: #c99b42; background: #29153a; }

/* The two XAMPP-only utility pages follow the same visual theme. */
.local-tools { border-color: rgba(215,170,87,.55); background: rgba(28,12,40,.94); }
.local-diagnostic-page { background: linear-gradient(150deg,#0b0610,#271236 55%,#0b0610); }
.local-diagnostic-page::before { background-image: url('../images/royal-hex-pattern.svg'); background-size: 54px 48px; opacity: .20; }
.local-page-header { border-bottom-color: rgba(225,183,94,.44); }
.local-page-header nav a.is-current { color: #efc97e; }
.check-card, .local-instruction-card, .local-message-card { background: linear-gradient(145deg,#2b153a,#11091b); }
.local-instruction-card a:not(.button) { color: #f0ca80; }
.message-contact-row > * { color: #f0d0a0; border-color: rgba(220,174,87,.35); background: rgba(216,156,62,.07); }

/* On smaller screens decoration shrinks; usability and navigation win. */
@media (max-width: 980px) {
    .site-nav { top: calc(var(--availability-height) + var(--header-height)); }
    .site-nav { background: linear-gradient(145deg, rgba(41,17,55,.99), rgba(11,6,17,.99)); }
    .hero::before { height: 42px; opacity: .7; }
    .hero { padding-top: calc(var(--availability-height) + var(--header-height) + 80px); }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { min-height: 0; }
    .profile-intro-grid { align-items: start; grid-template-columns: 1fr; }
    .profile-title-block { max-width: 580px; }
    .profile-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-values span:nth-child(3) { border-top: 1px solid rgba(214, 168, 75, .22); border-left: 0; }
    .profile-values span:nth-child(4) { border-top: 1px solid rgba(214, 168, 75, .22); }
}
@media (max-width: 700px) {
    :root { --availability-height: 54px; }
    .availability-inner { gap: 14px; }
    .availability-copy p span { display: none; }
    .availability-inner > a { font-size: .66rem; letter-spacing: .035em; }
    .hero { padding-top: calc(var(--availability-height) + var(--header-height) + 58px); }
    .hero::before { height: 26px; top: calc(var(--availability-height) + var(--header-height) + 8px); opacity: .6; }
    .hero h1 { font-size: clamp(2.55rem, 11.6vw, 4.15rem); line-height: 1.03; }
    .hero-identity-note { margin-top: -10px; }
    .identity-card { width: min(100%, 325px); }
    .identity-core { width: 125px; height: 125px; padding-top: 29px; transform: translateY(-22px) rotate(-45deg); }
    .identity-label-bottom { bottom: 0; right: 0; }
    .identity-core span { font-size: 2.65rem; }
    .discipline-strip span:nth-child(3), .discipline-strip span:nth-child(4) { border-top-color: rgba(215,167,76,.32); }
    .audience-card { padding: 28px 24px; }
    .profile-panel { padding: 28px 20px; }
    .profile-values { grid-template-columns: 1fr; }
    .profile-values span + span { border-top: 1px solid rgba(214, 168, 75, .22); border-left: 0; }
    .profile-details > summary { padding: 18px 54px 18px 17px; }
    .profile-details > summary small { line-height: 1.45; }
    .profile-chapter { padding-block: 36px; }
    .project-evidence { grid-template-columns: 1fr; }
    .project-evidence > div { padding: 14px 0; }
    .project-evidence > div + div { padding-left: 0; border-top: 1px solid rgba(214, 168, 75, .18); border-left: 0; }
    .resume-banner { padding: 54px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .button:hover, .capability-card:hover, .project-card:hover { transform: none; }
}


/* ===============================================
   QUICK RÉSUMÉS — three targeted PDFs
   Preserves the existing banner and purple/gold theme.
================================================ */
.resume-banner { padding: 66px 0 72px; scroll-margin-top: 88px; }
.resume-collection { position: relative; }
.resume-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 33px;
}
.resume-section-header > div { min-width: 0; }
.resume-banner .resume-section-header p:not(.eyebrow) {
    color: #3b2336;
    max-width: 720px;
    line-height: 1.65;
}
.resume-banner .resume-section-header .eyebrow { margin-top: 0; }
.resume-banner .resume-section-header h2 { max-width: 800px; }
.resume-contact-cta { flex-shrink: 0; }
.resume-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 19px;
}
.resume-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 26px 28px 24px;
    background: linear-gradient(160deg,#31183f,#130a1f 77%);
    border: 1px solid rgba(246,220,153,.72);
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255,244,201,.12),0 13px 34px rgba(38,17,41,.23);
}
.resume-card::before {
    content: '';
    width: 52px;
    height: 3px;
    margin: -26px 0 18px -4px;
    background: linear-gradient(to right,#a46a26,#fbe4a2);
}
.resume-card-top {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.resume-card-number { color: #edc878; font-weight: 750; font-size: .73rem; letter-spacing: .12em; }
.resume-file-type { color: #d4bfdd; font-size: .75rem; letter-spacing: .035em; }
.resume-card h3 { font-size: clamp(1.25rem,2vw,1.62rem); line-height: 1.25; color: #fff4d7; margin: 0 0 12px; }
.resume-banner .resume-card p {
    color: #e1d5e4;
    font-size: .94rem;
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: none;
    flex: 1 1 auto;
}
.resume-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid rgba(229,185,105,.3);
}
.resume-card-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s ease,color .2s ease,border-color .2s ease;
}
.resume-view-link { color: #f5d992; border: 1px solid rgba(229,185,105,.57); background: transparent; }
.resume-download-link { color: #281426; border: 1px solid #f7d889; background: linear-gradient(120deg,#f5d995,#c28b3d); }
.resume-view-link:hover { background: rgba(245,214,147,.13); }
.resume-download-link:hover { background: #ffe3a0; }
.resume-card-actions a:focus-visible { outline: 3px solid #fff3bc; outline-offset: 3px; }
@media (max-width: 980px) {
    .resume-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
    .resume-section-header { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 660px) {
    .resume-grid { grid-template-columns: 1fr; }
    .resume-card { padding: 23px 21px 22px; }
    .resume-card::before { margin-top: -23px; }
    .resume-banner { padding: 54px 0 60px; }
    .resume-card-actions { flex-direction: row; align-items: stretch; }
    .resume-card-actions a { flex: 1; }
    .resume-contact-cta { width: 100%; }
}
@media (max-width: 380px) {
    .resume-card-actions { flex-direction: column; }
}

/* The owner name is the discreet admin login; logo remains a link home. */
.site-header .brand .sav-hidden-login {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}
.site-header .brand .sav-hidden-login:hover { text-decoration: none; }
.site-header .brand .sav-hidden-login:focus-visible,
.site-header .brand .brand-mark:focus-visible {
    outline: 2px solid #e7bc65;
    outline-offset: 3px;
}
