/* Shared editorial system for every portfolio page. */
@keyframes theme-fade-out { to { opacity: 0; } }
@keyframes theme-fade-in { from { opacity: 0; } }
::view-transition-old(root) {
    animation: theme-fade-out 1.2s cubic-bezier(.4, 0, .2, 1) both;
    mix-blend-mode: normal;
}
::view-transition-new(root) {
    animation: theme-fade-in 1.2s cubic-bezier(.4, 0, .2, 1) both;
    mix-blend-mode: normal;
}
html.theme-transitioning,
html.theme-transitioning body,
html.theme-transitioning body * ,
html.theme-transitioning body *::before,
html.theme-transitioning body *::after {
    transition: background-color 1.2s ease, color 1.2s ease, border-color 1.2s ease, box-shadow 1.2s ease, filter 1.2s ease !important;
}
/* A quiet, centered introduction on Home. */
.page-main.home-page .hero-sec > .container {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 36px);
}
.page-main.home-page .hero-sec .hero-sec-top {
    margin-bottom: 0;
}
.page-main.home-page .hero-sec .home-intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 64px 0 100px;
    text-align: center;
}
.page-main.home-page .hero-sec .home-intro .hero-sec-bottom-left {
    align-items: center;
    width: 100%;
    padding-top: 0;
    gap: 20px;
}
.home-intro .home-explore-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.home-intro .home-signature {
    margin: 0;
    width: min(640px, 100%);
    aspect-ratio: 1323 / 482;
    background-color: var(--whiteColor);
    /* Frame the signature without changing the original transparent image. */
    -webkit-mask-image: url('../imgs/oscar-signature.png');
    mask-image: url('../imgs/oscar-signature.png');
    -webkit-mask-size: 116.1% 212.45%;
    mask-size: 116.1% 212.45%;
    -webkit-mask-position: 38.97% 49.45%;
    mask-position: 38.97% 49.45%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.logo .logo-signature {
    display: block;
    width: 150px;
    aspect-ratio: 1323 / 482;
    background-color: currentColor;
    -webkit-mask-image: url('../imgs/oscar-signature.png');
    mask-image: url('../imgs/oscar-signature.png');
    -webkit-mask-size: 116.1% 212.45%;
    mask-size: 116.1% 212.45%;
    -webkit-mask-position: 38.97% 49.45%;
    mask-position: 38.97% 49.45%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.home-intro .home-explore-links a.liquid-glass {
    min-height: 34px;
    padding: 7px 14px;
    font-size: 11px;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .page-main.home-page .hero-sec > .container {
        min-height: calc(100svh - 20px);
    }
    .page-main.home-page .hero-sec .home-intro {
        padding: 48px 0 72px;
        gap: 28px;
    }
    .home-intro .home-explore-links {
        flex-direction: column;
        gap: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
:root {
    --font_inter_tight: 'Inter', system-ui, sans-serif;
    --studio-accent: #d9c49c;
    --studio-line: color-mix(in srgb, var(--whiteColor) 17%, transparent);
}
html:not([data-theme="light"]) {
    --paragraph: rgba(246, 240, 229, .7);
}
body { font-family: var(--font_inter); }
.oscar-services { padding: clamp(56px, 7vw, 100px) 0; }
.oscar-service {
    display: grid;
    grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(32px, 5vw, 64px) 0;
    border-top: 1px solid var(--studio-line);
    align-items: start;
}
.oscar-service-number { font-size: 12px; color: var(--paragraph); padding-top: 8px; }
.oscar-service h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 24px; }
.oscar-service p { color: var(--paragraph); font-size: 16px; line-height: 1.85; max-width: 52ch; margin: 0; }
.oscar-service-details ul { padding: 0; margin: 0 0 28px; list-style: none; }
.oscar-service-details li { font-size: 14px; line-height: 1.8; padding: 8px 0; border-bottom: 1px solid var(--studio-line); }
.oscar-service-details .liquid-glass { font-size: 13px; }
@media (max-width: 767px) {
    .oscar-service { grid-template-columns: 28px minmax(0, 1fr); gap: 20px; }
    .oscar-service-details { grid-column: 2; }
}
.shop-category-switch {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.shop-category-switch button {
    font: 500 16px/1.3 var(--font_inter);
    cursor: pointer;
}
.shop-category-switch button[aria-pressed="true"] {
    border-color: var(--whiteColor);
    box-shadow: inset 0 0 0 1px var(--whiteColor), 0 4px 14px var(--glass-shadow);
}
.shop-card[hidden], .shop-category-empty[hidden] { display: none; }
.shop-category-empty {
    text-align: center;
    padding: 64px 20px;
    color: var(--paragraph);
    border: 1px solid var(--studio-line);
    border-radius: 16px;
}
.protected-photo {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
.photo-open { -webkit-touch-callout: none; }
.contact-page .cta-location-widget ul li {
    display: flex;
    align-items: center;
    min-height: calc(1.3em + 26px);
}
body a.liquid-glass.social-icon-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 12px;
    flex: none;
}
body a.social-icon-button .social-brand-icon { width: 22px; height: 22px; }
.home-page .hero-sec-bottom-left { position: relative; }
.hero-social-links {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.liquid-glass .social-brand-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
html:not([data-theme="light"]) .social-brand-icon { filter: brightness(0) invert(1); }
.contact-form .input-group :is(input:not([type="hidden"]), textarea, select) {
    color: var(--whiteColor);
    caret-color: var(--whiteColor);
    font-family: var(--font_inter);
    border: 1px solid var(--glass-edge);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--glass-highlight), transparent 65%), var(--glass-fill);
    box-shadow: inset 0 1px 1px var(--glass-highlight), 0 4px 14px var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form .input-group :is(input, textarea)::placeholder {
    color: #c4bfb5;
    opacity: 1;
}
html[data-theme="light"] .contact-form .input-group :is(input, textarea)::placeholder {
    color: #615a4c;
}
.contact-form .input-group :is(input, textarea, select):focus {
    outline: 2px solid var(--whiteColor);
    outline-offset: 3px;
    border-color: var(--whiteColor);
    box-shadow: inset 0 1px 1px var(--glass-highlight), 0 6px 18px var(--glass-shadow);
}
.contact-form .input-group select {
    appearance: auto;
    padding-right: 24px;
}
.contact-form .input-group select option {
    color: var(--whiteColor);
    background: var(--darkBg);
}
.contact-form .input-group textarea { resize: vertical; min-height: 180px; }
@media (prefers-reduced-transparency: reduce) {
    .contact-form .input-group :is(input, textarea, select) {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--glass-fill);
    }
}
.hero-sec-top .logo,
.popup-menu-header .logo {
    font-family: 'Lorsen', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}
.hero-sec .hero-sec-top .hero-left > .logo {
    font-size: 22px;
    min-height: 44px;
    align-items: center;
}
@media (min-width: 1201px) {
    .hero-sec .hero-sec-top .hero-left {
        gap: 100px;
    }
}
.preloader-wrap .preloader-content .logo {
    font-family: 'Lorsen', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}
.preloader-wrap .preloader-bar-wrap {
    width: min(560px, 85vw);
    height: 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.preloader-wrap .preloader-bar-wrap .preloader-bar {
    display: block;
    background: var(--whiteColor);
    opacity: .65;
    border-radius: 0;
    box-shadow: none;
    transform-origin: left center;
    transform: scaleX(0);
    animation: loading-line 1.2s ease-out forwards;
}
@keyframes loading-line {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .preloader-wrap .preloader-bar-wrap .preloader-bar {
        animation: none;
        transform: scaleX(1);
    }
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lorsen', Georgia, serif;
    font-weight: 400;
}
.section-header .title,
.section-header-2 .section-title2,
.cta-sec .cta-content .section-header-2 .section-title2 {
    font-family: 'Lorsen', Georgia, serif;
    font-size: clamp(36px, 4.6vw, 68px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.hero-sec .hero-title {
    font-size: clamp(44px, 7vw, 116px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.045em;
}
.hero-title > .overflow-hidden,
.title > .overflow-hidden,
.section-title2 > .overflow-hidden {
    padding-block: .2em;
    margin-block: -.2em;
}
.hero-sec .hero-sec-bottom { flex-wrap: wrap; gap: 32px; }
/* Use Home's header-to-title rhythm on every hero variant. */
.page-main .hero-sec .hero-sec-top {
    margin-bottom: clamp(64px, 8vw, 115px);
}
.page-main .hero-sec .hero-sec-bottom .hero-sec-bottom-left {
    margin-top: 0;
}
.page-main:not(.home-page) .hero-sec .hero-sec-bottom {
    align-items: flex-start;
}
.page-main .hero-sec .hero-sec-bottom-left:not(:has(.subtitle)) {
    padding-top: calc(11px * 1.5 + 20px);
}
.hero-sec .hero-sec-bottom .hero-sec-bottom-right {
    width: min(36%, 390px);
    gap: 44px;
}
.hero-sec .subtitle { font-size: 11px; letter-spacing: .13em; line-height: 1.5; }
.hero-sec .hero-title .circle-primary-shape,
.footer-sec .circle-primary-shape { display: none; }
.footer-sec { padding-top: clamp(50px, 8vw, 100px); }
.footer-sec .big-text .section-title2 {
    font-family: 'Lorsen', Georgia, serif;
    font-size: clamp(64px, 14vw, 200px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.035em;
    white-space: nowrap;
}
.footer-sec .copyright-wrap { border-color: var(--studio-line); gap: 20px; flex-wrap: wrap; }
.home-page .footer-sec .copyright-wrap { justify-content: center; text-align: center; }
.footer-sec .copyright-wrap p { font-size: 12px; line-height: 1.7; font-weight: 400; }
body :is(a, button).liquid-glass { border-radius: 999px; }
/* One shared glass capsule travels between controls in each group. */
.sliding-glass-group {
    position: relative;
    isolation: isolate;
}
.sliding-glass-group::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: var(--capsule-width, 0px);
    height: var(--capsule-height, 0px);
    transform: translate(var(--capsule-x, 0px), var(--capsule-y, 0px));
    border: 1px solid var(--glass-edge);
    border-radius: 999px;
    background: linear-gradient(145deg, var(--glass-highlight), transparent 58%), var(--glass-fill);
    box-shadow: inset 0 1px 1px var(--glass-highlight), 0 4px 14px var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: transform .35s cubic-bezier(.22, .7, .25, 1), width .35s ease, height .35s ease, opacity .18s ease;
}
.sliding-glass-group.has-capsule::before { opacity: 1; }
body .page-main .sliding-glass-group :is(a, button) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .sliding-glass-group::before { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
    .sliding-glass-group::before {
        background: var(--glass-fill);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
/* Glass appears only on the control being interacted with or selected. */
.hero-sec .hero-right .header-text-menu ul li a {
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-sec .hero-right .header-text-menu ul {
    gap: 4px 8px;
}
.hero-sec .hero-right .header-text-menu ul li a:is(:hover, :focus-visible, :active, [aria-current="page"]) {
    background: linear-gradient(145deg, var(--glass-highlight), transparent 58%), var(--glass-fill);
    border-color: var(--glass-edge);
    box-shadow: inset 0 1px 1px var(--glass-highlight), 0 4px 14px var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    text-decoration: none;
}
.popup-menu-wrap .popup-menu ul li a {
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.popup-menu-wrap .popup-menu ul li a:is(:hover, :focus-visible, :active, [aria-current="page"]) {
    background: linear-gradient(145deg, var(--glass-highlight), transparent 58%), var(--glass-fill);
    border-color: var(--glass-edge);
    box-shadow: inset 0 1px 1px var(--glass-highlight), 0 4px 14px var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}
body .page-main :is(a, button):is(.liquid-glass, .theme-switch, .cart-link) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body .page-main :is(a, button):is(.liquid-glass, .theme-switch, .cart-link):is(:hover, :focus-visible, :active, [aria-pressed="true"], [aria-current="page"], [aria-expanded="true"], .active) {
    background: linear-gradient(145deg, var(--glass-highlight), transparent 58%), var(--glass-fill);
    border-color: var(--glass-edge);
    box-shadow: inset 0 1px 1px var(--glass-highlight), 0 4px 14px var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}
@media (prefers-reduced-transparency: reduce) {
    body .page-main :is(a, button):is(.liquid-glass, .theme-switch, .cart-link):is(:hover, :focus-visible, :active, [aria-pressed="true"], [aria-current="page"], [aria-expanded="true"], .active) {
        background: var(--glass-fill);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
body :is(a, button).liquid-glass > span { border-bottom: 0; }
body :is(a, button).liquid-glass:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.page-main .cta-img img { border: 0; }
.page-main .work-box .work-img img { transition: none; }
.page-main .work-box:hover .work-img img { transform: none; }
::selection { background: #d9c49c; color: #201d18; }
/* Keep the title's lines close while preserving the original composition. */
.page-main .cta-sec {
    padding: clamp(60px, 8vw, 110px) 0;
    border-top: 1px solid var(--studio-line);
}
.page-main .cta-sec .custom-row {
    align-items: center;
    gap: clamp(36px, 6vw, 90px);
}
.page-main .cta-sec .cta-content {
    flex: 1;
    min-width: 0;
    text-align: center;
}
.page-main .cta-sec .cta-content .section-header-2 .section-title2 {
    font-size: clamp(44px, 6vw, 88px);
    line-height: .94;
    letter-spacing: -.035em;
    font-weight: 400;
    margin: 0 0 24px;
}
.page-main .cta-sec .cta-content .section-header-2 h6 {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.7;
    font-weight: 400;
    text-transform: none;
    color: var(--paragraph);
    margin: 0;
}
.page-main .cta-sec .cta-img {
    flex: 0 1 280px;
    width: 100%;
    height: auto;
    transform: rotate(3deg);
}
.page-main .cta-sec .cta-img img { width: 100%; height: auto; }
.page-main .cta-sec .social-links-text { margin-top: 40px; gap: 16px; }
@media (max-width: 767px) {
    .page-main .cta-sec .custom-row { flex-direction: column; }
    .page-main .cta-sec .cta-content { width: 100%; }
    .page-main .cta-sec .cta-img { flex: auto; max-width: 220px; align-self: center; }
}
.page-main .hero-sec .hero-title {
    display: flex;
    flex-direction: column;
    line-height: .94;
}
.page-main .section-header .title,
.page-main .section-header-2 .section-title2 {
    line-height: .94;
}
.page-main .section-header .title:has(> .overflow-hidden),
.page-main .section-header-2 .section-title2:has(> .overflow-hidden) {
    display: flex;
    flex-direction: column;
}
@media (max-width: 767px) {
    .hero-sec .hero-title { font-size: clamp(40px, 9vw, 68px); }
    .hero-sec .hero-sec-bottom { flex-direction: column; align-items: flex-start; }
    .hero-sec .hero-sec-bottom .hero-sec-bottom-right { width: 100%; align-items: flex-start; gap: 16px; }
    .footer-sec .big-text .section-title2 { font-size: clamp(28px, 10vw, 76px); }
}
@media (prefers-reduced-motion: reduce) {
    body { height: auto; min-height: 100vh; }
    main.page-main { position: relative; inset: auto; height: auto; overflow: visible; }
    body :is(a, button).liquid-glass { transition: none; }
}

.logo .logo-signature-loader {
    width: min(420px, 80vw);
}
