:root {
    --color-ink: #1f1f1c;
    --color-paper: #f6f3ed;
    --color-white: #f8f4eb;
    --header-height: 76px;
    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #11100e;
    color: var(--color-white);
    font-family: var(--font-serif);
    line-height: 1.9;
    letter-spacing: 0;
}

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

button {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: var(--header-height);
    padding: 0 clamp(22px, 4vw, 58px);
    color: var(--color-white);
}

.logo {
    display: none;
}

.global-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(18px, 3vw, 38px);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.global-nav a {
    opacity: 0.84;
    transition: opacity 0.35s ease;
}

.global-nav a:hover {
    opacity: 1;
}

.brand-mark {
    position: fixed;
    z-index: 31;
    top: 28px;
    left: 34px;
    display: block;
    width: 88px;
    opacity: 0;
    pointer-events: auto;
    animation: brandMarkReveal 0.72s ease 8.82s both;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: auto;
    filter: invert(1);
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #141210;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -4;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.2s ease-out;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0;
    animation: heroSliderReveal 1.2s ease 8.8s both;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.1s ease, transform 1.8s ease;
}

.hero-slide-01 {
    background-image: url("../img/hero-bg-01.jpg");
}

.hero-slide-02 {
    background-image: url("../img/hero-bg-02.jpg");
}

.hero-slide-03 {
    background-image: url("../img/hero-bg-03.jpg");
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 9, 8, 0.18), rgba(10, 9, 8, 0.1) 52%, rgba(10, 9, 8, 0.64)),
        rgba(0, 0, 0, 0.28);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(40px, 9vw, 120px);
    width: min(1120px, calc(100% - 96px));
    min-height: 100svh;
    margin: 0 auto;
    padding: var(--header-height) 0 76px;
    color: var(--color-white);
}

.hero-sub {
    justify-self: center;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vertical-text {
    justify-self: end;
    margin: 0;
    font-size: clamp(40px, 4.9vw, 64px);
    font-weight: 500;
    line-height: 1.72;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
}

.hero .hero-sub,
.hero .vertical-text {
    opacity: 0;
    transform: translateY(18px);
    animation: heroCopyReveal 1.8s ease 8.75s both;
}

.hero-slide-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(248, 244, 235, 0.68);
    border-radius: 50%;
    background: rgba(16, 15, 13, 0.14);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: background 0.3s ease, border-color 0.3s ease;
    animation: heroCopyReveal 1.2s ease 9.1s both;
}

.hero-slide-control::before {
    display: block;
    width: 11px;
    height: 11px;
    border-top: 1px solid var(--color-white);
    border-left: 1px solid var(--color-white);
    content: "";
}

.hero-slide-control:hover {
    border-color: var(--color-white);
    background: rgba(248, 244, 235, 0.12);
}

.hero-slide-prev {
    left: clamp(24px, 4vw, 54px);
}

.hero-slide-prev::before {
    transform: translateX(2px) rotate(-45deg);
}

.hero-slide-next {
    right: clamp(24px, 4vw, 54px);
}

.hero-slide-next::before {
    transform: translateX(-2px) rotate(135deg);
}

.slide-dots {
    position: absolute;
    z-index: 4;
    bottom: 34px;
    left: 50%;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateX(-50%);
    animation: slideDotsReveal 1.2s ease 9.1s both;
}

.slide-dots button {
    display: block;
    width: 30px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(248, 244, 235, 0.86);
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.slide-dots button.is-active {
    width: 46px;
    opacity: 1;
}

.scroll-sign {
    position: absolute;
    right: clamp(22px, 4vw, 58px);
    bottom: 34px;
    color: rgba(248, 244, 235, 0.74);
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-sign::after {
    display: block;
    width: 1px;
    height: 54px;
    margin: 12px auto 0;
    background: currentColor;
    content: "";
    opacity: 0.52;
}

.logo-intro {
    position: absolute;
    z-index: 24;
    top: 42%;
    left: 18%;
    width: clamp(156px, 15vw, 230px);
    pointer-events: none;
    animation:
        logoGroupToHeader 8.8s cubic-bezier(0.62, 0, 0.28, 1) 0.2s both,
        logoIntroExit 0.28s ease 8.78s forwards;
}

.logo-intro-mark {
    position: absolute;
    top: -150%;
    left: 0;
    aspect-ratio: 1 / 1;
    width: 100%;
    animation: logoIntro 6.1s cubic-bezier(0.62, 0, 0.28, 1) 0.2s both;
}

.logo-intro-parts {
    position: absolute;
    inset: 0;
    animation: logoPartHide 8.8s linear 0.2s both;
}

.logo-intro-complete {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: auto;
    filter: invert(1);
    opacity: 0;
    z-index: 8;
    animation: logoCompleteReveal 8.8s linear 0.2s both;
}

.logo-intro-mark img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: auto;
    filter: invert(1);
    opacity: 0.92;
}

.logo-intro-body {
    clip-path: inset(0 0 28% 0);
}

.logo-intro-foot {
    transform-origin: 50% 79%;
}

.logo-intro-foot-left {
    clip-path: inset(72% 55% 14% 18%);
    animation: logoLeftFoot 1.05s ease-in-out 0.55s 5 both;
}

.logo-intro-foot-right {
    clip-path: inset(72% 18% 14% 54%);
    animation: logoRightFoot 1.05s ease-in-out 0.55s 5 both;
}

.logo-intro-word {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 300;
    line-height: 1.18;
    opacity: 0.96;
    z-index: 3;
}

.logo-intro-word span {
    display: block;
}

.section,
.page-section {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    border-top: 0;
    background: #12110f;
    color: var(--color-white);
}

.section-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(6, 6, 5, 0.78), rgba(6, 6, 5, 0.48) 48%, rgba(6, 6, 5, 0.84)),
        url("../img/section-bg-clean.jpg");
    background-position: center;
    background-size: cover;
}

.section-bg::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.24);
    content: "";
}

.page-container {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 80px));
    min-height: 100svh;
    margin: 0 auto;
    padding: calc(var(--header-height) + 44px) 0 58px;
}

.story-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 130px minmax(0, 640px) minmax(200px, 1fr);
    align-items: center;
    gap: clamp(34px, 6vw, 76px);
}

.concept-layout,
.story-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.concept-copy,
.story-copy {
    max-width: 860px;
    margin-left: clamp(72px, 9vw, 150px);
}

.concept-copy h2,
.story-copy h2 {
    margin: 0 0 24px;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.concept-copy .copy-lead,
.story-copy .copy-lead {
    margin-bottom: 58px;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 400;
}

.concept-copy p,
.story-copy p {
    max-width: 850px;
    line-height: 1.88;
}

.contact-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-layout .section-copy {
    max-width: 620px;
    margin: 0 auto;
}

.contact-layout .section-copy p {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
}

.vertical-section-title {
    justify-self: center;
    margin: 0;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.9;
    writing-mode: vertical-rl;
}

.section-copy {
    max-width: 640px;
    color: rgba(248, 244, 235, 0.94);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.84;
}

.section-copy h2,
.section-copy h3 {
    margin: 0 0 28px;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 500;
    line-height: 1.5;
}

.section-copy p {
    margin: 0 0 1.18em;
}

.copy-lead {
    display: flex;
    align-items: center;
    gap: 22px;
}

.copy-lead::before {
    display: block;
    width: 70px;
    height: 1px;
    background: rgba(248, 244, 235, 0.72);
    content: "";
}

.news-layout,
.project-layout,
.qa-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 100svh;
}

#product {
    min-height: 200svh;
}

.product-detail-bg {
    top: 100svh;
    bottom: auto;
    height: 100svh;
    opacity: 1;
    transition: opacity 0.7s ease;
}

.product-entry-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 100svh;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.06)),
        url("../img/product-entry-room.png?v=20260619") center / cover;
    transition: opacity 0.7s ease, transform 1.2s ease;
}

.product-entry-bg::after {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    content: "";
}

.product-entry,
.product-detail {
    width: 100%;
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.product-entry {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100svh;
    color: #fff;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.36);
}

.product-hotspot {
    position: relative;
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-hotspot::after {
    position: absolute;
    left: 50%;
    bottom: -34px;
    padding: 6px 11px;
    background: rgba(18, 17, 15, 0.72);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    content: "VIEW PRODUCT";
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-hotspot:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.04);
}

.product-hotspot:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-hotspot-monitor {
    left: 31.5%;
    top: 28%;
    width: 10.5%;
    height: 15%;
}

.product-hotspot-chair {
    left: 19.5%;
    top: 39%;
    width: 13%;
    height: 30%;
}

.product-hotspot-sofa {
    right: 7.5%;
    top: 44%;
    width: 25%;
    height: 34%;
}

.product-material-placeholder {
    background: #fff;
}

.product-detail {
    display: block;
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(34px, 5vw, 72px);
    width: 100%;
}

.product-item {
    min-width: 0;
    color: var(--color-white);
}

.product-link {
    display: block;
}

.product-disabled {
    opacity: 0.78;
}

.img-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(248, 244, 235, 0.64);
    background: rgba(255, 255, 255, 0.88);
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(0.96);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.product-link:hover .product-image img {
    transform: scale(1.035);
    filter: saturate(1) contrast(1);
}

.product-coming span,
.img-placeholder span {
    color: #111;
    font-family: var(--font-sans);
    font-size: 20px;
    letter-spacing: 0.03em;
}

.product-item h3 {
    margin: 22px 0 8px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-transform: none;
}

.product-item p {
    margin: 0;
    color: rgba(248, 244, 235, 0.9);
    font-size: 15px;
    line-height: 1.85;
}

.news-list,
.qa-list {
    width: min(880px, 100%);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-family: var(--font-sans);
}

.news-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 18px;
    padding: 18px 28px;
    border-top: 1px solid rgba(248, 244, 235, 0.72);
    color: var(--color-white);
    font-size: clamp(16px, 1.7vw, 23px);
    text-decoration: none;
    transition: background 0.35s ease, padding-left 0.35s ease;
}

.news-list li:last-child .news-item {
    border-bottom: 1px solid rgba(248, 244, 235, 0.72);
}

.news-item:hover {
    padding-left: 36px;
    background: rgba(248, 244, 235, 0.06);
}

.news-arrow {
    justify-self: end;
    font-weight: 300;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 260px;
    min-height: 68px;
    margin-top: 64px;
    border: 2px solid rgba(248, 244, 235, 0.88);
    border-radius: 999px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 20px;
}

.team-block {
    width: min(820px, 100%);
    margin-left: 110px;
    color: var(--color-white);
}

.team-block h2,
.team-block h3,
.team-block h4 {
    margin: 0 0 22px;
    font-family: var(--font-sans);
    font-size: 24px;
    line-height: 1.45;
}

.team-block p {
    margin: 0 0 34px;
    font-size: clamp(17px, 1.8vw, 24px);
    line-height: 1.7;
}

.brand-name {
    font-family: var(--font-sans);
    font-weight: 600;
}

.project-layout {
    align-items: flex-start;
}

.project-copy {
    margin-left: clamp(58px, 8vw, 112px);
}

.project-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 700;
}

.project-copy h3 {
    margin-bottom: 30px;
    font-family: var(--font-serif);
    font-size: clamp(23px, 2.3vw, 31px);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.project-copy h4 {
    margin: 54px 0 18px;
    font-size: clamp(20px, 1.9vw, 27px);
    font-weight: 700;
}

.project-copy p {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.8;
}

.project-logos {
    display: flex;
    align-items: center;
    gap: clamp(48px, 6vw, 80px);
}

.project-logo-image {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.project-logo-yoshimoto {
    max-width: min(260px, 42vw);
    max-height: 42px;
}

.project-logo-trims {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 118px;
    padding-top: 10px;
    font-weight: 800;
    line-height: 1;
}

.project-logo-trims::before {
    position: absolute;
    top: 0;
    width: 96px;
    height: 36px;
    border-top: 10px solid #d7242f;
    border-radius: 90px 90px 0 0;
    content: "";
}

.project-logo-trims span {
    position: relative;
    font-size: clamp(28px, 3vw, 40px);
}

.project-logo-trims small {
    position: relative;
    font-size: clamp(18px, 1.8vw, 24px);
}

.project-logo-fabbrica {
    max-width: min(280px, 54vw);
    max-height: 62px;
}

.qa-list {
    border-top: 1px solid rgba(248, 244, 235, 0.8);
}

.qa-item {
    border-bottom: 1px solid rgba(248, 244, 235, 0.8);
}

.qa-question {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 88px;
    padding: 22px 6px 20px 10px;
    border: 0;
    background: transparent;
    color: var(--color-white);
    text-align: left;
    cursor: pointer;
    appearance: none;
    writing-mode: horizontal-tb;
}

.qa-question span,
.qa-mark,
.qa-title {
    display: inline-block;
    background: transparent;
    color: var(--color-white);
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 400;
    line-height: 1.55;
    white-space: normal;
    writing-mode: horizontal-tb;
}

.qa-mark {
    flex: 0 0 34px;
}

.qa-title {
    flex: 1 1 auto;
    min-width: 0;
}

.qa-toggle {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(248, 244, 235, 0.9);
    border-radius: 50%;
}

.qa-toggle::before,
.qa-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1px;
    background: var(--color-white);
    content: "";
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

.qa-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.qa-item.is-open .qa-toggle::after {
    opacity: 0;
}

.qa-answer {
    display: none;
    padding: 0 74px 30px 62px;
    color: rgba(248, 244, 235, 0.9);
    font-size: 16px;
    line-height: 1.85;
}

.qa-item.is-open .qa-answer {
    display: block;
}

.qa-answer p {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 28px;
    border: 1px solid rgba(248, 244, 235, 0.56);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: #12110f;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

.fade-in-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes logoIntro {
    0% {
        opacity: 0;
        transform: translate(74vw, 4vh) scale(1.05);
    }

    18% {
        opacity: 1;
        transform: translate(50vw, 5vh) scale(1.05);
    }

    44% {
        opacity: 1;
        transform: translate(25vw, 4vh) scale(1.02);
    }

    66% {
        opacity: 1;
        transform: translate(8vw, -28vh) scale(0.9) rotate(-2deg);
    }

    82% {
        opacity: 1;
        transform: translate(0, -112%) scale(0.78) rotate(-3deg);
    }

    90% {
        opacity: 1;
        transform: translate(0, -76%) scale(0.78) rotate(0deg);
    }

    96% {
        opacity: 1;
        transform: translate(0, -88%) scale(0.8) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: translate(0, -82%) scale(0.78) rotate(0deg);
    }
}

@keyframes logoGroupToHeader {
    0%,
    78% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(calc(-18vw + 46px), calc(-42vh + 94px)) scale(0.52);
    }
}

@keyframes logoCompleteReveal {
    0%,
    74% {
        opacity: 0;
    }

    77%,
    100% {
        opacity: 0.92;
    }
}

@keyframes logoIntroExit {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes brandMarkReveal {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoPartHide {
    0%,
    72% {
        opacity: 1;
    }

    75%,
    100% {
        opacity: 0;
    }
}

@keyframes heroCopyReveal {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDotsReveal {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes heroSliderReveal {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes logoLeftFoot {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-4.5%, -2.5%) rotate(-7deg);
    }
}

@keyframes logoRightFoot {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(4.5%, -2.5%) rotate(7deg);
    }
}

@media screen and (max-width: 820px) {
    :root {
        --header-height: 64px;
    }

    .site-header {
        padding: 0 18px;
    }

    .global-nav {
        gap: 9px 13px;
        max-width: calc(100% - 90px);
        font-size: 9px;
        letter-spacing: 0.04em;
    }

    .brand-mark {
        top: 18px;
        left: 18px;
        width: 72px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-video {
        display: none !important;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(11, 10, 9, 0.28), rgba(11, 10, 9, 0.2) 46%, rgba(11, 10, 9, 0.62)),
            rgba(0, 0, 0, 0.2);
    }

    .hero-content {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-end;
        width: calc(100% - 40px);
        min-height: 100svh;
        padding: calc(var(--header-height) + 92px) 0 104px;
    }

    .hero-sub {
        justify-self: start;
        font-size: 10px;
    }

    .vertical-text {
        justify-self: start;
        font-size: clamp(29px, 8vw, 38px);
        line-height: 1.55;
        letter-spacing: 0.03em;
        writing-mode: horizontal-tb;
    }

    .hero-slide-control {
        top: auto;
        bottom: 24px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .hero-slide-prev {
        left: 22px;
    }

    .hero-slide-next {
        right: 72px;
    }

    .slide-dots {
        bottom: 38px;
    }

    .slide-dots button {
        width: 22px;
        height: 2px;
    }

    .scroll-sign {
        right: 18px;
        bottom: 22px;
    }

    .logo-intro {
        top: 42%;
        left: 17%;
        width: 132px;
    }

    .logo-intro-mark {
        animation-duration: 5.4s;
    }

    .logo-intro-word {
        font-size: 34px;
    }

    .logo-intro-foot-left,
    .logo-intro-foot-right {
        animation-duration: 0.92s;
    }

    .section,
    .page-section {
        min-height: auto;
    }

    .page-container {
        width: calc(100% - 40px);
        min-height: auto;
        padding: 100px 0 82px;
    }

    .concept-layout,
    .story-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .concept-layout,
    .story-layout {
        display: flex;
    }

    .concept-copy,
    .story-copy {
        margin-left: 0;
    }

    .concept-copy h2,
    .story-copy h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .concept-copy .copy-lead,
    .story-copy .copy-lead {
        margin-bottom: 30px;
        font-size: 20px;
    }

    .vertical-section-title {
        justify-self: start;
        font-size: clamp(25px, 7vw, 34px);
        writing-mode: horizontal-tb;
    }

    .copy-lead {
        display: block;
        font-size: 20px;
    }

    .copy-lead::before {
        margin-bottom: 16px;
    }

    .section-copy {
        font-size: 14px;
        line-height: 1.78;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-entry h2 {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 40px);
    }

    .product-point-list {
        grid-template-columns: 1fr;
    }

    .product-point {
        min-height: 120px;
    }

    .product-detail {
        width: calc(100% - 40px);
    }

    .news-item {
        grid-template-columns: 1fr 28px;
        gap: 10px;
        padding: 15px 0;
        font-size: 16px;
    }

    .news-date {
        grid-column: 1 / 2;
        font-size: 14px;
        opacity: 0.78;
    }

    .news-title {
        grid-column: 1 / 2;
    }

    .news-arrow {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        justify-self: end;
    }

    .team-block {
        margin-left: 0;
    }

    .project-copy {
        margin-left: 0;
    }

    .project-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .project-copy h4 {
        margin-top: 38px;
    }

    .qa-question {
        gap: 10px;
        min-height: 78px;
        padding: 20px 0;
    }

    .qa-mark,
    .qa-title {
        font-size: 18px;
    }

    .qa-toggle {
        width: 32px;
        height: 32px;
    }

    .qa-answer {
        padding: 0 0 24px 38px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .logo-intro {
        display: none;
    }

    .brand-mark,
    .hero-slider,
    .slide-dots,
    .hero-slide-control,
    .hero .hero-sub,
    .hero .vertical-text {
        opacity: 1;
        animation: none;
    }
}
