/*
Theme Name: 水俣龍舟 (Seribune)
Theme URI:
Author:
Description: Converted from static HTML — 水俣龍舟 / MINAMATA DRAGON BOAT
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: seribune
*/

:root {
    --ink-black: #0a0a0a;
    --pure-white: #fafafa;
    --off-white: #f0f0f0;
    --gray-mid: #888;
    --gray-dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background: var(--ink-black);
    color: var(--pure-white);
    overflow-x: hidden;
    cursor: default;
}

/* ── Custom Cursor ── */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--pure-white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.15s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: scale(2);
    background: var(--pure-white);
}

/* ── Noise Overlay ── */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
}

.nav-logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--pure-white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 0.3rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--pure-white);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 201;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--pure-white);
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ── */
.hero {
    height: 100vh;
    min-height: 600px;
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(12rem, 28vw, 38rem);
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    user-select: none;
    z-index: 1;
    top: 50%;
    left: -3%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    z-index: 2;
}

.title-container { position: relative; }

.main-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    animation: titleReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes titleReveal {
    0%   { opacity: 0; transform: translateY(60px) skewY(5deg); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) skewY(0deg);    filter: blur(0); }
}

.ink-drips {
    display: flex;
    gap: 18px;
    margin-top: 6px;
}

.drip {
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--pure-white), transparent);
    animation: drip 2s ease-in forwards;
    animation-delay: var(--delay);
    border-radius: 0 0 50% 50%;
}

@keyframes drip {
    0%   { height: 0;   opacity: 1; }
    70%  { height: 70px; opacity: 0.8; }
    100% { height: 100px; opacity: 0; }
}

.subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    letter-spacing: 0.5em;
    margin-top: 2.5rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
    animation-delay: 1s;
    color: var(--gray-mid);
}

.hero-tagline {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
    animation-delay: 1.3s;
    letter-spacing: 0.2em;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 5rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
    animation-delay: 2s;
}

.scroll-indicator span {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: var(--gray-mid);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--pure-white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50%       { transform: scaleY(0.4); opacity: 0.4; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero Right — Photo Grid */
.hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 58% 42%;
    gap: 4px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-photo {
    overflow: hidden;
    position: relative;
}

.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    transition: background 0.5s ease;
}

.hero-photo:hover::after { background: rgba(0,0,0,0.05); }

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(55%);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.hero-photo:hover img { transform: scale(1.06); filter: grayscale(0%); }

/* Large photo on the left column of the photo grid */
.hero-photo-1 {
    grid-row: 1 / 3;
    grid-column: 1;
    animation: photoReveal 1.4s ease forwards 0.4s;
    opacity: 0;
}

.hero-photo-2 {
    grid-row: 1;
    grid-column: 2;
    animation: photoReveal 1.4s ease forwards 0.7s;
    opacity: 0;
}

.hero-photo-3 {
    grid-row: 2;
    grid-column: 2;
    animation: photoReveal 1.4s ease forwards 1s;
    opacity: 0;
}

@keyframes photoReveal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Sections (common) ── */
section {
    position: relative;
    z-index: 1;
    padding: 10rem 4rem;
}

.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2.2rem, 5.5vw, 5rem);
    font-weight: 800;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: attr(data-en);
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    font-size: 0.72rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--gray-mid);
}

/* ── About ── */
.about {
    background: var(--ink-black);
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content p {
    font-size: 1rem;
    line-height: 2.3;
    margin-bottom: 2rem;
    color: var(--off-white);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.stat-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--pure-white);
}

.stat-number {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--gray-mid);
}

/* About Photo Grid (replaces dragon) */
.about-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 540px;
}

.about-photo {
    overflow: hidden;
    position: relative;
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
    transition: background 0.4s ease;
}

.about-photo:hover::after { background: rgba(0,0,0,0); }

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(75%);
    transition: transform 0.6s ease, filter 0.4s ease;
}

.about-photo:hover img {
    transform: scale(1.07);
    filter: grayscale(10%);
}

/* ── news ── */

.top-blog {
  padding: 120px 20px;
  background: var(--pure-white);
  color: #111;
}

.blog-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-heading {
  margin-bottom: 80px;
}

.blog-heading p {
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}



.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-card {
  text-decoration: none;
  color: #111;
}

.blog-thumb {
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .6s ease;
  filter: grayscale(100%);
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-text {
  padding-top: 20px;
}

.date {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.blog-text h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
}

@media(max-width: 768px){

  .blog-heading h2 {
    font-size: 40px;
  }

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

  .blog-thumb img {
    height: 300px;
  }

}

/* ── Gallery ── */
.gallery {
    background: var(--pure-white);
    color: var(--ink-black);
    padding: 8rem 4rem;
}

.gallery .section-title::after { color: var(--gray-dark); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 270px;
    gap: 6px;
}

/* Tall item */
.gallery-item:nth-child(1) { grid-row: span 2; }

/* Wide item */
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--off-white);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.55s ease, filter 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,0.18); }

.gallery-item-label {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: var(--pure-white);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease 0.05s;
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
    transform: translateY(0);
}

/* ── Team ── */
.team {
    background: var(--pure-white);
    color: var(--ink-black);
}

.team .section-title::after { color: var(--gray-dark); }

.team-intro {
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 5rem;
    color: var(--gray-dark);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.member-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
}

.member-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    z-index: 0;
    transition: transform 0.55s ease, filter 0.5s ease;
}

.member-card:hover img {
    transform: scale(1.06);
    filter: grayscale(20%);
}

.member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 55%);
    z-index: 1;
}

.member-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Shippori Mincho', serif;
    font-size: 4rem;
    color: rgba(255,255,255,0.08);
    z-index: 0;
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    color: var(--pure-white);
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.4s ease;
}

.member-card:hover .member-info {
    transform: translateY(0);
    opacity: 1;
}

.member-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.member-role {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--gray-mid);
}

/* ── Schedule ── */
.schedule { background: var(--ink-black); }

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.schedule-card {
    border: 1px solid rgba(255,255,255,0.15);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--pure-white);
    transition: height 0.4s ease;
}

.schedule-card:hover::before { height: 100%; }
.schedule-card:hover { background: rgba(255,255,255,0.02); }

.schedule-type {
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    color: var(--gray-mid);
    margin-bottom: 1rem;
}

.schedule-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.schedule-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--off-white);
}

/* ── Contact ── */
.contact {
    background: var(--pure-white);
    color: var(--ink-black);
    padding: 12rem 4rem;
}



.contact .section-title { margin-bottom: 2rem; }
.contact .section-title::after { color: var(--gray-dark); }

.contact-tagline {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.7rem);
    margin-bottom: 4rem;
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 2.1;
    color: var(--gray-dark);
    margin-bottom: 5rem;
}



.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--ink-black);
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.32em;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--off-white);
    transition: left 0.4s ease;
    z-index: 0;
}

.cta-button:hover::before { left: 0; }
.cta-button:hover { color: var(--ink-black); }
.cta-button span { position: relative; z-index: 1; }

/* ── Footer ── */
footer {
    background: var(--ink-black);
    padding: 3.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--pure-white); }

.social-links { display: flex; gap: 1.5rem; }

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.72rem;
    transition: all 0.3s ease;
}

.social-links a:hover { background: var(--pure-white); color: var(--ink-black); }

/* Credit Banner */
.credit-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.credit-banner a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.credit-banner a:hover { color: var(--pure-white); }

.credit-banner a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--pure-white);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.2); }
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Results / Archive ── */
.results { background: var(--ink-black); }

.results-timeline {
    position: relative;
    padding-left: 3rem;
    border-left: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

.results-year-block { position: relative; }

.results-year-block::before {
    content: '';
    position: absolute;
    left: calc(-3rem - 5px);
    top: 0.9rem;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    background: var(--ink-black);
}

.results-year-label {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.8rem;
}

.results-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.result-card {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    transition: all 0.4s ease;
}

.result-card:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.3);
}

.result-rank {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.result-rank.gold   { color: #c9a227; }
.result-rank.silver { color: #9eaab5; }
.result-rank.bronze { color: #b87333; }
.result-rank.other  { color: rgba(255,255,255,0.35); }

.result-event {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    color: var(--off-white);
}

.result-detail {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--gray-mid);
}

/* ── Instagram ── */
.instagram {
    background: #040404;
    padding: 8rem 4rem;
    text-align: center;
}

.instagram-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.45em;
    color: var(--gray-mid);
    margin-bottom: 1.2rem;
}

.instagram-handle {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.instagram-tagline {
    font-size: 0.88rem;
    color: var(--gray-mid);
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-bottom: 3rem;
}

.instagram-post {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #111;
}

.instagram-post::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.32);
    transition: background 0.4s ease;
}

.instagram-post:hover::after { background: rgba(0,0,0,0); }

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.instagram-post:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.8rem;
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.instagram-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.instagram-btn:hover::before { opacity: 1; }
.instagram-btn:hover { border-color: transparent; }
.instagram-btn svg,
.instagram-btn span { position: relative; z-index: 1; }

/* ── Mid-page CTA ── */
.cta-section {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 4rem;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(65%);
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.cta-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.45em;
    color: var(--gray-mid);
    margin-bottom: 1.5rem;
}

.cta-headline {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: 0.06em;
}

.cta-body {
    font-size: 1rem;
    line-height: 2.1;
    color: var(--off-white);
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--pure-white);
    color: var(--ink-black);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    font-weight: 700;
    transition: all 0.35s ease;
}

.btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    transition: all 0.35s ease;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--pure-white);
}

/* ── Sponsors ── */
.sponsors {
    background: var(--off-white);
    color: var(--ink-black);
    padding: 8rem 4rem;
}

.sponsors .section-title::after { color: var(--gray-dark); }

.sponsor-intro {
    max-width: 620px;
    font-size: 0.95rem;
    line-height: 2.1;
    color: var(--gray-dark);
    margin-bottom: 5rem;
}

.sponsor-tiers {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.sponsor-tier-label {
    font-size: 0.67rem;
    letter-spacing: 0.45em;
    color: var(--gray-mid);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sponsor-tier-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.sponsor-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--gray-dark);
    letter-spacing: 0.1em;
    transition: all 0.35s ease;
    min-width: 150px;
    padding: 1.1rem 2rem;
    font-size: 0.85rem;
}

.sponsor-tier.gold .sponsor-logo-item {
    min-width: 210px;
    padding: 1.5rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.sponsor-tier.bronze .sponsor-logo-item {
    min-width: 120px;
    padding: 0.9rem 1.5rem;
    font-size: 0.78rem;
}

.sponsor-logo-item:hover {
    border-color: rgba(0,0,0,0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.sponsor-logo-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(100%) opacity(55%);
    transition: filter 0.35s ease;
}

.sponsor-logo-item:hover img {
    filter: grayscale(0%) opacity(100%);
}

.sponsor-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.sponsor-cta-text {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.sponsor-cta-text span {
    display: block;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-mid);
    margin-top: 0.4rem;
    letter-spacing: 0.08em;
}

.sponsor-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--ink-black);
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    border: 1px solid white;
}

.sponsor-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gray-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
}

.sponsor-cta-btn:hover::before { transform: scaleX(1); }
.sponsor-cta-btn span { position: relative; z-index: 1; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */

/* Large tablet */
@media (max-width: 1100px) {
    nav { padding: 1.8rem 3rem; }

    .hero { grid-template-columns: 52% 48%; }

    .hero-left { padding: 8rem 3rem 4rem; }

    .about {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-photos { height: 420px; }

    .member-grid { grid-template-columns: repeat(2, 1fr); }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
    }

    .results-cards { grid-template-columns: repeat(2, 1fr); }

    .instagram-grid { grid-template-columns: repeat(4, 1fr); }

    .sponsors { padding: 7rem 3rem; }
}

/* Tablet → mobile hero becomes full-bleed */
@media (max-width: 900px) {
    nav {
        padding: 1.4rem 2rem;
        background: rgba(10,10,10,0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Mobile nav overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100dvh;
        background: rgba(10,10,10,0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 199;
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 0.3em;
    }

    .nav-toggle { display: flex; }

    /* Hero becomes full-bleed background image */
    .hero {
        display: block;
        position: relative;
    }

    .hero-right {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .hero-photo-1 {
        grid-row: 1 / 3;
        grid-column: 1;
    }

    .hero-photo-2 {
        grid-row: 1;
        grid-column: 2;
    }

    .hero-photo-3 {
        grid-row: 2;
        grid-column: 2;
    }

    .hero-left {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 5rem 2.5rem 5rem;
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0)    35%,
            rgba(0,0,0,0.82) 100%
        );
        z-index: 1;
    }

    .hero-bg-text { display: none; }

    .scroll-indicator { display: none; }

    .main-title { font-size: clamp(3.5rem, 14vw, 6.5rem); }

    section { padding: 7rem 2.5rem; }

    .gallery { padding: 6rem 2.5rem; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(1) { grid-row: span 2; grid-column: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .results-timeline { padding-left: 2rem; }

    .results-cards { grid-template-columns: 1fr; }

    .instagram { padding: 6rem 2.5rem; }

    .instagram-grid { grid-template-columns: repeat(3, 1fr); }

    .cta-section { padding: 7rem 2.5rem; min-height: 55vh; }

    .sponsors { padding: 6rem 2.5rem; }

    footer { padding: 3rem 2.5rem; }
}

/* Small mobile */
@media (max-width: 600px) {
    nav { padding: 1.2rem 1.5rem; }

    section { padding: 5rem 1.5rem; }

    .gallery { padding: 5rem 1.5rem; }

    .hero-left { padding: 4.5rem 1.5rem 5rem; }

    .subtitle { letter-spacing: 0.3em; }

    .about-photos {
        height: 300px;
    }

    .stat-grid { gap: 0.8rem; }

    .stat-number { font-size: 2rem; }

    .member-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }

    /* Always show member info on touch */
    .member-info {
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-row: span 1;
        grid-column: span 1;
    }

    .schedule-card { padding: 1.8rem; }

    .results-timeline {
        padding-left: 1.5rem;
    }

    .results-year-block::before {
        left: calc(-1.5rem - 5px);
    }

    .instagram { padding: 5rem 1.5rem; }

    .instagram-grid { grid-template-columns: repeat(3, 1fr); }

    .cta-section { padding: 5rem 1.5rem; min-height: auto; }

    .cta-actions { flex-direction: column; align-items: center; }

    .btn-primary,
    .btn-outline { width: 100%; text-align: center; }

    .sponsors { padding: 5rem 1.5rem; }

    .sponsor-cta { flex-direction: column; }

    .contact { padding: 7rem 1.5rem; }

    .contact-cta { flex-direction: column;}

    footer {
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }

    footer a {
  font-size: 24px;
  color: #333;
}

footer a:hover {
  color: #E1306C;
}


}
