/* Self-hosted fonts (SIL Open Font License) – no requests to Google */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas-neue-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --brand: #3d3a8c;
  --brand-ink: #ffffff;
  --bg: #ffffff;
  --surface: #f5f5fa;
  --text: #1c1b2e;
  --muted: #5b5a70;
  --line: #e2e1ee;
  --accent: #3d3a8c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #3d3a8c;
    --brand-ink: #ffffff;
    --bg: #12111f;
    --surface: #1c1b2e;
    --text: #ecebf5;
    --muted: #a9a8c0;
    --line: #2d2b45;
    --accent: #a9a6f0;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--brand);
  transform: rotate(45deg);
  border-radius: 3px;
  margin: 0 0.3rem;
}
.brand-mark img { width: 1.6rem; transform: rotate(-45deg); }
.lang {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang a { text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--text); }
.lang a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 640px) {
  .hero { grid-template-columns: 1fr auto; padding: 5rem 0 4rem; }
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero > div:first-child { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 3.3rem); hyphens: manual; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin: 0 0 1.75rem; }
.diamond {
  width: 140px;
  height: 140px;
  background: var(--brand);
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  margin: 30px;
  box-shadow: 10px 10px 0 var(--line);
  border-radius: 4px;
}
.diamond img { width: 92px; transform: rotate(-45deg); }
@media (max-width: 639px) { .diamond { display: none; } }

.button {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
}
.button:hover { filter: brightness(1.15); }

/* Sections */
section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
section h2 { font-size: 2.2rem; color: var(--text); }

.services {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
.services li {
  background: var(--surface);
  border-top: 4px solid var(--brand);
  padding: 1.25rem;
  border-radius: 4px;
}
.services h3 { font-size: 1.5rem; }
.services p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.contact {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
  font-size: 1.1rem;
}
.contact span { display: inline-block; min-width: 5.5rem; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* About with profile picture */
.about {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
@media (min-width: 640px) { .about { grid-template-columns: 200px 1fr; } }
.about h2 { grid-column: 1 / -1; margin-bottom: 0; }
.profile {
  width: 200px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 10px 10px 0 var(--brand);
  margin: 0 10px 10px 0;
}
.about p { margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); }

/* Legal page */
.legal { padding: 2rem 0; }
.legal h1 { font-size: 3rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal section { border: 0; padding: 0; }
.legal address { font-style: normal; }
