:root {
    --china-yellow: #d8a914;
    --china-yellow-light: #f3d66a;
    --china-yellow-pale: #f8edbc;
    --china-red: #8f1f1c;
    --china-red-dark: #601411;
    --ink: #17120d;
    --ink-soft: #34281c;
    --wood: #4a2d1d;
    --paper: #fff9df;
    --cream: #f9efc2;
    --white: #fffdf4;
    --shadow: 0 22px 60px rgba(60, 35, 8, 0.16);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-height: 86px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.30), transparent 24rem),
        radial-gradient(circle at 88% 76%, rgba(143,31,28,.09), transparent 26rem),
        linear-gradient(180deg, #e4b72c 0%, #d8a914 54%, #c9980b 100%);
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    display: block;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    color: var(--white);
    background: var(--china-red);
}

/* =========================================================
   BACKGROUND / DECORATION
========================================================= */

.han-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.han-background span {
    position: absolute;
    font-family: "Noto Serif SC", serif;
    font-weight: 900;
    color: rgba(84, 50, 0, 0.075);
    line-height: 1;
    user-select: none;
}

.han-background span:nth-child(1) { font-size: clamp(10rem, 20vw, 22rem); left: -3vw; top: 8vh; transform: rotate(-8deg); }
.han-background span:nth-child(2) { font-size: clamp(8rem, 17vw, 19rem); right: -2vw; top: 2vh; transform: rotate(9deg); }
.han-background span:nth-child(3) { font-size: clamp(9rem, 18vw, 20rem); left: 9vw; top: 44vh; transform: rotate(6deg); }
.han-background span:nth-child(4) { font-size: clamp(8rem, 16vw, 18rem); right: 8vw; top: 38vh; transform: rotate(-10deg); }
.han-background span:nth-child(5) { font-size: clamp(9rem, 18vw, 20rem); left: 38vw; top: 70vh; transform: rotate(4deg); }
.han-background span:nth-child(6) { font-size: clamp(7rem, 14vw, 16rem); right: 2vw; top: 84vh; transform: rotate(-6deg); }
.han-background span:nth-child(7) { font-size: clamp(8rem, 15vw, 17rem); left: 1vw; top: 108vh; transform: rotate(7deg); }

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 100px 0;
}

.section-kicker,
.eyebrow {
    margin: 0 0 12px;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--china-red-dark);
}

.section-kicker.light {
    color: var(--china-yellow-light);
}

h1,
h2,
h3 {
    font-family: "Noto Serif SC", Georgia, serif;
    letter-spacing: -.03em;
    line-height: 1.06;
    margin-top: 0;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 7rem);
    max-width: 9ch;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2.25rem, 4vw, 4.5rem);
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

p {
    margin-top: 0;
}

/* =========================================================
   PROMO TICKER
========================================================= */

.promo-ticker {
    position: relative;
    z-index: 120;
    overflow: hidden;
    background: var(--china-red-dark);
    color: #ffe993;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.promo-track {
    display: flex;
    width: max-content;
    gap: 44px;
    padding: 10px 0;
    white-space: nowrap;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .11em;
    animation: promoTicker 30s linear infinite;
}

.promo-ticker:hover .promo-track {
    animation-play-state: paused;
}

@keyframes promoTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 110;
    height: var(--header-height);
    background: rgba(255, 244, 185, .88);
    border-bottom: 1px solid rgba(69, 42, 11, .16);
    backdrop-filter: blur(16px);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 34px rgba(68, 39, 6, .12);
    background: rgba(255, 247, 205, .95);
}

.site-header.header-hidden {
    transform: translateY(-105%);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: max-content;
}

.brand-seal {
    display: grid;
    place-items: center;
    width: 48px;
    aspect-ratio: 1;
    border: 2px solid var(--china-red);
    color: var(--china-red-dark);
    border-radius: 50%;
    font-family: "Noto Serif SC", serif;
    font-size: 1.5rem;
    font-weight: 900;
    position: relative;
}

.brand-seal::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid var(--china-red);
    border-radius: 50%;
    opacity: .65;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: "Noto Serif SC", serif;
    font-size: .97rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.brand-copy small {
    margin-top: 6px;
    font-size: .69rem;
    color: rgba(23, 18, 13, .62);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    color: var(--white);
    background: var(--china-red-dark);
}

.main-nav a:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    padding: 12px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--china-yellow-light);
    transition: transform .25s ease, opacity .25s ease;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--china-red-dark);
    box-shadow: 0 12px 24px rgba(96, 20, 17, .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--china-red);
}

.btn-ghost {
    border-color: rgba(35, 20, 5, .32);
    background: rgba(255, 248, 208, .38);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.btn-dark {
    background: var(--ink);
    color: var(--china-yellow-light);
}

.btn-yellow {
    background: var(--china-yellow-light);
    color: var(--ink);
    box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    padding-top: 88px;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 520px;
    height: 520px;
    right: -180px;
    top: 60px;
    border: 1px solid rgba(84, 50, 0, .17);
    box-shadow: inset 0 0 0 32px rgba(255,255,255,.05), inset 0 0 0 33px rgba(84, 50, 0, .08);
}

.hero::after {
    width: 260px;
    height: 260px;
    left: -110px;
    bottom: 20px;
    border: 34px solid rgba(143,31,28,.055);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(44px, 7vw, 100px);
    align-items: center;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 30px;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: rgba(23,18,13,.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(60, 34, 6, .22);
}

.hero-facts div {
    display: flex;
    flex-direction: column;
}

.hero-facts strong {
    font-family: "Noto Serif SC", serif;
    font-size: 1.12rem;
}

.hero-facts span {
    font-size: .78rem;
    color: rgba(23,18,13,.6);
}

.hero-visual {
    position: relative;
}

.hero-picture-wrap {
    position: relative;
    isolation: isolate;
    padding: 18px;
    border-radius: 46% 46% 24px 24px;
    background: linear-gradient(160deg, rgba(255,255,255,.36), rgba(107,65,5,.08));
    border: 1px solid rgba(74,45,29,.25);
    box-shadow: var(--shadow);
}

.hero-picture-wrap::before {
    content: "";
    position: absolute;
    inset: 9px;
    z-index: -1;
    border-radius: inherit;
    border: 2px solid rgba(96,20,17,.18);
}

.hero-picture-wrap img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 43% 43% 14px 14px;
}

.round-seal {
    position: absolute;
    right: -20px;
    bottom: 42px;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--china-red-dark);
    color: #ffd75a;
    font-family: "Noto Serif SC", serif;
    font-size: 2.5rem;
    border: 6px solid var(--china-yellow-light);
    box-shadow: 0 16px 32px rgba(49,19,5,.22);
}

/* =========================================================
   INTRO / SPLIT
========================================================= */

.intro-section {
    background: rgba(255, 248, 212, .68);
    border-block: 1px solid rgba(70,42,8,.12);
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 8vw, 110px);
    align-items: center;
}

.portrait-card {
    margin: 0;
    padding: 16px;
    background: #3b2418;
    color: #f6df85;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
}

.portrait-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 224, 117, .35);
}

.portrait-card figcaption {
    padding: 15px 4px 2px;
    font-size: .84rem;
    letter-spacing: .04em;
}

.section-copy {
    max-width: 760px;
}

.rich-copy {
    font-size: 1.05rem;
    color: rgba(23,18,13,.76);
}

.rich-copy p:last-child {
    margin-bottom: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 700;
}

.feature-list li::before {
    content: "和";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--china-red-dark);
    font-family: "Noto Serif SC", serif;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.center {
    text-align: center;
    margin-inline: auto;
}

.section-heading > p:last-child {
    color: rgba(23,18,13,.68);
}

/* =========================================================
   PRICES
========================================================= */

.prices-section {
    overflow: hidden;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 34px;
    border-radius: var(--radius-md);
    background: rgba(255, 247, 203, .72);
    border: 1px solid rgba(60,34,6,.15);
    box-shadow: 0 18px 44px rgba(70,42,7,.10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.price-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 54px rgba(70,42,7,.17);
}

.price-card.featured {
    background: var(--china-red-dark);
    color: var(--white);
    transform: translateY(-12px);
    border-color: transparent;
}

.price-card.featured:hover {
    transform: translateY(-18px);
}

.price-card h3 {
    margin-bottom: 16px;
}

.price-card p {
    color: rgba(23,18,13,.66);
}

.price-card.featured p {
    color: rgba(255,255,255,.74);
}

.price-duration {
    display: block;
    margin-bottom: 24px;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .17em;
    color: var(--china-red-dark);
}

.featured .price-duration {
    color: var(--china-yellow-light);
}

.best-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--china-yellow-light);
    color: var(--china-red-dark);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.price {
    display: block;
    margin: auto 0 22px;
    font-family: "Noto Serif SC", serif;
    font-size: 3rem;
    line-height: 1;
}

.text-link {
    width: fit-content;
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* =========================================================
   SHIP VIDEO
========================================================= */

.video-section {
    background:
        linear-gradient(rgba(32,20,12,.88), rgba(32,20,12,.88)),
        repeating-linear-gradient(90deg, #4d311f 0 12px, #563721 12px 24px);
    color: var(--white);
    overflow: hidden;
}

.video-section::before {
    content: "海";
    position: absolute;
    right: 3vw;
    top: 2vh;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(12rem, 28vw, 28rem);
    color: rgba(255, 213, 76, .035);
    line-height: 1;
}

.video-section .section-kicker {
    color: var(--china-yellow-light);
}

.video-section .section-heading > p:last-child {
    color: rgba(255,255,255,.7);
}

.ship-stage {
    position: relative;
    max-width: 980px;
    margin: 110px auto 40px;
    padding: 0 42px 72px;
}

.ship-mast {
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: 165px;
    width: 12px;
    height: 370px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3a2115, #885d36 48%, #3a2115);
    border-radius: 9px;
    box-shadow: 0 4px 10px rgba(0,0,0,.28);
}

.ship-sail {
    position: absolute;
    z-index: 0;
    bottom: 255px;
    width: 220px;
    height: 245px;
    border: 2px solid rgba(255,227,132,.35);
    background:
        linear-gradient(rgba(255,241,186,.10), rgba(255,241,186,.03)),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,228,129,.18) 39px 41px);
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.24));
}

.sail-left {
    left: 7%;
    clip-path: polygon(100% 0, 100% 100%, 0 82%, 0 20%);
}

.sail-right {
    right: 7%;
    clip-path: polygon(0 0, 100% 20%, 100% 82%, 0 100%);
}

.ship-roof {
    position: absolute;
    z-index: 2;
    top: -58px;
    left: 50%;
    width: min(670px, 77%);
    height: 88px;
    transform: translateX(-50%);
    border-radius: 50% 50% 16px 16px / 100% 100% 14px 14px;
    background:
        repeating-linear-gradient(90deg, #571b17 0 22px, #6e241e 22px 44px);
    border: 4px solid #2d160f;
    box-shadow: 0 16px 30px rgba(0,0,0,.25);
}

.ship-roof::before,
.ship-roof::after {
    content: "";
    position: absolute;
    bottom: -12px;
    width: 80px;
    height: 28px;
    background: #571b17;
    border-bottom: 4px solid #2d160f;
}

.ship-roof::before {
    left: -46px;
    transform: skewX(-35deg);
}

.ship-roof::after {
    right: -46px;
    transform: skewX(35deg);
}

.ship-video-frame {
    position: relative;
    z-index: 3;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 12px solid #4e2e1c;
    outline: 2px solid #b88c39;
    border-radius: 12px;
    background: #120d09;
    box-shadow: 0 26px 60px rgba(0,0,0,.4);
}

.ship-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0e0907;
}

.video-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 30px;
    color: rgba(255,255,255,.85);
    background: linear-gradient(135deg, rgba(17,9,4,.58), rgba(72,38,15,.42));
    pointer-events: none;
}

.video-empty.hidden {
    display: none;
}

.video-play {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,221,105,.7);
    border-radius: 50%;
    background: rgba(102,26,20,.8);
    color: var(--china-yellow-light);
    font-size: 1.4rem;
    padding-left: 4px;
}

.video-empty small {
    color: rgba(255,255,255,.62);
}

.ship-hull {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0;
    width: 86%;
    height: 108px;
    transform: translateX(-50%);
    border-radius: 8px 8px 50% 50% / 8px 8px 100% 100%;
    background:
        linear-gradient(180deg, rgba(255,255,255,.05), transparent 28%),
        repeating-linear-gradient(0deg, #5e351f 0 14px, #4a2818 14px 28px);
    border: 4px solid #2b160e;
    box-shadow: 0 24px 44px rgba(0,0,0,.4);
}

.ship-hull span {
    position: absolute;
    top: 22px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #b98d3e;
    background: #1b110c;
}

.ship-hull span:nth-child(1) { left: 15%; }
.ship-hull span:nth-child(2) { left: 32%; }
.ship-hull span:nth-child(3) { left: 49%; }
.ship-hull span:nth-child(4) { left: 66%; }
.ship-hull span:nth-child(5) { left: 83%; }

/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    background: rgba(250, 239, 194, .58);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 252, 235, .9);
    border: 1px solid rgba(69,42,11,.13);
    box-shadow: 0 18px 44px rgba(67,39,8,.10);
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 58px rgba(67,39,8,.17);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #c99918;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(61,32,8,.22));
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.product-body {
    padding: 26px;
}

.product-type {
    display: block;
    margin-bottom: 9px;
    color: var(--china-red-dark);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.product-body h3 {
    margin-bottom: 12px;
}

.product-body p {
    color: rgba(23,18,13,.66);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(62,36,7,.12);
}

.product-footer strong {
    font-size: 1.35rem;
}

.product-footer span {
    font-size: .8rem;
    color: rgba(23,18,13,.58);
}

/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy-section {
    overflow: hidden;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    align-items: center;
    gap: 60px;
}

.philosophy-mark {
    display: grid;
    place-items: center;
    width: min(330px, 70vw);
    aspect-ratio: 1;
    margin-inline: auto;
    border: 2px solid rgba(96,20,17,.45);
    border-radius: 50%;
    color: var(--china-red-dark);
    font-family: "Noto Serif SC", serif;
    font-size: clamp(7rem, 17vw, 12rem);
    box-shadow: inset 0 0 0 22px rgba(255, 247, 209, .23), inset 0 0 0 23px rgba(96,20,17,.18);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding-top: 45px;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 44px;
    align-items: center;
    padding: clamp(36px, 6vw, 70px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 85% 20%, rgba(235,184,36,.16), transparent 17rem),
        var(--china-red-dark);
    color: var(--white);
    box-shadow: 0 28px 64px rgba(74,24,15,.22);
}

.contact-panel h2 {
    margin-bottom: 16px;
}

.contact-panel p:last-child {
    margin-bottom: 0;
    color: rgba(255,255,255,.72);
    max-width: 620px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.contact-link {
    color: rgba(255,255,255,.88);
    text-underline-offset: 4px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 46px 0;
    background: #17100b;
    color: rgba(255,255,255,.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 28px;
}

.footer-grid strong {
    color: var(--white);
    font-family: "Noto Serif SC", serif;
}

.footer-grid p {
    margin-bottom: 0;
    font-size: .84rem;
}

.footer-nav {
    display: flex;
    gap: 18px;
}

.footer-nav a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-size: .84rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--china-yellow-light);
}

.back-to-top {
    position: fixed;
    z-index: 100;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--china-yellow-light);
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal[data-delay="1"] { transition-delay: .10s; }
.reveal[data-delay="2"] { transition-delay: .20s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   CMS STATUS (only visible with ?cmsdebug=1)
========================================================= */

.cms-debug-badge {
    position: fixed;
    z-index: 999;
    left: 12px;
    bottom: 12px;
    max-width: min(520px, calc(100vw - 24px));
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(10,10,10,.92);
    color: #fff;
    font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.cms-debug-badge.ok { border-left: 4px solid #8ed081; }
.cms-debug-badge.warn { border-left: 4px solid #f0bf5a; }
.cms-debug-badge.error { border-left: 4px solid #ef7b75; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
    :root {
        --header-height: 78px;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 122;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 121;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
        padding: 110px 28px 40px;
        background: rgba(255, 240, 167, .985);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 14px 18px;
        border-radius: 12px;
        font-family: "Noto Serif SC", serif;
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .hero {
        min-height: 0;
    }

    .hero-grid,
    .split-grid,
    .philosophy-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 650px;
        margin-inline: auto;
    }

    .price-grid,
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-inline: auto;
    }

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-7px);
    }

    .ship-stage {
        margin-top: 92px;
        padding-inline: 10px;
    }

    .ship-sail {
        opacity: .48;
    }

    .ship-hull {
        width: 96%;
    }

    .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 76px 0;
    }

    .hero {
        padding-top: 62px;
    }

    h1 {
        font-size: clamp(2.85rem, 14vw, 4.7rem);
    }

    h2 {
        font-size: clamp(2.15rem, 10vw, 3.4rem);
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: .83rem;
    }

    .brand-seal {
        width: 42px;
    }

    .hero-facts {
        grid-template-columns: 1fr;
    }

    .hero-facts div {
        display: grid;
        grid-template-columns: 120px 1fr;
        align-items: baseline;
    }

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

    .price-card {
        padding: 28px;
        min-height: 340px;
    }

    .ship-stage {
        margin-top: 76px;
        padding-bottom: 58px;
    }

    .ship-roof {
        top: -42px;
        height: 62px;
        width: 78%;
    }

    .ship-sail,
    .ship-mast {
        display: none;
    }

    .ship-video-frame {
        border-width: 7px;
    }

    .ship-hull {
        height: 82px;
    }

    .ship-hull span {
        width: 14px;
        height: 14px;
        top: 17px;
    }

    .contact-panel {
        padding: 34px 24px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .contact-link {
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .promo-track {
        transform: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
