/* ============================================================
   Precision English Services — Global Stylesheet
   ============================================================ */

:root {
    --color-ink: #1a1a1a;
    --color-paper: #f7f5f0;
    --color-warm: #f0ebe0;
    --color-accent: #8b4513;
    --color-accent-light: #a0522d;
    --color-muted: #595550;
    --color-rule: #d4cfc6;
    --color-white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
    --max-width: 960px;
    --gutter: 2rem;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background-color: var(--color-paper);
    line-height: 1.7;
    font-weight: 400;
}

[id] { scroll-margin-top: 4rem; }

/* ---- NAV ---- */
.site-nav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-rule);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-ink);
    text-decoration: none;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-brand img { height: 1.4em; width: auto; }

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    align-items: center;
    margin-left: auto;
    order: 2;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--color-accent); }

.lang-toggle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    background: none;
    border: 1px solid var(--color-accent);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    text-decoration: none;
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 1.8rem;
    order: 3;
}

.lang-flag {
    width: 18px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    border: 0.5px solid var(--color-rule);
}

.lang-toggle:hover { background: var(--color-accent); color: var(--color-white); }

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

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
    margin: 5px 0;
    transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem var(--gutter) 3rem;
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.hero::after {
    content: '';
    position: absolute;
    right: var(--gutter);
    top: 0;
    bottom: 0;
    width: 75%;
    background: url('/hero-photo.jpg') no-repeat right bottom / cover;
    pointer-events: none;
    z-index: 0;
}

.hero > div { position: relative; z-index: 1; }

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-ink);
    margin-bottom: 1.5rem;
    max-width: 576px;
}

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

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--color-muted);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 0.85rem 2rem;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s;
}

.hero-cta:hover { background: var(--color-accent-light); }

/* ---- DIVIDER ---- */
.section-rule { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.section-rule hr { border: none; border-top: 1px solid var(--color-rule); }

/* ---- NEWS TICKER ---- */
.ticker { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

.ticker-inner {
    background: var(--color-white);
    border: 1px solid var(--color-rule);
    border-radius: 4px;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.ticker-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    flex-shrink: 0;
}

.ticker-window {
    position: relative;
    height: 1.6rem;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.ticker-item {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-ink);
    line-height: 1.6rem;
}

.ticker-item.active { opacity: 1; }
.ticker-item a { color: var(--color-ink); text-decoration: none; }
.ticker-item a:hover { color: var(--color-accent); }
.ticker-item strong { color: var(--color-ink); font-weight: 700; }

.ticker-dots { display: flex; gap: 0.4rem; flex-shrink: 0; }

.ticker-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--color-rule);
    border: none; padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.ticker-dot.active { background: var(--color-accent); }

/* ---- SECTION HEADINGS ---- */
.section-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.section-lead {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

/* ---- SERVICES ---- */
.services { max-width: var(--max-width); margin: 0 auto; padding: 2rem var(--gutter) 0; }

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

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-rule);
    padding: 2rem;
    border-radius: 4px;
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.service-card:hover { border-color: var(--color-accent); }
.service-card > div { position: relative; z-index: 1; }

.service-card::after {
    position: absolute;
    content: '';
    right: -0.5rem; bottom: -1rem;
    width: 10rem; height: 10rem;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.service-card.svc-tutoring::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%238b4513'%3E%3Cpath d='M224 248a120 120 0 1 0 0-240 120 120 0 1 0 0 240zm-29.7 56C95.8 304 16 383.8 16 482.3 16 498.7 29.3 512 45.7 512l356.6 0c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3l-59.4 0z'/%3E%3C/svg%3E");
}

.service-card.svc-group::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='%238b4513'%3E%3Cpath d='M64 128a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zM0 464c0-97.2 78.8-176 176-176s176 78.8 176 176l0 6c0 23.2-18.8 42-42 42L42 512c-23.2 0-42-18.8-42-42l0-6zM432 64a96 96 0 1 1 0 192 96 96 0 1 1 0-192zm0 240c79.5 0 144 64.5 144 144l0 22.4c0 23-18.6 41.6-41.6 41.6l-144.8 0c6.6-12.5 10.4-26.8 10.4-42l0-6c0-51.5-17.4-98.9-46.5-136.7 22.6-14.7 49.6-23.3 78.5-23.3z'/%3E%3C/svg%3E");
}

.service-card.svc-editing::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='%238b4513'%3E%3Cpath d='M169.6 153.4l-18.7-18.7c-12.5-12.5-12.5-32.8 0-45.3L265.6-25.4c12.5-12.5 32.8-12.5 45.3 0L329.6-6.6c12.5 12.5 12.5 32.8 0 45.3L214.9 153.4c-12.5 12.5-32.8 12.5-45.3 0zM276 211.7l-31.4-31.4 112-112 119.4 119.4-112 112-31.4-31.4-232 232c-15.6 15.6-40.9 15.6-56.6 0s-15.6-40.9 0-56.6l232-232zM390.9 374.6c-12.5-12.5-12.5-32.8 0-45.3L505.6 214.6c12.5-12.5 32.8-12.5 45.3 0l18.7 18.7c12.5 12.5 12.5 32.8 0 45.3L454.9 393.4c-12.5 12.5-32.8 12.5-45.3 0l-18.7-18.7z'/%3E%3C/svg%3E");
}

.service-card.svc-translation::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='%238b4513'%3E%3Cpath d='M160 0c17.7 0 32 14.3 32 32l0 32 128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-9.6 0-8.4 23.1c-16.4 45.2-41.1 86.5-72.2 122 14.2 8.8 29 16.6 44.4 23.5l50.4 22.4 62.2-140c5.1-11.6 16.6-19 29.2-19s24.1 7.4 29.2 19l128 288c7.2 16.2-.1 35.1-16.2 42.2s-35.1-.1-42.2-16.2l-20-45-157.5 0-20 45c-7.2 16.2-26.1 23.4-42.2 16.2s-23.4-26.1-16.2-42.2l39.8-89.5-50.4-22.4c-23-10.2-45-22.4-65.8-36.4-21.3 17.2-44.6 32.2-69.5 44.7L78.3 380.6c-15.8 7.9-35 1.5-42.9-14.3s-1.5-35 14.3-42.9l34.5-17.3c16.3-8.2 31.8-17.7 46.4-28.3-13.8-12.7-26.8-26.4-38.9-40.9L81.6 224.7c-11.3-13.6-9.5-33.8 4.1-45.1s33.8-9.5 45.1 4.1l10.2 12.2c11.5 13.9 24.1 26.8 37.4 38.7 27.5-30.4 49.2-66.1 63.5-105.4l.5-1.2-210.3 0C14.3 128 0 113.7 0 96S14.3 64 32 64l96 0 0-32c0-17.7 14.3-32 32-32zM416 270.8L365.7 384 466.3 384 416 270.8z'/%3E%3C/svg%3E");
}

.service-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 0.5rem; }
.service-rate { font-size: 0.85rem; font-weight: 500; color: var(--color-accent); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.92rem; color: var(--color-muted); line-height: 1.65; margin-bottom: 1rem; }

.service-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-link:hover { text-decoration: underline; }

/* ---- ABOUT ---- */
.about-inner {
    max-width: calc(var(--max-width) - 2 * var(--gutter));
    margin: 2rem auto 0;
    padding: 2rem var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
    background: var(--color-warm);
    border-radius: 4px;
}

.about-photo { width: 100%; border-radius: 4px; display: block; object-fit: cover; }

.photo-caption { margin-top: 0.75rem; font-size: 0.78rem; color: var(--color-muted); line-height: 1.55; font-style: italic; }

.about h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin-bottom: 1.25rem; }
.about p { font-size: 0.95rem; color: var(--color-muted); line-height: 1.75; margin-bottom: 1rem; }
.about p:last-of-type { margin-bottom: 0; }

.credential-list {
    margin-top: 1.5rem;
    padding-top: 1rem; padding-bottom: 1rem;
    border-top: 1px solid var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 2;
}

.credential-list span { display: block; }

/* ---- PHILOSOPHY ---- */
.philosophy { max-width: var(--max-width); margin: 0 auto; padding: 2rem var(--gutter) 0; }
.philosophy h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.philosophy-item h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--color-ink); }
.philosophy-item p { font-size: 0.9rem; color: var(--color-muted); line-height: 1.7; }

/* ---- VIDEO ---- */
.video-inner {
    max-width: calc(var(--max-width) - 2 * var(--gutter));
    margin: 2rem auto 0;
    padding: 2rem var(--gutter);
    background: var(--color-warm);
    border-radius: 4px;
}

.video-inner h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin-bottom: 1rem; }

.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-ink);
}

.video-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ---- RATES ---- */
.rates { max-width: var(--max-width); margin: 0 auto; padding: 2rem var(--gutter); }
.rates h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin-bottom: 0.5rem; }
.rates-lead { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 2rem; max-width: 600px; }

.rates-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

.rates-table th {
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--color-accent);
}

.rates-table td { padding: 1rem 0; border-bottom: 1px solid var(--color-accent); vertical-align: top; }
.rates-table td:first-child { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; padding-right: 1.5rem; width: 35%; }
.rates-table td:nth-child(2) { color: var(--color-accent); font-weight: 600; white-space: nowrap; width: 20%; }
.rates-table td:last-child { color: var(--color-muted); font-size: 0.88rem; }

.rates-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--color-muted); font-style: italic; max-width: 600px; line-height: 1.65; }
.rates-legal { margin-top: 1rem; font-size: 0.82rem; color: var(--color-muted); line-height: 1.65; max-width: 600px; padding: 1rem; border-left: 3px solid var(--color-rule); }

/* ---- INQUIRY FORM ---- */
.inquiry {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-rule);
    border-left: 3px solid var(--color-accent);
    border-radius: 4px;
    max-width: calc(var(--max-width) - 2 * var(--gutter));
    margin: 0 auto;
}

.inquiry-inner { padding: var(--gutter); position: relative; z-index: 1; }

.inquiry::after {
    content: '';
    position: absolute;
    right: 0; bottom: 0;
    width: 45%; height: 100%;
    background: url('/form-border.jpg') no-repeat right bottom / cover;
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
    pointer-events: none;
    z-index: 0;
}

.inquiry-inner h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin-bottom: 0.5rem; }
.inquiry-lead { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 2rem; max-width: 600px; line-height: 1.7; }
.inquiry-form { max-width: 600px; }
.form-row { margin-bottom: 1.25rem; }

.form-row label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-ink);
    background: var(--color-paper);
    border: 1px solid var(--color-rule);
    border-radius: 3px;
    padding: 0.7rem 0.85rem;
    transition: border-color 0.2s;
    line-height: 1.5;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }

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

.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6560' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-row-inline { display: flex; align-items: center; gap: 1.5rem; }
.form-row-inline .form-phone-field { flex: 1; }

.form-checkbox { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; white-space: nowrap; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-accent); cursor: pointer; flex-shrink: 0; }
.form-checkbox span { font-size: 0.88rem; color: var(--color-muted); }

.form-spanish-pref { margin-top: 0.25rem; margin-bottom: 1.25rem; }

.form-submit {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover { background: var(--color-accent-light); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; }
.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

/* ---- CONTACT ---- */
.contact { max-width: var(--max-width); margin: 0 auto; padding: 2rem var(--gutter); display: grid; grid-template-columns: 2fr 3fr; gap: 1.5rem; }
.contact h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.15; margin-bottom: 1rem; }
.contact p { font-size: 0.92rem; color: var(--color-muted); line-height: 1.7; margin-bottom: 1rem; }
.contact-methods { margin-top: 1.5rem; }
.contact-method { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.92rem; }
.contact-method-label { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); min-width: 65px; }
.contact-method a { color: var(--color-accent); text-decoration: none; }
.contact-method a:hover { text-decoration: underline; }
.map-container { width: 100%; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid var(--color-rule); }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---- SERVICE PAGES ---- */
.service-page { max-width: var(--max-width); margin: 0 auto; padding: 3rem var(--gutter) 2rem; }
.service-hero-photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; margin-bottom: 1.5rem; display: block; }
.service-hero-caption { font-size: 0.78rem; color: var(--color-muted); line-height: 1.55; font-style: italic; margin-top: -0.75rem; margin-bottom: 2rem; }
.service-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.2; margin-bottom: 0.5rem; color: var(--color-ink); }
.service-page .service-rate-hero { font-size: 1rem; font-weight: 500; color: var(--color-accent); margin-bottom: 1.5rem; }
.service-page .lead { font-size: 1.05rem; color: var(--color-muted); line-height: 1.75; margin-bottom: 2rem; max-width: 680px; }
.service-page h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; margin-top: 2.5rem; }
.service-page h2:first-of-type { margin-top: 0; }
.service-page p { font-size: 0.95rem; color: var(--color-muted); line-height: 1.75; margin-bottom: 1rem; max-width: 680px; }

.service-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 0.85rem 2rem;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s;
    margin-top: 1rem;
}

.service-cta:hover { background: var(--color-accent-light); }

.back-link { font-size: 0.85rem; color: var(--color-accent); text-decoration: none; display: inline-block; margin-bottom: 1.5rem; }
.back-link:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.site-footer { background: var(--color-ink); color: var(--color-rule); padding: 2.5rem var(--gutter); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: var(--font-display); font-size: 1rem; font-weight: 500; }
.footer-meta { font-size: 0.78rem; color: var(--color-muted); }
.footer-meta a { color: var(--color-rule); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a { color: var(--color-rule); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-social a:hover { color: var(--color-white); }

/* ---- BLOG ---- */
.blog-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem var(--gutter) 4rem;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: start;
}

.blog-main h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-ink);
}

/* Post cards on index */
.post-card {
    border-bottom: 1px solid var(--color-rule);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.post-card:last-of-type { border-bottom: none; }

.post-card-meta {
    font-size: 0.78rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-card-meta .post-category {
    color: var(--color-accent);
    font-weight: 600;
}

.post-card-meta .post-level {
    background: var(--color-warm);
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
}

.post-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.post-card h2 a { color: var(--color-ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--color-accent); }

.post-card-excerpt { font-size: 0.92rem; color: var(--color-muted); line-height: 1.7; margin-bottom: 0.75rem; }

.post-read-more { font-size: 0.82rem; font-weight: 600; color: var(--color-accent); text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.post-read-more:hover { text-decoration: underline; }

/* Blog sidebar */
.blog-sidebar { position: sticky; top: 5rem; }

.sidebar-section { margin-bottom: 2.5rem; }

.sidebar-section h3 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-rule);
}

.sidebar-section ul { list-style: none; }

.sidebar-section ul li {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: var(--color-muted);
}

.sidebar-section ul li a { color: var(--color-muted); text-decoration: none; }
.sidebar-section ul li a:hover { color: var(--color-accent); }

.sidebar-section ul li .count {
    font-size: 0.75rem;
    color: var(--color-rule);
    margin-left: 0.3rem;
}

/* Pagefind search */
.pagefind-ui { --pagefind-ui-scale: 0.85; --pagefind-ui-primary: var(--color-accent); --pagefind-ui-text: var(--color-ink); --pagefind-ui-background: var(--color-paper); --pagefind-ui-border: var(--color-rule); --pagefind-ui-tag: var(--color-warm); }

/* Subscribe form (Buttondown) */
.subscribe-form input[type="email"] {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-rule);
    border-radius: 3px;
    background: var(--color-paper);
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.subscribe-form button {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

.subscribe-form button:hover { background: var(--color-accent-light); }

/* Individual post page */
.post-page { max-width: var(--max-width); margin: 0 auto; padding: 3rem var(--gutter) 4rem; display: grid; grid-template-columns: 1fr 280px; gap: 4rem; align-items: start; }

.post-content { min-width: 0; }

.post-header { margin-bottom: 2rem; }

.post-header-meta {
    font-size: 0.78rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-header-meta .post-category { color: var(--color-accent); font-weight: 600; }
.post-header-meta .post-level { background: var(--color-warm); padding: 0.1rem 0.5rem; border-radius: 3px; }

.post-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.2; color: var(--color-ink); }

.post-body { font-size: 0.97rem; color: var(--color-ink); line-height: 1.8; }
.post-body h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.post-body h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.post-body p { margin-bottom: 1.25rem; max-width: 680px; }
.post-body ul, .post-body ol { margin-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body a { color: var(--color-accent); }
.post-body blockquote { border-left: 3px solid var(--color-accent); padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic; color: var(--color-muted); }
.post-body .video-embed { margin: 2rem 0; }

/* ---- MOBILE BR ---- */
.mobile-br { display: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; right: 0; background: var(--color-white); border-bottom: 1px solid var(--color-rule); border-left: 1px solid var(--color-rule); flex-direction: column; align-items: flex-start; padding: 1rem var(--gutter); gap: 1rem; }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .lang-toggle { margin-left: auto; margin-right: var(--gutter); order: 0; }
    .mobile-br { display: block; }

    .hero { padding: var(--gutter); min-height: auto; }
    .hero::after { display: none; }
    .hero h1 { margin-bottom: 1rem; }
    .hero-sub { margin-bottom: 1rem; }
    .hero-cta { display: block; text-align: center; }

    .ticker { display: none; }
    .section-rule { padding: 0; }

    .services { padding: var(--gutter); }
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section-lead { margin-bottom: 1rem; }
    .consultation-invite { margin-top: 1rem !important; }

    .about-inner { grid-template-columns: 1fr; padding: var(--gutter); gap: 1rem; border-radius: 0; margin: 0; }
    .about-photo { aspect-ratio: 1 / 1; object-position: top; }
    .about h2 { margin-bottom: 0.5rem; }
    .about p { margin-bottom: 0.5rem; }

    .philosophy { padding: var(--gutter); }
    .philosophy h2 { margin-bottom: 0.75rem; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 0.75rem; }

    .video-inner { padding: var(--gutter); border-radius: 0; margin: 0; }

    .rates { padding: var(--gutter); }
    .rates-lead { margin-bottom: 1rem; }
    .rates-table td:first-child { width: 30%; padding-right: 0.5rem; }
    .rates-table td:nth-child(2) { width: 25%; padding-right: 0.75rem; }

    .inquiry { border-radius: 0; border-right: none; }
    .inquiry-inner { padding: var(--gutter); }
    .inquiry::after { display: none; }
    .inquiry-lead { margin-bottom: 1rem; }
    .form-row { margin-bottom: 0.75rem; }
    .form-submit { display: block; width: 100%; text-align: center; }

    .contact { grid-template-columns: 1fr; padding: var(--gutter); gap: 1rem; }
    .contact-methods { margin-top: 0.75rem; }

    .footer-inner { flex-direction: column; text-align: center; }

    .service-page { padding: var(--gutter); }
    .service-cta { display: block; width: 100%; text-align: center; }

    .blog-layout { grid-template-columns: 1fr; gap: 2rem; }
    .blog-sidebar { position: static; }
    .post-page { grid-template-columns: 1fr; gap: 2rem; }
}
