/*
   TTG SKIN — "Shibuya Signal"
   ─────────────────────────────────────────────────────
   Loaded AFTER main.css. main.css keeps the structural base inherited
   from the Explore Osaka backbone; this layer re-draws the visual
   identity so Tokyo Trip Guide reads as its own site:

     · light header with a red signal band, uppercase Space Grotesk nav
     · split hero: left-aligned headline, vertical 東京 kanji, red-tick stats
     · ink "metro line" destination nav
     · flat bordered cards, red offset-shadow hover
     · squared buttons and search
     · section titles that end on a red full stop
     · ink footer with a giant outlined TOKYO watermark

   Palette / radius / shadow tokens live in main.css :root.
*/

/* ══════════════════════════════════════════════════
   HEADER — light bar, red signal band
   ══════════════════════════════════════════════════ */
.site-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--p2);
}

.site-header::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--r) 0 60%, var(--ink) 60% 100%);
}

.nav-links a {
    font-family: var(--cond);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 0;
    padding: 6px 12px;
    position: relative;
}

.nav-links a:hover {
    background: transparent;
    color: var(--r);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: var(--r);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t) var(--ease);
}

.nav-links > li > a:hover::after {
    transform: scaleX(1);
}

.nav-links > li.is-current > a::after {
    transform: scaleX(1);
}

.nav-links .sub-menu .is-current > a,
.mob-links .is-current > a {
    color: var(--r);
}

.nl-jp {
    color: var(--r);
    font-weight: 400;
}

/* ══════════════════════════════════════════════════
   HERO — left-aligned, vertical kanji, signal grid
   ══════════════════════════════════════════════════ */
.hero {
    background: var(--w);
    min-height: 78vh;
    /* faint vertical hairline grid — "city block" texture */
    background-image: repeating-linear-gradient(90deg,
            transparent 0 139px,
            rgba(22, 16, 15, .04) 139px 140px);
}

.hero-bg {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .35) 60%,
            rgba(255, 255, 255, .96) 100%);
}

/* vertical kanji strip pinned to the right edge */
.hero-watermark {
    justify-content: flex-end;
    align-items: center;
    padding-right: clamp(.5rem, 3vw, 3rem);
}

.hero-watermark-text {
    writing-mode: vertical-rl;
    font-family: var(--jp);
    font-weight: 400;
    font-size: clamp(4.5rem, 11vw, 9.5rem);
    letter-spacing: .28em;
    opacity: .055;
    color: var(--r);
}

.hero-content {
    align-items: flex-start;
    text-align: left;
}

.hero-eyebrow-line {
    border-radius: 0;
    width: 30px;
    height: 3px;
}

.hero-headline {
    font-weight: 800;
    letter-spacing: -.04em;
}

.hero-headline em {
    font-style: normal;
    color: var(--r);
    /* red underline stroke instead of italics */
    background: linear-gradient(to top, rgba(228, 28, 28, .16) 0 .18em, transparent .18em);
}

.hero-sub {
    text-align: left;
}

.hero-search {
    border-radius: var(--r1);
    border: 1.5px solid var(--ink);
    background: var(--w);
    box-shadow: 5px 5px 0 rgba(22, 16, 15, .12);
}

.hero-search:focus-within {
    box-shadow: 5px 5px 0 rgba(228, 28, 28, .25);
}

.hero-cta-row {
    justify-content: flex-start;
}

/* stats: left-aligned with red signal ticks */
.hero-stats > div {
    border-left: 2px solid var(--r);
    padding-left: 14px;
}

.hero-stat-val,
.hero-stat-lbl {
    text-align: left;
}

/* ══════════════════════════════════════════════════
   DESTINATION NAV — ink "metro line" bar
   ══════════════════════════════════════════════════ */
.dest-nav {
    background: var(--ink);
    border-bottom: none;
}

.dest-nav-item {
    color: rgba(255, 255, 255, .62);
    font-family: var(--cond);
    letter-spacing: .04em;
}

.dest-nav-item:hover {
    color: #fff;
    border-bottom-color: rgba(228, 28, 28, .45);
}

.dest-nav-item.active {
    color: #fff;
    border-bottom-color: var(--r);
    background: rgba(228, 28, 28, .12);
}

.dest-nav-item-jp {
    color: rgba(255, 255, 255, .38);
}

.dest-nav-item.active .dest-nav-item-jp {
    color: rgba(255, 255, 255, .7);
}

/* ══════════════════════════════════════════════════
   SECTION HEADERS — red full stop, square dash
   ══════════════════════════════════════════════════ */
.sec-label::before {
    border-radius: 0;
    width: 26px;
    height: 3px;
}

.sec-title::after {
    content: '.';
    color: var(--r);
}

.sec-title {
    font-weight: 800;
    letter-spacing: -.03em;
}

/* ══════════════════════════════════════════════════
   BUTTONS — squared, hard-shadow hover
   ══════════════════════════════════════════════════ */
.btn {
    border-radius: var(--r1);
    font-family: var(--cond);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .76rem;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(22, 16, 15, .85);
}

.btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(228, 28, 28, .8);
}

.btn-gold:hover {
    background: #e0961a;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(22, 16, 15, .85);
}

.hero-search-btn,
.search-modal .search-input-wrap {
    border-radius: 0;
}

/* ══════════════════════════════════════════════════
   CARDS — flat, bordered, red offset hover
   ══════════════════════════════════════════════════ */
.c-card,
.post-card {
    box-shadow: none;
    border: 1px solid var(--p2);
    border-radius: var(--r1);
}

.c-card:hover,
.post-card:hover {
    border-color: var(--ink);
    box-shadow: 7px 7px 0 rgba(228, 28, 28, .10);
    transform: translate(-2px, -2px);
}

.c-card-type,
.post-card .post-cat {
    letter-spacing: .18em;
}

/* ══════════════════════════════════════════════════
   FOOTER — red band + outlined TOKYO watermark
   ══════════════════════════════════════════════════ */
.site-footer {
    border-top: 3px solid var(--r);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: 'TOKYO';
    position: absolute;
    right: -.04em;
    bottom: -.22em;
    font-family: var(--cond);
    font-weight: 700;
    font-size: clamp(6rem, 17vw, 15rem);
    line-height: 1;
    letter-spacing: .02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
    pointer-events: none;
    user-select: none;
}

.site-footer .wrap {
    position: relative;
    z-index: 1;
}

.footer-soc a {
    border-radius: 0;
}

/* ══════════════════════════════════════════════════
   PARTNERS STRIP — link-less badge variant
   ══════════════════════════════════════════════════ */
.partner-logo--static {
    cursor: default;
}

.partner-logo--static:hover {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════════════════════════
   MISC — back-top, focus, selection
   ══════════════════════════════════════════════════ */
.back-top {
    border-radius: var(--r1);
    background: var(--r);
}

.back-top:hover {
    background: var(--ink);
}

::selection {
    background: var(--r);
    color: #fff;
}

/* mobile: hide the kanji strip so it never crowds the headline */
@media (max-width: 860px) {
    .hero-watermark {
        display: none;
    }

    .hero {
        min-height: auto;
    }
}
