/* Work Base Services – stylesheet
   Fonts: Commissioner (SIL OFL 1.1), self-hosted – no external requests. */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/commissioner-greek-full-normal.woff2") format("woff2-variations"),
       url("../fonts/commissioner-greek-full-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/commissioner-latin-full-normal.woff2") format("woff2-variations"),
       url("../fonts/commissioner-latin-full-normal.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;
}

:root {
  --paper: #f2f3f0;
  --white: #ffffff;
  --mist: #e3e5e1;
  --stone: #a6a6a4;
  --stone-deep: #8d8e8b;
  --graphite: #262a2e;
  --graphite-soft: #4a4f54;
  --aegean: #155e75;
  --aegean-deep: #0f4657;
  --aegean-tint: #d6e6ea;

  --font: "Commissioner", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius-lg: 28px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 380;
  font-variation-settings: "FLAR" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--aegean); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--aegean-deep); }

:focus-visible { outline: 2px solid var(--aegean); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--graphite); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; color: var(--white); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 {
  margin: 0;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "FLAR" 100, "VOLM" 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.3rem; font-weight: 520; letter-spacing: 0; line-height: 1.3; font-variation-settings: "FLAR" 0; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--graphite-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--mist); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 6.25rem; padding-block: .5rem; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 150px; height: auto; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); align-items: center; }
.nav-list a { color: var(--graphite); text-decoration: none; font-size: .98rem; font-weight: 450; padding: .4rem 0; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--aegean); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-list .nav-cta { background: var(--graphite); color: var(--white); padding: .6rem 1.15rem; border-radius: 999px; }
.nav-list .nav-cta::after { display: none; }
.nav-list .nav-cta:hover { background: var(--aegean); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--stone); border-radius: 999px;
  font: inherit; font-size: .95rem; color: var(--graphite); padding: .45rem 1rem; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--mist); display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav-list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--mist); font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .nav-list .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--aegean); color: var(--white); }
.btn-primary:hover { background: var(--aegean-deep); color: var(--white); }
.btn-ghost { border-color: var(--graphite); color: var(--graphite); }
.btn-ghost:hover { background: var(--graphite); color: var(--white); }
.btn-light { background: var(--white); color: var(--graphite); }
.btn-light:hover { background: var(--aegean-tint); color: var(--graphite); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.75rem; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 2.25rem; }

.bridge {
  position: relative; background: var(--stone); border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.4; overflow: hidden; color: var(--white);
}
.bridge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bridge .wire { fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-linecap: round; }
.bridge .wire-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s cubic-bezier(.6,.05,.3,1) .3s forwards; }
.bridge .node { fill: var(--graphite); }
.bridge .node-ring { fill: none; stroke: var(--white); stroke-width: 1.5; }
.bridge .place { position: absolute; max-width: 13rem; line-height: 1.25; }
.bridge .place strong { display: block; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); font-variation-settings: "FLAR" 100; color: var(--graphite); }
.bridge .place span { font-size: .95rem; color: var(--graphite); font-weight: 450; }
.bridge .place-de { left: 8%; top: 7%; }
.bridge .place-gr { right: 8%; bottom: 7%; text-align: right; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .bridge .wire-draw { animation: none; stroke-dashoffset: 0; } }

.values {
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--stone);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.values p { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 300; font-variation-settings: "FLAR" 100; color: var(--graphite); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bridge { aspect-ratio: 4 / 4.2; max-width: 30rem; }
  .values { grid-template-columns: 1fr; gap: .5rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Intro (about) */
.about { background: var(--white); }
.panel-pair { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.panel { border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.panel-stone { background: var(--stone); color: var(--graphite); }
.panel-stone h3 { margin-bottom: 1rem; }
.panel-stone p { color: var(--graphite); }
.panel-mist { background: var(--paper); }
.panel h3 { margin-bottom: 1.25rem; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { break-inside: avoid; padding: .55rem 0 .55rem 1.6rem; position: relative; border-bottom: 1px solid var(--mist); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .7rem; height: .7rem; border-radius: 50%; border: 1.5px solid var(--aegean); }
.panel-stone .checklist li { border-bottom-color: color-mix(in srgb, var(--graphite) 18%, transparent); }
.panel-stone .checklist li::before { border-color: var(--graphite); }
.quote { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.25; font-variation-settings: "FLAR" 100; max-width: 28ch; }
@media (max-width: 860px) { .panel-pair { grid-template-columns: 1fr; } }

/* Services */
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.services-intro .panel { align-self: start; }
.services-intro .panel h3 { font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; font-variation-settings: "FLAR" 100; margin-bottom: 1.25rem; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--graphite); }
.pillar { padding: 1.5rem 1.5rem 0 0; }
.pillar + .pillar { padding-left: 1.5rem; border-left: 1px solid var(--stone); }
.pillar h3 { margin-bottom: .75rem; }
.pillar p { font-size: .98rem; color: var(--graphite-soft); margin: 0; }
.section-sub { margin-bottom: 1.75rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; line-height: 1.2; font-variation-settings: "FLAR" 100; }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; border-top: 0; }
  .pillar, .pillar + .pillar { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--graphite); }
  .pillar:nth-child(even) { padding-left: 1.5rem; }
}
@media (max-width: 760px) { .services-intro { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar:nth-child(even) { padding-left: 0; } }

/* Careers */
.careers { background: var(--graphite); color: var(--white); }
.careers h2, .careers h3 { color: var(--white); }
.careers .lead { color: #c9ccce; }
.careers a:not(.btn) { color: var(--aegean-tint); }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.careers .panel { background: #30353a; }
.careers .panel p { color: #c9ccce; }
.careers .checklist li { border-bottom-color: #42484e; color: #eceeef; }
.careers .checklist li::before { border-color: #8fc0cf; }
.careers-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; padding-top: 2rem; border-top: 1px solid #42484e; }
.careers-note p { color: #c9ccce; margin: 0 0 .5rem; }
.careers-note .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .careers-grid, .careers-note { grid-template-columns: 1fr; } .careers-note .btn-row { justify-content: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.audience { border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: .25rem; }
.audience h3 { margin-bottom: .75rem; }
.audience .btn { margin-top: auto; align-self: flex-start; }
.audience p:last-of-type { margin-bottom: 1.75rem; }
.audience-biz { background: var(--aegean); color: var(--white); }
.audience-biz p { color: #e3eff2; }
.audience-job { background: var(--stone); }
.contact-card { margin-top: clamp(1.5rem, 4vw, 3rem); background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; }
.contact-card .tagline { color: var(--graphite-soft); margin-top: .5rem; }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 0; }
.contact-list div { border-top: 1px solid var(--mist); padding-top: .75rem; }
.contact-list dt { font-size: .9rem; color: var(--graphite-soft); }
.contact-list dd { margin: .15rem 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-list a { color: var(--graphite); }
@media (max-width: 860px) { .contact-grid, .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); color: var(--graphite); padding-block: 3.5rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-grid img { width: 170px; margin-bottom: 1.25rem; }
.footer-grid h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; font-variation-settings: "FLAR" 0; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .4rem; }
.site-footer a { color: var(--graphite); }
.site-footer a:hover { color: var(--aegean-deep); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--graphite) 20%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.legal-inner { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.legal .updated { color: var(--graphite-soft); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; font-weight: 550; letter-spacing: 0; font-variation-settings: "FLAR" 0; margin: 2.5rem 0 .75rem; line-height: 1.3; }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal ul { padding-left: 1.2rem; max-width: 64ch; }
.legal li { margin-bottom: .4rem; }
.legal .data-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.legal .data-table th, .legal .data-table td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--mist); }
.legal .data-table th { width: 40%; font-weight: 500; color: var(--graphite-soft); }
.legal .data-table tr:last-child th, .legal .data-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .legal .data-table th, .legal .data-table td { display: block; width: 100%; }
  .legal .data-table th { padding-bottom: 0; border-bottom: 0; }
}
.back-link { display: inline-block; margin-bottom: 2rem; text-decoration: none; }

@media (max-width: 860px) { .brand img { width: 120px; } .header-inner { min-height: 5rem; } }
