/* Montserrat – normal */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/Montserrat-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/Montserrat-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat – italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/Montserrat-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/Montserrat-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Abril Fatface */
@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/AbrilFatface-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/AbrilFatface-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --teal: #6BBFB5;
    --dark: #1A1A1A;
    --grey-text: #888888;
    --body-text: #3A3A3A;
    --bg-grey: #F0F0F0;
    --content-width: 750px;
    --wide-width: 1100px;
}

html { font-size: 90%; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.7; color: var(--dark); background: #fff; overflow-x: hidden; }

p, h1, h2, h3, h4, li {
    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    overflow-wrap: break-word;
}

h1 { font-family: 'Abril Fatface', Georgia, serif; font-weight: 400; line-height: 1.2; }
h2 { line-height: 1.2; }
h3, h4 { line-height: 1.3; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }


/* ===== HEADER / NAV ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #F0F0F0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.site-logo-dot { display: none; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.site-nav a { text-decoration: none; color: var(--dark); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.site-nav a:hover { color: var(--teal); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.5rem 0;
    min-width: 200px;
    list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.5rem 1.25rem; font-size: 0.88rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; }

main { padding-top: 64px; }


/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e8e8e8;
}

.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.hero-box {
    position: relative;
    background: rgba(255,255,255,0.93);
    padding: 1.5rem 3.5rem;
    text-align: center;
    max-width: 90%;
}

.hero-box h1 {
    font-family: 'Abril Fatface', Georgia, serif;
    font-weight: 400;
    color: var(--dark);
}

.hero-home {
    min-height: 88vh;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
}

.hero-home .hero-bg { opacity: 0.25; }

.hero-content-box {
    position: relative;
    background: #fff;
    padding: 3rem 3.5rem;
    max-width: 600px;
    width: 100%;
}

.hero-content-box h1 {
    font-family: 'Abril Fatface', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 1rem;
}


/* ===== SECTIONS ===== */
.section { padding: 5em 2rem; }
.section--grey { background: var(--bg-grey); }
.section--teal { background: var(--teal); }
.section--teal h2, .section--teal p { color: #fff; }

.container { max-width: var(--content-width); margin: 0 auto; }
.container--wide { max-width: var(--wide-width); margin: 0 auto; }


/* ===== LABELS & DIVIDERS ===== */
.label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-text);
    margin-bottom: 0.75rem;
}

.divider {
    width: 3rem;
    height: 2px;
    background: var(--teal);
    border: none;
    margin: 1.5rem 0;
}

.divider--center { margin-left: auto; margin-right: auto; }

h2.section-heading { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1.25rem; }


/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }

.card {
    border-top: 2px solid var(--teal);
    padding: 2rem;
    background: #fff;
}

.card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.card p { color: var(--body-text); font-size: 0.95rem; margin-bottom: 1rem; }

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
}
.card-link::after { content: ' →'; }


/* ===== PORTRAIT ===== */
.portrait {
    border-radius: 50% 46% 54% 48% / 52% 50% 48% 54%;
    overflow: hidden;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }


/* ===== TWO-COL LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: var(--wide-width); margin: 0 auto; }
.two-col--35-65 { grid-template-columns: 35% 65%; }


/* ===== CV ===== */
.cv { list-style: none; }
.cv-row {
    display: flex;
    gap: 2rem;
    padding: 1.1rem 0;
    background: linear-gradient(var(--teal), var(--teal)) no-repeat 0 0 / 3rem 2px;
}
.cv-year { flex-shrink: 0; width: 5rem; font-size: 0.85rem; color: var(--grey-text); padding-top: 0.1rem; }
.cv-desc { font-size: 0.9rem; color: var(--body-text); line-height: 1.6; }


/* ===== IMPULS BOX ===== */
.impuls-box {
    border-left: 3px solid var(--teal);
    padding: 1.5rem;
    background: #fff;
    margin-top: 2rem;
}


/* ===== HIGHLIGHT ===== */
.highlight {
    background: linear-gradient(transparent 60%, rgba(107,191,181,0.3) 60%);
    padding: 0 0.1em;
}


/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--dark);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.btn:hover { background: var(--dark); color: #fff; }
.btn--white { border-color: #fff; color: #fff; }
.btn--white:hover { background: #fff; color: var(--teal); }


/* ===== TESTIMONIAL ===== */
.testimonial {
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--body-text);
    text-align: center;
    max-width: 700px;
    margin: 2rem auto 0;
}


/* ===== TOOLS NAV STRIP ===== */
.tools-strip {
    border-top: 1px solid rgba(107,191,181,0.4);
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}


/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-top: 0.75rem; flex-wrap: wrap; }


/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 1rem 2rem 2rem; border-bottom: 1px solid #F0F0F0; gap: 1rem; }
    .site-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-dropdown-menu { position: static; box-shadow: none; padding-left: 1rem; }
    .nav-dropdown:hover .nav-dropdown-menu { display: block; }

    .hero-content-box { padding: 2rem 1.5rem; }
    .hero-box { padding: 1.25rem 1.75rem; }
    .two-col, .two-col--35-65 { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3.5em 1.25rem; }
    .cards { grid-template-columns: 1fr; }

    .hero-box h1, .hero-content-box h1 { font-size: 1.7rem !important; }
    h2 { font-size: 1.3rem; }
}

@media (max-width: 1024px) {
    .hero-box h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
}
