/* ============================================================
   Loom & Linen · A boutique knitting studio
   Scandi natural · linen white + sage + camel
   ============================================================ */

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

:root {
    --linen: #f6f1e6;
    --linen-2: #ede5d3;
    --paper: #faf6ec;
    --bone: #fdfaf3;
    --warm-white: #fefdf8;

    --sage: #7a8c6b;
    --sage-deep: #5c6e50;
    --sage-soft: #a5b298;
    --sage-pale: #d3dac6;

    --camel: #b8966a;
    --camel-deep: #957046;
    --camel-soft: #d4b48a;

    --ink: #1f1a14;
    --ink-soft: #3a3128;
    --stone: #6b5f50;
    --stone-soft: #95897a;
    --muted: #a8998a;

    --line: rgba(31, 26, 20, 0.12);
    --line-soft: rgba(31, 26, 20, 0.06);
    --line-strong: rgba(31, 26, 20, 0.2);

    --shadow-sm: 0 4px 14px rgba(31, 26, 20, 0.05);
    --shadow: 0 12px 32px rgba(31, 26, 20, 0.08);
    --shadow-lg: 0 24px 60px rgba(31, 26, 20, 0.12);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;

    --max: 1280px;
    --r: 12px;
    --r-lg: 20px;
    --r-pill: 100px;
    --t: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--linen);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--ink);
}

a { color: inherit; text-decoration: none; transition: var(--t); }
a:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER — slim editorial bar
   ============================================================ */
.header {
    position: fixed;
    top: 16px; left: 0; right: 0;
    z-index: 100;
    pointer-events: none;
}
.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 14px 12px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
    background: rgba(246, 241, 230, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-pill);
    box-shadow: 0 4px 24px rgba(31, 26, 20, 0.04);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.brand-mark {
    width: 36px; height: 36px;
    flex: none;
    background: var(--linen-2);
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
}
/* Two interlocking knit-stitch loops as logo */
.brand-mark::before,
.brand-mark::after {
    content: '';
    position: absolute;
    width: 12px; height: 18px;
    border: 2px solid var(--sage-deep);
    border-radius: 8px 8px 4px 4px;
}
.brand-mark::before {
    transform: translate(-4px, 1px) rotate(-12deg);
}
.brand-mark::after {
    transform: translate(4px, 1px) rotate(12deg);
    border-color: var(--camel-deep);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink);
}
.brand-text .tag {
    font-family: var(--font-body);
    font-size: 9.5px;
    color: var(--stone);
    letter-spacing: 0.26em;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 10px 18px;
    border-radius: var(--r-pill);
    transition: var(--t);
}
.nav-link:hover { background: var(--linen-2); color: var(--ink); }
.nav-cta {
    background: var(--ink) !important;
    color: var(--linen) !important;
    padding: 11px 22px !important;
    font-weight: 600 !important;
    margin-left: 6px;
}
.nav-cta:hover { background: var(--sage-deep) !important; }
.burger {
    display: none;
    background: var(--linen-2);
    border: 0;
    color: var(--ink);
    width: 42px; height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   HERO — editorial split (large headline + image)
   ============================================================ */
.hero {
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 240px; right: -260px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(122, 140, 107, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -240px; left: -220px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184, 150, 106, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 34px;
}
.hero-eyebrow::before {
    content: '';
    width: 40px; height: 2px;
    background: var(--sage);
}
.hero-eyebrow .est {
    color: var(--stone);
    margin-left: 14px;
    letter-spacing: 0.12em;
}

.hero h1 {
    font-size: clamp(52px, 8vw, 108px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 28px;
    font-weight: 500;
}
.hero h1 em {
    font-style: italic;
    color: var(--sage-deep);
    font-weight: 400;
}
.hero h1 .accent {
    color: var(--camel-deep);
    font-style: italic;
    font-weight: 400;
}

.hero .lead {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-meta {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-meta-item .v {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 500;
}
.hero-meta-item .v em {
    color: var(--sage-deep);
    font-style: italic;
    font-size: 0.7em;
    font-weight: 400;
}
.hero-meta-item .l {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--stone);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Hero image */
.hero-image {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--linen-2);
    box-shadow: var(--shadow-lg);
}
.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.hero-image-placeholder {
    width: 100%; height: 100%;
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.07) 0,
            rgba(255, 255, 255, 0.07) 12px,
            transparent 12px,
            transparent 24px),
        linear-gradient(135deg, var(--sage-soft) 0%, var(--sage) 60%, var(--sage-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--paper);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    text-align: center;
    padding: 32px;
}
.hero-image-placeholder span {
    font-family: var(--font-body);
    font-style: normal;
    display: block;
    margin-top: 18px;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(254, 253, 248, 0.7);
}

.hero-tag {
    position: absolute;
    top: 22px; left: 22px;
    background: rgba(31, 26, 20, 0.85);
    backdrop-filter: blur(8px);
    color: var(--linen);
    padding: 10px 18px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-tag::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--camel-soft);
    border-radius: 50%;
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.72); }
}

.hero-badge {
    position: absolute;
    bottom: 22px; right: 22px;
    background: rgba(254, 253, 248, 0.96);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: var(--r);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 6px 20px rgba(31, 26, 20, 0.18);
}
.hero-badge .top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-badge .stars { color: var(--camel-deep); font-size: 12px; letter-spacing: 2px; }
.hero-badge .rating {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1;
}
.hero-badge small {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--stone);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 30px;
    border-radius: var(--r-pill);
    cursor: pointer;
    border: 0;
    transition: var(--t);
}
.btn-primary {
    background: var(--ink);
    color: var(--linen);
}
.btn-primary:hover {
    background: var(--sage-deep);
    color: var(--linen);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(92, 110, 80, 0.3);
}
.btn-sage {
    background: var(--sage-deep);
    color: var(--linen);
}
.btn-sage:hover {
    background: var(--sage);
    color: var(--linen);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
    background: var(--ink);
    color: var(--linen);
}
.btn .ar { transition: transform 0.3s ease; }
.btn:hover .ar { transform: translateX(3px); }

.btn-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 3px;
    transition: var(--t);
}
.btn-link:hover {
    color: var(--sage-deep);
    border-color: var(--sage-deep);
    gap: 12px;
}

/* ============================================================
   SECTION base
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section-paper { background: var(--paper); }
.section-bone { background: var(--bone); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-tag::before {
    content: '';
    width: 32px; height: 2px;
    background: var(--sage);
}

.section-head { max-width: 820px; margin-bottom: 64px; }
.section-head h2 {
    font-size: clamp(40px, 5.5vw, 78px);
    line-height: 0.98;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    font-weight: 500;
}
.section-head h2 em {
    font-style: italic;
    color: var(--sage-deep);
}
.section-head h2 .accent {
    font-style: italic;
    color: var(--camel-deep);
}
.section-head .lead {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 660px;
}
.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-head.center .section-tag {
    justify-content: center;
}
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   APPROACH — 3 cards
   ============================================================ */
.approach {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.app-card {
    background: var(--bone);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 42px 34px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--sage);
    transform: scaleX(0.16);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.app-card:hover::before { transform: scaleX(1); }
.app-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    color: var(--camel-deep);
    margin-bottom: 26px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.app-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--linen-2);
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    color: var(--sage-deep);
}
.app-card h3 {
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--ink);
    font-weight: 500;
}
.app-card h3 em { font-style: italic; color: var(--sage-deep); }
.app-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   IMAGE BAND — wide editorial photo
   ============================================================ */
.image-band {
    padding: 0 0 110px;
}
.band-frame {
    position: relative;
    aspect-ratio: 16 / 7;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--linen-2);
    box-shadow: var(--shadow-lg);
}
.band-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.band-placeholder {
    width: 100%; height: 100%;
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.05) 0,
            rgba(255, 255, 255, 0.05) 12px,
            transparent 12px,
            transparent 24px),
        linear-gradient(135deg, var(--camel-soft) 0%, var(--camel) 60%, var(--camel-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--linen);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    text-align: center;
    padding: 32px;
}
.band-placeholder span {
    font-family: var(--font-body);
    font-style: normal;
    display: block;
    margin-top: 16px;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(246, 241, 230, 0.85);
}
.band-frame figcaption {
    position: absolute;
    bottom: 28px; left: 28px;
    padding: 14px 22px;
    background: rgba(31, 26, 20, 0.78);
    backdrop-filter: blur(10px);
    border-radius: var(--r);
    color: var(--linen);
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 400px;
}
.band-caption-lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--linen);
    line-height: 1.2;
}
.band-caption-sub {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--camel-soft);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================================
   CLASSES — 4 cards (the actual courses)
   ============================================================ */
.classes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.class-card {
    background: var(--bone);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 40px 36px;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.class-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.class-card.featured {
    background: var(--ink);
    color: var(--linen);
    border-color: var(--ink);
}
.class-card.featured h3,
.class-card.featured .class-duration { color: var(--linen); }
.class-card.featured p { color: rgba(246, 241, 230, 0.78); }
.class-card.featured .class-tag {
    background: var(--camel);
    color: var(--ink);
}
.class-card.featured .class-attr { color: rgba(246, 241, 230, 0.55); }
.class-card.featured .class-attr strong { color: var(--camel-soft); }
.class-card.featured .class-icon {
    background: rgba(246, 241, 230, 0.08);
    color: var(--camel-soft);
}
.class-tag {
    align-self: flex-start;
    background: var(--linen-2);
    color: var(--ink);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.class-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.class-icon {
    width: 48px; height: 48px;
    background: var(--linen-2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sage-deep);
    flex: none;
}
.class-card h3 {
    font-size: 30px;
    line-height: 1.05;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.015em;
    flex: 1;
}
.class-card h3 em { font-style: italic; color: var(--sage-deep); }
.class-card.featured h3 em { color: var(--camel-soft); }
.class-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}
.class-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.class-card.featured .class-attrs { border-top-color: rgba(246, 241, 230, 0.1); }
.class-attr {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--stone);
    display: flex;
    flex-direction: column;
    gap: 3px;
    letter-spacing: 0.04em;
}
.class-attr .label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.class-attr strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
}

/* ============================================================
   SCHEDULE — list-style (different from grid in last sites)
   ============================================================ */
.schedule {
    background: var(--bone);
    border-radius: var(--r-lg);
    padding: 50px 56px;
    border: 1px solid var(--line-soft);
}
.schedule-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}
.schedule-head h3 {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.015em;
}
.schedule-head h3 em { color: var(--sage-deep); font-style: italic; }
.schedule-week {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--stone);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
}
.schedule-list {
    display: flex;
    flex-direction: column;
}
.sched-row {
    display: grid;
    grid-template-columns: 80px 1.5fr 1.2fr 1fr 0.8fr;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.25s ease;
}
.sched-row:hover { background: var(--linen); }
.sched-row:last-child { border-bottom: 0; }
.sched-day {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
}
.sched-day small {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--stone);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}
.sched-class-name {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.2;
}
.sched-class-name em { color: var(--sage-deep); font-style: italic; }
.sched-time {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.sched-teacher {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--stone);
    font-style: italic;
}
.sched-status {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    text-align: center;
    justify-self: end;
    white-space: nowrap;
}
.sched-status.open {
    background: var(--sage-pale);
    color: var(--sage-deep);
}
.sched-status.few {
    background: #f0e0c0;
    color: var(--camel-deep);
}
.sched-status.full {
    background: var(--line);
    color: var(--stone);
}

.schedule-foot {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--stone);
    font-size: 13px;
}

/* ============================================================
   GALLERY — small project grid
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--linen-2);
    position: relative;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .gallery-placeholder {
    width: 100%; height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    color: var(--stone);
    background:
        repeating-linear-gradient(45deg,
            rgba(122, 140, 107, 0.08) 0,
            rgba(122, 140, 107, 0.08) 10px,
            transparent 10px,
            transparent 20px),
        var(--linen-2);
    text-align: center;
    padding: 16px;
}
.gallery-item .gallery-placeholder span {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
}
.gallery-caption {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(31, 26, 20, 0.78);
    backdrop-filter: blur(6px);
    color: var(--linen);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tt-card {
    background: var(--bone);
    border-radius: var(--r);
    padding: 36px 32px;
    border: 1px solid var(--line-soft);
}
.tt-stars {
    color: var(--camel-deep);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}
.tt-card h4 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.2;
    font-family: var(--font-display);
}
.tt-card h4 em { font-style: italic; color: var(--sage-deep); }
.tt-card .quote {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}
.tt-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.tt-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-soft), var(--sage));
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--linen);
    font-style: italic;
    flex: none;
    font-weight: 600;
}
.tt-info { display: flex; flex-direction: column; line-height: 1.3; }
.tt-info .name { font-size: 13px; color: var(--ink); font-weight: 600; }
.tt-info .role { font-size: 11px; color: var(--stone); letter-spacing: 0.06em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    max-width: 880px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-trigger {
    width: 100%;
    background: none;
    border: 0;
    padding: 28px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--ink);
    letter-spacing: -0.01em;
    font-weight: 500;
    transition: var(--t);
}
.faq-trigger:hover { color: var(--sage-deep); }
.faq-trigger .icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--linen-2);
    display: grid;
    place-items: center;
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--sage-deep);
    font-weight: 400;
    transition: var(--t);
    flex: none;
}
.faq-item.open .faq-trigger .icon {
    background: var(--sage-deep);
    color: var(--linen);
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 460px; }
.faq-answer-inner {
    padding: 0 0 28px 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.75;
    max-width: 760px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--ink);
    color: var(--linen);
    border-radius: var(--r-lg);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, var(--sage) 0%, transparent 65%);
    opacity: 0.2;
    border-radius: 50%;
}
.contact::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, var(--camel) 0%, transparent 65%);
    opacity: 0.16;
    border-radius: 50%;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.contact-side .section-tag {
    color: var(--linen);
}
.contact-side h2 {
    color: var(--linen);
    font-size: clamp(34px, 4.5vw, 56px);
    margin-bottom: 22px;
    letter-spacing: -0.025em;
}
.contact-side h2 em { color: var(--sage-soft); font-style: italic; }
.contact-side .lead {
    color: rgba(246, 241, 230, 0.78);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 36px;
}
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}
.contact-info-card {
    background: rgba(246, 241, 230, 0.05);
    border: 1px solid rgba(246, 241, 230, 0.1);
    border-radius: var(--r);
    padding: 22px;
}
.contact-info-card .label {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--sage-soft);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-info-card .value {
    color: var(--linen);
    font-size: 14px;
    line-height: 1.55;
}
.contact-info-card .value a:hover { color: var(--sage-soft); }
.contact-info-card .phone {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--linen);
    font-weight: 500;
}

.contact-form {
    background: rgba(246, 241, 230, 0.05);
    border: 1px solid rgba(246, 241, 230, 0.12);
    border-radius: var(--r);
    padding: 36px;
}
.contact-form h3 {
    color: var(--linen);
    font-size: 26px;
    margin-bottom: 26px;
    font-weight: 500;
    letter-spacing: -0.015em;
}
.contact-form h3 em { color: var(--sage-soft); font-style: italic; }
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--sage-soft);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(246, 241, 230, 0.08);
    border: 1px solid rgba(246, 241, 230, 0.15);
    border-radius: 10px;
    color: var(--linen);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--t);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: 0;
    border-color: var(--sage-soft);
    background: rgba(246, 241, 230, 0.12);
}
.form-row select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a5b298' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.form-row select option { background: var(--ink); color: var(--linen); }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(246, 241, 230, 0.4); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

.form-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
}
.form-success.show { display: block; }
.form-success .check {
    width: 64px; height: 64px;
    background: var(--sage);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    color: var(--linen);
    font-size: 30px;
}
.form-success h3 {
    color: var(--linen);
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 500;
}
.form-success p {
    color: rgba(246, 241, 230, 0.78);
    font-size: 15px;
    line-height: 1.65;
}
.contact-form.hidden { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--linen);
    padding: 70px 0 36px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 30px;
}
.footer-brand p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
    margin-top: 18px;
}
.footer-col h5 {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--ink);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a, .footer-col li {
    color: var(--ink-soft);
    font-size: 14px;
}
.footer-col li a:hover { color: var(--sage-deep); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--stone);
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    max-width: 540px;
    margin: 0 auto;
    background: var(--ink);
    color: var(--linen);
    border-radius: var(--r);
    padding: 22px 26px;
    z-index: 100;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 50px rgba(31, 26, 20, 0.3);
}
.cookie.show { display: flex; }
.cookie p {
    flex: 1;
    min-width: 220px;
    font-size: 13px;
    line-height: 1.55;
}
.cookie a { color: var(--sage-soft); text-decoration: underline; }
.cookie button {
    padding: 9px 18px;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: var(--r-pill);
    text-transform: uppercase;
}
.cookie .accept { background: var(--sage); color: var(--linen); }
.cookie .decline { background: transparent; color: var(--linen); border: 1px solid rgba(246, 241, 230, 0.2); }

/* ============================================================
   Animations
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .header { top: 12px; }
    .header-inner { padding: 8px 8px 8px 18px; gap: 10px; }
    .brand-text .name { font-size: 18px; }
    .nav-links {
        position: fixed;
        top: 80px; left: 12px; right: 12px;
        background: var(--bone);
        border: 1px solid var(--line);
        border-radius: var(--r);
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 4px;
        display: none;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 18px; }
    .burger { display: grid; }

    .hero { padding: 120px 0 60px; }
    .hero-grid, .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image { max-height: 620px; aspect-ratio: 4 / 4.6; }
    .hero-meta { gap: 28px; }
    .hero-meta-item .v { font-size: 30px; }

    .approach, .tt-grid, .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .classes-grid { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }

    .schedule { padding: 32px 22px; }
    .sched-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        padding: 18px 0;
    }
    .sched-day { grid-column: span 2; }
    .sched-class-name { grid-column: span 2; }
    .sched-time, .sched-teacher { font-size: 12px; }
    .sched-status { grid-column: span 2; justify-self: start; margin-top: 4px; }

    .contact { padding: 50px 26px; }
    .contact-form { padding: 24px; }
    .contact-info { grid-template-columns: 1fr; }

    .image-band { padding: 0 0 60px; }
    .band-frame { aspect-ratio: 4 / 5; }
    .band-frame figcaption { bottom: 16px; left: 16px; right: 16px; max-width: none; padding: 12px 16px; }
    .band-caption-lead { font-size: 14px; }
}
@media (max-width: 540px) {
    .wrap { padding: 0 20px; }
    .hero h1 { font-size: 48px; }
    .approach, .tt-grid, .gallery { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
