@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

/* ═══════════════════════════════
   LIGHT MODE (default)
   ═══════════════════════════════ */
:root,
[data-theme="light"] {
    --bg: #faf9f7;
    --bg-elevated: #f5f4f1;
    --bg-card: #ffffff;
    --text: #1a1a1a;
    --text-secondary: #6b6b6b;
    --text-muted: #9a9a9a;
    --accent: #1b4332;
    --accent-light: #2d6a4f;
    --accent-glow: rgba(27,67,50,0.08);
    --border: rgba(0,0,0,0.05);
    --border-strong: rgba(0,0,0,0.1);
    --shadow: 0 2px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 80px rgba(0,0,0,0.08);
    --radius-sm: 16px;
    --radius: 24px;
    --radius-lg: 32px;
    --radius-full: 999px;
}

/* ═══════════════════════════════
   DARK MODE
   ═══════════════════════════════ */
[data-theme="dark"] {
    --bg: #111210;
    --bg-elevated: #181916;
    --bg-card: #1c1e1b;
    --text: #e8e6e1;
    --text-secondary: #9a9891;
    --text-muted: #6a6864;
    --accent: #4ade80;
    --accent-light: #86efac;
    --accent-glow: rgba(74,222,128,0.10);
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
    --shadow: 0 2px 12px rgba(0,0,0,0.25);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
    --shadow-xl: 0 24px 80px rgba(0,0,0,0.45);
    --radius-sm: 16px;
    --radius: 24px;
    --radius-lg: 32px;
    --radius-full: 999px;
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --bg: #111210;
        --bg-elevated: #181916;
        --bg-card: #1c1e1b;
        --text: #e8e6e1;
        --text-secondary: #9a9891;
        --text-muted: #6a6864;
        --accent: #4ade80;
        --accent-light: #86efac;
        --accent-glow: rgba(74,222,128,0.10);
        --border: rgba(255,255,255,0.06);
        --border-strong: rgba(255,255,255,0.12);
        --shadow: 0 2px 12px rgba(0,0,0,0.25);
        --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
        --shadow-xl: 0 24px 80px rgba(0,0,0,0.45);
    }
}

/* ═══════════════════════════════
   SMOOTH TRANSITIONS
   ═══════════════════════════════ */
html {
    transition: background-color .25s ease;
}

body {
    transition: background-color .25s ease, color .25s ease;
}

/* Only transition color/bg — keep transforms instant */
*:not(.surface):not(.bento-card):not(.feature-card):not(.event-row):not(.info-item):not(.gallery-cell):not(.btn):not(.surface-muted) {
    transition-property: background-color, border-color, color;
    transition-duration: .2s;
    transition-timing-function: ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section {
    padding: 8rem 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--text-muted);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 1.25rem; }
h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }

p.lead {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 540px;
    font-weight: 400;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--bg-elevated);
    border-color: var(--text);
    box-shadow: none;
    color: var(--text);
}

.surface {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1) !important;
    box-shadow: var(--shadow);
}

.surface:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.surface-muted {
    background: var(--bg-elevated);
    border-color: transparent;
    box-shadow: none;
}

.surface-muted:hover {
    box-shadow: var(--shadow-lg);
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250,249,247,0.8);
    backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    transition: background .25s ease, border-color .25s ease !important;
}

[data-theme="dark"] .nav-inner {
    background: rgba(17,18,16,0.85);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease !important;
}

.logo-mark svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

[data-theme="dark"] .logo-mark svg {
    stroke: #111210;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* ── Dark mode toggle button ── */
#theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease !important;
    flex-shrink: 0;
}

#theme-toggle:hover {
    background: var(--accent-glow);
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(15deg);
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--text);
    stroke-width: 2;
    fill: none;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 2.5rem;
    right: 2.5rem;
    margin-top: 0.5rem;
    background: rgba(250,249,247,0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    transition: background .25s ease !important;
}

[data-theme="dark"] .mobile-nav {
    background: rgba(17,18,16,0.95);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    transition: all 0.2s !important;
}

.mobile-nav a:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    transition: background .25s ease !important;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero h1 { margin-bottom: 1.5rem; }

.hero h1 .accent {
    font-style: italic;
    color: var(--accent-light);
}

.hero p.lead { margin: 0 auto 2.5rem; }

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    margin-top: 4rem;
    width: 100%;
    max-width: 900px;
    height: 320px;
    max-height: 320px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,67,50,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.stats {
    background: var(--bg-elevated);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }

.stat h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 3.5vw, 3.8rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.bento-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1) !important;
    box-shadow: var(--shadow);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bento-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.bento-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

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

.feature-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1) !important;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-thumb {
    width: 130px;
    min-width: 130px;
    height: 130px;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    overflow: hidden;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.surface > img,
.surface a > img,
.surface picture > img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s ease !important;
    box-shadow: var(--shadow);
}

.event-row:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.event-date-box {
    min-width: 68px;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.event-date-box strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.event-date-box span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.event-body { flex: 1; }

.event-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.event-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.event-tag { white-space: nowrap; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    grid-auto-rows: 220px;
}

.gallery-cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1) !important;
    height: 100%;
}

.gallery-cell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.gallery-cell:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-cell.w2 { grid-column: span 2; }
.gallery-cell.h2 { grid-row: span 2; }
.gallery-cell.w2.h2 { grid-column: span 2; grid-row: span 2; }

.quote-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.4s ease !important;
}

.quote-card:hover { box-shadow: var(--shadow-lg); }

.quote-card p:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-author {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.quote-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.info-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s ease !important;
    box-shadow: var(--shadow);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.info-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--text);
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.form-box > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    font: inherit;
    color: var(--text);
    outline: none;
    transition: all 0.3s ease !important;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background: var(--bg-card);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.team-card { text-align: center; }

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin: 0 auto 1.25rem;
    font-size: 0.8rem;
}

.team-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer {
    background: var(--bg-card);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-brand .logo-mark {
    width: 28px;
    height: 28px;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s !important;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16,1,0.3,1) !important;
}

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

/* ── Home page ── */
.page-home .hero-visual {
    margin-top: 3rem;
    max-width: 700px;
    height: 220px;
    max-height: 220px;
}

.page-home .hero .gallery-picture {
    width: 100%;
    max-width: 480px;
    height: 260px;
    margin-left: auto;
    margin-right: auto;
}

.page-home .hero .gallery-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Activities ── */
.activity-picture {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
}

.activity-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 480px) {
    html { font-size: 15px; }

    .container, .footer-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
    .section { padding: 5rem 0; }
    .nav-links { display: none; }
    .mobile-btn { display: block; }
    .nav-inner { padding: 0.6rem 1rem; }
    .hero { padding: 8rem 0 4rem; min-height: auto; }

    .hero-visual { height: 220px; max-height: 220px; margin-top: 2.5rem; }
    .page-home .hero-visual { height: 140px; max-height: 140px; margin-top: 2rem; }
    .page-home .hero .gallery-picture { max-width: 100%; height: 180px; }

    .bento, .feature-grid, .gallery-grid,
    .contact-wrap, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .gallery-cell.w2, .gallery-cell.h2, .gallery-cell.w2.h2 {
        grid-column: span 1; grid-row: span 1;
    }

    .feature-card { flex-direction: column; }
    .feature-thumb { width: 100%; min-width: 100%; height: 180px; }
    .surface > img, .surface a > img, .surface picture > img { max-height: 200px; }
    .event-row { flex-wrap: wrap; }
    .event-tag { margin-left: auto; }

    .footer-wrap { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
    html { font-size: 15px; }
    .container, .footer-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
    .nav-links { display: none; }
    .mobile-btn { display: block; }
    .section { padding: 6rem 0; }
    .hero { padding: 9rem 0 5rem; min-height: auto; }
    .hero-visual { height: 260px; max-height: 260px; }
    .page-home .hero-visual { height: 160px; max-height: 160px; }
    .page-home .hero .gallery-picture { max-width: 100%; height: 200px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .contact-wrap { grid-template-columns: 1fr; }
    .feature-thumb { width: 100%; min-width: 100%; height: 200px; }
    .surface > img, .surface a > img, .surface picture > img { max-height: 220px; }
    .footer-wrap { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container, .footer-wrap { padding-left: 2rem; padding-right: 2rem; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-wrap { grid-template-columns: 1fr; }
    .hero-visual { height: 300px; max-height: 300px; }
    .page-home .hero-visual { height: 180px; max-height: 180px; }
    .feature-thumb { width: 140px; min-width: 140px; height: 140px; }
    .surface > img, .surface a > img, .surface picture > img { max-height: 230px; }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1441px) {
    html { font-size: 17px; }
    .container, .footer-wrap { max-width: 1400px; }
}