/* ==================================================================
   SKS – Bauhaus theme (mockup-aligned, hero tabs fixed + curvature)
   ================================================================== */

:root{
    --mission-offset-desktop: 2rem;   /* how far to push it down on wide screens */
    --mission-offset-mobile:  0rem;   /* stacked layout: usually no extra offset */
    --blue:#0477BF;
    --green:#02733E;
    --yellow:#F2B705;
    --red:#F23C13;
    --sand:#D8CFB4;

    --white:#fff;
    --black:#111;

    --shadow-strong: 4px 4px 0 rgba(0,0,0,.28);
    --shadow-soft:   4px 4px 12px rgba(0,0,0,.20);
    --text-shadow:   4px 4px 0 rgba(0,0,0,.25);

    --radius: 18px;
    --container: 1180px;
    --gap: 1.2rem;
}

/* Base */
*,
*::before,
*::after{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0; color:var(--black); background:var(--sand);
    font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    line-height:1.55;
}
img{ max-width:100%; display:block; }

/* Background */
.bg-tile{ position:fixed; inset:0; z-index:-2;
    background:url('assets/bauhaus-tile.png') repeat 0 0/420px 420px;
    filter: blur(1.5px); transform: scale(1.015);
}
.bg-overlay{ position:fixed; inset:0; z-index:-1; background: rgba(216,207,180,0.55); }

/* Containers */
.container{ max-width:var(--container); margin:0 auto; padding:0 clamp(1rem,3vw,2rem); }
.section{ padding: clamp(1rem, 4vw, 2rem) 0; }

/* Typography (style tile) */
h1,h2,h3,h4,h5,h6{ margin:0 0 .6rem; }
h1,h2{ font-family:"Staatliches",sans-serif; font-weight:400; text-transform:uppercase; letter-spacing:.5px; }
h3,h4{ font-family:"Baumans",cursive; font-weight:400; }
h5,h6{ font-family:"Overpass",sans-serif; font-weight:600; }
p, small{ font-family:"Montserrat",sans-serif; }
small{ font-size:.875rem; }

h1{ font-size:clamp(2.7rem,6vw,4.4rem); line-height:1; text-shadow:var(--text-shadow); color:#fff; }
h2{ font-size:clamp(1.8rem,4vw,2.6rem); }
h3{ font-size:clamp(1.5rem,2.8vw,2.1rem); }
h4{ font-size:clamp(1.25rem,2.2vw,1.6rem); }
h5{ font-size:1.15rem; }
h6{ font-size:1rem; }

/* Header */
.site-header{
    position:sticky; top:0; z-index:10;
    background:rgba(255,255,255,.82); backdrop-filter:blur(6px);
    border-bottom:2px solid var(--black);
}
.header__bar{ display:flex; align-items:center; gap:.75rem; padding:.5rem 0; }
.brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; color:inherit; }
.brand__mark{
    width:36px; height:36px; display:grid; place-items:center; border-radius:50%;
    background:var(--yellow); font-weight:800; border:2px solid var(--black); box-shadow:var(--shadow-strong);
    font-family:"Overpass";
}
.brand__name{ font-family:"Staatliches"; letter-spacing:.4px; }

/* HERO */
.hero{ padding: 1.5rem 0 2rem; position:relative; }
.hero__wrap{ position: relative; }

/* Tabs across the hero */
.hero-tabs{
    position: relative;
    top: -16px;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: clamp(1rem, 2.5vw, 2rem);
    width: 100%;
    max-width: var(--container);
    margin: 0 auto clamp(.5rem, 2vw, 1rem);
}
.tab-lg{
    justify-self: center;
    font-family:"Baumans", cursive;
    font-size: clamp(1rem, 2vw, 1.3rem);
    text-decoration:none;
    color:#fff;
    padding:.65rem 1.6rem;
    border:2px solid var(--black);
    border-radius:24px;               /* default pill; variants below */
    box-shadow: var(--shadow-strong);
    white-space: nowrap;
}
.hero-tabs .tab-lg:nth-child(1){ justify-self: start; }
.hero-tabs .tab-lg:nth-child(3){ justify-self: end; }
.tab-lg--orange{ background: var(--red); }
.tab-lg--green { background: var(--green); }
.tab-lg--blue  { background: var(--blue); }

/* Hero grid */
.hero__grid{
    display:grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items:start;
}
.kicker{
    font-family:"Baumans",cursive;
    font-size: clamp(1.1rem, 2.1vw, 1.6rem);
    color:#fff;
    text-shadow: var(--text-shadow);
    margin:.4rem 0 .2rem;
}
.hero__title{ max-width: 18ch; margin-bottom:.6rem; }
.hero__frame{
    margin:.6rem 0 0;
    overflow:hidden;
    box-shadow: var(--shadow-strong);
}
.hero__frame img{ height:clamp(280px,44vw,520px); width:100%; object-fit:cover; }

/* Mission panel */
.mission{
    background: rgba(242,183,5,0.82);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-strong);
    color: #1a1a1a;
    backdrop-filter: blur(2px);
    max-width: 520px;
}
.mission__title{ color:#fff; text-shadow: var(--text-shadow); }
.mission p{ margin:.4rem 0 .8rem; }
.mission__cta{ margin-top:.4rem; display:inline-block; }

/* Push the mission card down a bit on wide screens */
@media (min-width: 1300px){
    .mission{ margin-top: clamp(0.75rem, 3vw, 2.5rem); }
}
/* Keep it tight again when it stacks under the image */
@media (max-width: 1024px){
    .mission{ margin-top: 0; }
}

/* Buttons */
.btn{
    display:inline-block; font-weight:800; letter-spacing:.2px; text-decoration:none;
    padding:.7rem 1.1rem; border:2px solid var(--black);
    border-radius:14px; /* base */
    box-shadow: var(--shadow-strong); font-family:"Montserrat",sans-serif;
}
.btn--blue{ background:var(--blue); color:#fff; }
.btn--green{ background:var(--green); color:#fff; }
.btn--red{ background:var(--red); color:#fff; }
.btn:active{ transform:translate(2px,2px); box-shadow:2px 2px 0 rgba(0,0,0,.35); }

/* Bauhaus curvature variants (use as extra classes) */
.btn--stadium{ border-radius: 999px; }
.btn--arch-left { border-radius: 999px 16px 16px 999px; }
.btn--arch-right{ border-radius: 16px 999px 999px 16px; }
.btn--tab{
    border-radius: 28px 28px 14px 14px / 28px 28px 16px 16px;
}
.btn--zig{
    border-radius: 36px 12px 36px 12px / 22px 10px 22px 10px;
}

/* Same curvature options for hero tabs */
.tab-lg--tab{ border-radius: 26px 26px 14px 14px / 28px 28px 18px 18px; }
.tab-lg--arch-left { border-radius: 999px 20px 16px 999px; }
.tab-lg--arch-right{ border-radius: 20px 999px 999px 20px; }

/* Cards / lists */
.grid{ display:grid; gap: var(--gap); }
.grid--about{ grid-template-columns:1.1fr .9fr; }
.grid--cards{ grid-template-columns:repeat(3,1fr); }

.card{ background:#fff; padding:1rem; box-shadow: var(--shadow-strong); }
.item{ background:#fff;overflow:hidden; box-shadow: var(--shadow-strong); }
.item img{ height:180px; width:100%; object-fit:cover; }
.item__meta{ padding:.8rem 1rem; }
.item__sub{ margin:.2rem 0 .6rem; opacity:.9; }

/* Footer */
.site-footer{ border-top:2px solid var(--black); background:rgba(255,255,255,.85); backdrop-filter:blur(4px); }
.footer__cols{ display:grid; grid-template-columns:1fr auto; align-items:center; gap:1rem; padding:.6rem 0; }

/* Responsive */
/* Desktop layout: put the mission card on its own row on the right */
@media (min-width: 1025px){
    .hero__grid{
        /* two rows: row 1 (headline + image), row 2 (mission) */
        grid-template-rows: auto auto;
        column-gap: clamp(1rem, 3vw, 2rem);
        /* adjust this to push the mission further down */
        row-gap: clamp(1rem, 3vw, 2.6rem);
    }

    /* left column (headline + image) spans both rows */
    .hero__left{ grid-column: 1; grid-row: 1 / span 2; }

    /* mission sits in right column, row 2 */
    .mission{
        grid-column: 2;
        grid-row: 2;
        margin-top: 0; /* no margin hack needed */
    }
}