/* ==========================================================================
   Idea Disegno — theme layer on top of the Porto template (style.css).
   Palette and type follow Alessandra's CV/portfolio: champagne gold on
   ivory damask, wide sans-serif caps and a fine script signature.
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-400i.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* The Yoshi (by Chichucha) for script headings; Allura fills the few characters it lacks (ç, œ, ’ “ ” « » —) */
@font-face { font-family: "The Yoshi"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/the-yoshi.woff2?v=2) format("woff2"); }
@font-face { font-family: "Allura"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/allura-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Allura"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/allura-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --gold: #a8905f;
    --gold-light: #d2bf95;
    --gold-dark: #7d6a42;
    --ink: #15120d;
    --ink-2: #221d15;
    --cream: #faf7f1;
    --text: #3d382f;
    --muted: #7a7366;
    --script: "The Yoshi", "Allura", "Snell Roundhand", cursive;
}

body { color: var(--text); background: var(--ink); }
a { color: var(--gold-dark); }
a:hover { color: var(--gold); }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.text-white .kicker, .text-white .kicker a { color: var(--gold-light); }

/* Overlays for photo/damask backgrounds */
.hs-item, .page-hero, .banner-section, .contact-page, .home-portfolio { position: relative; }
/* The damask texture is light cream and is shown as it is, with dark text (carousel,
   page headers, contact, art tiles, "Let's talk" banner); only portfolio items
   without an image tint it dark. Photos are shown as they are, with a soft text shadow. */
.portfolio-item.no-image::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, rgba(21, 18, 13, .88) 0%, rgba(40, 32, 20, .78) 55%, rgba(21, 18, 13, .9) 100%);
}
.hs-photo .hs-title, .hs-photo .site-btn, .art-tile-label, .main-menu > li > a, .lang-current {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 2px 18px rgba(0, 0, 0, .35);
}
.site-logo img { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); }
.hs-item > *, .page-hero > *, .banner-section > *, .contact-page > *, .home-portfolio > * { position: relative; z-index: 1; }

/* Preloader */
#preloder { background: var(--ink); }
@keyframes loader {
    0%   { transform: rotate(0deg);   border: 3px solid var(--gold); border-left-color: transparent; }
    100% { transform: rotate(360deg); border: 3px solid var(--gold); border-left-color: transparent; }
}

/* Buttons */
a.site-btn { color: #fff; }
.site-btn { letter-spacing: .15em; font-size: 13px; transition: background .3s, color .3s; }
.site-btn:hover { color: var(--ink); background: var(--gold-light); }
.site-btn.sb-dark { color: var(--ink); }
.site-btn.sb-dark:hover { color: #fff; background: var(--gold-dark); }

/* ---------------------------------------------------------------- Header */
.header-section { background: var(--ink); padding-bottom: 22px; box-shadow: 0 1px 0 rgba(168, 144, 95, .25); }
.header-warp { padding-top: 22px; }

/* Carousel slides on the plain (light) damask: dark text, no overlay */
.hs-item.hs-damask .hs-kicker { color: var(--gold-dark) !important; text-shadow: none; }
.hs-item.hs-damask .hs-title { color: var(--ink) !important; text-shadow: none; }
.hs-item.hs-damask .site-btn, .hs-item.hs-damask .site-btn span,
:is(.banner-section, .page-hero, .contact-page) .site-btn,
:is(.banner-section, .page-hero, .contact-page) .site-btn span { color: var(--ink) !important; text-shadow: none; }
.hs-item.hs-damask .site-btn:hover span,
:is(.banner-section, .page-hero, .contact-page) .site-btn:hover span { color: #fff !important; }
.hs-damask .site-btn::before, .hs-damask .site-btn::after,
.hs-damask .site-btn span::before, .hs-damask .site-btn span::after,
:is(.banner-section, .page-hero, .contact-page) .site-btn::before,
:is(.banner-section, .page-hero, .contact-page) .site-btn::after,
:is(.banner-section, .page-hero, .contact-page) .site-btn span::before,
:is(.banner-section, .page-hero, .contact-page) .site-btn span::after { border-color: var(--ink); }
.hs-damask .site-btn:hover,
:is(.banner-section, .page-hero, .contact-page) .site-btn:hover { background: var(--ink); color: #fff !important; }
.slide-num-holder, .down-sign h6, .contact-link p, .hero-slider .owl-nav button { text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.down-sign img { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }

/* Carousel buttons: custom colour / font / size set per slide in the admin */
.hs-item .site-btn { font-family: var(--btn-font, "Montserrat", sans-serif); font-size: var(--btn-size, 13px); }
.hs-item .site-btn.btn-custom-color, .hs-item .site-btn.btn-custom-color span { color: var(--btn-color) !important; text-shadow: none; }
.hs-item .site-btn.btn-custom-color::before, .hs-item .site-btn.btn-custom-color::after,
.hs-item .site-btn.btn-custom-color span::before, .hs-item .site-btn.btn-custom-color span::after { border-color: var(--btn-color) !important; }
.hs-item .site-btn.btn-custom-color:hover { background: var(--btn-color); }
.hs-item .site-btn.btn-custom-color:hover span { color: #fff !important; }
.hs-item .site-btn.btn-font-script { text-transform: none; letter-spacing: .02em; font-weight: 400; font-size: var(--btn-size, 26px); }
.hs-item .site-btn.btn-font-script span { padding-top: 16px; padding-bottom: 16px; }
.hs-item .site-btn.btn-font-serif { letter-spacing: .12em; font-weight: 400; }

/* Back-to-top button. Named .page-lift: content blockers' “annoyance” lists hide .to-top / back-to-top */
.page-lift {
    position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: var(--gold); color: #fff; font-size: 22px; line-height: 48px; text-align: center; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.page-lift.show { opacity: 1; visibility: visible; transform: none; }
.page-lift:hover { background: var(--gold-dark); }
.header-warp { display: flex; align-items: center; flex-wrap: wrap; padding-top: 28px; }
.site-logo { float: none; display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.site-logo:hover { text-decoration: none; }
.site-logo img { display: block; height: 56px; width: auto; }
.footer-logo img { height: 64px; }

.main-menu { float: none; padding-right: 0; margin-left: auto; order: 2; }
.main-menu > li { position: relative; }
.main-menu li a { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-right: 38px; transition: color .2s; }
.main-menu li a:hover, .main-menu li.active > a { color: var(--gold-light); }
.main-menu .fa-angle-down { margin-left: 3px; }
.sub-menu {
    list-style: none; position: absolute; top: 100%; left: -20px; min-width: 230px; z-index: 50;
    background: var(--ink); border-top: 1px solid var(--gold); padding: 10px 0;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu li { display: block; }
.main-menu .sub-menu li a { margin: 0; padding: 10px 20px; font-size: 12px; }

.header-right { order: 3; display: flex; align-items: center; margin-left: 34px; }
.lang-switch { position: relative; }
.lang-current {
    background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer;
    font: 500 12px "Montserrat", sans-serif; letter-spacing: .12em; padding: 7px 12px;
}
.lang-current:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lang-menu {
    list-style: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; z-index: 60;
    background: var(--ink); border-top: 1px solid var(--gold); padding: 8px 0; display: none;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 18px; color: #fff; font-size: 13px; }
.lang-menu a:hover, .lang-menu a.active { color: var(--gold-light); text-decoration: none; }
.nav-switch { display: none; background: none; }

/* ------------------------------------------------------------------ Hero */
.hs-item { height: 100vh; min-height: 640px; max-height: 1000px; }
.hs-item .hs-kicker { text-shadow: none !important;
    font-family: "Montserrat", sans-serif; font-size: var(--size, 13px); font-weight: 500; line-height: 1.6;
    letter-spacing: .4em; text-transform: uppercase; color: var(--gold-light) !important; margin-bottom: var(--kicker-gap, 48px);
}
.hs-item .hs-title { font-family: var(--script); font-weight: 400; font-size: var(--size, 84px); line-height: 1.25; margin-bottom: var(--title-gap, 55px); max-width: 1100px; margin-left: auto; margin-right: auto; }
.hero-slider .owl-nav button { background: none !important; border: 0; color: #fff !important; font-size: 34px !important; }
.hero-slider .owl-nav button.owl-prev { display: none; }
#hero-section { position: relative; }
.down-sign { text-decoration: none; }
.down-sign:hover { text-decoration: none; }
.contact-link img { object-fit: cover; border: 2px solid var(--gold-light); }

/* -------------------------------------------------------------- Home */
.home-about { padding: 120px 0; background-color: #efe7d6; }
.about-portrait img {
    width: 340px; max-width: 100%; aspect-ratio: 360 / 456; object-fit: cover;
    border: 8px solid #fff; box-shadow: 0 25px 60px rgba(60, 45, 20, .25);
}
.about-card { background: rgba(255, 255, 255, .9); padding: 55px 60px; box-shadow: 0 25px 60px rgba(60, 45, 20, .15); }
.about-card h2 { font-weight: 500; font-size: 34px; margin-bottom: 25px; color: var(--ink); }
.about-card p { color: var(--text); font-size: 15px; }
.signature { display: block; font-family: var(--script); font-size: 56px; color: var(--gold); line-height: 1; margin: 10px 0 30px; }

.home-portfolio .about-content-warp { background: rgba(21, 18, 13, .88); padding: 45px 50px; }
.home-portfolio { min-height: 640px; display: flex; align-items: center; background-position: center; }
.home-portfolio p { opacity: .75 !important; }

.home-art { background: var(--ink); padding: 110px 0 100px; }
.home-art-head { max-width: 620px; margin: 0 auto 55px; }
.home-art-head h2 { color: #fff; font-family: var(--script); font-weight: 400; font-size: 72px; margin-bottom: 15px; }
.home-art-head p { color: rgba(255, 255, 255, .6); }
.art-tile {
    position: relative; display: flex; align-items: flex-end; height: 420px; margin-bottom: 30px; overflow: hidden;
    background-size: cover; background-position: center; text-decoration: none;
}
.art-tile-label { position: relative; z-index: 1; color: #fff; font-family: var(--script); font-size: 54px; padding: 0 0 30px 40px; }
.art-tile:hover { text-decoration: none; }
.art-tile:hover .art-tile-label { color: var(--gold-light); }
.tile-damask .art-tile-label { color: var(--ink); text-shadow: none; }
.tile-damask:hover .art-tile-label { color: var(--gold-dark); }

/* -------------------------------------------------------- Banner/footer */
.banner-section { background-color: var(--ink); }
.banner-section h2 { color: var(--ink); border-bottom-color: var(--gold-dark); letter-spacing: .12em; font-size: 26px; }
.footer-section { background: var(--ink); padding: 90px 0 40px; border-top: 1px solid rgba(168, 144, 95, .3); }
.footer-logo { margin-bottom: 30px; }
.footer-about p { opacity: .45; }
.footer-info h6 { color: var(--gold-light); font-size: 13px; }
.footer-info ul li { text-transform: none; opacity: .65; }
.footer-info a { color: #fff; }
.footer-info a:hover { color: var(--gold-light); text-decoration: none; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .4); font-size: 12px;
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }

/* ------------------------------------------------------------ Page hero */
.page-hero { padding: 230px 15px 110px; background-position: center; }
.page-hero h1 { font-family: var(--script); font-weight: 400; font-size: 84px; line-height: 1.1; }
.page-hero h1 { color: var(--ink); }
.page-hero .kicker, .page-hero .kicker a, .contact-text .kicker { color: #5e4f2f; font-weight: 600; }
.page-hero .lead-line { color: rgba(21, 18, 13, .8); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin: 15px 0 0; }
.page-hero-full { min-height: 100vh; display: flex; align-items: center; }
.page-hero-full .site-btn { margin-top: 45px; }

/* ------------------------------------------------- Portfolio & art grids */
.portfilio-page { background: var(--ink); padding-top: 200px; }
.portfolios-area::after { content: ""; display: table; clear: both; }
.portfolio-item { position: relative; overflow: hidden; display: block; background-color: var(--ink-2); }
a.portfolio-item { background-size: cover; background-position: center; }
.portfolio-intro { padding-right: 30px; }
.portfolio-intro > span { color: var(--gold-light); letter-spacing: .35em; text-transform: uppercase; font-size: 12px; }
.portfolio-intro h1 { font-family: var(--script); font-weight: 400; font-size: 84px; margin: 10px 0 45px; }
.portfolio-intro .portfolio-filter li { margin-right: 32px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; border-bottom: 1px solid transparent; }
.portfolio-intro .portfolio-filter li a { color: #fff; }
.portfolio-intro .portfolio-filter li:hover,
.portfolio-intro .portfolio-filter li.active,
.portfolio-intro .portfolio-filter li.mixitup-control-active { border-bottom-color: var(--gold-light); }
.portfolio-intro .portfolio-filter li a:hover { text-decoration: none; color: var(--gold-light); }

.pi-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 25px 22px; color: #fff; font-size: 13px; line-height: 1.5;
    background: linear-gradient(180deg, rgba(21, 18, 13, 0), rgba(21, 18, 13, .92));
    opacity: 0; transform: translateY(12px); transition: all .35s;
}
.portfolio-item.no-image .pi-caption { z-index: 1; }
.pi-caption small { display: block; color: var(--gold-light); letter-spacing: .25em; text-transform: uppercase; font-size: 10px; margin-bottom: 4px; }
.pi-caption strong { display: block; font-size: 15px; font-weight: 600; }
.portfolio-item:hover .pi-caption, .portfolio-item:focus .pi-caption { opacity: 1; transform: none; }
@media (hover: none) { .pi-caption { opacity: 1; transform: none; } }

/* Portfolio page: one project per row */
.portfolio-list-page { padding: 200px 0 40px; }
.pf-intro { margin-bottom: 70px; }
/* The Yoshi has very tall swashes: room above the title, size follows the screen width */
.pf-intro h1 { font-family: var(--script); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: 1.3; margin: .85em 0 .6em; overflow-wrap: anywhere; }
.pf-intro .kicker { margin-bottom: 0; }
.pf-intro .portfolio-filter { list-style: none; }
.pf-intro .portfolio-filter li {
    display: inline-block; margin: 0 32px 14px 0; padding-bottom: 3px; cursor: pointer;
    font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    border-bottom: 1px solid transparent;
}
.pf-intro .portfolio-filter li a { color: #fff; }
.pf-intro .portfolio-filter li a:hover { color: var(--gold-light); text-decoration: none; }
.pf-intro .portfolio-filter li.active,
.pf-intro .portfolio-filter li:hover,
.pf-intro .portfolio-filter li.mixitup-control-active { border-bottom-color: var(--gold-light); }
.pf-item { margin: 0 0 100px; }
.pf-item a { display: block; }
.pf-item img { display: block; width: 100%; height: auto; box-shadow: 0 25px 60px rgba(0, 0, 0, .45); }
.pf-item figcaption { margin-top: 24px; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.pf-item figcaption small { flex-basis: 100%; color: var(--gold-light); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.pf-item figcaption strong { font-size: 20px; font-weight: 600; }
.pf-item figcaption span { color: rgba(255, 255, 255, .65); font-size: 15px; }
.pf-link { margin-left: auto; color: var(--gold-light); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; border-bottom: 1px solid rgba(210, 191, 149, .5); padding-bottom: 2px; }
.pf-link:hover { color: #fff; border-bottom-color: #fff; text-decoration: none; }
@media (max-width: 767px) { .pf-link { margin-left: 0; flex-basis: 100%; border-bottom: 0; } }

.portfolio-outro { background: var(--cream); padding: 80px 15px; }
.portfolio-outro p { max-width: 780px; margin: 0 auto 35px; font-size: 15px; color: var(--text); }
.art-page .pf-intro { margin-bottom: 50px; }
.art-empty { padding: 10px 15px 120px; clear: both; }
.art-empty p { color: rgba(255, 255, 255, .6); font-size: 16px; }

.mfp-bg { background: var(--ink); opacity: .95; }
.mfp-title { font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: .05em; }

/* ------------------------------------------------------------- Artwork */
.art-single { background: var(--cream); padding: 80px 0 60px; }
.art-main { display: block; margin-bottom: 12px; }
.art-main img { width: 100%; height: auto; box-shadow: 0 20px 50px rgba(60, 45, 20, .18); }
.art-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.art-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.art-thumbs a:hover img { opacity: .8; }
.art-info { padding: 10px 0 30px 25px; }
.art-description { font-size: 15px; line-height: 1.9; margin-bottom: 30px; }
.art-details { list-style: none; margin-bottom: 40px; border-top: 1px solid rgba(168, 144, 95, .35); }
.art-details li { padding: 14px 0; border-bottom: 1px solid rgba(168, 144, 95, .35); font-size: 14px; }
.art-details h6 { display: inline-block; width: 120px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.art-info .site-btn { min-width: 0; }
.art-pager {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(168, 144, 95, .35); font-size: 13px;
}
.art-pager a { color: var(--text); letter-spacing: .05em; }
.art-pager a:hover { color: var(--gold-dark); text-decoration: none; }
.art-pager .back { text-transform: uppercase; letter-spacing: .2em; font-size: 11px; color: var(--gold-dark); }

/* -------------------------------------------------------------- Résumé */
.resume-page { background: var(--cream); padding: 80px 0 100px; }
.resume-page p { color: var(--text); font-size: 15px; }
.resume-heading {
    font-size: 15px; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; color: var(--gold-dark);
    padding-bottom: 14px; margin: 70px 0 35px; border-bottom: 1px solid rgba(168, 144, 95, .45);
}
.resume-intro .resume-heading { margin-top: 0; }
.resume-portrait { width: 200px; height: 200px; object-fit: cover; object-position: top; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 15px 40px rgba(60, 45, 20, .2); }
.resume-dl { margin: 30px 0 40px; min-width: 0; }
.resume-dl span { padding: 18px 22px; font-size: 11px; }

.tl-item { display: grid; grid-template-columns: 210px 1fr; gap: 35px; padding: 30px 0; border-bottom: 1px solid rgba(168, 144, 95, .2); }
.tl-item:last-child { border-bottom: 0; }
.tl-dates { display: block; font-weight: 600; color: var(--gold-dark); font-size: 14px; }
.tl-place { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.tl-body h4 { font-size: 20px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.tl-body h5 { font-size: 15px; font-weight: 500; color: var(--gold-dark); margin: 6px 0 10px; }
.tl-note { font-style: italic; color: var(--muted) !important; font-size: 14px !important; margin-bottom: 12px; }
.tl-body ul, .skill-group ul { list-style: none; }
.tl-body li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 14px; line-height: 1.75; }
.tl-body li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 1px; background: var(--gold); }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 35px 40px; }
.skill-group h5 { font-size: 14px; font-weight: 600; color: var(--gold-dark); margin-bottom: 12px; line-height: 1.5; }
.skill-group li { font-size: 14px; padding: 4px 0; color: var(--text); }

.edu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.edu-item h5 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.edu-item p { font-size: 14px !important; margin: 0 0 4px; line-height: 1.6; }
.edu-item .edu-inst { color: var(--muted) !important; }
.edu-item span, .award span { font-size: 12px; color: var(--gold-dark); letter-spacing: .05em; }
.award { background: #fff; padding: 35px 30px; border-top: 2px solid var(--gold); box-shadow: 0 15px 40px rgba(60, 45, 20, .1); }
.award .fa { font-size: 26px; color: var(--gold); margin-bottom: 15px; }
.award h5 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.award p { font-size: 14px !important; margin-bottom: 4px; line-height: 1.6; }

/* ------------------------------------------------------------- Contact */
.contact-page { padding: 230px 80px 120px; background-position: center; }
.contact-text h1 { font-family: var(--script); font-weight: 400; font-size: 76px; margin-bottom: 25px; }
.contact-text, .contact-text h1, .contact-text a { color: var(--ink); }
.contact-text p { color: var(--ink); opacity: .85; }
.contact-text ul li { font-weight: 400; word-break: break-word; }
.contact-text ul li h6 { color: #5e4f2f !important; font-weight: 600; width: 100px; font-size: 13px; letter-spacing: .08em; }
.contact-text a:hover { color: var(--gold-dark) !important; text-decoration: none; }
.contact-form input, .contact-form textarea { color: var(--ink); font-size: 14px; border-bottom-color: rgba(21, 18, 13, .45); border-radius: 0; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--gold-dark); }
.contact-form ::placeholder { color: rgba(21, 18, 13, .72); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.contact-form textarea { margin-bottom: 20px; resize: vertical; }
.form-privacy { color: rgba(21, 18, 13, .8); font-size: 12px; margin-bottom: 30px; }
.form-privacy a { color: var(--ink); text-decoration: underline; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 16px 20px; margin-bottom: 35px; font-size: 14px; border-left: 3px solid; }
.form-alert.success { background: rgba(255, 255, 255, .7); border-color: var(--gold-dark); color: var(--ink); }
.form-alert.error { background: rgba(255, 255, 255, .7); border-color: #b5452e; color: #8a2f1c; }

/* ------------------------------------------------- Statement & key figures */
.statement { background: var(--ink); padding: 140px 8vw; }
.statement-inner { display: flex; align-items: center; justify-content: center; }
.statement-text {
    margin: 0; max-width: 1100px; text-align: center; color: #fff;
    font-size: clamp(30px, 5.2vw, 76px); font-weight: 500; line-height: 1.12; letter-spacing: -.01em;
}
.home-stats { background: var(--ink); padding: 100px 0 80px; border-top: 1px solid rgba(168, 144, 95, .25); }
.stat { text-align: center; margin-bottom: 30px; }
.stat-num, .stat-suffix {
    font-size: clamp(64px, 8vw, 120px); font-weight: 500; line-height: 1; letter-spacing: -.03em;
    color: var(--gold-light); font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 16px; color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }

/* ------------------------------------------------ Scroll-driven motion
   Only active when <html> has .motion (JS on, no reduced-motion preference). */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .65, .3, 1); }
.motion .reveal.is-visible { opacity: 1; transform: none; }

/* Pinned statement: words light up as you scroll through a tall section */
.motion .statement { height: 240vh; padding: 0; }
.motion .statement-inner { position: sticky; top: 0; height: 100vh; padding: 0 8vw; }
.motion .statement-text .sw { opacity: .14; transition: opacity .35s ease, color .35s ease; }
.motion .statement-text .sw.lit { opacity: 1; }
.motion .statement-text .sw.lit:nth-last-child(-n+3) { color: var(--gold-light); }

/* Headlines rise word by word from behind a mask */
/* Generous padding: The Yoshi's swashes reach far above and below the line (the mask must not cut them) */
.motion .is-split .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 1em .4em 1em; margin: -1em -.4em -1em; }
.motion .is-split .wi { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.motion .is-split.is-visible .wi { transform: none; }

/* Media grows to full size as it reaches the middle of the screen (set by JS) */
.motion .pf-item img, .motion .art-main img { transform-origin: center; will-change: transform; }
.motion .hs-item .container { will-change: transform, opacity; }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 1300px) {
    .main-menu li a { margin-right: 26px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .main-menu li a { margin-right: 18px; font-size: 12px; letter-spacing: .08em; }
    .site-logo img { height: 40px; }
}
@media (max-width: 991px) {
    .header-warp, .header-section { text-align: left; }
    .site-logo { margin-bottom: 0; }
    .header-right { margin-left: auto; }
    .nav-switch {
        display: inline-flex; align-items: center; justify-content: center; margin-left: 14px;
        color: #fff; width: 42px; height: 42px; font-size: 20px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; cursor: pointer;
    }
    .main-menu {
        display: none; order: 4; width: 100%; margin: 18px 0 0; padding: 8px 0;
        position: static; background: var(--ink); border-top: 1px solid var(--gold); box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    }
    .main-menu.open { display: block; }
    .main-menu li { display: block; }
    .main-menu li a { color: #fff; margin: 0; padding: 13px 22px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 18px; min-width: 0; }
    .main-menu .has-sub > a .fa { display: none; }
    .about-section { padding-left: 60px; }
    .about-card { padding: 40px 30px; margin-top: 50px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; }
    .art-info { padding: 40px 0 0; }
    .contact-page { padding: 200px 30px 100px; }
}
@media (max-width: 767px) {
    .home-portfolio .about-content-warp { padding: 35px 24px; }
    .header-warp { padding-top: 18px; }
    .main-menu { background: var(--ink); left: auto; top: auto; width: 100%; }
    .main-menu li a { color: #fff; text-align: left; }
    .site-logo img { height: 34px; }
    .hs-item { padding: 0 16px; height: auto; min-height: 100vh; }
    .hs-item .hs-title { font-size: min(calc(var(--size, 84px) * .55), 13vw); }
    .hs-item .hs-kicker { font-size: calc(var(--size, 13px) * .85); letter-spacing: .25em; margin-bottom: calc(var(--kicker-gap, 48px) * .62); }
    .hs-item .hs-title { margin-bottom: calc(var(--title-gap, 55px) * .6); }
    .hs-item .site-btn { font-size: calc(var(--btn-size, 13px) * .9); }
    .hs-item .site-btn.btn-font-script { font-size: calc(var(--btn-size, 26px) * .9); }
    .page-hero { padding: 180px 16px 80px; }
    .page-hero h1, .portfolio-intro h1, .contact-text h1 { font-size: 56px; }
    .portfolio-list-page { padding-top: 160px; }
    .pf-intro { margin-bottom: 45px; }
    .pf-item { margin-bottom: 60px; }
    .pf-item figcaption strong { font-size: 17px; }
    .home-about { padding: 80px 0; }
    .home-art-head h2 { font-size: 56px; }
    .art-tile { height: 300px; }
    .about-section { padding: 90px 24px; }
    .portfilio-page { padding-top: 160px; }
    .portfolio-intro { padding: 0 16px 40px; }
    .edu-list { grid-template-columns: 1fr; }
    .art-thumbs { grid-template-columns: repeat(3, 1fr); }
    .art-pager { flex-wrap: wrap; }
    .contact-page { padding: 180px 16px 80px; }
    .banner-section h2 { font-size: 20px; }
    .slide-num-holder, .hero-slider .owl-nav { display: none; }
}

/* Script headings under a small top line: room for The Yoshi's tall swashes,
   lines far enough apart when a title wraps, size following the screen width */
.page-hero .kicker + h1, .contact-text .kicker + h2 { margin-top: .55em; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.55; }
.contact-text h1 { font-size: clamp(40px, 4.6vw, 76px); line-height: 1.55; }
@media (max-width: 767px) {
    .page-hero h1, .contact-text h1 { font-size: 40px; }
}

.pf-item[hidden] { display: none; }

/* Menu: thin gold underline that draws in on hover (desktop menu only) */
@media (min-width: 992px) {
    .main-menu > li > a { position: relative; }
    .main-menu > li > a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
        background: var(--gold-light); transform: scaleX(0); transform-origin: right center;
        transition: transform .35s cubic-bezier(.2, .7, .2, 1);
    }
    .main-menu > li > a:hover::after, .main-menu > li > a:focus-visible::after,
    .main-menu > li.has-sub:hover > a::after, .main-menu > li.active > a::after {
        transform: scaleX(1); transform-origin: left center;
    }
}
@media (prefers-reduced-motion: reduce) { .main-menu > li > a::after { transition: none; } }

/* ------------------------------------------------------------ Privacy policy */
.privacy-body { max-width: 820px; }
.privacy-body .resume-heading { font-size: 14px; margin: 55px 0 25px; }
.privacy-body ul { margin: 0 0 1rem 1.2em; padding: 0; list-style: disc; }
.privacy-body li { color: var(--text); font-size: 15px; line-height: 1.8; margin-bottom: 6px; }
