/* =====================================================================
   roberteckhardt.com — 2026 · SHARED stylesheet (main + martialarts subdomain)
   ONE canonical file, deployed byte-identical to BOTH sites' ASSETS/roberteckhardt.css,
   so the header (logo + name/location, tab nav, page title) is pixel-identical
   everywhere. Page-specific sections (portfolio hero/PDF viewer vs martial-arts
   modules) are namespaced so they coexist; unused rules are inert on the other site.
   Fonts: Eureka woff2 under FONTS/ — identical to the main site.
   ===================================================================== */

/* ---- Eureka web fonts (woff2) — declared so every visitor renders the design type,
   not Helvetica fallback. Family names are the exact strings used elsewhere in this
   file; src points at bundled woff2 under FONTS/. font-display:swap = match today's
   instant-text behavior. */
@font-face{
    font-family: 'EurekaSansScComp-Light';
    src: url('FONTS/EurekaSansScComp-Light.woff2') format('woff2');
    font-style: normal; font-weight: 300; font-display: swap;
}
@font-face{
    font-family: 'EurekaSansScComp-Medium';
    src: url('FONTS/EurekaSansScComp-Medium.woff2') format('woff2');
    font-style: normal; font-weight: 500; font-display: swap;
}
@font-face{
    font-family: 'EurekaSansScComp-Bold';
    src: url('FONTS/EurekaSansScComp-Bold.woff2') format('woff2');
    font-style: normal; font-weight: 700; font-display: swap;
}
@font-face{
    font-family: 'EurekaSansComp';
    src: url('FONTS/EurekaSansComp.woff2') format('woff2');
    font-style: normal; font-weight: 300; font-display: swap;
}
@font-face{
    font-family: 'EurekaSansComp-Medium';
    src: url('FONTS/EurekaSansComp-Medium.woff2') format('woff2');
    font-style: normal; font-weight: 500; font-display: swap;
}
@font-face{
    font-family: 'EurekaSansComp-LightItalic';
    src: url('FONTS/EurekaSansComp-LightItalic.woff2') format('woff2');
    font-style: italic; font-weight: 300; font-display: swap;
}
@font-face{
    font-family: 'EurekaComp';
    src: url('FONTS/EurekaComp.woff2') format('woff2');
    font-style: normal; font-weight: 400; font-display: swap;
}

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

body {
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.portfolio-container {
    max-width: 1024px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 60px 40px;
}

/* =====================================================================
   SHARED HEADER — Figma header redesign (logo + name/location, tab nav, page title).
   Both sites use the identical markup/classes here. The only per-site differences:
   - the logo element (main: placeholder box; martialarts: bobu-kanji.svg mark),
   - which tab carries data-on="true" (the current page),
   - the page-title text.
   ===================================================================== */
.profile-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.profile-image-placeholder {
    width: 101px;
    height: 71.87px;
    background: rgba(127, 119, 111, 0.05);
    box-shadow: 4px 4px 12px rgba(44, 41, 38, 0.30) inset;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

/* Logo variant for the martialarts subdomain: the bobu-kanji.svg mark is the real
   logo (102x71) and already renders its own inner shadow + rounded bottom corners,
   so the box shadow/background are dropped to avoid a doubled shadow. */
.profile-image-placeholder.mark {
    display: block;
    width: 102px;
    height: 71px;
    background: none;
    box-shadow: none;
    object-fit: contain;
}

.header-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-name {
    color: #3D3835;
    font-size: 24px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    text-transform: uppercase;
    word-wrap: break-word;
}

.profile-location {
    color: #7F776F;
    font-size: 14px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    text-transform: lowercase;
}

/* Tab navigation — identical on both sites; data-on="true" marks the current page */
.header-nav {
    align-self: stretch;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-top: 1px #F3F2F1 solid;
    border-bottom: 1px #F3F2F1 solid;
}

.nav-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 16px;
    color: #7F776F;
    font-size: 16px;
    font-family: 'EurekaSansScComp-Medium', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    text-transform: lowercase;
    word-wrap: break-word;
    text-decoration: none;
}

.nav-tab:hover,
.nav-tab:focus-visible { color: #DA6526; }

.nav-tab[data-on="true"] {
    background: #DA6426;
    border-top: 2px #7D3308 solid;
    border-bottom: 2px #7D3308 solid;
    color: white;
}
.nav-tab[data-on="true"]:hover,
.nav-tab[data-on="true"]:focus-visible { color: white; }

/* Disabled nav item (e.g. Drawing) — inert, lighter gray, no hover/click affordance */
.nav-tab[aria-disabled="true"] {
    color: #DDD1C6;
    cursor: default;
    pointer-events: none;
}

/* Page title (current section heading, e.g. "portfolio" / "martial arts") */
.page-title {
    padding-top: 20px;
    color: #3D3835;
    font-size: 52px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    word-wrap: break-word;
}

/* =====================================================================
   MAIN SITE — hero section + PDF viewer (portfolio page)
   ===================================================================== */
.hero-container {
    width: 100%;
    padding: 20px 30px;
    background: #F3F2F1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    /* Height derives from the hero image's aspect ratio (871x450) instead of a fixed
       pixel value, so the box 'matches the size and scale of the hero image' at ANY
       viewport. PDFs (portfolio/resume) are fitted into this same box. */
    aspect-ratio: 871 / 450;
    height: auto;
    background: #F9F8F8;
    overflow: hidden;
}

/* Fallback for engines that lack aspect-ratio (older iPadOS): a padding-top percentage
   drives the identical 871/450 box so the hero can never collapse to 0 height. */
@supports not (aspect-ratio: 1 / 1) {
    .hero-image-wrapper { padding-top: 51.55%; height: 0; }
}

.hero-image-wrapper.pdf-scroll {
    /* One PDF page at a time, fitted inside the image-proportioned box: no growth,
       no scroll, no layout shift when portfolio/resume is selected. */
    display: flex;
    flex-direction: column;
}

.pdf-scroll .hero-image-wrapper::before {
    visibility: hidden;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 2px 2px 10px 4px rgba(44, 41, 38, 0.30), 0 0 0 1px rgba(44, 41, 38, 0.15);
    pointer-events: none;
    z-index: 1;
}

.hero-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    display: block;
}

.hero-image-wrapper .pdf-canvas-wrapper {
    /* Fills the hero box and centers the fitted page within it */
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero-image-wrapper .pdf-canvas {
    display: block;
}


.pdf-canvas:fullscreen {
    background: #1a1a1a;
}

.pdf-annotation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.pdf-annotation-layer a {
    pointer-events: auto;
    cursor: pointer;
}

.pdf-toolbar {
    display: none;
    gap: 16px;
    align-items: center;
    z-index: 10;
    width: 100%;
    padding: 0 20px 20px;
}

.pdf-toolbar.visible {
    display: flex;
     /* Absolute pin to the bottom of the (overflow:hidden, aspect-ratio) hero box.
        'position:sticky' inside an overflow:hidden, non-scrolling box is unreliable on
        iOS Safari and can clip the toolbar to nothing; a plain absolute pin looks
        identical on desktop but paints robustly on the iPad. PDFs are contained in the
        box (not scrolled), so sticky was never doing any real work here. */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.pdf-scroll .pdf-toolbar {
    display: flex;
    z-index: 10;
    margin-top: auto;
    justify-content: center;
    /* Absolute pin: when the toolbar is visible it leaves the flex flow (see
       .pdf-toolbar.visible above), so it is anchored to the bottom of the hero box
       rather than relying on sticky. */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-group--right {
    margin-left: auto;
}

.pdf-page-info {
    color: #7F776F;
    font-size: 12px;
    font-family: EurekaSansComp, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 26px;
    user-select: none;
    white-space: nowrap;
}

.pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(218, 101, 38, 0.5);
    border: none;
    border-radius: 100px;
    outline: 2px #DA6526 solid;
    outline-offset: -2px;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 0;
}

.pdf-btn:hover,
.pdf-btn:focus-visible {
    opacity: 0.85;
}

.pdf-btn:focus-visible {
    outline: 2px #FE9C65 solid;
    outline-offset: 4px;
}

.pdf-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #fff !important;
}

.hero-title {
    width: 100%;
    text-align: center;
    color: #9F4A1D;
    font-size: 20px;
    font-family: EurekaSansScComp-Bold;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 20px;
}

/* Navigation Buttons (View Portfolio / Resume) */
.buttons-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.button-wrapper {
    display: flex;
    align-items: center;
    padding: 4px 16px;
    gap: 8px;
    background: #DA6526;
    border-radius: 6px;
    outline: 2px #FE9C65 solid;
    outline-offset: -2px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.button-wrapper:hover,
.button-wrapper:focus-visible {
    opacity: 0.85;
}

.button-wrapper.active {
    box-shadow: 0 0 0 3px #FE9C65;
}

.buttons-container.has-active .button-wrapper:not(.active) {
    opacity: 0.4;
}

.button-wrapper:focus-visible {
    outline: 2px #FE9C65 solid;
    outline-offset: 4px;
}

.button-text {
    color: white;
    font-size: 24px;
    font-family: EurekaSansScComp-Medium;
    font-weight: 500;
    text-transform: lowercase;
    word-wrap: break-word;
}

.button-icon {
    width: 24px;
    height: 24px;
}

/* About Section */
.about-section {
    width: 100%;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #F3F2F1;
}

.about-text {
    color: #2C2926;
    font-size: 28px;
    font-family: 'EurekaSansComp-Medium', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    line-height: 36px;
    word-wrap: break-word;
    margin-bottom: 20px;
}

.about-grid {
    display: flex;
    gap: 48px;
    margin-top: 24px;
}

.about-column {
    flex: 1 1 0;
}

.about-heading {
    color: #2C2926;
    font-size: 20px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 8px;
}

.about-list,
.about-list ul,
.about-list ol {
    color: #2C2926;
    font-size: 22px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    text-transform: lowercase;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    margin-bottom: 4px;
    padding-left: 0;
}

.about-value {
    display: inline-block;
    margin-left: 10px;
}

.about-label {
    color: #2C2926;
    font-size: 22px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    text-transform: lowercase;
}

.about-value {
    color: #2C2926;
    font-size: 22px;
    font-family: 'EurekaSansComp-LightItalic', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    text-transform: lowercase;
}

.about-highlight {
    color: #DA6426;
}

/* References Section */
.references-section {
    width: 100%;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #F3F2F1;
}

.references-heading {
    color: #7F776F;
    font-size: 36px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 24px;
}

.references-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.references-list.collapsed {
    height: 400px;
    overflow: hidden;
}

.reference-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.reference-portrait {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    flex-shrink: 0;
    box-shadow: 2px 2px 10px 4px rgba(44, 41, 38, 0.30) inset;
    object-fit: cover;
}

.reference-body {
    flex: 1 1 0;
}

.reference-meta {
    color: #918E7E;
    font-size: 20px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 4px;
    line-height: 1.3;
}

.reference-quote {
    color: #2C2926;
    font-size: 18px;
    font-family: 'EurekaComp', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 26px;
}

.references-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px auto 0;
    padding: 4px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    outline: 2px #FE9C65 solid;
    outline-offset: -2px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.references-more-btn:hover,
.references-more-btn:focus-visible {
    opacity: 0.85;
}

.references-more-btn:focus-visible {
    outline: 2px #FE9C65 solid;
    outline-offset: 4px;
}

.references-more-btn span {
    color: #FE9C65;
    font-size: 24px;
    font-family: 'EurekaSansScComp-Medium', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    text-transform: lowercase;
}

.references-more-btn svg.icon-plus,
.references-more-btn svg.icon-minus {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

       /* ---------- PDF loading overlay (download progress + spinner) ---------- */
       /* Scoped to the hero viewport (.hero-image-wrapper is position:relative): the overlay fills ONLY the hero, not the page */
       .pdf-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(44,41,38,0.92); color: #f3f2f1; font-family: 'EurekaSansScComp-Light','Helvetica Neue',Arial,sans-serif; z-index: 10; text-align: center; padding: 18px; }
       .pdf-spinner { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.15); border-top-color: #DA7B23; border-radius: 50%; animation: pdf-spin .8s linear infinite; }
       @keyframes pdf-spin { to { transform: rotate(360deg); } }
       .pdf-loading-cta { font-size: clamp(.9rem,1.4vw,1.1rem); letter-spacing: .04em; font-weight: 500; }
       .pdf-progress { width: min(72%,300px); height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; }
       .pdf-progress-bar { height: 100%; width: 0%; background: #DA7B23; transition: width .18s ease; }
       .pdf-loading-meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }

/* =====================================================================
   MARTIAL ARTS — modules (Aikido / Iaido) — Figma 1:694 / 1:740
   heading: kanji (24 Bold orange) then name (36 Bold gray)
   framed video + caption · 2-col row (photo left / narrative right) ·
   3-shot action gallery. Photos owner-supplied.
   ===================================================================== */
.module {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #F3F2F1;
}
.module-heading {
    margin-bottom: 28px;
}
.module-kanji {
    color: #DA6526;
    font-size: 24px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
.module-name {
    color: #7F776F;
    font-size: 36px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 2px;
}

/* framed video (Figma framed module videos) — full natural height, not cropped.
   Same philosophy as .photo: contain + auto height, object-fit never crops. */
.frame video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #000;
    border-radius: 4px;
}

/* framed photo + caption */
.frame {
    position: relative;
    background: #F3F2F1;
    padding: 12px;
    margin-bottom: 36px;
}
.frame .photo-placeholder {
    aspect-ratio: 844 / 420;   /* Figma dojo photo ~2:1 */
}
.frame-caption {
    text-align: center;
    color: #9F4A1D;
    font-size: 20px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    margin-top: 12px;
}

/* placeholder photo slot (owner-supplied photos pending) */
.photo-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(127,119,111,0.12);
    border-radius: 4px;
    color: rgba(127,119,111,0.9);
    font-size: 13px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.14em;
    text-transform: lowercase;
    border: 1px dashed rgba(127,119,111,0.4);
    text-align: center;
    padding: 8px;
}

/* real photo (wired from ASSETS/GRAPHICS) — full natural height, never cropped.
   object-fit:contain + auto height shows the whole image; columns stay fixed width. */
.photo {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* 2-col row: photo left / narrative right (Figma Frame 10) */
.row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 36px;
}
.row-photo {
    flex: 0 0 300px;          /* Figma portrait 300x450 */
}
.row-photo .photo-placeholder { aspect-ratio: 300 / 450; }
.row-copy {
    flex: 1 1 0;
}
.row-copy p {
    color: #2C2926;
    font-size: 28px;
    font-family: 'EurekaSansComp-Medium', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    line-height: 40px;
}

/* 3-shot action gallery (Figma Frame 9) */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 24px;
}
.gallery .photo-placeholder { aspect-ratio: 3 / 4; }

/* footer back-link to main site */
.site-footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #F3F2F1;
    text-align: center;
}
.site-footer a {
    color: #7F776F;
    font-size: 16px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer a:hover { color: #DA6526; }

/* =====================================================================
   SHARED RESPONSIVE — additive; identical for both sites.
   ===================================================================== */
@media (hover: none) and (pointer: coarse) {
    .nav-tab:hover,
    .pdf-btn:hover,
    .button-wrapper:hover,
    .references-more-btn:hover,
    .site-footer a:hover { opacity: 1; color: #7F776F; }
}
.nav-tab:active,
.site-footer a:active { color: #DA6526; }
.pdf-btn:active,
.button-wrapper:active,
.references-more-btn:active { opacity: .85; }

@media (prefers-reduced-motion: reduce) {
    .pdf-spinner { animation: none; }
}

/* #1 about-grid (KEY SKILLS / VALUES two-column) stacks on phones */
@media (max-width: 768px) {
    .portfolio-container { padding: 28px 24px 48px; }
    .row { flex-direction: column; gap: 24px; }
    .row-photo { flex-basis: auto; width: 100%; }
    .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 560px) {
    .about-grid { flex-direction: column; gap: 28px; }
    .reference-card { flex-direction: column; align-items: center; }
    .reference-portrait { width: 140px; height: 140px; border-radius: 70px; }
    .reference-body { text-align: center; width: 100%; }
    .pdf-scroll .pdf-toolbar { flex-wrap: wrap; row-gap: 10px; }
    .pdf-scroll .pdf-toolbar .toolbar-group { flex-wrap: nowrap; }
    .pdf-btn { width: 44px; height: 44px; }
    .about-text { font-size: 22px; line-height: 30px; }
    .about-list,
    .about-label,
    .about-value { font-size: 18px; }
    .module-name { font-size: 28px; }
    .row-copy p { font-size: 20px; line-height: 30px; }
}

/* 480 — smallest breakpoint: content 2px from every edge, PDF pager dropped */
@media (max-width: 480px) {
    body { padding: 2px; margin: 0; }
    .portfolio-container { padding: 24px 14px 48px; }

    .pdf-toolbar .toolbar-group--left { display: none; }
    .pdf-toolbar.visible { justify-content: center; }
    .pdf-toolbar .toolbar-group--right { margin-left: 0; margin-right: 0; }
    .pdf-toolbar .pdf-btn {
        transform: scale(0.9);
        transform-origin: center;
    }

    .buttons-container { flex-direction: column; gap: 12px; align-items: stretch; }
    .button-wrapper { justify-content: center; }

    .gallery { grid-template-columns: 1fr; }
}

/* =====================================================================
   FULLSCREEN OVERLAY TOOLBAR  (~09) — lives after the <=480px block so it
   wins the cascade (restores the pager in fullscreen at small widths).
   ===================================================================== */
.fs-toolbar .toolbar-group--left {
    display: flex;
}
.fs-toolbar .pdf-page-info {
    display: none;
}

/* =====================================================================
   CONTACT PAGE — contact.html (main site only; inert on martial arts)
   ===================================================================== */
.contact-container {
    width: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-title {
    color: #3D3835;
    font-size: 20px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: lowercase;
    word-wrap: break-word;
}
.contact-sub {
    color: #625D56;
    font-size: 18px;
    font-family: 'EurekaComp', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 26px;
    text-decoration: none;
    word-wrap: break-word;
    margin-top: 10px;
}
.contact-sub:hover { color: #DA6526; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-label {
    color: #3D3835;
    font-size: 20px;
    font-family: 'EurekaSansScComp-Bold', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: lowercase;
    word-wrap: break-word;
}
.contact-input,
.contact-textarea {
    width: 100%;
    box-sizing: border-box;
    background: #FFFFFF;
    border: none;
    outline: 1px solid #BDB8AE;
    outline-offset: -1px;
    border-radius: 6px;
    color: #2C2926;
    font-size: 18px;
    font-family: 'EurekaComp', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 26px;
    padding: 12px 14px;
}
.contact-input { height: 48px; }
.contact-textarea { height: 144px; resize: vertical; }
.contact-input::placeholder,
.contact-textarea::placeholder { color: #777168; }

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.contact-submit {
    display: inline-flex;
    flex: 1 1 0;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
    background: #DA6526;
    color: #FFFFFF;
    font-size: 24px;
    font-family: 'EurekaSansScComp-Medium', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    text-transform: lowercase;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    outline: 2px #FE9C65 solid;
    outline-offset: -2px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.contact-submit:hover,
.contact-submit:focus-visible { opacity: 0.85; }



.contact-error {
    color: #625D56;
    font-size: 13px;
    font-family: 'EurekaSansComp', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    display: none;
}
.contact-error.visible { display: block; }

.contact-form.hidden { display: none; }
.contact-success {
    color: #625D56;
    font-size: 18px;
    font-family: 'EurekaSansComp', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    display: none;
}
.contact-success.visible { display: block; }
.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3D3835;
    font-size: 20px;
    font-family: 'EurekaSansScComp-Light', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 350;
    text-transform: lowercase;
    text-decoration: none;
    word-wrap: break-word;
}
.contact-link:hover { color: #DA6526; }
.contact-link-icon {
    width: 24px;
    height: 24px;
    color: #918E7E;
}

/* Responsive: stack the form + links on small screens */
@media (max-width: 640px) {
    .contact-container { padding: 24px 0; }
    .contact-actions { flex-direction: column; align-items: stretch; }
    .contact-submit { justify-content: center; }
    .contact-links { flex-direction: column; gap: 12px; }
}
