:root {
    --brand-primary: #c96a2b;
    --brand-dark: #a9541f;
    --brand-tint: #faf5ef;
    --white: #fffdf9;
    --off-white: #f7f1e8;
    --gray-50: #faf5ef;
    --gray-100: #efe5d7;
    --gray-600: #5f665c;
    --gray-800: #223127;
    --border: rgba(201, 106, 43, 0.14);
    --border-strong: rgba(201, 106, 43, 0.28);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --font-display: "Fredoka", system-ui, sans-serif;
    --font-body: "Nunito", system-ui, sans-serif;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-2xl: 48px;
    --sp-3xl: 64px;
    --sp-4xl: 80px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus-visible {
    color: var(--brand-dark);
}

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

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.25;
    color: var(--gray-800);
}

p {
    color: var(--gray-600);
    margin: 0 0 10px;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.primary-header {
    background: var(--gray-800);
    padding: 10px 0;
}

.primary-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
}

.header-social-links,
.header-cta-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cta-group {
    justify-content: flex-end;
}

.header-social-links a,
.header-cta-group .btn {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.header-cta-group .btn {
    border: 2px solid var(--brand-primary);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.header-social-links a:hover,
.header-social-links a:focus-visible,
.header-cta-group .btn:hover,
.header-cta-group .btn:focus-visible {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--white);
}

.header-cta-group .btn-primary {
    background: var(--brand-primary);
}

.language-select {
    height: 40px;
    padding: 0 30px 0 12px;
    border: 1px solid rgba(255,255,255,0.55);
    background: var(--gray-800);
    color: var(--white);
    font: 700 13px var(--font-body);
    cursor: pointer;
}

.site-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.site-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.site-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--sp-sm);
}

.site-logo img {
    height: 52px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav > li {
    position: relative;
}

.site-nav li a {
    display: block;
    padding: 24px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.site-nav li a:hover,
.site-nav li a:focus-visible,
.site-nav li a[aria-current="page"] {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

.site-nav .nav-link--dropdown {
    display: inline-flex;
    align-items: center;
}

.site-nav .nav-link--dropdown::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease, margin 0.3s ease;
}

.site-nav .nav-item--has-dropdown:hover .nav-link--dropdown::after,
.site-nav .nav-item--has-dropdown:focus-within .nav-link--dropdown::after {
    margin-top: 4px;
    transform: rotate(225deg);
}

.site-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(680px, calc(100vw - 30px));
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-top: 3px solid var(--brand-primary);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 120;
}

.site-nav .nav-item--has-dropdown:hover .site-dropdown,
.site-nav .nav-item--has-dropdown:focus-within .site-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.site-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.site-dropdown__group {
    padding: 20px;
    border-right: 1px solid var(--gray-100);
}

.site-dropdown__group:last-child {
    border-right: 0;
}

.site-dropdown__heading {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-nav .site-dropdown a {
    padding: 8px 0;
    border-bottom: 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.4;
}

.site-nav .site-dropdown a:hover,
.site-nav .site-dropdown a:focus-visible {
    color: var(--brand-primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    margin: 5px 0;
}

.hero {
    padding: var(--sp-4xl) 0 var(--sp-3xl);
    background: var(--brand-tint);
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: var(--sp-sm);
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: var(--sp-md);
}

.hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
}

.section {
    padding: var(--sp-4xl) 0;
}

.section--alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--sp-2xl);
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: var(--sp-md);
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
}

.mockup-card {
    min-height: 230px;
    padding: var(--sp-xl) var(--sp-lg);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.mockup-card h3 {
    margin-bottom: var(--sp-sm);
    color: var(--brand-primary);
    font-size: 20px;
}

.founder-stack {
    display: grid;
    gap: var(--sp-xl);
}

.founder-profile {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
    gap: var(--sp-xl);
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.founder-profile--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
}

.founder-profile__media {
    min-height: 280px;
    background: var(--brand-tint);
    border-right: 1px solid var(--gray-100);
}

.founder-profile--reverse .founder-profile__media {
    border-right: 0;
    border-left: 1px solid var(--gray-100);
}

.founder-profile__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.founder-profile__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--sp-2xl);
}

.founder-profile__content h3 {
    margin-bottom: var(--sp-sm);
    color: var(--brand-primary);
    font-size: 24px;
}

.founder-stack--detailed {
    gap: var(--sp-2xl);
}

.founder-profile--detailed {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
}

.founder-profile--detailed .founder-profile__content {
    justify-content: flex-start;
}

.founder-profile--detailed .founder-profile__media {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    padding: var(--sp-lg);
}

.founder-profile__photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-sm);
}

.founder-profile__photo-grid img {
    width: 100%;
    height: 180px;
    min-height: 0;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.founder-profile__photo-grid .founder-profile__photo-main {
    grid-column: 1 / -1;
    height: 330px;
}

.founder-profile__media figcaption {
    margin-top: auto;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
}

.founder-profile__eyebrow {
    margin-bottom: 4px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.founder-profile__lead {
    color: var(--gray-800);
    font-size: 18px;
    font-weight: 700;
}

.founder-profile__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-md);
    margin: var(--sp-md) 0 var(--sp-lg);
    padding: var(--sp-md) 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.founder-profile__facts div {
    min-width: 0;
}

.founder-profile__facts dt {
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.founder-profile__facts dd {
    margin: 4px 0 0;
    color: var(--gray-800);
    font-weight: 700;
    line-height: 1.35;
}

.founder-profile__details {
    margin-top: var(--sp-md);
    padding-top: var(--sp-md);
    border-top: 1px solid var(--gray-100);
}

.founder-profile__details h4 {
    margin: 0 0 var(--sp-sm);
    color: var(--gray-800);
    font-family: var(--font-display);
    font-size: 18px;
}

.founder-profile__details ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    color: var(--gray-600);
}

.founder-profile__details li {
    padding-left: 4px;
}

.content-band {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--sp-2xl);
    background: var(--white);
    border: 2px dashed var(--border-strong);
}

.site-footer {
    background: var(--gray-800);
    color: rgba(255,255,255,0.72);
    padding: var(--sp-3xl) 0;
    text-align: center;
}

.site-footer p {
    color: rgba(255,255,255,0.65);
}

@media (max-width: 1024px) {
    .site-nav li a {
        padding: 24px 12px;
        font-size: 13px;
    }
    .mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .primary-header .container {
        flex-direction: column;
    }
    .header-social-links,
    .header-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    .site-navbar .container {
        position: relative;
    }
    .nav-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }
    .site-nav.active {
        display: flex;
    }
    .site-nav > li,
    .site-nav .nav-link--dropdown {
        width: 100%;
    }
    .site-nav .nav-link--dropdown::after {
        margin-left: auto;
    }
    .site-nav li a {
        padding: 16px 20px;
        border-bottom: 1px solid var(--gray-100);
    }
    .site-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-bottom: 1px solid var(--gray-100);
        background: var(--brand-tint);
    }
    .site-dropdown__grid,
    .mockup-grid {
        grid-template-columns: 1fr;
    }
    .founder-profile,
    .founder-profile--reverse {
        grid-template-columns: 1fr;
    }
    .founder-profile--detailed {
        grid-template-columns: 1fr;
    }
    .founder-profile--reverse .founder-profile__content {
        order: 2;
    }
    .founder-profile--reverse .founder-profile__media {
        order: 1;
    }
    .founder-profile__media,
    .founder-profile--reverse .founder-profile__media {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--gray-100);
    }
    .founder-profile__content {
        padding: var(--sp-xl) var(--sp-lg);
    }
    .founder-profile--detailed .founder-profile__media {
        padding: var(--sp-md);
    }
    .founder-profile__photo-grid .founder-profile__photo-main {
        height: 260px;
    }
    .founder-profile__photo-grid img {
        height: 140px;
    }
    .founder-profile__facts {
        grid-template-columns: 1fr;
    }
    .site-dropdown__group {
        padding: 14px 20px 12px;
        border-right: 0;
        border-top: 1px solid var(--gray-100);
    }
    .hero h1 {
        font-size: 30px;
    }
    .section-header h2 {
        font-size: 26px;
    }
}
