@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/*
Theme Name: HOUSE EN Theme
Theme URI: https://house-en.com
Author: HOUSE EN Dev Team
Description: Custom WordPress theme for HOUSE EN with semantic CSS architecture.
Version: 2.1.0
*/

/* ==========================================================================
   0. Reset CSS (Tailwind Preflight Equivalent)
   ========================================================================== */

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    scroll-behavior: smooth;
}

body {
    margin: 0;
    line-height: inherit;
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

abbr:where([title]) {
    text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

:-moz-focusring {
    outline: 1px dotted ButtonText;
}

:-moz-ui-invalid {
    box-shadow: none;
}

legend {
    padding: 0;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}

button,
[role="button"] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   1. Variables & Utilities
   ========================================================================== */

:root {
    /* Colors */
    --color-bg-base: #1a1a1a;
    --color-bg-dark: #111111;
    --color-bg-black: #000000;
    --color-text-white: #ffffff;
    --color-text-black: #000000;
    --color-text-gray-300: #d1d5db;
    --color-text-gray-400: #9ca3af;
    --color-text-gray-500: #6b7280;

    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-medium: rgba(255, 255, 255, 0.2);
    --color-border-white-5: rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-primary: 'Antonio', sans-serif;
    /* beckman */
    --font-secondary: 'Noto Sans JP', sans-serif;
    /* noto */

    /* Spacing & Layout */
    --header-height: 80px;
    /* Approximate */
}

/* Utility: Visibility */
.u-hidden {
    display: none;
}

.u-block {
    display: block;
}

@media (min-width: 768px) {
    .u-md-block {
        display: block;
    }

    .u-md-hidden {
        display: none;
    }

    .u-md-flex {
        display: flex;
    }
}

.c-heading-jp {
    font-weight: 400;
    font-size: 1.0rem;
    font-family: var(--font-primary);
    color: var(--color-text-white);
    line-height: 1.8;
    margin: 1.5rem 0 1.5rem;
}

@media (min-width: 768px) {
    .c-heading-jp {
        font-size: 1.6rem;
        line-height: 2.0;
    }
}

/* Utility: Image Fit */
.u-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.u-img-gray {
    filter: grayscale(100%);
    transition: filter 0.7s ease, transform 0.7s ease;
}

/* Utility: Text */
.u-text-center {
    text-align: center;
}

.u-text-right {
    text-align: right;
}

.u-text-justify {
    text-align: justify;
}

/* Filter Utility for Maps */
.map-dark-mode {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   2. Base Styles
   ========================================================================== */

body.l-body {
    background-color: var(--color-bg-base);
    color: var(--color-text-white);
    font-family: var(--font-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.l-body--light {
    background-color: #f5f5f5;
    color: #333333;
}

body.l-body--neutral {
    background-color: #e5e5e5;
    color: #1a1a1a;
}

body.l-body--dark {
    background-color: #111111;
    color: white;
}

::selection {
    background-color: var(--color-text-white);
    color: var(--color-text-black);
}

/* Global Backgrounds */
.l-global-bg {
    position: fixed;
    inset: 0;
    /* top:0, right:0, bottom:0, left:0 */
    z-index: 0;
    pointer-events: none;
}

.l-global-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.l-global-bg__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.l-noise-texture {
    position: fixed;
    inset: 0;
    z-index: 1;
    /* z-[1] */
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url('images/stardust.png');
    background-repeat: repeat;
}

/* ==========================================================================
   3. Layout: Header & Footer
   ========================================================================== */

/* Header */
.l-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 1rem 1.5rem;
    /* py-4 px-6 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference;
    color: var(--color-text-white);
    transition: background-color 0.3s ease;
}

.l-header__logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
    /* font-bold */
    letter-spacing: 0.2em;
    /* tracking-widest */
    position: relative;
    z-index: 50;
    display: block;
}

.l-header__nav {
    display: none;
    /* hidden */
}

@media (min-width: 768px) {
    .l-header__nav {
        display: flex;
        gap: 2rem;
        /* gap-8 */
        align-items: center;
        font-family: var(--font-primary);
        font-size: 0.875rem;
        /* text-sm */
        font-weight: 500;
        /* font-medium */
        letter-spacing: 0.2em;
        /* tracking-widest */
    }
}

.l-header__link {
    transition: opacity 0.3s;
}

.l-header__link:hover {
    opacity: 0.6;
}

.l-header__link-btn {
    border: 1px solid var(--color-text-white);
    padding: 0.5rem 1.5rem;
    /* px-6 py-2 */
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.l-header__link-btn:hover {
    background-color: var(--color-text-white);
    color: var(--color-text-black);
}

/* Mobile Menu Button */
.l-header__menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.375rem;
    /* gap-1.5 */
    width: 2rem;
    /* w-8 */
    height: 2rem;
    /* h-8 */
    position: relative;
    z-index: 50;
}

@media (min-width: 768px) {
    .l-header__menu-btn {
        display: none;
    }
}

.l-header__menu-line {
    width: 100%;
    height: 1px;
    background-color: var(--color-text-white);
    transition: transform 0.3s;
    transform-origin: right;
}

/* Hover effects for menu lines (group-hover default behavior in CSS needs parent selector or JS) */
.l-header__menu-btn:hover .l-header__menu-line:nth-child(1),
.l-header__menu-btn:hover .l-header__menu-line:nth-child(3) {
    transform: scaleX(0.75);
}

.l-header__menu-btn:hover .l-header__menu-line:nth-child(2) {
    transform: scaleX(1);
}

/* Mobile Menu Container */
.l-mobile-menu {
    position: fixed;
    inset: 0;
    background-color: #111;
    z-index: 40;
    display: none;
    /* hidden */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.l-mobile-menu.is-active {
    display: flex;
}

.l-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* gap-8 */
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.875rem;
    /* text-3xl */
    letter-spacing: 0.2em;
}

.l-mobile-menu__link {
    transition: color 0.3s;
}

.l-mobile-menu__link:hover {
    color: var(--color-text-gray-400);
}

/* Layout Container */
.l-container {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .l-container {
        padding-left: 3rem;
        /* md:px-12 */
        padding-right: 3rem;
    }
}

.l-container--max {
    max-width: 1800px;
}

/* Footer */
.l-footer {
    background-color: var(--color-bg-black);
    padding: 3rem 0;
    border-top: 1px solid var(--color-border-light);
    position: relative;
    z-index: 10;
}

.l-footer__container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .l-footer__container {
        flex-direction: row;
        max-width: 1280px;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.l-footer__brand {
    text-align: center;
}

@media (min-width: 768px) {
    .l-footer__brand {
        text-align: left;
    }
}

.l-footer__logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    /* text-2xl */
    letter-spacing: 0.1em;
    /* tracking-widest */
    margin-bottom: 0.5rem;
    /* mb-2 */
    font-weight: 700;
}

.l-footer__address {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    /* text-xs */
    color: var(--color-text-gray-500);
}

.l-footer__social {
    display: flex;
    justify-content: center;
    /* Center on mobile */
    gap: 1.5rem;
    /* gap-6 */
    font-family: var(--font-primary);
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.1em;
    /* tracking-widest */
    color: var(--color-text-gray-400);
}

@media (min-width: 768px) {
    .l-footer__social {
        justify-content: flex-start;
        /* Left on PC */
    }
}

.l-footer__link {
    transition: color 0.3s;
}

.l-footer__link:hover {
    color: white;
}

.l-footer__copy {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    /* text-[10px] */
    color: #4b5563;
    /* text-gray-600 */
}

/* ==========================================================================
   4. Page: Company
   ========================================================================== */

/* Main Wrapper */
.p-top-main {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
}

/* Company Hero */
.p-company-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 6rem;
    /* mb-24 */
}

@media (min-width: 768px) {
    .p-company-hero {
        margin-bottom: 8rem;
        /* md:mb-32 */
    }
}

.p-top-hero__bg {
    position: absolute;
    inset: 0;
}

.p-top-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-company-hero__img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.p-top-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.p-top-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.p-top-hero__sub {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    margin-top: 1rem;
    /* text-sm */
    letter-spacing: 0.2em;
    line-height: 2.4;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .p-top-hero__sub {
        margin-top: 2.4rem;
        font-size: 1.4rem;
        /* md:text-base */
    }
}

/* Company Grid */
.p-company-info {
    padding: 0 1.5rem;
    /* px-6 */
    max-width: 1600px;
    margin: 0 auto 8rem;
    /* mb-32 */
}

@media (min-width: 768px) {
    .p-company-info {
        padding: 0 3rem;
        /* md:px-12 */
        margin-bottom: 12rem;
        /* md:mb-48 */
    }
}

.p-company-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    /* gap-16 */
}

@media (min-width: 1024px) {
    .p-company-grid {
        flex-direction: row;
        gap: 8rem;
        /* lg:gap-32 */
    }
}

.p-company-col {
    width: 100%;
}

@media (min-width: 1024px) {
    .p-company-col {
        width: 50%;
    }
}

.p-company-section-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    /* text-2xl */
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 3rem;
    /* mb-12 */
}

.p-company-intro {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    /* text-sm */
    line-height: 2;
    /* leading-loose */
    text-align: justify;
    margin-bottom: 3rem;
    color: var(--color-text-gray-300);
}

.p-company-dl {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    border-top: 0.5px solid rgba(255, 255, 255, 0.2);
}

.p-company-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    /* py-4 */
    align-items: baseline;
}

.p-company-dt {
    color: var(--color-text-gray-500);
    font-weight: 300;
}

.p-company-address {
    font-family: var(--font-primary);
    letter-spacing: 0.05em;
}

/* Map */
.p-company-map {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: #222;
}

@media (min-width: 768px) {
    .p-company-map {
        aspect-ratio: 4 / 3;
    }
}

.p-company-map__iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.p-company-map-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 58, 138, 0.2);
    /* blue-900 with opacity */
    mix-blend-mode: overlay;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Team */
.p-company-team-container {
    max-width: 1800px;
    margin-bottom: 4rem;
    /* mb-16 */
    padding: 0 1.5rem;
}

@media(min-width: 768px) {
    .p-company-team-container {
        padding: 0 3rem;
    }
}

.p-company-team-title {
    font-size: 2.25rem;
    /* text-4xl */
    opacity: 0.1;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.2em;
}

@media (min-width: 768px) {
    .p-company-team-title {
        font-size: 3.75rem;
        /* text-6xl */
        text-align: left;
    }
}

.p-company-staff {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
}

@media (min-width: 768px) {
    .p-company-staff {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .p-company-staff {
        grid-template-columns: repeat(4, 1fr);
    }
}

.p-staff-card {
    position: relative;
    height: 60vh;
    overflow: hidden;
    border-right: 1px solid var(--color-border-white-5);
    border-bottom: 1px solid var(--color-border-white-5);
}

@media (min-width: 768px) {
    .p-staff-card {
        height: 80vh;
    }
}

/* Remove border-right for last item or based on grid logic if needed, 
   but grid lines often look better consistent. 
   Tailwind had last:border-r-0 etc. */
.p-staff-card:last-child {
    border-right: none;
}

/* Replicating tailwind specific border logic for grid might be complex, 
   ignoring precise border removal for now as it's aesthetic detail. */

.p-staff-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s ease-out;
}

.p-staff-card:hover .p-staff-card__img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.p-staff-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.p-staff-card:hover .p-staff-card__overlay {
    opacity: 0.6;
}

.p-staff-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    /* p-8 */
    transform: translateY(1rem);
    /* translate-y-4 */
    transition: transform 0.5s ease;
}

.p-staff-card:hover .p-staff-card__info {
    transform: translateY(0);
}

.p-staff-card__role {
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.2em;
    color: var(--color-text-gray-400);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.p-staff-card__name {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.p-staff-card__bg {
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.p-staff-card:hover .p-staff-card__bg {
    height: auto;
    /* Helper max-height for transition if needed, but height auto works in basic CSS for visibility, 
       just doesn't animate smoothly without max-height trick. */
    max-height: 200px;
}

.p-staff-card__text {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    /* text-xs */
    line-height: 2;
    color: var(--color-text-gray-300);
    opacity: 0;
    transition: opacity 0.5s ease 0.1s;
}

.p-staff-card:hover .p-staff-card__text {
    opacity: 1;
}

/* ==========================================================================
   5. Components (Generic)
   ========================================================================== */

.c-label-en {
    font-family: var(--font-primary);
    /* other styles usually defined in context or global labels */
}

/* ==========================================================================
   6. Page: Concept
   ========================================================================== */

/* Preview Layer */
.p-concept-preview {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: none;
    pointer-events: none;
    transition: opacity 0.6s ease-out;
}

@media (min-width: 768px) {
    .p-concept-preview {
        display: block;
    }
}

.p-concept-preview__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 8s ease-out;
    transform: scale(1);
}

.p-concept-preview__img.active {
    opacity: 0.4;
    transform: scale(1.1);
}

.p-concept-preview__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    mix-blend-mode: multiply;
}

/* Hero */
.p-concept-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-text-white);
}

@media (min-width: 768px) {
    .p-concept-hero {
        height: 70vh;
    }
}

.p-concept-hero__bg {
    position: absolute;
    inset: 0;
}

.p-concept-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-concept-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.p-concept-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
}

.p-concept-hero__title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    /* text-6xl */
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .p-concept-hero__title {
        font-size: 8rem;
        /* text-9xl */
    }
}

.p-concept-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .p-concept-hero__subtitle {
        font-size: 1.5rem;
        /* text-2xl */
    }
}

.p-concept-hero__desc {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.1em;
    opacity: 0.8;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .p-concept-hero__desc {
        font-size: 0.875rem;
        /* text-sm */
    }
}

.p-concept-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.p-concept-hero__scroll-text {
    font-size: 0.625rem;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.p-concept-hero__scroll-line {
    width: 1px;
    height: 3rem;
    background-color: white;
}

/* Container */
.p-concept-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 6rem;
    /* pt-24 */
}

@media (min-width: 768px) {
    .p-concept-container {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

/* Intro */
.p-concept-intro {
    margin-bottom: 8rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (min-width: 768px) {
    .p-concept-intro {
        text-align: left;
    }
}

.p-concept-intro__text {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    color: var(--color-text-gray-200);
    text-align: justify;
}

@media (min-width: 768px) {
    .p-concept-intro__text {
        font-size: 1rem;
        text-align: center;
    }
}

/* List */
.p-concept-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 8rem;
}

/* Accordion Item */
.p-concept-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.p-concept-item__trigger {
    width: 100%;
    text-align: left;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    color: white;
    transition: padding-left 0.5s;
}

@media (min-width: 768px) {
    .p-concept-item:hover .p-concept-item__trigger {
        padding-left: 1rem;
    }

    .p-concept-item__trigger {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.p-concept-item__title {
    font-family: var(--font-primary);
    font-size: 3rem;
    /* text-5xl */
    font-weight: 700;
    letter-spacing: -0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s;
}

.p-concept-item:hover .p-concept-item__title {
    color: var(--color-text-gray-300);
}

@media (min-width: 768px) {
    .p-concept-item__title {
        font-size: 6rem;
        /* text-8xl */
    }
}

.p-concept-item__num {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.3s;
}

.p-concept-item:hover .p-concept-item__num {
    opacity: 1;
}

@media (min-width: 768px) {
    .p-concept-item__num {
        font-size: 1.25rem;
        /* text-xl */
    }
}

/* Accordion Content */
.p-concept-item__content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease-out;
}

.p-concept-item.active .p-concept-item__content {
    max-height: 100vh;
    opacity: 1;
}

.p-concept-item__inner {
    padding-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .p-concept-item__inner {
        padding-left: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-concept-item__heading {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.p-concept-item__desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    color: var(--color-text-gray-300);
    text-align: justify;
}

@media (min-width: 768px) {
    .p-concept-item__desc {
        font-size: 1rem;
    }
}

.p-concept-item__media {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.p-concept-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s;
}

.p-concept-item__media:hover .p-concept-item__img,
.p-concept-item__media-grid:hover .p-concept-item__img {
    filter: grayscale(0);
}

.p-concept-item__media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Output Section Specifics */
.p-concept-item__inner--full {
    display: block;
}

.p-concept-item__desc--wide {
    max-width: 42rem;
    margin-bottom: 3rem;
}

/* Slider */
.p-concept-slider {
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.p-concept-slider:active {
    cursor: grabbing;
}

.p-concept-slider__track {
    display: flex;
    gap: 1rem;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-concept-slide {
    min-width: 300px;
    aspect-ratio: 4/3;
    background-color: #1f2937;
    position: relative;
}

@media (min-width: 768px) {
    .p-concept-slide {
        min-width: 400px;
    }
}

.p-concept-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s;
}

.p-concept-slide:hover .p-concept-slide__img {
    filter: grayscale(0);
}

/* Movie Section */
.p-concept-movie {
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
    .p-concept-movie {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.p-concept-movie__header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}

.p-concept-movie__label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-gray-400);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.p-concept-movie__title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    /* text-4xl */
    font-weight: 700;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .p-concept-movie__title {
        font-size: 3.75rem;
        /* text-6xl */
    }
}

.p-concept-movie__inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.p-concept-movie__video {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #111;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.p-concept-movie__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.5s;
}

.p-concept-movie__video:hover .p-concept-movie__cover {
    opacity: 0.4;
}

.p-concept-movie__play {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-concept-movie__play-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    cursor: pointer;
}

.p-concept-movie__video:hover .p-concept-movie__play-btn {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.p-concept-movie__play-icon {
    width: 2rem;
    height: 2rem;
    fill: white;
}

.p-concept-movie__caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

@media (min-width: 768px) {
    .p-concept-movie__caption {
        bottom: 2rem;
        left: 2rem;
    }
}

.p-concept-movie__caption p {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--color-text-gray-300);
}

/* CTA */
.p-concept-cta {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .p-concept-cta {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-concept-cta__item {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .p-concept-cta__item {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .p-concept-cta__item:last-child {
        border-right: none;
    }
}

.p-concept-cta__bg {
    position: absolute;
    inset: 0;
}

.p-concept-cta__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s, opacity 0.5s, filter 0.5s;
    opacity: 1;
    filter: grayscale(0);
}

@media (min-width: 768px) {
    .p-concept-cta__img {
        opacity: 0.6;
        filter: grayscale(100%);
    }
}

.p-concept-cta__item:hover .p-concept-cta__img {
    transform: scale(1.1);
    opacity: 0.4;
    filter: grayscale(0);
}

.p-concept-cta__content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.p-concept-cta__title {
    font-family: var(--font-primary);
    font-size: 3rem;
    /* text-5xl */
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(1rem);
    transition: transform 0.5s;
}

@media (min-width: 768px) {
    .p-concept-cta__title {
        font-size: 4.5rem;
        /* text-7xl */
    }
}

.p-concept-cta__item:hover .p-concept-cta__title {
    transform: translateY(0);
}

.p-concept-cta__text {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid white;
    padding-bottom: 0.25rem;
    opacity: 1;
    transition: opacity 0.5s 0.1s;
}

@media (min-width: 768px) {
    .p-concept-cta__text {
        opacity: 0;
    }

    .p-concept-cta__item:hover .p-concept-cta__text {
        opacity: 1;
    }
}

.p-concept-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    /* tracking-wider */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .p-concept-hero__subtitle {
        font-size: 1.5rem;
        /* md:text-2xl */
    }
}

.p-concept-intro {
    padding: 6rem 1.5rem;
    /* pt-24 ... */
    max-width: 1200px;
    margin: 0 auto;
}

.p-concept-intro__text {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    /* text-sm */
    line-height: 2;
    color: #e5e5e5;
    /* gray-200 */
    text-align: justify;
    margin-bottom: 8rem;
    /* mb-32 */
}

@media (min-width: 768px) {
    .p-concept-intro__text {
        font-size: 1rem;
        text-align: center;
    }
}

/* Accordion */
.p-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 8rem;
}

.p-accordion__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.p-accordion__btn {
    width: 100%;
    text-align: left;
    padding: 3rem 0;
    /* py-12 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: padding-left 0.5s ease;
}

@media (min-width: 768px) {
    .p-accordion__btn {
        padding: 4rem 0;
    }
}

.p-accordion__item:hover .p-accordion__btn {
    padding-left: 1rem;
}

.p-accordion__title {
    font-family: var(--font-primary);
    font-size: 3rem;
    /* text-5xl */
    font-weight: 700;
    letter-spacing: -0.05em;
    transition: color 0.3s;
}

.p-accordion__item:hover .p-accordion__title {
    color: var(--color-text-gray-300);
}

@media (min-width: 768px) {
    .p-accordion__title {
        font-size: 6rem;
        /* text-8xl */
    }
}

.p-accordion__num {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
    .p-accordion__num {
        font-size: 1.25rem;
    }
}

.p-accordion__item:hover .p-accordion__num {
    opacity: 1;
}

/* Accordion Custom Transition Logic (Matches JS) */
.p-accordion__content {
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.p-accordion__item.active .p-accordion__content {
    max-height: 100vh;
    opacity: 1;
}

.p-accordion__inner {
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .p-accordion__inner {
        padding-left: 2rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.p-accordion__desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    color: var(--color-text-gray-300);
    text-align: justify;
}

/* Slider Track */
.p-slider-container {
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.p-slider-container:active {
    cursor: grabbing;
}

.p-slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-slider-item {
    min-width: 300px;
    aspect-ratio: 4/3;
    position: relative;
    background-color: #333;
}

@media(min-width: 768px) {
    .p-slider-item {
        min-width: 400px;
    }
}

.p-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s;
}

.p-slider-item:hover .p-slider-img {
    filter: grayscale(0);
}

/* Movie Section */
.p-movie-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 10;
}

.p-movie-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #111;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1024px;
    margin: 0 auto;
}

.p-movie-play-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px);
    transition: transform 0.5s, background-color 0.5s;
}

.p-movie-wrapper:hover .p-movie-play-btn {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

/* CTA Grid */
.p-next-actions {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    background-color: #111;
}

@media (min-width: 768px) {
    .p-next-actions {
        grid-template-columns: 1fr 1fr;
    }
}

.p-action-block {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .p-action-block {
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .p-action-block:first-child {
        border-left: none;
    }
}

.p-action-block__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s, opacity 0.7s, filter 0.7s;
    filter: grayscale(0);
}

@media (min-width: 768px) {
    .p-action-block__img {
        opacity: 0.6;
        filter: grayscale(100%);
    }
}

.p-action-block:hover .p-action-block__img {
    transform: scale(1.1);
    opacity: 0.4;
    filter: grayscale(0);
}

.p-action-block__content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.p-action-block__title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    transform: translateY(1rem);
    transition: transform 0.5s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.p-action-block:hover .p-action-block__title {
    transform: translateY(0);
}

.p-action-block__text {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    border-bottom: 1px solid white;
    padding-bottom: 0.25rem;
    opacity: 1;
    transition: opacity 0.5s 0.1s;
}

@media (min-width: 768px) {
    .p-action-block__text {
        opacity: 0;
    }

    .p-action-block:hover .p-action-block__text {
        opacity: 1;
    }
}


/* ==========================================================================
   7. Page: Lineup
   ========================================================================== */

.p-lineup-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.p-lineup-hero__title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

@media(min-width: 768px) {
    .p-lineup-hero__title {
        font-size: 6rem;
    }
}

.p-model-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

@media(min-width: 768px) {
    .p-model-section {
        padding: 0;
    }
}

.p-model-section--silence {
    background-color: #f5f5f5;
    color: #333;
}

.p-model-section--heat {
    background-color: #222;
    color: white;
}

.p-model-section--neutral {
    background-color: #e5e5e5;
    color: #1a1a1a;
}

.p-model-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 768px) {
    .p-model-content {
        flex-direction: row;
    }

    .p-model-content--reverse {
        flex-direction: row-reverse;
    }
}

.p-model-info {
    width: 100%;
}

@media(min-width: 768px) {
    .p-model-info {
        width: 50%;
    }
}

.p-model-visual {
    width: 100%;
    height: 50vh;
    position: relative;
}

@media(min-width: 768px) {
    .p-model-visual {
        width: 50%;
        height: 60vh;
    }
}

.p-model-label {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.p-model-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    line-height: 1;
}

@media(min-width: 768px) {
    .p-model-title {
        font-size: 8rem;
    }
}

.p-model-title--heat {
    background: linear-gradient(to right, #e5e7eb, #4b5563);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
}

.p-model-desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    opacity: 0.8;
    text-align: justify;
}

.p-model-btn {
    display: inline-block;
    margin-top: 3rem;
    border-bottom: 2px solid currentColor;
    padding-bottom: 0.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: opacity 0.3s;
}

.p-model-btn:hover {
    opacity: 0.5;
}

/* Neutral Grid Images */
.p-neutral-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ==========================================================================
   8. Page: Magazine
   ========================================================================== */

.p-magazine-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .p-magazine-header {
        flex-direction: row;
    }
}

.p-magazine-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .p-magazine-title {
        font-size: 6rem;
    }
}

.p-magazine-subtitle {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-gray-400);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* Category Tabs */
.p-category-tabs {
    display: flex;
    gap: 2rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .p-category-tabs {
        margin-top: 0;
        padding-bottom: 0;
    }
}

.p-category-tab {
    background: none;
    border: none;
    color: white;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
}

.p-category-tab:hover,
.p-category-tab.active {
    opacity: 1;
}

.p-category-tab.active {
    border-bottom: 2px solid white;
}

/* Grid System */
.p-magazine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-magazine-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
        /* gap-8 */
    }
}

.p-magazine-item {
    display: block;
    grid-column: span 12;
    cursor: pointer;
    group: hover;
}

/* Spans */
@media (min-width: 768px) {
    .p-magazine-item--large {
        grid-column: span 8;
    }

    .p-magazine-item--tall {
        grid-column: span 4;
    }

    .p-magazine-item--std {
        grid-column: span 4;
    }
}

.p-magazine-thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    width: 100%;
}

.p-magazine-item--large .p-magazine-thumb {
    aspect-ratio: 16/9;
}

.p-magazine-item--tall .p-magazine-thumb {
    aspect-ratio: 3/4;
}

.p-magazine-item--std .p-magazine-thumb {
    aspect-ratio: 4/3;
}

.p-magazine-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.p-magazine-item:hover .p-magazine-img {
    transform: scale(1.05);
}

.p-magazine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.6;
}

.p-magazine-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    z-index: 10;
    color: white;
}

@media (min-width: 768px) {
    .p-magazine-content {
        padding: 2.5rem;
    }
}

.p-magazine-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.p-magazine-heading {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

@media (min-width: 768px) {
    .p-magazine-item--large .p-magazine-heading {
        font-size: 2.25rem;
    }

    .p-magazine-item--tall .p-magazine-heading {
        font-size: 1.25rem;
    }
}

.p-magazine-item:hover .p-magazine-heading {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
}

.p-magazine-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-gray-400);
    font-weight: 700;
    padding: 0 0.25rem;
}

/* Pagination */
.p-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.p-pagination__link {
    opacity: 0.5;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
}

.p-pagination__link:hover,
.p-pagination__link.current {
    opacity: 1;
}

.p-pagination__link.current {
    border-bottom: 2px solid white;
}

/* ==========================================================================
   8. Page: Magazine
   ========================================================================== */

.p-magazine-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .p-magazine-header {
        flex-direction: row;
    }
}

.p-magazine-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .p-magazine-title {
        font-size: 6rem;
    }
}

.p-magazine-subtitle {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-gray-400);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* Category Tabs */
.p-category-tabs {
    display: flex;
    gap: 2rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .p-category-tabs {
        margin-top: 0;
        padding-bottom: 0;
    }
}

.p-category-tab {
    background: none;
    border: none;
    color: white;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
}

.p-category-tab:hover,
.p-category-tab.active {
    opacity: 1;
}

.p-category-tab.active {
    border-bottom: 2px solid white;
}

/* Grid System */
.p-magazine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-magazine-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
        /* gap-8 */
    }
}

.p-magazine-item {
    display: block;
    grid-column: span 12;
    cursor: pointer;
    group: hover;
}

/* Spans */
@media (min-width: 768px) {
    .p-magazine-item--large {
        grid-column: span 8;
    }

    .p-magazine-item--tall {
        grid-column: span 4;
    }

    .p-magazine-item--std {
        grid-column: span 4;
    }
}

.p-magazine-thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    width: 100%;
}

.p-magazine-item--large .p-magazine-thumb {
    aspect-ratio: 16/9;
}

.p-magazine-item--tall .p-magazine-thumb {
    aspect-ratio: 3/4;
}

.p-magazine-item--std .p-magazine-thumb {
    aspect-ratio: 4/3;
}

.p-magazine-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.p-magazine-item:hover .p-magazine-img {
    transform: scale(1.05);
}

.p-magazine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.6;
}

.p-magazine-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    z-index: 10;
    color: white;
}

@media (min-width: 768px) {
    .p-magazine-content {
        padding: 2.5rem;
    }
}

.p-magazine-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.p-magazine-heading {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

@media (min-width: 768px) {
    .p-magazine-item--large .p-magazine-heading {
        font-size: 2.25rem;
    }

    .p-magazine-item--tall .p-magazine-heading {
        font-size: 1.25rem;
    }
}

.p-magazine-item:hover .p-magazine-heading {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
}

.p-magazine-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-gray-400);
    font-weight: 700;
    padding: 0 0.25rem;
}

/* Pagination */
.p-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.p-pagination__link {
    opacity: 0.5;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
}

.p-pagination__link:hover,
.p-pagination__link.current {
    opacity: 1;
}

.p-pagination__link.current {
    border-bottom: 2px solid white;
}

/* ==========================================================================
   9. Page: Open House
   ========================================================================== */

.p-openhouse-header {
    text-align: center;
    margin-bottom: 6rem;
}

.p-openhouse-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* tracking-tighter */
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .p-openhouse-title {
        font-size: 6rem;
    }
}

.p-openhouse-desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: var(--color-text-gray-400);
    font-weight: 500;
}

/* Event List */
.p-ticket-list {
    max-width: 56rem;
    /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* space-y-12 -> gap-12 */
}

/* Ticket Component */
.p-ticket {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.p-ticket__inner {
    background-color: rgba(34, 34, 34, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s;
}

@media (min-width: 768px) {
    .p-ticket__inner {
        flex-direction: row;
    }
}

.p-ticket:hover .p-ticket__inner {
    transform: translateY(-0.5rem);
}

/* Visual Section */
.p-ticket__visual {
    height: 16rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .p-ticket__visual {
        height: auto;
        width: 33.333%;
        border-bottom: none;
        border-right: 1px dashed rgba(255, 255, 255, 0.2);
    }
}

.p-ticket__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.p-ticket:hover .p-ticket__img {
    transform: scale(1.05);
}

/* Info Section */
.p-ticket__info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .p-ticket__info {
        width: 66.666%;
        padding-left: 3rem;
        /* pl-12 */
    }
}

/* Cutouts */
.p-ticket__cutout {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--color-bg-base);
    border-radius: 50%;
    z-index: 10;
}

/* Positions handled via modifier classes or specific positioning in specific usages if generic is hard,
   but here we have a repeatable pattern.
   Let's use specific classes for the 4 cutouts.
*/
.p-ticket__cutout--visual-left {
    top: 50%;
    left: -0.75rem;
}

.p-ticket__cutout--visual-right-pc {
    top: 50%;
    right: -0.75rem;
    display: none;
}

.p-ticket__cutout--info-top-sp {
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.p-ticket__cutout--info-right {
    top: 50%;
    right: -0.75rem;
}

@media (min-width: 768px) {
    .p-ticket__cutout--visual-right-pc {
        display: block;
    }

    .p-ticket__cutout--info-top-sp {
        display: none;
    }
}

/* Status Badge */
.p-ticket__badge {
    padding: 0.25rem 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.625rem;
    /* text-[10px] */
    font-weight: 700;
    letter-spacing: 0.2em;
}

.p-ticket__badge--recruiting {
    background-color: white;
    color: black;
}

.p-ticket__badge--few {
    background-color: #4b5563;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.p-ticket__badge--closed {
    background-color: transparent;
    border: 1px solid #4b5563;
    color: #6b7280;
}

.p-ticket__date {
    font-size: 0.75rem;
    color: var(--color-text-gray-400);
    font-family: var(--font-primary);
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-left: 1rem;
}

.p-ticket__title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .p-ticket__title {
        font-size: 2.25rem;
    }
}

.p-ticket:hover .p-ticket__title {
    color: #d1d5db;
}

/* Closed State */
.p-ticket--closed {
    opacity: 0.5;
}

.p-ticket--closed:hover {
    opacity: 1;
}

.p-ticket--closed .p-ticket__inner {
    filter: grayscale(100%);
}

/* Button */
.p-ticket__btn {
    display: inline-block;
    border: 1px solid white;
    padding: 0.75rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: background-color 0.3s, color 0.3s;
}

.p-ticket:hover .p-ticket__btn {
    background-color: white;
    color: black;
}

.p-ticket--closed .p-ticket__btn {
    border-color: #374151;
    color: #374151;
    cursor: not-allowed;
    background-color: transparent !important;
    color: #374151 !important;
}


/* ==========================================================================
   10. Page: Works
   ========================================================================== */

.p-works-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    /* gap-8 */
    margin-bottom: 4rem;
    /* mb-16 */
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .p-works-header {
        flex-direction: row;
    }
}

.p-works-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .p-works-title {
        font-size: 6rem;
    }
}

.p-works-subtitle {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text-gray-400);
}

@media (min-width: 768px) {
    .p-works-subtitle {
        font-size: 1.125rem;
    }
}

/* Filters */
.p-works-filters {
    display: flex;
    gap: 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.p-works-filter-btn {
    background: none;
    border: none;
    color: white;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
}

.p-works-filter-btn:hover,
.p-works-filter-btn.active {
    opacity: 1;
}

.p-works-filter-btn.active {
    border-bottom: 2px solid white;
}

/* Masonry Grid */
.p-works-masonry {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    column-count: 1;
}

@media (min-width: 768px) {
    .p-works-masonry {
        column-count: 2;
        column-gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .p-works-masonry {
        column-count: 3;
    }
}

.p-works-card {
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    break-inside: avoid;
    cursor: pointer;
}

/* Aspect Ratios for images */
.p-works-card__img-container {
    overflow: hidden;
    width: 100%;
}

.p-works-card--tall .p-works-card__img-container {
    aspect-ratio: 3/4;
}

.p-works-card--square .p-works-card__img-container {
    aspect-ratio: 1/1;
}

.p-works-card--wide .p-works-card__img-container {
    aspect-ratio: 16/9;
}

.p-works-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.p-works-card:hover .p-works-card__img {
    transform: scale(1.1);
}

/* Overlay & Hover Effects */
.p-works-card__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .p-works-card__overlay {
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        /* Hidden by default on desktop */
        justify-content: center;
    }

    .p-works-card:hover .p-works-card__overlay {
        opacity: 1;
    }
}

/* Animate content on hover (desktop) */
.p-works-card__label,
.p-works-card__title,
.p-works-card__meta {
    transition: transform 0.5s;
}

@media (min-width: 768px) {

    .p-works-card__label,
    .p-works-card__title,
    .p-works-card__meta {
        transform: translateY(1rem);
    }

    .p-works-card:hover .p-works-card__label,
    .p-works-card:hover .p-works-card__title,
    .p-works-card:hover .p-works-card__meta {
        transform: translateY(0);
    }
}

/* Delays */
.p-works-card:hover .p-works-card__title {
    transition-delay: 0.075s;
}

.p-works-card:hover .p-works-card__meta {
    transition-delay: 0.1s;
}

.p-works-card__label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    border: 1px solid white;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
    /* mobile mb-2 */
}

@media (min-width: 768px) {
    .p-works-card__label {
        margin-bottom: 1rem;
    }
}

.p-works-card__title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-works-card__title {
        font-size: 2.25rem;
    }
}

.p-works-card__meta {
    font-family: var(--font-secondary);
    font-size: 0.625rem;
    color: var(--color-text-gray-400);
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .p-works-card__meta {
        font-size: 0.75rem;
    }
}


/* ==========================================================================
   11. Page: Company
   ========================================================================== */

.p-company-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 6rem;
    /* mb-24 */
}

@media (min-width: 768px) {
    .p-company-hero {
        margin-bottom: 8rem;
        /* mb-32 */
    }
}

.p-company-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.6;
}

.p-company-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.p-company-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.p-company-hero__title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    /* text-6xl */
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .p-company-hero__title {
        font-size: 6rem;
        /* text-8xl */
    }
}

.p-company-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .p-company-hero__subtitle {
        font-size: 1rem;
    }
}

/* Company Info Grid */
.p-company-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8rem;
}

@media (min-width: 768px) {
    .p-company-container {
        padding-left: 3rem;
        padding-right: 3rem;
        margin-bottom: 12rem;
    }
}

.p-company-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    /* gap-16 */
}

@media (min-width: 1024px) {
    .p-company-grid {
        flex-direction: row;
        gap: 8rem;
        /* lg:gap-32 */
    }
}

.p-company-col {
    width: 100%;
}

@media (min-width: 1024px) {
    .p-company-col {
        width: 50%;
    }
}

.p-company-section-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    /* text-2xl */
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    /* mb-12 */
    font-weight: 700;
}

.p-company-desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    /* leading-loose */
    text-align: justify;
    margin-bottom: 3rem;
    color: var(--color-text-gray-300);
}

.p-company-list {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    border-top: 0.5px solid rgba(255, 255, 255, 0.2);
}

.p-company-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    align-items: baseline;
}

.p-company-dt {
    color: var(--color-text-gray-500);
    font-weight: 300;
}

/* Map */
.p-company-map {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background-color: #222;
}

@media (min-width: 768px) {
    .p-company-map {
        aspect-ratio: 4 / 3;
    }
}

.p-company-map iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Staff Section */
.p-company-staff-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .p-company-staff-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.p-company-staff-title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    /* text-4xl */
    letter-spacing: 0.2em;
    font-weight: 700;
    opacity: 0.1;
    text-align: center;
}

@media (min-width: 768px) {
    .p-company-staff-title {
        font-size: 3.75rem;
        /* text-6xl */
        text-align: left;
    }
}

.p-company-staff-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
}

@media (min-width: 768px) {
    .p-company-staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .p-company-staff-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.p-staff-card {
    position: relative;
    height: 60vh;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .p-staff-card {
        height: 80vh;
    }
}

@media (min-width: 1024px) {
    .p-staff-card:last-child {
        border-right: none;
    }
}

.p-staff-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s ease-out;
}

.p-staff-card:hover .p-staff-card__img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.p-staff-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.p-staff-card:hover .p-staff-card__overlay {
    opacity: 0.6;
}

.p-staff-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    /* p-8 */
    transform: translateY(1rem);
    transition: transform 0.5s;
}

.p-staff-card:hover .p-staff-card__info {
    transform: translateY(0);
}

.p-staff-card__role {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-text-gray-400);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.p-staff-card__name {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.p-staff-card__desc-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.5s;
}

.p-staff-card:hover .p-staff-card__desc-wrapper {
    height: auto;
}

.p-staff-card__desc {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    line-height: 2;
    color: var(--color-text-gray-300);
    opacity: 0;
    transition: opacity 0.5s 0.1s;
}

.p-staff-card:hover .p-staff-card__desc {
    opacity: 1;
}


/* ==========================================================================
   12. Page: Works Detail
   ========================================================================== */

.p-work-detail-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6rem;
    /* pb-24 */
    overflow: hidden;
}

@media (min-width: 768px) {
    .p-work-detail-hero {
        padding-bottom: 8rem;
    }
}

.p-work-detail-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.p-work-detail-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-work-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.2));
}

.p-work-detail-hero__content {
    position: relative;
    z-index: 10;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-work-detail-hero__content {
        padding-left: 5rem;
        /* px-20 -> ~5rem */
        padding-right: 5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.p-work-detail-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.p-work-detail-tag {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.p-work-detail-year {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
    font-weight: 700;
}

.p-work-detail-title {
    font-family: var(--font-secondary);
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .p-work-detail-title {
        font-size: 3rem;
        /* text-5xl */
    }
}

@media (min-width: 1024px) {
    .p-work-detail-title {
        font-size: 4.5rem;
        /* text-7xl */
    }
}

.p-work-detail-subtitle {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    /* text-lg */
    letter-spacing: 0.2em;
    font-weight: 700;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .p-work-detail-subtitle {
        font-size: 1.5rem;
    }
}

.p-work-detail-specs {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    line-height: 2;
    /* leading-loose */
    opacity: 0.7;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 1.5rem;
    display: none;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .p-work-detail-specs {
        display: block;
    }
}

/* Concept Section */
.p-work-detail-concept {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8rem;
    /* mb-32 */
}

@media (min-width: 768px) {
    .p-work-detail-concept {
        padding-left: 5rem;
        /* px-20 */
        padding-right: 5rem;
        margin-bottom: 16rem;
        /* mb-64 */
    }
}

.p-work-detail-concept__inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .p-work-detail-concept__inner {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8rem;
    }
}

.p-work-detail-concept__heading-wrapper {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .p-work-detail-concept__heading-wrapper {
        height: 400px;
        width: auto;
        justify-content: flex-end;
    }
}

.p-work-detail-concept__heading {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    /* text-2xl */
    line-height: 1.625;
    text-align: left;
    font-weight: 700;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

@media (min-width: 768px) {
    .p-work-detail-concept__heading {
        font-size: 2.25rem;
        /* text-4xl */
        writing-mode: vertical-rl;
        letter-spacing: 0.2em;
        padding-bottom: 0;
        padding-right: 3rem;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        width: auto;
        text-align: right;
    }
}

.p-work-detail-concept__text {
    max-width: 42rem;
    /* max-w-2xl */
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    color: var(--color-text-gray-300);
    text-align: justify;
}

@media (min-width: 768px) {
    .p-work-detail-concept__text {
        font-size: 1rem;
    }
}

.p-work-detail-concept__p {
    margin-bottom: 2rem;
}

/* Gallery Section - Using specific Layouts */
.p-work-gallery-spacer {
    margin-bottom: 8rem;
}

@media (min-width: 768px) {
    .p-work-gallery-spacer {
        margin-bottom: 12rem;
    }
}

.p-work-full-img {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.p-work-full-img__img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 1s;
}

@media (min-width: 768px) {
    .p-work-full-img__img {
        height: 90vh;
    }
}

/* Remove filter on view? Or hover? For now lets keep grayscale and maybe reveal with JS or hover */

.p-work-full-img__caption {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    text-align: right;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
}

@media (min-width: 768px) {
    .p-work-full-img__caption {
        bottom: 2.5rem;
        right: 2.5rem;
    }
}

/* Zig Zag Layout */
.p-work-zigzag {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

@media (min-width: 768px) {
    .p-work-zigzag {
        padding-left: 5rem;
        padding-right: 5rem;
        gap: 8rem;
    }
}

.p-work-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .p-work-row {
        flex-direction: row;
        gap: 6rem;
    }

    .p-work-row--reverse {
        flex-direction: row-reverse;
    }
}

.p-work-row__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .p-work-row__content {
        width: 33.333%;
    }
}

.p-work-row__label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
    align-self: flex-start;
}

.p-work-row__title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-work-row__title {
        font-size: 1.875rem;
        /* text-3xl */
    }
}

.p-work-row__desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: var(--color-text-gray-400);
    line-height: 2;
    text-align: justify;
}

.p-work-row__img-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .p-work-row__img-wrapper {
        width: 66.666%;
    }
}

.p-work-row__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Grid Layout (Sanitary) */
.p-work-grid-section {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .p-work-grid-section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.p-work-grid-title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0.1;
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-work-grid-title {
        font-size: 3.75rem;
    }
}

.p-work-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    auto-rows: 300px;
}

@media (min-width: 768px) {
    .p-work-mosaic {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
        auto-rows: 400px;
    }
}

.p-work-mosaic__item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .p-work-mosaic__item--large {
        grid-column: span 5;
        grid-row: span 2;
    }

    .p-work-mosaic__item--medium {
        grid-column: span 7;
        grid-row: span 1;
    }

    .p-work-mosaic__item--small {
        grid-column: span 4;
        grid-row: span 1;
    }

    .p-work-mosaic__item--text {
        grid-column: span 3;
        grid-row: span 1;
    }
}

.p-work-mosaic__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s, filter 0.7s;
}

.p-work-mosaic__item:hover .p-work-mosaic__img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.p-work-mosaic__label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    color: white;
}

.p-work-mosaic__text-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
    height: 100%;
    padding: 2rem;
}

.p-work-mosaic__text {
    font-family: var(--font-secondary);
    text-align: center;
    font-size: 0.75rem;
    /* mobile text-xs/sm */
    line-height: 2;
    letter-spacing: 0.1em;
    color: #888;
}

@media (min-width: 768px) {
    .p-work-mosaic__text {
        font-size: 0.875rem;
    }
}


/* Parallax / Wide Image */
.p-work-wide-img-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100%;
}

@media (min-width: 768px) {
    .p-work-wide-img-wrapper {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.p-work-wide-img {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .p-work-wide-img {
        height: 70vh;
    }
}

.p-work-wide-img__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

.p-work-wide-img__caption {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    margin-top: 2rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .p-work-wide-img__caption {
        font-size: 1.5rem;
    }
}

/* Texture Grid */
.p-work-texture-grid {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .p-work-texture-grid {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}

.p-work-texture-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .p-work-texture-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.p-work-texture-item {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.p-work-texture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s;
}

.p-work-texture-item:hover .p-work-texture-img {
    transform: scale(1.1);
}

.p-work-texture-label {
    text-align: right;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    opacity: 0.5;
    font-weight: 700;
}

/* Data Spec */
.p-work-data-section {
    padding: 8rem 1.5rem;
    max-width: 896px;
    /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    margin-top: 8rem;
}

@media (min-width: 768px) {
    .p-work-data-section {
        padding: 8rem 5rem;
    }
}

.p-work-data-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-work-data-title {
        font-size: 1.5rem;
    }
}

.p-work-data-list {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    /* gap-y-8 */
}

@media (min-width: 768px) {
    .p-work-data-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
    }
}

.p-work-data-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.p-work-data-item--full {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .p-work-data-item--full {
        grid-column: span 2;
    }
}

.p-work-data-dt {
    font-size: 0.75rem;
    color: var(--color-text-gray-500);
    margin-bottom: 0.25rem;
    display: block;
}

.p-work-data-dd {
    font-size: 1.125rem;
    font-family: var(--font-beckman);
    /* or use primary var */
    letter-spacing: 0.1em;
}

/* Pagination (Already defined general structure, but verifying specificity) */
.p-work-pagination {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 1.5rem;
}

.p-work-pagination__inner {
    max-width: 72rem;
    /* max-w-6xl */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.p-work-pager-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: opacity 0.3s;
    text-decoration: none;
    color: white;
}

.p-work-pager-link:hover {
    opacity: 1;
}

.p-work-pager-thumb {
    width: 4rem;
    /* w-16 */
    height: 3rem;
    /* h-12 */
    overflow: hidden;
    display: none;
}

@media (min-width: 768px) {
    .p-work-pager-thumb {
        display: block;
    }
}

.p-work-pager-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-work-pager-info {
    text-align: left;
}

.p-work-pager-link--next .p-work-pager-info {
    text-align: right;
}

.p-work-pager-label {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    display: block;
    color: var(--color-text-gray-500);
    font-weight: 700;
}

.p-work-pager-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.p-work-list-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.p-work-list-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.p-work-list-dot {
    width: 4px;
    height: 4px;
    background-color: white;
}

.p-work-list-text {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
    font-weight: 700;
}

.p-work-list-btn:hover .p-work-list-text {
    opacity: 1;
}


/* Bottom CTA */
.p-work-cta {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .p-work-cta {
        grid-template-columns: 1fr 1fr;
    }
}

.p-cta-item {
    position: relative;
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.p-cta-item:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.p-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    opacity: 0.8;
}

.p-cta-item:hover .p-cta-bg {
    transform: scale(1.05);
    opacity: 1;
}

.p-cta-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s;
}

.p-cta-item:hover .p-cta-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.p-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.p-cta-title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.p-cta-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    border-bottom: 1px solid white;
    padding-bottom: 0.25rem;
}


/* ==========================================================================
   13. Page: Open House Detail
   ========================================================================== */

.p-openhouse-detail-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .p-openhouse-detail-hero {
        height: 70vh;
    }
}

.p-openhouse-detail-hero__bg {
    position: absolute;
    inset: 0;
}

.p-openhouse-detail-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-openhouse-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 1), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.p-openhouse-detail-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 4rem;
    /* mt-16 */
}

.p-openhouse-detail-tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0.375rem 1rem;
    /* px-4 py-1.5 */
    font-family: var(--font-primary);
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    /* mb-6 */
    backdrop-filter: blur(4px);
    font-weight: 700;
}

.p-openhouse-detail-date {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    /* text-4xl */
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-openhouse-detail-date {
        font-size: 3.75rem;
    }
}

.p-openhouse-detail-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .p-openhouse-detail-title {
        font-size: 2.25rem;
    }
}

.p-openhouse-detail-location {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-openhouse-detail-location {
        font-size: 1rem;
    }
}

/* Body Content */
.p-openhouse-detail-body {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: -5rem;
    /* -mt-20 */
    position: relative;
    z-index: 20;
}

@media (min-width: 768px) {
    .p-openhouse-detail-body {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}

@media (min-width: 1024px) {
    .p-openhouse-detail-body {
        padding-left: 16rem;
        padding-right: 16rem;
    }
}

/* Intro Box */
.p-openhouse-intro {
    background-color: var(--color-bg-base);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 6rem;
    /* mb-24 */
}

@media (min-width: 768px) {
    .p-openhouse-intro {
        padding: 4rem;
    }
}

.p-openhouse-intro__title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    /* text-xl */
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text-gray-400);
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-openhouse-intro__title {
        font-size: 1.5rem;
    }
}

.p-openhouse-intro__text {
    font-family: var(--font-secondary);
    font-weight: 300;
    line-height: 2;
    text-align: justify;
    color: var(--color-text-gray-300);
}

.p-openhouse-intro__p {
    margin-bottom: 2rem;
}

.p-openhouse-intro__p:last-child {
    margin-bottom: 3rem;
}

.p-openhouse-points {
    background-color: rgba(17, 24, 39, 0.5);
    /* gray-900/50 */
    padding: 2rem;
    border-left: 4px solid var(--color-text-white);
}

.p-openhouse-points__title {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
    font-weight: 700;
}

.p-openhouse-points__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-openhouse-points__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.p-openhouse-points__bullet {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Gallery */
.p-openhouse-gallery {
    margin-bottom: 6rem;
}

.p-openhouse-gallery__title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.p-openhouse-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .p-openhouse-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-openhouse-gallery__item {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.p-openhouse-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    opacity: 0.9;
}

.p-openhouse-gallery__item:hover .p-openhouse-gallery__img {
    transform: scale(1.05);
    opacity: 1;
}

.p-openhouse-gallery__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.p-openhouse-gallery__item:hover .p-openhouse-gallery__overlay {
    background-color: transparent;
}

/* Information */
.p-openhouse-info {
    margin-bottom: 6rem;
}

.p-openhouse-info__title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.p-openhouse-info__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .p-openhouse-info__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-openhouse-dl {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.p-openhouse-dl__row {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: 100px 1fr;
}

.p-openhouse-dl__dt {
    color: var(--color-text-gray-400);
    font-weight: 300;
}

.p-openhouse-dl__dd .p-date {
    font-family: var(--font-primary);
    font-weight: 700;
}

.p-openhouse-dl__note {
    font-size: 0.75rem;
    color: var(--color-text-gray-500);
    margin-top: 0.25rem;
    display: block;
}

.p-openhouse-map {
    aspect-ratio: 1/1;
    background-color: #1f2937;
    /* gray-800 */
    position: relative;
    overflow: hidden;
}

.p-openhouse-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    filter: grayscale(100%) invert(10%) contrast(1.2);
}

.p-openhouse-map__border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Reservation Form */
.p-openhouse-form {
    background: linear-gradient(to bottom right, #222, #111);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .p-openhouse-form {
        padding: 4rem;
    }
}

.p-openhouse-form__header {
    text-align: center;
    margin-bottom: 3rem;
}

.p-openhouse-form__title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.p-openhouse-form__desc {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    /* text-xs */
    color: var(--color-text-gray-400);
}

.p-form-inner {
    max-width: 42rem;
    /* max-w-2xl */
    margin: 0 auto;
    font-family: var(--font-secondary);
}

.p-form-group {
    margin-bottom: 2rem;
}

.p-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-form-label {
    display: block;
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.2em;
    color: var(--color-text-gray-400);
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.p-form-input,
.p-form-select {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 0;
    color: white;
    transition: border-color 0.3s;
    font-family: var(--font-secondary);
}

.p-form-input:focus,
.p-form-select:focus {
    outline: none;
    border-bottom-color: white;
}

.p-form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.p-form-select {
    cursor: pointer;
    appearance: none;
    background-color: var(--color-bg-base);
    /* for dropdown options background */
}

.p-form-actions {
    text-align: center;
    padding-top: 2rem;
}

.p-form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    /* px-12 py-4 */
    background-color: white;
    color: black;
    font-family: var(--font-primary);
    letter-spacing: 0.2em;
    border: 1px solid white;
    transition: all 0.5s;
    font-weight: 700;
    cursor: pointer;
}

.p-form-btn:hover {
    background-color: transparent;
    color: white;
}

/* Mobile Sticky CTA */
.p-mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    background-color: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .p-mobile-sticky-cta {
        display: none;
    }
}

.p-mobile-sticky-line {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.p-mobile-sticky-line:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.p-mobile-sticky-reserve {
    flex: 1.5;
    background-color: white;
    color: black;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.p-mobile-sticky-reserve:hover {
    background-color: #e5e5e5;
}


/* ==========================================================================
   14. Page: Magazine Detail
   ========================================================================== */

.p-magazine-detail-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Hero */
.p-magazine-detail-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .p-magazine-detail-hero {
        height: 80vh;
        padding-bottom: 8rem;
    }
}

.p-magazine-detail-hero__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    height: 80vh;
}

@media (min-width: 768px) {
    .p-magazine-detail-hero__bg {
        height: 90vh;
    }
}

.p-magazine-detail-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.p-magazine-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1a1a1a, rgba(26, 26, 26, 0.4), transparent);
}

.p-magazine-detail-header {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (min-width: 768px) {
    .p-magazine-detail-header {
        padding-left: 8rem;
        padding-right: 8rem;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .p-magazine-detail-header {
        padding-left: 16rem;
        padding-right: 16rem;
    }
}

.p-magazine-detail-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.2em;
    color: var(--color-text-gray-400);
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-magazine-detail-meta {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
}

.p-magazine-detail-cat {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.p-magazine-detail-title {
    font-family: var(--font-secondary);
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .p-magazine-detail-title {
        font-size: 3rem;
        /* text-5xl */
        line-height: 1.375;
    }
}

@media (min-width: 1024px) {
    .p-magazine-detail-title {
        font-size: 3.75rem;
        /* text-6xl */
    }
}


/* Article Body */
.p-magazine-body-section {
    position: relative;
    z-index: 20;
    background-color: #1a1a1a;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .p-magazine-body-section {
        padding-left: 0;
        padding-right: 0;
    }
}

.p-magazine-body-inner {
    max-width: 48rem;
    /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    margin-top: -2.5rem;
    /* -mt-10 */
}

/* Typography for Article Content (Prose Editorial) */
.p-prose-editorial p {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 2.2;
    margin-bottom: 2rem;
    color: var(--color-text-gray-300);
    font-size: 1rem;
    text-align: justify;
}

.p-prose-editorial h2 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    padding-left: 1.5rem;
    color: white;
}

@media (min-width: 768px) {
    .p-prose-editorial h2 {
        font-size: 1.875rem;
    }
}

.p-prose-editorial blockquote {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #fff;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid #fff;
    background: rgba(255, 255, 255, 0.05);
}

.p-prose-editorial figure {
    margin: 3rem 0;
}

.p-prose-editorial img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.p-prose-editorial figcaption {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--color-text-gray-400);
    text-align: center;
}

/* Share & Author */
.p-magazine-footer {
    max-width: 48rem;
    /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.p-magazine-share {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.p-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.p-share-btn:hover {
    opacity: 0.7;
}

.p-share-icon {
    width: 3rem;
    /* w-12 */
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    color: white;
}

.p-share-btn:hover .p-share-icon {
    background-color: white;
    color: black;
}

.p-share-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.p-share-label {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: var(--color-text-gray-500);
    font-weight: 700;
}

.p-author-box {
    background-color: rgba(17, 24, 39, 0.5);
    /* gray-900/50 */
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .p-author-box {
        flex-direction: row;
    }
}

.p-author-img {
    width: 5rem;
    /* w-20 */
    height: 5rem;
    border-radius: 9999px;
    overflow: hidden;
    background-color: #374151;
    flex-shrink: 0;
}

.p-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.p-author-info {
    text-align: center;
}

@media (min-width: 768px) {
    .p-author-info {
        text-align: left;
    }
}

.p-author-label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-text-gray-400);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.p-author-name {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.p-author-desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: var(--color-text-gray-400);
    line-height: 1.625;
    max-width: 32rem;
}

/* Related Posts */
.p-magazine-related {
    max-width: 72rem;
    /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 8rem;
}

.p-related-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.p-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.p-related-item {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.p-related-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.p-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.p-related-item:hover .p-related-img {
    transform: scale(1.05);
}

.p-related-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.p-related-item:hover .p-related-overlay {
    background-color: transparent;
}

.p-related-cat {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: var(--color-text-gray-500);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.p-related-post-title {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 1.625;
    transition: color 0.3s;
    font-weight: 700;
}

.p-related-item:hover .p-related-post-title {
    color: var(--color-text-gray-300);
}


/* ==========================================================================
   15. Page: Lineup Model A
   ========================================================================== */

/* Hero */
.p-lineup-model-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.p-lineup-model-hero__bg {
    position: absolute;
    inset: 0;
}

.p-lineup-model-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-lineup-model-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
}

.p-lineup-model-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    mix-blend-mode: difference;
    padding: 0 1rem;
}

.p-lineup-model-label {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    /* text-sm */
    letter-spacing: 0.5em;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .p-lineup-model-label {
        font-size: 1rem;
    }
}

.p-lineup-model-title {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    /* text-7xl */
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .p-lineup-model-title {
        font-size: 8rem;
        /* text-9xl */
    }
}

.p-lineup-model-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .p-lineup-model-subtitle {
        font-size: 1rem;
    }
}

.p-lineup-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    mix-blend-mode: difference;
    color: white;
}

.p-lineup-scroll-text {
    font-size: 0.625rem;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.2em;
}

.p-lineup-scroll-line {
    width: 1px;
    height: 3rem;
    background-color: white;
}

/* Concept Text */
.p-lineup-concept {
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .p-lineup-concept {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.p-lineup-concept__inner {
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto;
    text-align: center;
}

.p-lineup-concept__text {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    color: #4b5563;
    /* gray-600 */
    text-align: justify;
}

@media (min-width: 768px) {
    .p-lineup-concept__text {
        font-size: 1rem;
        text-align: center;
    }
}

/* Gallery */
.p-lineup-gallery {
    padding-bottom: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .p-lineup-gallery {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.p-lineup-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .p-lineup-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .p-lineup-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.p-lineup-gallery__item {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Specific aspect ratios handled by utility classes or specific item classes if needed,
   but keeping it simple with modifier classes or nth-child logic might be tricky without modifying HTML structure heavily.
   For now, I'll rely on the translation in HTML to apply utility-like classes or specific modifiers.
*/
.p-lineup-gallery__item--portrait {
    aspect-ratio: 3/4;
}

.p-lineup-gallery__item--landscape {
    aspect-ratio: 16/9;
}

@media (min-width: 768px) {
    .p-lineup-gallery__item--landscape {
        aspect-ratio: 16/10;
    }
}

.p-lineup-gallery__item--square {
    aspect-ratio: 1/1;
}

.p-lineup-gallery__item--span-2 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .p-lineup-gallery__item--span-2 {
        grid-column: span 1;
    }
}

@media (min-width: 1024px) {
    .p-lineup-gallery__item--span-2 {
        grid-column: span 2;
    }
}

.p-lineup-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.p-lineup-gallery__item:hover .p-lineup-gallery__img {
    transform: scale(1.05);
}

/* Features */
.p-lineup-features {
    background-color: white;
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-lineup-features__inner {
    max-width: 56rem;
    /* max-w-4xl */
    margin: 0 auto;
}

.p-lineup-features__title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    /* text-4xl */
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: black;
}

.p-lineup-dl {
    border-top: 1px solid #e5e7eb;
    /* gray-200 */
    border-bottom: 1px solid #e5e7eb;
}

.p-lineup-dl__row {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-lineup-dl__row:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .p-lineup-dl__row {
        flex-direction: row;
        align-items: baseline;
        gap: 3rem;
    }
}

.p-lineup-dl__dt {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #9ca3af;
    /* gray-400 */
    width: 8rem;
    /* w-32 */
    flex-shrink: 0;
}

.p-lineup-dl__dd {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 1.625;
    color: #374151;
    /* gray-700 */
    flex: 1;
}

/* Cross Links */
.p-lineup-crosslinks {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #1a1a1a;
    color: white;
}

@media (min-width: 768px) {
    .p-lineup-crosslinks {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-crosslink-item {
    position: relative;
    height: 40vh;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: white;
}

@media (min-width: 768px) {
    .p-crosslink-item {
        height: 50vh;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.p-crosslink-item:first-child {
    border-left: none;
}

.p-crosslink-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s, opacity 0.5s;
    opacity: 0.6;
    filter: grayscale(0%);
}

@media (min-width: 768px) {
    .p-crosslink-img {
        filter: grayscale(100%);
    }
}

.p-crosslink-item:hover .p-crosslink-img {
    transform: scale(1.1);
    opacity: 0.4;
    filter: grayscale(0%);
}

.p-crosslink-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 1.5rem;
    text-align: center;
}

.p-crosslink-title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    /* text-4xl */
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    transform: translateY(1rem);
    transition: transform 0.5s;
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-crosslink-title {
        font-size: 3rem;
        /* text-5xl */
    }
}

.p-crosslink-item:hover .p-crosslink-title {
    transform: translateY(0);
}

.p-crosslink-sub {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    /* text-xs */
    letter-spacing: 0.2em;
    opacity: 1;
    transition: opacity 0.5s 0.1s;
    border-bottom: 1px solid white;
    padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .p-crosslink-sub {
        opacity: 0;
    }
}

.p-crosslink-item:hover .p-crosslink-sub {
    opacity: 1;
}


/* ==========================================================================
   16. Page: Lineup Model N
   ========================================================================== */
.p-lineup-model-n-wrapper {
    background-color: #e5e5e5;
    color: #1a1a1a;
}

.p-lineup-model-n-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.p-lineup-model-n-hero__inner {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    align-items: center;
    height: 100%;
}

@media (min-width: 768px) {
    .p-lineup-model-n-hero__inner {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.p-lineup-model-n-hero__content {
    grid-column: span 12;
    z-index: 10;
}

@media (min-width: 768px) {
    .p-lineup-model-n-hero__content {
        grid-column: span 5;
    }
}

.p-lineup-model-n-hero__img-box {
    grid-column: span 12;
    height: 60vh;
    position: relative;
}

@media (min-width: 768px) {
    .p-lineup-model-n-hero__img-box {
        grid-column: span 7;
        height: 100%;
    }
}

.p-lineup-model-n-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-lineup-model-n-title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    /* text-6xl */
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .p-lineup-model-n-title {
        font-size: 6rem;
        /* text-8xl */
    }
}

/* Model N Gallery */
.p-lineup-model-n-gallery {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-lineup-model-n-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .p-lineup-model-n-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.p-lineup-model-n-gallery__img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

/* ==========================================================================
   17. Page: Lineup Model Y
   ========================================================================== */
.p-lineup-model-y-wrapper {
    background-color: #111;
    color: white;
}

.p-lineup-model-y-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.p-lineup-model-y-hero__texture {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    pointer-events: none;
    background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
}

.p-lineup-model-y-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: contrast(1.25) sepia(0.2);
}

.p-lineup-model-y-title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    /* text-6xl */
    font-weight: 700;
    letter-spacing: 0.2em;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to bottom, #ffffff, #4b5563);
}

@media (min-width: 768px) {
    .p-lineup-model-y-title {
        font-size: 8rem;
        /* text-9xl */
    }
}


/* Model Y Gallery (Staggered) */
.p-lineup-model-y-gallery {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-lineup-model-y-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .p-lineup-model-y-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-lineup-model-y-gallery__img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.p-lineup-model-y-gallery__img:hover {
    filter: grayscale(0%);
}

@media (min-width: 768px) {
    .p-lineup-model-y-gallery__img:nth-child(even) {
        margin-top: 5rem;
    }
}

/* ==========================================================================
   18. Page: Top
   ========================================================================== */
/* Global Backgrounds */
.l-bg-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.l-bg-ambient__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.l-bg-ambient__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.l-bg-noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
}

/* Top Hero */
.p-top-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.p-top-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.p-top-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-top-hero__img--static {
    opacity: 0.6;
    mix-blend-mode: overlay;
}

.p-top-hero__img--dynamic {
    opacity: 0.4;
    mix-blend-mode: multiply;
}

/* Overlay Removed */

.p-top-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    /* Added text-shadow for readability against bright backgrounds */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.p-top-hero__title {
    font-family: var(--font-primary);
    font-size: 3rem;
    /* text-5xl */
    font-weight: 700;
    letter-spacing: 0em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .p-top-hero__title {
        font-size: 6rem;
        /* text-8xl */
    }
}

@media (min-width: 1024px) {
    .p-top-hero__title {
        font-size: 8rem;
        /* text-9xl */
    }
}

.p-top-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 1s infinite;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateX(-50%) translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.p-top-hero__scroll-text {
    font-size: 0.625rem;
    font-family: var(--font-primary);
    letter-spacing: 0.1em;
}

.p-top-hero__scroll-line {
    width: 1px;
    height: 3rem;
    background-color: white;
}

/* Top Intro */
.p-top-intro {
    padding: 8rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
}

.p-top-intro__label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--color-text-gray-400);
    display: block;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.p-top-intro__title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.625;
    margin-bottom: 3rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

@media (min-width: 768px) {
    .p-top-intro__title {
        font-size: 2.25rem;
    }
}

.p-top-intro__text {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    color: var(--color-text-gray-400);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

@media (min-width: 768px) {
    .p-top-intro__text {
        font-size: 1rem;
        text-align: center;
    }
}

/* Top YouTube */
.p-top-youtube {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
}

.p-top-youtube__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .p-top-youtube__header {
        flex-direction: row;
    }
}

.p-top-youtube__desc {
    display: none;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--color-text-gray-500);
    text-align: right;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

@media (min-width: 768px) {
    .p-top-youtube__desc {
        display: block;
    }
}

.c-card-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border-light);
}

.c-card-video__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    opacity: 0.6;
    mix-blend-mode: overlay;
    filter: grayscale(100%);
}

.c-card-video:hover .c-card-video__cover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.c-card-video__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.c-card-video__play-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.c-card-video:hover .c-card-video__play-btn {
    background-color: rgba(255, 255, 255, 0.1);
}

.c-card-video__meta {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

/* Top Nav Cards */
.p-top-nav {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
}

.p-top-nav__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-top-nav__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.c-card-nav {
    display: block;
    position: relative;
    height: 60vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .c-card-nav--stagger {
        margin-top: 6rem;
    }
}

.c-card-nav__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    filter: grayscale(100%);
}

.c-card-nav:hover .c-card-nav__img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.c-card-nav__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.5s;
}

.c-card-nav:hover .c-card-nav__overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.c-card-nav__content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
}

.c-card-nav__title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    /* text-3xl */
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

@media (min-width: 768px) {
    .c-card-nav__title {
        font-size: 3rem;
        /* text-5xl */
    }
}

.c-card-nav__desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.5s;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.c-card-nav:hover .c-card-nav__desc {
    opacity: 1;
    transform: translateY(0);
}

.c-card-nav--contact {
    border: 1px solid var(--color-border-light);
    transition: border-color 0.3s;
}

.c-card-nav--contact:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.c-card-nav__content--center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    z-index: 10;
}

/* Top News */
.p-top-news {
    padding: 6rem 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    border-top: 1px solid var(--color-border-light);
    position: relative;
    z-index: 10;
}

.p-top-news__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.p-top-news__title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.p-top-news__link {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid white;
    padding-bottom: 0.25rem;
    transition: opacity 0.3s;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.p-top-news__link:hover {
    opacity: 0.5;
}

.p-top-news__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .p-top-news__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.c-card-news {
    cursor: pointer;
}

.c-card-news__img-wrapper {
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4/3;
}

.c-card-news__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: grayscale(100%);
}

.c-card-news:hover .c-card-news__img {
    transform: scale(1.05);
    filter: grayscale(0%);
    /* Modified to match HTML style */
}

.c-card-news__date {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    color: var(--color-text-gray-500);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.c-card-news__title {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    transition: color 0.3s;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.c-card-news:hover .c-card-news__title {
    color: var(--color-text-gray-400);
}

/* ==========================================================================
   19. Page: Concept (Supplemental)
   ========================================================================== */
.p-concept-preview {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: none;
}

@media (min-width: 768px) {
    .p-concept-preview {
        display: block;
    }
}

.p-concept-preview__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 8s ease-out;
    transform: scale(1);
}

.p-concept-preview__img.is-active {
    opacity: 0.4;
    transform: scale(1.1);
}

.p-concept-preview__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    mix-blend-mode: multiply;
}

.p-accordion__heading {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.p-accordion__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.p-accordion__img-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

/* ==========================================================================
   10. Page: Works
   ========================================================================== */
.l-bg-works {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.l-bg-works__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.l-bg-works__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.p-works-main {
    padding-top: 8rem;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.p-works-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    gap: 2rem;
}

@media(min-width: 768px) {
    .p-works-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.p-works-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media(min-width: 768px) {
    .p-works-title {
        font-size: 5rem;
    }
}

.p-works-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-text-gray-400);
}

.p-works-filters {
    display: flex;
    gap: 1.5rem;
}

.p-works-filter-btn {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--color-text-gray-400);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    padding-bottom: 0.25rem;
}

.p-works-filter-btn:hover,
.p-works-filter-btn.active {
    color: white;
    border-bottom: 1px solid white;
}

.p-works-masonry {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .p-works-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        /* Base height unit */
    }
}

.p-works-card {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

/* Card Sizes for Masonry */
.p-works-card--tall {
    grid-row: span 2;
}

.p-works-card--square {
    grid-row: span 1;
}

.p-works-card--wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Ensure aspect ratio logic for mobile */
.p-works-card__img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.p-works-card--tall .p-works-card__img-container {
    aspect-ratio: 3/4;
}

.p-works-card--square .p-works-card__img-container {
    aspect-ratio: 1/1;
}

.p-works-card--wide .p-works-card__img-container {
    aspect-ratio: 16/9;
}

@media(min-width: 768px) {
    .p-works-card__img-container {
        height: 100%;
        width: 100%;
        aspect-ratio: auto;
    }
}

.p-works-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s, filter 0.5s;
    filter: grayscale(100%) brightness(0.8);
}

.p-works-card:hover .p-works-card__img {
    transform: scale(1.1);
    filter: grayscale(0) brightness(1);
}

.p-works-card__overlay {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
}

.p-works-card:hover .p-works-card__overlay {
    opacity: 1;
}

.p-works-card__label {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    background: white;
    color: black;
    padding: 0.25rem 0.5rem;
    align-self: flex-start;
    margin-bottom: auto;
    /* Push to top */
    transform: translateY(-10px);
    transition: transform 0.5s;
}

.p-works-card:hover .p-works-card__label {
    transform: translateY(0);
}

.p-works-card__title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.p-works-card__meta {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--color-text-gray-300);
}

/* ==========================================================================
   Page: Open House (Supplemental)
   ========================================================================== */
.l-bg-openhouse {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.l-bg-openhouse__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.l-bg-openhouse__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.p-openhouse-main {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 10;
}

/* Supplemental Ticket Styles (Replacing Utility Classes) */
.p-ticket__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.p-ticket__location {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: var(--color-text-gray-400);
    margin-bottom: 1.5rem;
}

.p-ticket__desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--color-text-gray-300);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media(min-width: 768px) {
    .p-ticket__desc {
        -webkit-line-clamp: unset;
    }
}

.p-ticket__footer {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   Page: Magazine (Supplemental)
   ========================================================================== */
.l-bg-magazine {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.l-bg-magazine__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: saturate(50%) contrast(110%);
}

.l-bg-magazine__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.p-magazine-main {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Page: Company (Supplemental)
   ========================================================================== */
.l-bg-company {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.l-bg-company__noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
}

/* ==========================================================================
   Page: Contact (Supplemental)
   ========================================================================== */
.l-bg-contact {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.l-bg-contact__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: saturate(0%) contrast(125%);
}

.l-bg-contact__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, rgba(26, 26, 26, 0.8) 100%);
}

.l-bg-contact__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 26, 0.6);
}

.p-contact-main {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.p-contact-container {
    width: 100%;
    max-width: 42rem;
}

.p-contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.p-contact-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    line-height: 1;
}

.p-contact-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-text-gray-400);
}

.p-contact-form-group {
    margin-bottom: 3rem;
}

.p-contact-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-gray-500);
    margin-bottom: 0.5rem;
}

.p-contact-input,
.p-contact-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
    font-size: 1.125rem;
    color: white;
    transition: border-color 0.3s;
    border-radius: 0;
}

.p-contact-input:focus,
.p-contact-textarea:focus {
    outline: none;
    border-color: white;
}

.p-contact-input::placeholder,
.p-contact-textarea::placeholder {
    color: var(--color-text-gray-700);
}

.p-contact-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-family: var(--font-secondary);
    font-size: 0.875rem;
}

.p-contact-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-text-gray-400);
    transition: color 0.3s;
}

.p-contact-radio-label:hover {
    color: white;
}

.p-contact-radio-custom {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--color-text-gray-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-contact-radio-input:checked+.p-contact-radio-custom {
    border-color: white;
}

.p-contact-radio-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.p-contact-radio-input:checked+.p-contact-radio-custom .p-contact-radio-dot {
    opacity: 1;
}

.p-contact-submit {
    text-align: center;
    padding-top: 2rem;
}

.p-contact-btn {
    display: inline-block;
    border: 1px solid white;
    padding: 1rem 3rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

@media(min-width: 768px) {
    .p-contact-btn {
        width: auto;
    }
}

.p-contact-btn:hover {
    background: white;
    color: black;
}

/* ==========================================================================
   Page: Works Detail (Supplemental)
   ========================================================================== */
.p-work-detail-content {
    background-color: var(--color-bg-body);
    position: relative;
    z-index: 20;
    padding-top: 8rem;
    padding-bottom: 6rem;
}

.u-mt-section {
    margin-top: 8rem;
}

@media(max-width: 768px) {
    .u-mt-section {
        margin-top: 4rem;
    }
}

/* ==========================================================================
   Page: Lineup (Restored Design)
   ========================================================================== */

/* Hero Section */
.p-lineup-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.p-lineup-hero__bg {
    position: absolute;
    inset: 0;
}

.p-lineup-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-lineup-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.p-lineup-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.p-lineup-hero__title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    /* text-6xl */
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .p-lineup-hero__title {
        font-size: 6rem;
        /* text-8xl */
    }
}

.p-lineup-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
    color: white;
}

@media (min-width: 768px) {
    .p-lineup-hero__subtitle {
        font-size: 1rem;
    }
}

.p-lineup-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    color: white;
}

.p-lineup-hero__scroll-text {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.p-lineup-hero__scroll-line {
    width: 1px;
    height: 3rem;
    background-color: white;
}

/* Common Model Section */
.p-lineup-model {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .p-lineup-model {
        padding: 0;
    }
}

.p-lineup-container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .p-lineup-container {
        padding: 0 3rem;
        max-width: 1280px;
    }
}

.p-lineup-model__inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .p-lineup-model__inner {
        flex-direction: row;
        gap: 6rem;
        /* gap-24 equivalent roughly */
    }

    .p-lineup-model__inner--reverse {
        flex-direction: row-reverse;
    }
}

/* Text Area */
.p-lineup-model__text-area {
    width: 100%;
}

@media (min-width: 768px) {
    .p-lineup-model__text-area {
        width: 50%;
    }

    .p-lineup-model__text-area--right {
        text-align: right;
    }
}

.p-lineup-model__label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #9ca3af;
    /* gray-400 */
    margin-bottom: 1rem;
}

.p-lineup-model__heading {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    /* text-7xl */
    font-weight: 300;
    /* font-light */
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .p-lineup-model__heading {
        font-size: 8rem;
        /* text-9xl */
    }
}

.p-lineup-model__desc {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 2;
    /* leading-loose */
    color: #4b5563;
    /* gray-600 */
    text-align: justify;
    max-width: 28rem;
    /* max-w-md */
}

@media (min-width: 768px) {
    .p-lineup-model__text-area--right .p-lineup-model__desc {
        margin-left: auto;
    }
}

.p-lineup-model__link {
    display: inline-block;
    margin-top: 3rem;
    border-bottom: 2px solid currentColor;
    padding-bottom: 0.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.p-lineup-model__link:hover {
    opacity: 0.5;
}

/* Media/Image Area */
.p-lineup-model__media {
    width: 100%;
    height: 50vh;
}

@media (min-width: 768px) {
    .p-lineup-model__media {
        width: 50%;
        height: 60vh;
    }
}

.p-lineup-model__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Model A Specifics */
.p-lineup-model--silence {
    background-color: #f5f5f5;
    color: #333;
}

.p-lineup-model__deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.333%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    transform: skewX(12deg);
    margin-right: -5rem;
    display: none;
}

@media (min-width: 768px) {
    .p-lineup-model__deco {
        display: block;
    }
}

/* Model Y Specifics */
.p-lineup-model--heat {
    background-color: #222;
    color: white;
}

.p-lineup-model__texture {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    background-repeat: repeat;
}

.p-lineup-model__label--dark {
    color: #6b7280;
    /* gray-500 */
}

.p-lineup-model__heading--gradient {
    font-weight: 700;
    background: linear-gradient(to right, #e5e7eb, #4b5563);
    -webkit-background-clip: text;
    color: transparent;
}

.p-lineup-model__desc--dark {
    color: #9ca3af;
    /* gray-400 */
}

.p-lineup-model__link--white {
    border-color: white;
}

.p-lineup-model__media--relative {
    position: relative;
}

.p-lineup-model__img--filter {
    filter: contrast(1.25) sepia(0.2);
}

.p-lineup-model__frame {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 0;
}

/* Model N Specifics (Grid Layout) */
.p-lineup-model--neutral {
    background-color: #e5e5e5;
    color: #1a1a1a;
}

.p-lineup-grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: center;
}

.p-lineup-grid-layout__text {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .p-lineup-grid-layout__text {
        grid-column: span 4;
    }
}

.p-lineup-model__label--gray {
    color: #6b7280;
}

.p-lineup-model__heading--dark {
    font-weight: 700;
    /* bold */
    color: #1a1a1a;
}

.p-lineup-model__desc--gray {
    color: #4b5563;
    margin-bottom: 2rem;
}

.p-lineup-model__btn {
    display: inline-block;
    border: 2px solid black;
    padding: 0.75rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background-color: transparent;
    color: black;
    transition: all 0.3s;
}

.p-lineup-model__btn:hover {
    background-color: black;
    color: white;
}

.p-lineup-grid-layout__images {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .p-lineup-grid-layout__images {
        grid-column: span 8;
    }
}

.p-lineup-grid-layout__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-lineup-grid-layout__col--offset {
    margin-top: 3rem;
}

.p-lineup-grid-layout__img {
    width: 100%;
    object-fit: cover;
}

.p-lineup-grid-layout__img--h64 {
    height: 16rem;
}

.p-lineup-grid-layout__img--h48 {
    height: 12rem;
}

.p-lineup-grid-layout__img--h80 {
    height: 20rem;
}


/* ==========================================================================
   Page: Model A (Utility Restoration)
   ========================================================================== */
/* Basic Layout & Spacing */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.block {
    display: block;
}

.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

/* Specific Heights */
[class~='h-[80vh]'] {
    height: 80vh;
}

[class~='h-[40vh]'] {
    height: 40vh;
}

[class~='w-[1px]'] {
    width: 1px;
}

/* Backgrounds & Colors */
[class~='bg-white/20'] {
    background-color: rgba(255, 255, 255, 0.2);
}

[class~='bg-[#f5f5f5]'] {
    background-color: #f5f5f5;
}

[class~='bg-[#333]'] {
    background-color: #333;
}

[class~='bg-[#1a1a1a]'] {
    background-color: #1a1a1a;
}

[class~='text-[#333]'] {
    color: #333;
}

[class~='text-[#1a1a1a]'] {
    color: #1a1a1a;
}

.text-white {
    color: white;
}

.bg-white {
    background-color: white;
}

.bg-black {
    background-color: black;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-700 {
    color: #374151;
}

[class~='bg-white/10'] {
    background-color: rgba(255, 255, 255, 0.1);
}

[class~='border-white/10'] {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-white {
    border-color: white;
}

.divide-y>*+* {
    border-top-width: 1px;
}

.divide-gray-200>*+* {
    border-color: #e5e7eb;
}

/* Typography */
.font-beckman {
    font-family: var(--font-primary);
}

.font-noto {
    font-family: var(--font-secondary);
}

.font-bold {
    font-weight: 700;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Default Tailwind widest is 0.1em */
[class~='tracking-[0.5em]'] {
    letter-spacing: 0.5em;
}

[class~='tracking-[0.2em]'] {
    letter-spacing: 0.2em;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

[class~='text-[10px]'] {
    font-size: 10px;
}

.leading-loose {
    line-height: 2;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-justify {
    text-align: justify;
}

/* Effects */
.mix-blend-difference {
    mix-blend-mode: difference;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-100 {
    opacity: 1;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.delay-100 {
    transition-delay: 100ms;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:opacity-40 {
    opacity: 0.4;
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.grayscale-0 {
    filter: grayscale(0);
}

[class~='translate-y-4'] {
    transform: translateY(1rem);
}

[class~='-translate-x-1/2'] {
    transform: translateX(-50%);
}

/* Sizing & Aspects */
.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

[class~='max-w-[1800px]'] {
    max-width: 1800px;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pb-24 {
    padding-bottom: 6rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.gap-2 {
    gap: 0.5rem;
}

[class~='aspect-[3/4]'] {
    aspect-ratio: 3/4;
}

.aspect-video {
    aspect-ratio: 16/9;
}

.aspect-square {
    aspect-ratio: 1/1;
}

/* Responsive (MD) */
@media (min-width: 768px) {
    .md\:block {
        display: block;
    }

    .md\:flex {
        display: flex;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:gap-12 {
        gap: 3rem;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .md\:text-9xl {
        font-size: 8rem;
        line-height: 1;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md\:text-center {
        text-align: center;
    }

    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .md\:px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .md\:items-baseline {
        align-items: baseline;
    }

    [class~='md:aspect-[16/10]'] {
        aspect-ratio: 16/10;
    }

    [class~='md:h-[50vh]'] {
        height: 50vh;
    }

    .md\:border-t-0 {
        border-top-width: 0;
    }

    .md\:border-l {
        border-left-width: 1px;
    }

    .md\:grayscale {
        filter: grayscale(100%);
    }

    .group:hover .md\:group-hover\:grayscale-0 {
        filter: grayscale(0);
    }

    .md\:opacity-0 {
        opacity: 0;
    }
}

/* Responsive (LG) */
@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    [class~='lg:aspect-[3/4]'] {
        aspect-ratio: 3/4;
    }
}


/* ==========================================================================
   Page: Model Y (Utility Restoration)
   ========================================================================== */
/* Basic Utility */
.h-screen {
    height: 100vh;
}

.pointer-events-none {
    pointer-events: none;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-50 {
    opacity: 0.5;
}

.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.container {
    width: 100%;
}

/* Colors */
[class~='bg-[#111]'] {
    background-color: #111;
}

[class~='bg-[#1a1a1a]'] {
    background-color: #1a1a1a;
}

.text-gray-300 {
    color: #d1d5db;
}

.border-gray-700 {
    border-color: #374151;
}

.pb-8 {
    padding-bottom: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.pt-8 {
    padding-top: 2rem;
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.font-light {
    font-weight: 300;
}

.inline-block {
    display: inline-block;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:bg-white:hover {
    background-color: white;
}

.hover\:text-black:hover {
    color: black;
}

.max-w-6xl {
    max-width: 72rem;
}

.gap-x-12 {
    column-gap: 3rem;
}

.gap-y-8 {
    row-gap: 2rem;
}

/* Gradients */
/* bg-gradient-to-b from-white to-gray-600 */
[class~='bg-gradient-to-b'] {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

[class~='from-white'] {
    --tw-gradient-from: #fff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

[class~='to-gray-600'] {
    --tw-gradient-to: #4b5563;
}

/* Filters */
/* filter contrast-125 sepia-[0.2] */
.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

[class~='contrast-125'] {
    --tw-contrast: contrast(1.25);
}

[class~='sepia-[0.2]'] {
    --tw-sepia: sepia(0.2);
}

.grayscale {
    --tw-grayscale: grayscale(100%);
}

.hover\:grayscale-0:hover {
    --tw-grayscale: grayscale(0);
}

/* Initializing Filter Variables (Crucial for Tailwind Filters to work manually) */
.filter {
    --tw-blur: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-brightness: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-contrast: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-grayscale: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-hue-rotate: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-invert: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-saturate: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-sepia: var(--tw-empty,
            /*!*/
            /*!*/
        );
    --tw-drop-shadow: var(--tw-empty,
            /*!*/
            /*!*/
        );
}

/* Sizing */
[class~='h-[50vh]'] {
    height: 50vh;
}

/* Responsive (MD) */
@media (min-width: 768px) {
    .md\:px-20 {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .md\:mt-20 {
        margin-top: 5rem;
    }
}


/* ==========================================================================
   Page: Model Y (Layout Override & Dark Theme)
   ========================================================================== */

/* Dark Mode Page Wrapper */
.p-model-page--y {
    background-color: #1a1a1a;
    color: #d1d5db;
}

/* Background Override */
.p-model-page--y .bg-white {
    background-color: #1a1a1a;
}

/* Text Overrides */
.p-model-page--y .text-gray-600 {
    color: #9ca3af;
}

.p-model-page--y .text-gray-700 {
    color: #d1d5db;
}

/* Divider Override */
.p-model-page--y .divide-y>*+* {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Filter Override (Default Grayscale on Y page for specific elements if needed) */
.p-model-page--y .filter {
    /* Using Tailwind inheritance or custom if needed */
}

/* Specific Feature Area Background for Y, if not covered by bg-white override */
.p-model-page--y .bg-dark-acc {
    background-color: #111;
}

/* Link Hover Colors */
.p-model-page--y a:hover {
    color: white;
}


/* ==========================================================================
   Page: Contact Navigator
   ========================================================================== */
.p-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}

.p-contact-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

/* Navigator Grid */
.p-contact-nav__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .p-contact-nav__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Card Style */
.p-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.p-contact-card:hover {
    background-color: white;
    color: black;
    border-color: white;
}

/* Card Typography */
.p-contact-card__icon {
    margin-bottom: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: transform 0.4s ease;
}

.p-contact-card__svg {
    width: 100%;
    height: 100%;
}

.p-contact-card:hover .p-contact-card__icon {
    transform: scale(1.1);
}

.p-contact-card__title-en {
    font-family: var(--font-primary);
    /* Antonio */
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.p-contact-card__title-jp {
    font-family: var(--font-secondary);
    /* Noto Sans JP */
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.p-contact-card:hover .p-contact-card__title-jp {
    opacity: 1;
}

.p-contact-card__desc {
    font-family: var(--font-secondary);
    font-size: 0.8125rem;
    line-height: 1.8;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.p-contact-card:hover .p-contact-card__desc {
    opacity: 0.8;
}

/* Arrow */
.p-contact-card__arrow {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.p-contact-card:hover .p-contact-card__arrow {
    opacity: 1;
    transform: translateY(0);
}

/* LINE Specific (Optional accent) */
/* If you want to keep the mono look, leave as is. 
   If you want green accent on hover:
*/
/*
.p-contact-card--line:hover {
    background-color: #06C755;
    color: white;
    border-color: #06C755;
}
*/

/* Divider & Form Section */
.p-contact-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 6rem;
}

.p-contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.p-contact-form-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.5rem;
}


/* ==========================================================================
   Page: Contact Navigator (Background Image Support)
   ========================================================================== */

/* Card Base Updates */
.p-contact-card {
    position: relative;
    overflow: hidden;
    /* Remove previous background styles as they are now handled by overlay/image */
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically if needed, or stick to space-between */
    align-items: center;
    text-align: center;
    /* padding: 3rem 2rem;  Kept from previous */
}

/* Background Image Container */
.p-contact-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.p-contact-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.p-contact-card:hover .p-contact-card__img {
    transform: scale(1.1);
}

/* Overlay (Darken image for readability) */
.p-contact-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Default dark overlay */
    z-index: 1;
    transition: background-color 0.4s ease;
}

.p-contact-card:hover .p-contact-card__overlay {
    background-color: rgba(0, 0, 0, 0.3);
    /* Lighten on hover? Or make it uniform? User wants inverse previously, but with BG image, inverse white bg might hide image. Let's keep it dark/elegant or slight brighten. */
    /* Decision: Make it slightly brighter to show image more clearly on hover, OR keep text white. 
       If previous requirement was 'invert colors', that implies white background. 
       If we have an image, white background hides the image. 
       So, 'background image' usually implies we keep the image visible. 
       Let's stick to White Text over Image. */
}

/* Content Wrapper (Z-Index above image) */
.p-contact-card__content-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    /* If needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    /* Fill the card */
}

/* Hover Adjustments for Text (Keep White) */
.p-contact-card:hover {
    color: white;
    /* Force white text even on hover */
    border-color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   Hamburger Menu Fix (Override)
   ========================================================================== */

/* Mobile Menu Container */
#js-drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: #111;
    /* Dark background */
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#js-drawer.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Menu Navigation */
.l-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    font-family: var(--font-primary);
    /* Antonio */
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.l-mobile-menu__link {
    color: white;
    transition: color 0.3s;
}

.l-mobile-menu__link:hover {
    color: var(--color-text-gray-400);
}

/* Hamburger Button Animation */
#js-hamburger {
    z-index: 10000;
    /* Above the drawer */
}

/* Lines */
.l-header__menu-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: white;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Animation State */
#js-hamburger.is-active .l-header__menu-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#js-hamburger.is-active .l-header__menu-line:nth-child(2) {
    opacity: 0;
}

#js-hamburger.is-active .l-header__menu-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ==========================================================================
   Hamburger Menu Fix (Z-Index & Animation Update)
   ========================================================================== */

/* Button Positioning & Z-Index */
/* Button Positioning & Z-Index */
#js-hamburger {
    position: fixed;
    top: 20px;
    /* Safe top margin */
    right: 20px;
    /* Safe right margin to prevent cutoff */
    z-index: 10000;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    background: transparent;
}

@media (min-width: 768px) {
    #js-hamburger {
        display: none;
    }
}

/* Color Control */
#js-hamburger.is-active .l-header__menu-line {
    background-color: white;
}

/* Animation Re-definition */
#js-hamburger.is-active .l-header__menu-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#js-hamburger.is-active .l-header__menu-line:nth-child(2) {
    opacity: 0;
}

#js-hamburger.is-active .l-header__menu-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Ensure Drawer Z-Index & Opacity */
#js-drawer {
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.6);
    /* Transparent Black */
    backdrop-filter: blur(10px);
    /* Frosted Glass Effect */
}

/* Footer SNS Icons */
.l-footer__social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-gray-400);
    font-size: 1.5rem;
    /* ~24px */
    transition: color 0.3s ease, opacity 0.3s ease;
}

.l-footer__social-icon:hover {
    color: white;
    opacity: 0.8;
}


/* Force Font Awesome for Footer Icons */
.l-footer__social-icon i,
.l-footer__social-icon svg {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}


/* Footer SNS Icons (SVG Override) */
.l-footer__social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white !important;
    /* Ensure visibility */
    transition: opacity 0.3s ease;
}

.c-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    pointer-events: none;
}

/* Reset any Font Awesome overrides that might affect SVG */
.l-footer__social-icon svg.c-icon {
    font-family: sans-serif !important;
    font-weight: normal !important;
}

.l-footer__social-icon:hover {
    opacity: 0.7;
}

/* Logo Sizing */
.l-header__logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100px;
    /* Mobile size */
}

@media (min-width: 768px) {
    .l-header__logo-img {
        max-width: 140px;
        /* PC size */
    }
}

.l-footer__logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 120px;
    /* Mobile footer size */
    margin: 0 auto 1rem;
    /* Centered */
}

@media (min-width: 768px) {
    .l-footer__logo-img {
        max-width: 160px;
        /* PC footer size */
        margin: 0 0 1rem 0;
        /* Left align */
    }
}

/* ==========================================================================
   Top Hero Slideshow (Model A Only)
   ========================================================================== */
.p-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.p-hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    /* Hide completely when not active to prevent stacking issues */
    transition: opacity 2.0s ease-in-out, visibility 2.0s step-end;
    /* Visibility transitions after opacity finishes preventing clicks/focus if needed, though pointer-events none handles that usually. 
       Actually, visibility transition step-end ensures it stays visible until opacity is 0. 
       But here we want the opposite for fading IN.
       Let's stick to the prompt's request which focuses on opacity and z-index.
       Prompt: "opacity: 0; transition: opacity 2.0s..."
    */
    transition: opacity 2.0s ease-in-out;
    z-index: 0;
}

/* Active Image (Fading In / Visible) */
.p-hero-slide img.is-active {
    opacity: 1;
    z-index: 2;
    /* Highest priority */
    visibility: visible;
}

/* Previously Active Image (Stays visible behind the new one) */
.p-hero-slide img.is-last-active {
    opacity: 1;
    z-index: 1;
    /* Behind active */
    visibility: visible;
    transition: none;
    /* No transition, just stay there until removed */
}

/* Ensure Subtitle also has text shadow */
.p-top-hero__sub {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}