/*
Theme Name: dds_domaproduccion.com
Theme URI: https://domaproduccion.com/
Author: Daniel Hart
Description: Cinematic Swiss-style theme for an informational journal about real estate media — property video, architectural photography and virtual tours.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dmprod
*/

/* ===== Tokens ===== */
:root {
    --bg: #F4F6F8;
    --bg-alt: #E8ECF0;
    --ink-deep: #0F172A;
    --side: #E2E8F0;
    --text: #1E293B;
    --red: #E63946;
    --red-dark: #C1121F;
    --teal: #2A9D8F;
    --muted: #64748B;
    --line: #CBD5E1;
    --font-head: "Space Grotesk", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Inter", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Hidden-state rules (before component blocks) ===== */
.cookie-banner[hidden] { display: none !important; }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='300' viewBox='0 0 200 300'><g transform='rotate(-10 100 150)' fill='none' stroke='%2394A3B8' stroke-opacity='0.08' stroke-width='1.5'><rect x='30' y='0' width='140' height='300'/><path d='M52 0v300M148 0v300'/><rect x='36' y='10' width='10' height='12'/><rect x='154' y='10' width='10' height='12'/><rect x='36' y='32' width='10' height='12'/><rect x='154' y='32' width='10' height='12'/><rect x='36' y='54' width='10' height='12'/><rect x='154' y='54' width='10' height='12'/><rect x='36' y='76' width='10' height='12'/><rect x='154' y='76' width='10' height='12'/><rect x='36' y='98' width='10' height='12'/><rect x='154' y='98' width='10' height='12'/><rect x='36' y='120' width='10' height='12'/><rect x='154' y='120' width='10' height='12'/><rect x='36' y='142' width='10' height='12'/><rect x='154' y='142' width='10' height='12'/><rect x='36' y='164' width='10' height='12'/><rect x='154' y='164' width='10' height='12'/><rect x='36' y='186' width='10' height='12'/><rect x='154' y='186' width='10' height='12'/><rect x='36' y='208' width='10' height='12'/><rect x='154' y='208' width='10' height='12'/><rect x='36' y='230' width='10' height='12'/><rect x='154' y='230' width='10' height='12'/><rect x='36' y='252' width='10' height='12'/><rect x='154' y='252' width='10' height='12'/><rect x='36' y='274' width='10' height='12'/><rect x='154' y='274' width='10' height='12'/><rect x='36' y='296' width='10' height='12'/><rect x='154' y='296' width='10' height='12'/><rect x='60' y='12' width='80' height='84'/><rect x='60' y='108' width='80' height='84'/><rect x='60' y='204' width='80' height='84'/></g></svg>"),
        linear-gradient(rgba(209,217,224,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209,217,224,.15) 1px, transparent 1px);
    background-size: 200px 300px, 24px 24px, 24px 24px;
    background-position: right 18px bottom 18px, 0 0, 0 0;
    background-repeat: no-repeat, repeat, repeat;
    background-attachment: fixed, scroll, scroll;
}
body::before {
    content: "";
    display: block;
    height: 4px;
    background: var(--red);
}
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
    margin: 1.6em 0 .6em;
    overflow-wrap: break-word;
    hyphens: auto;
}
h1 { font-size: 2.3rem; line-height: 1.05; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h2::before, h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: .55em;
    vertical-align: .2em;
    background: var(--red);
}
p, li, dd, blockquote, figcaption, td, th { overflow-wrap: break-word; hyphens: auto; }
a { color: var(--teal); text-decoration: none; }
.entry-content a, .page-lead a, .comment-text a, .breadcrumbs a, .sidebar a, .cookie-text a, .sec-link, .card-more, .notfound a:not(.btn) {
    background-image: linear-gradient(var(--red), var(--red));
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s ease, color .2s ease;
    padding-bottom: 1px;
}
.entry-content a:hover, .page-lead a:hover, .comment-text a:hover, .breadcrumbs a:hover, .sidebar a:hover, .cookie-text a:hover, .sec-link:hover, .card-more:hover, .notfound a:not(.btn):hover,
.entry-content a:focus-visible, .sidebar a:focus-visible { background-size: 100% 1px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 1px solid var(--line); }
th, td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; }
th { background: var(--bg-alt); font-family: var(--font-head); }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--red); color: #fff; padding: .6em 1em; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ===== Container ===== */
.shell { width: min(92%, 1180px); margin-inline: auto; }
.shell--front { width: min(85%, 1180px); }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    line-height: 1.3;
    text-align: center;
    padding: .85em 1.6em;
    border: 2px solid var(--red);
    border-radius: 0;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #fff;
    transform: translateX(2px);
}
.btn--ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--text); border-color: var(--text); color: #fff; }

/* ===== Header ===== */
.masthead { background: var(--ink-deep); color: #E2E8F0; }
.masthead-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.1rem 0;
}
.brand { display: flex; align-items: center; gap: .9rem; color: #fff; min-width: 0; flex: 1 1 320px; }
.brand-mark { flex: none; display: block; }
.brand-logo { display: block; width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; min-width: 0; max-width: 620px; }
.brand-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.3;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.brand-desc {
    font-size: .78rem;
    line-height: 1.4;
    color: #94A3B8;
    margin-top: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem;
    background: transparent; color: #fff; border: 2px solid #334155; border-radius: 0;
    padding: .5rem .85rem; font: 600 .9rem var(--font-head); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: #fff; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-list li { border-top: 1px solid #1E293B; }
.nav-list a {
    display: block; padding: .75rem 0; color: #E2E8F0;
    font-family: var(--font-head); font-weight: 500; font-size: .98rem;
}
.nav-list a:hover, .nav-list .current-menu-item > a { color: #fff; }
.nav-list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--red); padding-left: .75rem; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 1.4rem 0 .4rem; }
.breadcrumbs .sep { margin: 0 .45em; color: var(--red); }
.breadcrumbs span:last-child { color: var(--text); }

/* ===== Layout ===== */
.inner { padding-bottom: 4rem; }
.layout-single { display: block; }
.layout-single .content-area { width: 100%; margin-left: auto; margin-right: auto; }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.content-area, .sidebar { min-width: 0; }
.page-head { margin-bottom: 2rem; }
.page-title { font-size: 2.3rem; margin: .6em 0 .35em; }
.page-title::before { content: none; }
.page-lead { color: var(--muted); max-width: 60ch; }
.empty-note { color: var(--muted); padding: 1.5rem 0; }

/* ===== Section headings ===== */
.sec-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 2rem;
    margin: 0 0 2rem;
}
.sec-title::before {
    content: "";
    flex: none;
    width: 40px;
    height: 3px;
    margin: 0;
    background: var(--red);
    vertical-align: baseline;
}
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 2rem; }
.sec-head .sec-title { margin: 0; }
.sec-link { font-family: var(--font-head); font-weight: 600; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    overflow: hidden;
    transition: border-color .2s ease;
}
.card:hover, .card:focus-within { border-color: var(--red); }
.card-thumb { display: block; background: var(--bg-alt); }
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
}
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 1.3rem 1.4rem 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.chip {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .28em .6em;
    border-radius: 0;
    transition: background-color .2s ease;
}
.chip:hover, .chip:focus-visible { background: var(--red); color: #fff; }
.card-title { font-size: 1.2rem; margin: 0 0 .5rem; line-height: 1.25; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--red); }
.card-meta { font-size: .82rem; color: var(--muted); margin: 0 0 .8rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.card-pin { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.card-excerpt { color: var(--text); font-size: .95rem; margin-bottom: 1rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more { margin-top: auto; align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }

/* ===== Pagination (type => plain) ===== */
.pager { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2.5rem; }
.pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.6rem; padding: .55rem .85rem;
    border: 1px solid var(--line); background: #fff; color: var(--text);
    font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.pager a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.pager .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pager .page-numbers.dots { border: 0; background: transparent; min-width: auto; padding-inline: .3rem; }

/* ===== Sidebar & widgets ===== */
.sidebar { background: var(--side); padding: 1.6rem 1.5rem; align-self: start; color: var(--text); }
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.widget-title { font-size: 1.05rem; margin: 0 0 1rem; }
.sidebar .widget-title { color: var(--text); }
.sidebar a { color: #1F7A6F; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar .post-date { display: block; color: #475569; font-size: .8rem; }
.sidebar p { color: var(--text); }

/* ===== Front page ===== */
.band { padding: 5rem 0; }
.band--plain { background: transparent; }
.band--alt { background: var(--bg-alt); }
.band--accent {
    background-color: var(--bg-alt);
    background-image: repeating-linear-gradient(45deg, rgba(203,213,225,.2) 0 1px, transparent 1px 16px);
}
.band--dark { background: var(--ink-deep); color: #fff; }

.hero { position: relative; overflow: hidden; background: var(--ink-deep); color: #fff; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shade { position: absolute; inset: 0; background: rgba(15,23,42,.7); }
.hero-inner { position: relative; padding: 6rem 0 5.5rem; }
.hero-copy { border-left: 4px solid var(--red); padding: .4rem 0 .4rem 1.6rem; max-width: 780px; }
.hero-kicker { font-family: var(--font-head); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; margin: 0 0 1.2rem; }
.hero-title { font-size: 2.4rem; line-height: 1.05; color: #fff; margin: 0 0 1.2rem; letter-spacing: -0.03em; }
.hero-sub { color: #CBD5E1; font-size: 1.08rem; max-width: 60ch; margin: 0 0 2rem; }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0; }
.figure-item { display: flex; flex-direction: column; padding: 0 1.2rem; border-left: 1px solid var(--line); min-width: 0; }
.figure-item:nth-child(odd) { border-left: 0; padding-left: 0; }
.figure-num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: .9rem;
}
.figure-num::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--red); }
.figure-label { color: var(--muted); font-size: .92rem; margin-top: .7rem; }

.disciplines { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.discipline {
    background: #fff;
    border: 1px solid var(--line);
    padding: 2rem 1.8rem;
    min-width: 0;
    transition: border-color .2s ease;
}
.discipline:hover { border-color: var(--red); }
.discipline-icon { display: block; width: 48px; height: 48px; margin-bottom: 1.2rem; }
.discipline h3 { margin: 0 0 .7rem; font-size: 1.25rem; }
.discipline p { margin: 0; color: #334155; font-size: .96rem; }

.statement { margin: 0; border-left: 6px solid var(--red); padding: .5rem 0 .5rem 1.8rem; max-width: 980px; }
.statement-text {
    margin: 0 0 1.6rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}
.statement-cite { color: var(--muted); font-size: .95rem; }

/* ===== Entry ===== */
.entry-head { margin-bottom: 1.6rem; }
.entry-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.entry-cover { margin: 0 0 2rem; }
.entry-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-content { font-size: 1.05rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { display: block; height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--red); }
.entry-content blockquote {
    margin: 1.6em 0;
    padding: 1.2rem 1.5rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--red);
    font-family: var(--font-head);
    font-size: 1.15rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content pre { overflow-x: auto; background: var(--ink-deep); color: #E2E8F0; padding: 1.2rem 1.4rem; }
.entry-content figure { margin: 1.6em 0; max-width: 100%; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.tag-link { font-size: .88rem; }
.tag-link:hover { color: var(--red); }
.page-links { margin-top: 1.5rem; font-weight: 600; }

/* ===== Search ===== */
.search-form { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; max-width: 560px; }
.search-field {
    flex: 1 1 220px; min-width: 0;
    font: inherit; padding: .8em 1em;
    border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--text);
}
.search-field:focus { border-color: var(--red); outline: none; }

/* ===== 404 ===== */
.notfound { padding: 2rem 0 1rem; }
.notfound-code { font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--red); margin: 0; letter-spacing: -0.04em; }

/* ===== Comments ===== */
.comments { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments-title { margin-top: 0; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 1.6rem; border-left: 2px solid var(--line); }
.comment-body { background: #fff; border: 1px solid var(--line); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.comment-head img { display: block; border-radius: 0; }
.comment-author { font-weight: 600; font-family: var(--font-head); }
.comment-date { color: var(--muted); font-size: .82rem; }
.comment-moderation { color: var(--red); font-size: .9rem; }
.comment-reply a { font-size: .88rem; font-weight: 600; }
.comment-respond { margin-top: 2rem; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%; font: inherit; padding: .75em .9em; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--text);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); outline: none; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .submit {
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    padding: .85em 1.6em; border: 2px solid var(--red); border-radius: 0;
    background: var(--red); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .2s ease;
}
.comment-form .submit:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateX(2px); }

/* ===== Footer ===== */
.colophon { background: var(--ink-deep); color: #CBD5E1; margin-top: 0; }
.colophon-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; padding: 3.5rem 0 2.5rem; }
.colophon-col { min-width: 0; }
.colophon .widget { margin-bottom: 1.5rem; }
.colophon .widget-title { color: #fff; font-size: 1.05rem; }
.colophon .widget p, .colophon .widget li, .colophon .textwidget { color: #CBD5E1; font-size: .93rem; }
.colophon a { color: #E2E8F0; }
.colophon a:hover { color: var(--red); }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { padding: .35rem 0; }
.colophon .post-date { color: #94A3B8; }
.colophon-base { border-top: 1px solid #1E293B; padding: 1.3rem 0; font-size: .85rem; color: #94A3B8; }
.colophon-base p { margin: 0; }

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    background: var(--ink-deep);
    color: #E2E8F0;
    border-top: 3px solid var(--red);
    padding: 1.1rem 1.4rem;
    max-width: 980px;
    margin-inline: auto;
}
.cookie-text { margin: 0; flex: 1 1 280px; min-width: 0; font-size: .9rem; }
.cookie-text a { color: #7DD3C7; }
.cookie-accept { flex: none; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
    h1, .page-title { font-size: 2.8rem; }
    .hero-title { font-size: 3rem; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statement-text { font-size: 2.1rem; }
    .figure-num { font-size: 3.4rem; }
}

@media (max-width: 599px) {
    .band { padding: 3.5rem 0; }
    .hero-inner { padding: 4rem 0 3.5rem; }
    .hero-copy { padding-left: 1.1rem; }
    .statement { padding-left: 1.2rem; }
    .sidebar { padding: 1.4rem 1.2rem; }
    .discipline { padding: 1.6rem 1.3rem; }
    .cookie-banner { padding: 1rem 1.1rem; }
    .sec-title { font-size: 1.6rem; }
}

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .site-nav { display: block; width: auto; }
    .nav-list { flex-direction: row; gap: .3rem 1.8rem; flex-wrap: wrap; }
    .nav-list li { border-top: 0; }
    .nav-list a {
        padding: .4rem 0;
        background-image: linear-gradient(var(--red), var(--red));
        background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
        transition: background-size .3s ease, color .2s ease;
    }
    .nav-list a:hover { background-size: 100% 2px; }
    .nav-list .current-menu-item > a { box-shadow: none; padding-left: 0; background-size: 100% 2px; }

    .layout-single .content-area { width: 85%; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 67%) minmax(0, 27%); justify-content: space-between; gap: 0; }

    .hero-inner { padding: 8.5rem 0 8rem; }
    .hero-title { font-size: 3.5rem; line-height: 1.05; }
    h1, .page-title { font-size: 3.5rem; }

    .card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout-single .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .disciplines { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .figure-item { padding: 0 1.8rem; }
    .figure-item:nth-child(odd) { border-left: 1px solid var(--line); padding-left: 1.8rem; }
    .figure-item:first-child { border-left: 0; padding-left: 0; }
    .figure-num { font-size: 4rem; }

    .statement-text { font-size: 2.5rem; }
    .colophon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
