/* Veblen theme built strictly on Bulma v1 tokens & components.
 * Zero custom grid classes; layout uses Bulma .container/.columns/.column
 * and all colors, surfaces, borders, and fonts derive from Bulma v1 tokens
 * (configured via branding.look in look.css, which loads after this file).
 */

@view-transition {
    navigation: auto;
}

@keyframes veblen-vt-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes veblen-vt-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::view-transition-group(root) {
    animation-duration: 0.45s;
    animation-timing-function: var(--veblen-ease);
}

::view-transition-old(root) {
    animation: veblen-vt-out 0.35s var(--veblen-ease) both;
    mix-blend-mode: normal;
}

::view-transition-new(root) {
    animation: veblen-vt-in 0.45s var(--veblen-ease) both;
    mix-blend-mode: normal;
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

.veblen-page {
    transition: opacity 0.28s var(--veblen-ease);
}

body.veblen-leaving .veblen-page {
    opacity: 0;
}

:root {
    --bulma-family-primary: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bulma-family-secondary: "Sorts Mill Goudy", Georgia, "Times New Roman", serif;
    /* Square geometry: controls, boxes, and everything mapped to a radius token inherit it. */
    --bulma-radius-small: 0;
    --bulma-radius: 0;
    --bulma-radius-medium: 0;
    --bulma-radius-large: 0;
    --veblen-ease: cubic-bezier(0.3, 0, 0.3, 1);
    /* In Veblen dark mode, primary surface (default_bg) is lighter than secondary (second_bg);
     * Bulma v1 dark mode inverts that relationship (scheme-main < scheme-main-bis). */
    --veblen-bg-primary: var(--bulma-scheme-main-bis);
    --veblen-bg-secondary: var(--bulma-scheme-main);
}

html.theme-light {
    --veblen-bg-primary: var(--bulma-scheme-main);
    --veblen-bg-secondary: var(--bulma-scheme-main-bis);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--veblen-bg-primary);
    color: var(--bulma-text-strong);
    font-size: 16px;
}

body.veblen-body {
    margin: 0;
    padding: 0;
    font-family: var(--bulma-family-primary);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bulma-text-strong);
    background-color: var(--veblen-bg-primary);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.7s var(--veblen-ease), color 0.7s var(--veblen-ease);
}

body.veblen-body.is-clipped {
    overflow: hidden;
}

.veblen-page {
    position: relative;
    overflow-x: clip;
    min-height: 50vh;
}

.veblen-wrapper {
    position: relative;
    display: flow-root;
}

.veblen-body .container:not(.is-max-desktop):not(.is-max-widescreen) {
    position: relative;
    z-index: 2;
    max-width: 1170px;
    padding-left: 15px;
    padding-right: 15px;
}

html.is-clipped,
body.is-clipped {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
}

.veblen-body a {
    color: var(--bulma-primary);
    text-decoration: none;
    transition: color 0.4s var(--veblen-ease), opacity 0.4s var(--veblen-ease);
}

.veblen-body a:hover {
    text-decoration: underline;
}

.veblen-body strong {
    font-weight: 700;
    color: var(--bulma-text-strong);
}

.veblen-body img {
    max-width: 100%;
}

/* Sections & Surface Alternation */
.section.veblen-section {
    position: relative;
    z-index: 2;
    padding: 180px 0;
    background-color: var(--veblen-bg-primary);
    transition: background-color 0.7s var(--veblen-ease);
}

.section.veblen-section-bg {
    background-color: var(--veblen-bg-secondary);
}

.section.veblen-section-started {
    position: relative;
    z-index: 2;
    padding: 0;
    background-color: var(--veblen-bg-primary);
    transition: background-color 0.7s var(--veblen-ease);
}

.section.veblen-section-inner {
    position: relative;
    z-index: 2;
    padding: 0;
    background-color: var(--veblen-bg-secondary);
    transition: background-color 0.7s var(--veblen-ease);
}

.section.veblen-started-heading {
    margin-top: 0;
    padding: clamp(176px, 18vw, 240px) 0 10px 0;
    background-color: var(--veblen-bg-secondary);
    position: relative;
}

.section.veblen-started-heading .veblen-h-titles {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.veblen-single-portfolio .veblen-h-title {
    font-size: clamp(44px, 7.2vw, 112px);
    line-height: 1.02;
}

.section.veblen-details-section {
    padding: 0 0 80px 0;
}

.section.veblen-description-section {
    padding: 120px 0 80px 0;
}

.section.veblen-archive-section {
    padding: 40px 0 140px 0;
}

.section.veblen-gallery-section {
    padding: 0 0 140px 0;
}

/* Signature Veblen Row & Vertical Hairline */
.columns.veblen-row-custom {
    margin: 0;
}

.columns.veblen-row-custom > .column {
    padding: 60px;
}

.veblen-vertical-line {
    border-left: 1px solid var(--bulma-text-strong);
}

/* Parallax 3D Decorative Cubes */
.veblen-pbefore,
.veblen-pafter {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    will-change: transform;
    transition: filter 1.2s ease-in-out;
}

.veblen-brighten {
    transition: filter 1.2s ease-in-out;
}

html.theme-light .veblen-brighten {
    filter: brightness(1.18);
}

/* Hue-shift the native 14deg orange cubes & hero video to match --bulma-primary-h */
.veblen-pbefore,
.veblen-pafter,
.veblen-hero-backdrop {
    filter: hue-rotate(calc(var(--bulma-primary-h, 14deg) - 14deg));
}

html.theme-light .veblen-pbefore,
html.theme-light .veblen-pafter,
html.theme-light .veblen-hero-backdrop {
    filter: hue-rotate(calc(var(--bulma-primary-h, 14deg) - 14deg)) brightness(1.18);
}

.veblen-parallax-1 .veblen-pbefore {
    left: -61px;
    bottom: -161px;
    width: 236px;
    height: 600px;
    background-image: url("../images/parallax-cubes-2.webp");
}

.veblen-parallax-1 .veblen-pafter {
    right: -41px;
    bottom: 0;
    width: 411px;
    height: 600px;
    background-image: url("../images/parallax-cubes-1.webp");
}

.veblen-parallax-2 .veblen-pbefore {
    left: 41px;
    bottom: 41px;
    width: 250px;
    height: 600px;
    background-image: url("../images/parallax-cubes-5.webp");
}

.veblen-parallax-2 .veblen-pafter {
    right: -41px;
    bottom: 0;
    width: 236px;
    height: 600px;
    background-image: url("../images/parallax-cubes-2.webp");
}

.veblen-parallax-3 .veblen-pbefore {
    left: -61px;
    bottom: -261px;
    width: 236px;
    height: 600px;
    background-image: url("../images/parallax-cubes-3.webp");
}

.veblen-parallax-3 .veblen-pafter {
    right: -41px;
    bottom: 0;
    width: 236px;
    height: 600px;
    background-image: url("../images/parallax-cubes-4.webp");
}

.veblen-parallax-4 .veblen-pbefore {
    left: -41px;
    bottom: 0;
    width: 310px;
    height: 600px;
    background-image: url("../images/parallax-cubes-2.webp");
}

.veblen-parallax-4 .veblen-pafter {
    right: -41px;
    bottom: 0;
    width: 411px;
    height: 600px;
    background-image: url("../images/parallax-cubes-2.webp");
}

/* Display & Editorial Typography */
.veblen-m-titles,
.veblen-h-titles {
    position: relative;
}

.veblen-m-title,
.veblen-h-title {
    margin: 0 0 40px 0;
    font-family: var(--bulma-family-secondary);
    font-size: 138px;
    font-weight: 400;
    line-height: 1;
    color: var(--bulma-text-strong);
    word-wrap: break-word;
}

.veblen-single-post .veblen-m-titles {
    margin-top: -55px;
}

.veblen-single-post .veblen-m-title {
    font-size: 100px;
    line-height: 1.1;
}

.veblen-m-category {
    margin-bottom: 50px;
    color: var(--bulma-text);
    font-weight: 300;
    font-size: 20px;
}

.veblen-m-category strong {
    color: var(--bulma-primary);
}

.veblen-p-title {
    margin: 80px 0 40px 0;
    font-family: var(--bulma-family-primary);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bulma-text-strong);
}

.veblen-p-title-flush {
    margin-top: 0;
}

.veblen-text p {
    margin: 30px 0;
    padding: 0;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bulma-text-strong);
}

.veblen-text p:first-child {
    margin-top: 0;
}

.veblen-text p:last-child {
    margin-bottom: 0;
}

.veblen-text h1,
.veblen-text h2,
.veblen-text h3,
.veblen-text h4,
.veblen-text h5 {
    font-family: var(--bulma-family-secondary);
    font-weight: 400;
    color: var(--bulma-text-strong);
    margin: 36px 0 24px 0;
    line-height: 1.3;
}

.veblen-text h1,
.veblen-text h2 { font-size: 49px; }
.veblen-text h3 { font-size: 39px; }
.veblen-text h4 { font-size: 29px; }
.veblen-text h5 { font-size: 24px; }

.veblen-text h6 {
    margin: 0;
    font-family: var(--bulma-family-primary);
    font-size: 20px;
    font-weight: 300;
    color: var(--bulma-text-strong);
}

.veblen-text ul {
    list-style: disc;
    margin: 30px 0;
    padding-left: 20px;
}

.veblen-text ol {
    list-style: decimal;
    margin: 30px 0;
    padding-left: 20px;
}

.veblen-text blockquote {
    position: relative;
    margin: 50px 0 50px 50px;
    padding: 65px 50px 0 50px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--bulma-text);
    font-weight: 300;
    border-left: 1px solid var(--bulma-text-strong);
    background: transparent;
}

.veblen-text blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50px;
    width: 58px;
    height: 44px;
    background: url("../images/quote.svg") no-repeat;
    background-size: contain;
}

html.theme-light .veblen-text blockquote::before {
    filter: invert(1);
}

.veblen-text figure {
    margin: 40px 0;
    padding-left: 40px;
    border-left: 1px solid var(--bulma-text-strong);
}

.veblen-text figure img {
    width: 100%;
    height: auto;
    display: block;
}

.veblen-text figcaption {
    font-size: 14px;
    padding-top: 16px;
    color: var(--bulma-text);
}

.veblen-text table {
    border-collapse: collapse;
    display: block;
    margin: 40px 0;
    max-width: 100%;
    overflow-x: auto;
    border-left: 1px solid var(--bulma-text-strong);
}

.veblen-text table thead {
    background-color: var(--bulma-text-strong);
    color: var(--veblen-bg-primary);
}

.veblen-text table thead th {
    color: var(--veblen-bg-primary);
    font-weight: 700;
    text-align: left;
}

.veblen-text table th,
.veblen-text table td {
    padding: 13px 16px;
}

.veblen-text table tbody tr:not(:first-of-type) {
    border-top: 1px solid var(--bulma-border);
}

.veblen-lnk {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--bulma-primary);
    text-decoration: none;
}

.veblen-lnk:hover {
    text-decoration: underline;
}

/* Signature Veblen Architectural Skew-Fill button. Overriding Bulma's .button itself (rather
 * than a bespoke class the templates must add) means every button in the theme, including
 * the shared consent dialog's, inherits the same treatment. The .veblen-body scope keeps
 * these rules ahead of the generic anchor styling, which otherwise recolours <a class="button">.
 * Bulma size modifiers scale it; .is-large carries the hero scale. */
.veblen-body .button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: var(--bulma-family-primary);
    font-weight: 700;
    color: var(--bulma-text-strong);
    background-color: transparent;
    border-color: var(--bulma-primary);
    box-shadow: none;
    text-decoration: none;
    transition: color 0.7s var(--veblen-ease), border-color 0.7s var(--veblen-ease);
}

.veblen-body .button.is-large {
    height: 60px;
    padding: 0 65px;
    font-size: 18px;
}

.veblen-body .button::before {
    content: "";
    position: absolute;
    left: -10%;
    top: -50%;
    width: 120%;
    height: 140%;
    background-color: var(--bulma-primary);
    transform: translate3d(0, -100%, 0) skew(-10deg, -10deg);
    transition: transform 0.7s var(--veblen-ease), top 0.7s var(--veblen-ease);
    z-index: -1;
}

.veblen-body .button:hover,
.veblen-body .button:focus-visible {
    color: var(--bulma-primary-invert, #ffffff);
    border-color: var(--bulma-primary);
    text-decoration: none;
}

.veblen-body .button:hover::before,
.veblen-body .button:focus-visible::before {
    top: -20%;
    transform: translate3d(0, 0, 0) skew(0deg);
}

.veblen-body .button.is-primary {
    background-color: var(--bulma-primary);
    color: var(--bulma-primary-invert, #ffffff);
}

/* Minimal Header (Veblen absolute -> sticky gradient) */
.veblen-header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 30px 40px;
    z-index: 90;
    view-transition-name: veblen-header;
    transition: background-color 0.35s var(--veblen-ease), padding 0.35s var(--veblen-ease);
}

.veblen-header.is-sticky {
    position: fixed;
    top: 0;
    animation: veblen-header-in 0.6s var(--veblen-ease) forwards;
}

@media screen and (min-width: 1200px) {
    .veblen-header.is-sticky {
        background-image:
            linear-gradient(0deg, transparent, var(--veblen-bg-secondary)),
            linear-gradient(0deg, transparent, var(--veblen-bg-secondary));
    }
}

@media screen and (max-width: 1199px) {
    .veblen-header.is-sticky {
        background-color: var(--veblen-bg-primary);
        border-bottom: 1px solid var(--veblen-bg-secondary);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    }
}

@keyframes veblen-header-in {
    0% {
        transform: translate3d(0, -100px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.veblen-logo {
    position: relative;
    z-index: 92;
    display: inline-flex;
    align-items: center;
    width: 80px;
    height: 50px;
    color: var(--bulma-text-strong);
    text-decoration: none;
}

.veblen-logo:hover {
    text-decoration: none;
}

.veblen-logo svg {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s var(--veblen-ease);
}

.veblen-header.is-sticky .veblen-logo svg {
    width: auto;
    height: 100%;
    max-height: 50px;
}

.veblen-logo svg path,
.veblen-logo svg polygon,
.veblen-logo svg rect,
.veblen-logo svg circle {
    fill: var(--bulma-text-strong);
    transition: fill 0.4s var(--veblen-ease);
}

.veblen-logo svg #main,
.veblen-logo svg #main * {
    fill: var(--bulma-text-strong);
}

.veblen-logo svg #sub,
.veblen-logo svg #sub * {
    fill: none;
}

.veblen-logo img {
    max-height: 46px;
    max-width: 120px;
    width: auto;
    display: block;
}

.veblen-logo-text {
    font-family: var(--bulma-family-secondary);
    font-size: 24px;
    color: var(--bulma-text-strong);
    white-space: nowrap;
}

.veblen-header-actions {
    position: relative;
    z-index: 92;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.veblen-switcher-btn {
    position: relative;
    margin-right: 40px;
    width: 26px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--bulma-text-strong);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.veblen-switcher-btn .veblen-sw-sun,
.veblen-switcher-btn .veblen-sw-moon {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s var(--veblen-ease), visibility 0.25s var(--veblen-ease);
}

.veblen-switcher-btn .veblen-sw-sun {
    opacity: 1;
    visibility: visible;
}

.veblen-switcher-btn .veblen-sw-moon {
    opacity: 0;
    visibility: hidden;
}

.veblen-switcher-btn.is-light-active .veblen-sw-sun {
    opacity: 0;
    visibility: hidden;
}

.veblen-switcher-btn.is-light-active .veblen-sw-moon {
    opacity: 1;
    visibility: visible;
}

.veblen-switcher-btn:hover {
    color: var(--bulma-primary);
}

.veblen-menu-btn {
    position: relative;
    width: 25px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--bulma-text-strong);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s var(--veblen-ease);
}

.veblen-menu-btn:hover {
    color: var(--bulma-primary);
}

.veblen-menu-btn span {
    position: relative;
    display: block;
    width: 100%;
    height: 14px;
}

.veblen-menu-btn span::before,
.veblen-menu-btn span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
    transition: transform 0.3s var(--veblen-ease), top 0.3s var(--veblen-ease), bottom 0.3s var(--veblen-ease);
}

.veblen-menu-btn span::before {
    top: 0;
}

.veblen-menu-btn span::after {
    bottom: 0;
}

.veblen-menu-btn.is-active span::before {
    top: 6px;
    transform: rotate(-45deg);
}

.veblen-menu-btn.is-active span::after {
    bottom: 6px;
    transform: rotate(45deg);
}

/* Fullscreen Skewed Curtain Menu Overlay */
.veblen-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 88;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--veblen-ease), visibility 0.3s var(--veblen-ease);
}

.veblen-menu-overlay::before {
    content: "";
    position: absolute;
    left: -10vw;
    top: -20vh;
    width: 120vw;
    height: 130vh;
    background-color: var(--veblen-bg-secondary);
    transform: translate3d(0, -100%, 0) skew(-10deg, -10deg);
    transition: transform 0.8s var(--veblen-ease);
}

.veblen-menu-overlay.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.veblen-menu-overlay.is-open::before {
    transform: translate3d(0, 0, 0) skew(0deg);
}

.veblen-menu-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: safe center;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.veblen-menu-full {
    padding: 120px 0;
    font-family: var(--bulma-family-secondary);
    color: var(--bulma-text-strong);
}

.veblen-menu-full ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.veblen-menu-full ul li {
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s var(--veblen-ease), transform 0.55s var(--veblen-ease);
}

.veblen-menu-overlay.is-open .veblen-menu-full ul li {
    opacity: 1;
    transform: translateY(0);
}

.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(1) { transition-delay: 0.12s; }
.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(2) { transition-delay: 0.2s; }
.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(3) { transition-delay: 0.28s; }
.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(4) { transition-delay: 0.36s; }
.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(5) { transition-delay: 0.44s; }
.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(6) { transition-delay: 0.52s; }
.veblen-menu-overlay.is-open .veblen-menu-full ul li:nth-child(7) { transition-delay: 0.6s; }

.veblen-menu-full ul li:last-child {
    margin-bottom: 0;
}

.veblen-menu-full ul li a,
.veblen-menu-full ul li .consent-legal-link {
    font-family: var(--bulma-family-secondary);
    font-size: 112px;
    line-height: 1;
    color: var(--bulma-text-strong);
    display: inline-block;
    text-decoration: none;
}

.veblen-menu-full ul li a:hover,
.veblen-menu-full ul li .consent-legal-link:hover {
    color: var(--bulma-primary);
    text-decoration: none;
}

.veblen-menu-socials {
    position: absolute;
    right: 50px;
    bottom: 45px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--veblen-ease);
}

.veblen-menu-overlay.is-open .veblen-menu-socials {
    opacity: 1;
    transition-delay: 0.45s;
}

/* Stage 4 Tailored Banner */
.veblen-tailored-strip {
    position: relative;
    z-index: 5;
    padding-top: 108px;
    background-color: var(--veblen-bg-secondary);
    border-bottom: 1px solid var(--bulma-primary);
}

.veblen-tailored-strip-inner {
    padding-top: 18px;
    padding-bottom: 18px;
}

.veblen-tailored-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bulma-primary);
}

/* Hero Started (Authentic Veblen Split-Band, Overlapping Display Title & Floating Backdrop) */
.veblen-hero-started {
    padding-top: 280px;
    position: relative;
}

.veblen-hero-started::before {
    content: "";
    position: absolute;
    left: -100%;
    bottom: -10px;
    width: 300%;
    height: 380px;
    background-color: var(--veblen-bg-secondary);
    z-index: 0;
    transition: background-color 0.7s var(--veblen-ease);
}

.veblen-hero-slide {
    position: absolute;
    bottom: 120px;
    right: -139px;
    width: 749px;
    height: 918px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
    border-radius: 0 0 100px 100px;
}

.veblen-hero-bust-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0 0 100px 100px;
    z-index: 10;
    display: flex;
    align-items: safe flex-end;
}

.veblen-hero-bust {
    width: 100%;
    height: auto;
    max-height: 125%;
    object-fit: contain;
    object-position: top center;
    flex-shrink: 0;
    display: block;
}

.veblen-hero-backdrop {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    max-width: none;
    z-index: 2;
    animation: veblen-hero-backdrop-float 20s ease-in-out infinite;
}

@keyframes veblen-hero-backdrop-float {
    0% { transform: translateX(30px); }
    50% { transform: translateX(-30px); }
    100% { transform: translateX(30px); }
}

@supports (-webkit-touch-callout: none) {
    @media (hover: none) and (pointer: coarse) {
        .veblen-hero-backdrop {
            display: none !important;
        }
    }
}

.veblen-hero-ascii {
    margin: 0;
    padding: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bulma-family-code, monospace);
    font-size: 12px;
    line-height: 1.25;
    color: var(--bulma-primary);
    background: transparent;
    white-space: pre;
}

.veblen-hero-content {
    position: relative;
    min-height: 670px;
    z-index: 3;
}

.veblen-hero-titles {
    position: relative;
    max-width: 570px;
    z-index: 3;
}

.veblen-hero-subtitle {
    font-family: var(--bulma-family-primary);
    font-size: 52px;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--bulma-text);
    margin-bottom: 36px;
}

.veblen-hero-title {
    margin: 0 0 40px 0;
    font-family: var(--bulma-family-secondary);
    font-size: 138px;
    font-weight: 400;
    line-height: 0.9;
    color: var(--bulma-text-strong);
}

.veblen-hero-desc {
    position: relative;
    z-index: 3;
    margin-left: 100px;
    padding: 40px 0 40px 40px;
    max-width: 350px;
    border-left: 1px solid var(--bulma-text-strong);
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bulma-text);
}

.veblen-hero-desc.is-compact {
    padding: 18px 0 18px 32px;
}

.veblen-hero-desc p {
    margin: 0;
}

.veblen-hero-socials {
    margin-top: 30px;
    line-height: 1;
}

.veblen-hero-desc.is-compact .veblen-hero-socials {
    margin-top: 0;
}

.veblen-hero-buttons {
    position: relative;
    z-index: 3;
    margin-top: 60px;
    min-height: 66px;
    background-color: var(--veblen-bg-secondary);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 12px;
    transition: background-color 0.7s var(--veblen-ease);
}

.veblen-hero-buttons .button {
    margin-top: 10px;
}

/* Social Links */
.veblen-socials {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    line-height: 1;
}

.veblen-body a.veblen-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bulma-text-strong);
    text-decoration: none;
}

.veblen-body a.veblen-social-icon:hover {
    color: var(--bulma-primary);
    text-decoration: none;
}

/* About Section: Highlights, Profile & Signature */
.veblen-number-item {
    margin-top: 60px;
    line-height: 1.2;
}

.veblen-number-item:first-child {
    margin-top: 0;
}

.veblen-number-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--bulma-text-strong);
}

.veblen-number-label {
    font-size: 18px;
    color: var(--bulma-text);
}

.veblen-autograph {
    margin-top: 60px;
    width: 42%;
    max-width: 340px;
}

.veblen-autograph svg {
    width: 100%;
    height: auto;
    display: block;
}

.veblen-autograph svg * {
    fill: var(--bulma-text-strong);
}

.veblen-autograph img {
    max-height: 82px;
    width: auto;
    display: block;
}

html.theme-dark .veblen-autograph img {
    filter: brightness(0) invert(1);
}

.veblen-profile-box .button {
    margin-top: 60px;
}

/* Capabilities 2-Up Carousel (Inside My Resume) */
.veblen-services-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.veblen-services-head .veblen-p-title {
    margin-bottom: 25px;
}

.veblen-services-nav {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 25px;
}

.veblen-nav-arrow {
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--bulma-text-strong);
    cursor: pointer;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.veblen-nav-arrow:hover {
    color: var(--bulma-primary);
}

.veblen-nav-arrow.is-disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.veblen-chevron {
    width: 11px;
    height: 22px;
    display: block;
}

.veblen-chevron.is-next {
    transform: scale(-1);
}

.veblen-services-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.veblen-services-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.veblen-services-track::-webkit-scrollbar {
    display: none;
}

.veblen-service-card {
    flex: 0 0 calc(50% - 15px);
    scroll-snap-align: start;
    padding: 30px 24px 10px 0;
    display: flex;
    flex-direction: column;
}

.veblen-service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bulma-primary);
    background-color: color-mix(in srgb, var(--bulma-text-strong) 6%, transparent);
}

.veblen-service-title {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--bulma-text-strong);
}

.veblen-service-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bulma-text);
    flex-grow: 1;
}

/* Resume History (Education / Experience / Certifications) */
.veblen-history-item {
    margin-top: 40px;
}

.veblen-history-item:first-of-type {
    margin-top: 0;
}

.veblen-history-date,
.veblen-history-sub {
    font-size: 18px;
    font-weight: 300;
    color: var(--bulma-text);
}

.veblen-history-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bulma-text-strong);
}

.veblen-history-text {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bulma-text);
}

.veblen-history-text ul {
    list-style: disc;
    list-style-position: outside;
    margin: 0;
    padding-left: 18px;
}

.veblen-history-text li {
    margin-bottom: 8px;
}

.veblen-history-text li:last-child {
    margin-bottom: 0;
}

.veblen-resume-cta {
    margin-top: 60px;
}

/* Category Filter Bar (Veblen pinned All + faded carousel + chevrons) */
.veblen-filter-container {
    display: flex;
    align-items: stretch;
    margin: 80px 0 60px 0;
    position: relative;
    z-index: 2;
}

.veblen-filter-nav {
    width: 24px;
    padding: 10px 0 16px 0;
    background: none;
    border: 0;
    color: var(--bulma-text-strong);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 6;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.veblen-filter-nav:hover {
    color: var(--bulma-primary);
}

.veblen-filter-nav.is-prev {
    margin-right: 20px;
}

.veblen-filter-nav.is-next {
    margin-left: 20px;
}

.veblen-filter-nav.is-disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.veblen-filter-nav .veblen-chevron {
    width: 10px;
    height: 20px;
}

.veblen-filter-all {
    flex-shrink: 0;
    padding: 10px 30px 16px 0;
    display: inline-flex;
    align-items: center;
    z-index: 6;
}

.veblen-filter-carousel {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    z-index: 2;
}

.veblen-filter-carousel::before,
.veblen-filter-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.veblen-filter-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--veblen-bg-secondary), transparent);
}

.veblen-filter-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--veblen-bg-secondary), transparent);
}

.veblen-filter-carousel.has-overflow-left::before {
    opacity: 1;
}

.veblen-filter-carousel.has-overflow-right::after {
    opacity: 1;
}

.veblen-filter-track {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 0 16px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.veblen-filter-track::-webkit-scrollbar {
    display: none;
}

.veblen-filter-link {
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 6px 0;
    background: none;
    border: 0;
    font-family: var(--bulma-family-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    color: var(--bulma-text-strong);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s var(--veblen-ease);
}

.veblen-filter-link::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    max-width: 60%;
    height: 2px;
    background-color: var(--bulma-primary);
    transition: width 0.3s var(--veblen-ease);
}

.veblen-filter-link:hover,
.veblen-filter-link.is-active {
    color: var(--bulma-text-strong);
}

.veblen-filter-link:hover::before,
.veblen-filter-link.is-active::before {
    width: 40px;
}

/* Asymmetric Project List Rows (Veblen 57% Image + 10% Gap + 33% Title) */
.veblen-works-list {
    position: relative;
}

.columns.veblen-work-row {
    margin: 150px 0 0 0;
}

.columns.veblen-work-row > .column {
    padding: 0;
}

.columns.veblen-work-row:first-child,
.columns.veblen-work-row.is-first-visible {
    margin-top: 0;
}

.columns.veblen-work-row.is-hidden {
    display: none !important;
}

.veblen-work-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.veblen-work-link:hover {
    text-decoration: none;
}

.veblen-work-image {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 1;
    font-size: 0;
    background-color: var(--bulma-scheme-main-ter);
}

.veblen-work-image::before,
.veblen-work-image::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 10px;
    height: calc(100% + 20px);
    background-color: var(--veblen-bg-secondary);
    z-index: 3;
    pointer-events: none;
    transition: width 0.6s var(--veblen-ease);
}

.veblen-work-image::before {
    left: -10px;
}

.veblen-work-image::after {
    right: -10px;
}

.veblen-work-image-inner {
    position: relative;
    display: block;
    width: 100%;
}

.veblen-work-image-inner::before,
.veblen-work-image-inner::after {
    content: "";
    position: absolute;
    left: -10px;
    width: calc(100% + 20px);
    height: 10px;
    background-color: var(--veblen-bg-secondary);
    z-index: 3;
    pointer-events: none;
    transition: height 0.6s var(--veblen-ease);
}

.veblen-work-image-inner::before {
    top: -10px;
}

.veblen-work-image-inner::after {
    bottom: -10px;
}

.veblen-work-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.6s var(--veblen-ease);
}

.veblen-gallery-image img {
    height: auto;
}

.veblen-work-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--bulma-primary);
    color: var(--bulma-primary-invert, #ffffff);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.6s var(--veblen-ease);
}

.veblen-work-overlay svg {
    position: absolute;
    top: 30px;
    right: 30px;
}

.veblen-work-link:hover .veblen-work-image::before,
.veblen-work-link:hover .veblen-work-image::after {
    width: 20px;
}

.veblen-work-row:hover .veblen-work-image-inner::before,
.veblen-work-row:hover .veblen-work-image-inner::after,
.veblen-work-link:hover .veblen-work-image-inner::before,
.veblen-work-link:hover .veblen-work-image-inner::after {
    height: 20px;
}

.veblen-work-row:hover .veblen-work-image img,
.veblen-work-link:hover .veblen-work-image img {
    transform: scale(1.02);
}

.veblen-work-row:hover .veblen-work-overlay,
.veblen-work-link:hover .veblen-work-overlay {
    opacity: 0.22;
}

.veblen-work-fallback {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bulma-family-secondary);
    font-size: 36px;
    color: var(--bulma-text);
    padding: 32px;
    text-align: center;
}

.veblen-work-desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}

.veblen-work-name {
    display: block;
    margin-bottom: 30px;
    font-family: var(--bulma-family-secondary);
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    color: var(--bulma-text-strong);
    transition: color 0.35s var(--veblen-ease);
}

.veblen-body a.veblen-work-link,
.veblen-body a.veblen-work-link:hover {
    text-decoration: none;
}

.veblen-work-row:hover .veblen-work-name,
.veblen-work-link:hover .veblen-work-name {
    color: var(--bulma-primary);
}

.veblen-work-meta {
    display: block;
    font-size: 24px;
    font-weight: 300;
    line-height: 40px;
    color: var(--bulma-text);
}

.veblen-work-codename {
    display: block;
    font-size: 24px;
    font-weight: 300;
    line-height: 40px;
    color: var(--bulma-primary);
}

.veblen-relevance-note {
    margin-top: 20px;
    padding: 12px 16px;
    border-left: 2px solid var(--bulma-primary);
    background-color: var(--veblen-bg-primary);
    font-size: 16px;
    color: var(--bulma-text-strong);
}

.veblen-load-more {
    margin-top: 150px;
    text-align: center;
}

/* Project Single Details, Large Parallax Hero & Content */
.veblen-details-list {
    display: flex;
    flex-wrap: wrap;
}

.veblen-detail-item {
    margin-right: 50px;
    margin-bottom: 30px;
    color: var(--bulma-text);
    font-weight: 300;
}

.veblen-detail-item span {
    display: block;
    font-size: 18px;
}

.veblen-detail-item strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--bulma-text-strong);
}

.veblen-image-large {
    width: 100%;
    overflow: hidden;
}

.veblen-image-large-frame {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background-color: var(--bulma-scheme-main-ter);
}

.veblen-image-large-img {
    position: absolute;
    inset: -20% 0;
    width: 100%;
    height: 140%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    will-change: transform;
}

.veblen-single-portfolio .veblen-image-large-frame {
    filter: blur(5px);
    transform: scale(1.2);
}

.veblen-embed-frame {
    width: 100%;
    min-height: 540px;
    border: 1px solid var(--bulma-border);
}

.veblen-post-content h1,
.veblen-post-content h2,
.veblen-post-content h3,
.veblen-post-content h4,
.veblen-post-content h5,
.veblen-post-content h6 {
    font-family: var(--bulma-family-primary);
    font-weight: 700;
    color: var(--bulma-text-strong);
    margin: 50px 0 30px 0;
    line-height: 1.3;
}

.veblen-post-content h2 { font-size: 40px; }
.veblen-post-content h3 { font-size: 34px; }
.veblen-post-content h4 { font-size: 28px; }

.veblen-post-content ul {
    list-style: disc;
    margin: 30px 0;
    padding-left: 20px;
}

.veblen-post-content ol {
    list-style: decimal;
    margin: 30px 0;
    padding-left: 20px;
}

.veblen-post-content blockquote {
    position: relative;
    margin: 50px 0 50px 50px;
    padding: 65px 50px 0 50px;
    font-size: 22px;
    line-height: 1.3;
    color: var(--bulma-text);
    font-weight: 300;
    border-left: 1px solid var(--bulma-text-strong);
    background: transparent;
}

.veblen-post-content blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50px;
    width: 58px;
    height: 44px;
    background: url("../images/quote.svg") no-repeat;
    background-size: contain;
}

html.theme-light .veblen-post-content blockquote::before {
    filter: invert(1);
}

.veblen-post-content table {
    border-collapse: collapse;
    display: block;
    margin: 40px 0;
    max-width: 100%;
    overflow-x: auto;
    border-left: 1px solid var(--bulma-text-strong);
}

.veblen-post-content table thead {
    background-color: var(--bulma-text-strong);
    color: var(--veblen-bg-primary);
}

.veblen-post-content table th,
.veblen-post-content table td {
    padding: 12px 16px;
}

.veblen-post-content table tbody tr:not(:first-of-type) {
    border-top: 1px solid var(--bulma-border);
}

.veblen-byline {
    padding-top: 30px;
    color: var(--bulma-text);
}

.veblen-tags-links {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.veblen-tag-pill {
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--bulma-text-strong);
    border: 1px solid var(--bulma-primary);
}

/* Blog Editorial Hover-Reveal Rows */
.veblen-blog-items {
    margin-top: 60px;
}

.veblen-blog-item {
    position: relative;
    padding: 100px 0;
    min-height: 441px;
    overflow: hidden;
    background-color: var(--veblen-bg-secondary);
}

.veblen-blog-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.veblen-blog-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(10px);
    transition: transform 0.6s var(--veblen-ease);
}

.veblen-blog-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--veblen-bg-secondary);
    opacity: 0.85;
    z-index: 1;
}

.veblen-blog-bg::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--veblen-bg-secondary);
    z-index: 2;
    transition: height 0.6s var(--veblen-ease);
}

.veblen-blog-item:hover .veblen-blog-bg::after {
    height: 0;
}

.veblen-blog-item:hover .veblen-blog-bg img {
    transform: translateY(0);
}

.columns.veblen-blog-row {
    margin: 0;
}

.columns.veblen-blog-row > .column {
    padding: 0;
}

.columns.veblen-blog-row > .veblen-blog-meta {
    padding-right: 60px;
}

.veblen-blog-cat {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bulma-text-strong);
}

.veblen-blog-date {
    font-size: 18px;
    font-weight: 300;
    color: var(--bulma-text);
    margin-top: 6px;
}

.veblen-blog-title {
    margin: 0 0 20px 0;
    font-family: var(--bulma-family-primary);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
}

.veblen-blog-title a {
    color: var(--bulma-text-strong);
    text-decoration: none;
}

.veblen-blog-title a:hover {
    color: var(--bulma-primary);
}

.veblen-blog-excerpt p {
    margin: 0;
    color: var(--bulma-text);
}

.veblen-blog-readmore {
    margin-top: 34px;
}

.veblen-blog-more {
    margin-top: 60px;
    text-align: center;
}

/* Oversized Next/Prev Page Navigation */
.section.veblen-page-nav {
    padding: 180px 0;
    background-color: var(--veblen-bg-primary);
    border-bottom: 1px solid var(--veblen-bg-secondary);
}

.veblen-page-nav a {
    display: inline-block;
    text-decoration: none;
}

.veblen-page-nav a:hover {
    text-decoration: none;
}

.veblen-page-nav-kicker {
    display: block;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 20px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--bulma-text);
}

.veblen-page-nav-kicker::after {
    content: "";
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    width: 12px;
    height: 20px;
    background: url("../images/arrow.svg") no-repeat center;
    background-size: contain;
    opacity: 0.6;
}

html.theme-light .veblen-page-nav-kicker::after {
    filter: invert(1);
}

.veblen-page-nav-title {
    display: block;
    font-family: var(--bulma-family-secondary);
    font-size: 100px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--bulma-text-strong);
    transition: color 0.35s var(--veblen-ease);
}

.veblen-page-nav a:hover .veblen-page-nav-title {
    color: var(--bulma-primary);
}

/* Single-Column Stacked Contact Form (styles shared partials/contact.jinja over @layer contact) */
.contact-form .contact-field {
    margin-bottom: 45px;
}

.contact-form .label {
    font-family: var(--bulma-family-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--bulma-text-strong);
    margin-bottom: 15px;
}

.contact-form .input,
.contact-form .textarea {
    background-color: transparent;
    border: 1px solid var(--bulma-text-strong);
    color: var(--bulma-text-strong);
    box-shadow: none;
    font-family: var(--bulma-family-primary);
    font-size: 20px;
    font-weight: 300;
    padding-left: 30px;
    padding-right: 30px;
    transition: border-color 0.4s var(--veblen-ease), outline 0.2s var(--veblen-ease);
}

.contact-form .input::placeholder,
.contact-form .textarea::placeholder {
    color: var(--bulma-text);
    opacity: 0.7;
}

.contact-form .input {
    height: 70px;
}

.contact-form .textarea {
    height: 260px;
    padding-top: 20px;
    padding-bottom: 20px;
    resize: none;
}

.contact-form .input:focus,
.contact-form .textarea:focus {
    border-color: var(--bulma-text-strong);
    outline: 2px solid var(--bulma-primary);
    box-shadow: none;
}

/* Bulma Pagination Styled to Veblen */
.veblen-pagination {
    margin-top: 80px;
}

.veblen-pagination .pagination-link,
.veblen-pagination .pagination-previous,
.veblen-pagination .pagination-next {
    border-color: var(--bulma-border);
    color: var(--bulma-text-strong);
    font-weight: 700;
}

.veblen-pagination .pagination-link.is-current {
    background-color: var(--bulma-primary);
    border-color: var(--bulma-primary);
    color: var(--bulma-primary-invert, #ffffff);
}

/* Footer (extends Bulma .footer) */
.footer.veblen-footer {
    margin: 0;
    padding: 85px 0 65px 0;
    background-color: var(--veblen-bg-primary);
    transition: background-color 0.7s var(--veblen-ease);
}

.veblen-copyright {
    color: var(--bulma-text);
    font-size: 18px;
    font-weight: 300;
}

/* Consent dialog tokens consumed by the shared banner and legal row. */
:root {
    --consent-surface: var(--bulma-scheme-main, #ffffff);
    --consent-ink: var(--bulma-text, #1f2430);
    --consent-line: var(--bulma-border, #d8dce4);
    --consent-link: var(--bulma-link, #2b6cf0);
    --consent-radius: var(--bulma-radius-large, 10px);
    --consent-shadow: var(--bulma-shadow, 0 10px 30px rgba(15, 23, 42, 0.16));
    --consent-ease: var(--veblen-ease);
}

/* The legal entries are list items of the navigation, so they inherit the item
   typography, spacing and reveal animation without theme-specific rules. */

/* Lightbox Modal */
.veblen-lightbox-content {
    width: auto;
    max-width: 92vw;
}

.veblen-lightbox-content img {
    max-height: 88vh;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Responsive Breakpoints (faithful to Veblen + crisp inside Salvo preview iframe) */
@media screen and (max-width: 1200px) {
    .veblen-hero-started {
        padding-top: 190px;
    }

    .veblen-hero-slide {
        right: -80px;
        bottom: 110px;
        width: 580px;
        height: 710px;
    }

    .veblen-hero-content {
        min-height: 540px;
    }

    .veblen-hero-title {
        font-size: clamp(72px, 8.8vw, 118px);
    }

    .veblen-hero-subtitle {
        font-size: clamp(28px, 3.4vw, 44px);
    }

    .veblen-m-title,
    .veblen-h-title {
        font-size: clamp(72px, 8.5vw, 112px);
    }

    .section.veblen-section {
        padding: 120px 0;
    }
}

@media screen and (max-width: 1360px) {
    .veblen-parallax-1 .veblen-pafter,
    .veblen-parallax-4 .veblen-pafter {
        right: -160px;
    }

    .veblen-parallax-2 .veblen-pafter,
    .veblen-parallax-3 .veblen-pafter {
        right: -110px;
    }

    .veblen-parallax-1 .veblen-pbefore,
    .veblen-parallax-2 .veblen-pbefore,
    .veblen-parallax-3 .veblen-pbefore,
    .veblen-parallax-4 .veblen-pbefore {
        left: -120px;
    }
}

@media screen and (max-width: 1120px) {
    .veblen-pbefore,
    .veblen-pafter {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .columns.veblen-row-custom > .column {
        padding: 40px;
    }

    .veblen-menu-full ul li a,
    .veblen-menu-full ul li .consent-legal-link {
        font-size: 70px;
    }

    .columns.veblen-work-row {
        margin-top: 100px;
    }

    .veblen-work-name {
        font-size: 48px;
    }

    .veblen-work-desc {
        min-height: 360px;
    }

    .veblen-work-image img,
    .veblen-work-fallback {
        height: 360px;
    }

    .veblen-image-large-frame {
        height: 560px;
    }

    .veblen-page-nav-title {
        font-size: 70px;
    }
}

@media screen and (max-width: 920px) {
    .veblen-hero-started {
        padding-top: 100px;
    }

    .veblen-hero-slide {
        position: relative;
        right: auto;
        bottom: auto;
        left: 0;
        top: 0;
        width: min(520px, 92%);
        height: min(620px, 110vw);
        margin: 0 auto -100px auto;
    }

    .veblen-hero-content {
        min-height: auto;
    }

    .veblen-hero-title {
        font-size: clamp(58px, 12vw, 108px);
    }

    .veblen-hero-desc {
        margin-left: 60px;
    }

    .veblen-service-card {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 767px) {
    body.veblen-body,
    .veblen-text p,
    .veblen-hero-desc,
    .veblen-history-date,
    .veblen-history-sub,
    .veblen-history-text,
    .veblen-service-text,
    .veblen-copyright {
        font-size: 16px;
    }

    .veblen-header {
        padding: 18px 15px;
    }

    .veblen-logo {
        width: 56px;
        height: 44px;
    }

    .veblen-logo svg {
        width: auto;
        max-height: 44px;
    }

    .veblen-switcher-btn {
        margin-right: 22px;
    }

    .veblen-menu-full {
        text-align: center;
        padding: 80px 0;
    }

    .veblen-menu-full ul li {
        margin-bottom: 18px;
    }

    .veblen-menu-full ul li a,
    .veblen-menu-full ul li .consent-legal-link {
        font-size: 38px;
    }

    .veblen-menu-socials {
        right: 18px;
        bottom: 24px;
    }

    .section.veblen-section {
        padding: 80px 0;
    }

    .veblen-m-title,
    .veblen-h-title {
        font-size: 50px;
        margin-bottom: 24px;
    }

    .veblen-p-title {
        font-size: 28px;
        margin: 50px 0 28px 0;
    }

    .columns.veblen-row-custom > .column {
        padding: 0;
    }

    .veblen-vertical-line {
        border-left: 0;
    }

    .veblen-hero-subtitle {
        font-size: 22px;
    }

    .veblen-hero-title {
        font-size: 60px;
    }

    .veblen-hero-desc {
        margin-left: 24px;
        padding: 20px 0 20px 20px;
        max-width: none;
    }

    .veblen-autograph {
        width: 65%;
    }

    .veblen-filter-container {
        margin: 40px 0 25px 0;
    }

    .veblen-filter-link {
        font-size: 16px;
    }

    .veblen-filter-all {
        padding-right: 14px;
    }

    .columns.veblen-work-row {
        margin-top: 50px;
    }

    .columns.veblen-work-row > .veblen-work-desc {
        min-height: auto;
        padding: 28px 16px 0 16px;
        text-align: center;
    }

    .veblen-work-image img,
    .veblen-work-fallback {
        height: 250px;
    }

    .veblen-work-desc {
        min-height: auto;
        padding: 28px 16px 0 16px;
        text-align: center;
    }

    .veblen-work-name {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .veblen-work-meta,
    .veblen-work-codename {
        font-size: 18px;
        line-height: 30px;
    }

    .veblen-load-more {
        margin-top: 56px;
    }

    .veblen-body .button.is-large {
        height: 52px;
        padding: 0 32px;
        font-size: 16px;
    }

    .contact-form .contact-field {
        margin-bottom: 24px;
    }

    .contact-form .label {
        font-size: 16px;
    }

    .contact-form .input {
        height: 52px;
        font-size: 16px;
    }

    .contact-form .textarea {
        font-size: 16px;
    }

    .section.veblen-started-heading {
        margin-top: 0;
        padding-top: 150px;
    }

    .section.veblen-started-heading .veblen-h-titles {
        margin-top: 0;
    }

    .veblen-image-large-frame {
        height: 360px;
    }

    .veblen-blog-item {
        padding: 50px 0;
        min-height: auto;
    }

    .veblen-blog-item .veblen-blog-bg::after {
        height: 0;
    }

    .columns.veblen-blog-row > .veblen-blog-meta {
        padding-right: 0;
        margin-bottom: 14px;
    }

    .veblen-blog-title {
        font-size: 28px;
    }

    .section.veblen-page-nav {
        padding: 60px 0;
    }

    .veblen-page-nav-title {
        font-size: 40px;
    }

    .footer.veblen-footer {
        padding: 40px 15px;
    }
}
