/* GRELLIS — one-page company site.
   Layout: single reading column (~68ch) with a wide header band; services as a
   three-up grid that stacks on phones; company register data set in mono. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-wght-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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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; }

:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --ink: #12302f;      /* deep petrol: primary text, logo */
  --muted: #536d6a;
  --line: #d6e0de;
  --accent: #1d7366;   /* links, hexagon highlights */
  --copper: #b0622a;   /* the logo's bar; used sparingly */
  --f-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --measure: 68ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1918; --surface: #132322; --ink: #e2edeb; --muted: #95aca8;
    --line: #233837; --accent: #52b5a5; --copper: #d98d4f;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
}
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand span { font: 700 1.2rem/1 var(--f-display); letter-spacing: 0.16em; }
.lang { display: flex; gap: 0.25rem; font: 400 0.8rem/1 var(--f-mono); }
.lang a, .lang strong { padding: 0.35rem 0.5rem; border-radius: 4px; text-decoration: none; }
.lang strong { background: var(--ink); color: var(--bg); font-weight: 400; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 {
  font: 750 clamp(2.1rem, 5.4vw, 3.6rem)/1.08 var(--f-display);
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { max-width: var(--measure); color: var(--muted); font-size: 1.15rem; margin: 0; }

/* Sections */
section { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
h2 {
  font: 700 0.8rem/1.2 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 1.75rem;
}
h3 { font: 700 1.3rem/1.25 var(--f-display); margin: 0 0 0.6rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.prose { max-width: var(--measure); }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.service { min-width: 0; padding-top: 1.1rem; border-top: 3px solid var(--ink); }
.service p { color: var(--muted); margin: 0; }
.service .tag {
  display: inline-block; margin-top: 0.9rem;
  font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--copper);
}
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.person { margin: 0; }
.person dt { font: 700 1.1rem/1.3 var(--f-display); }
.person dd { margin: 0.15rem 0 1.25rem; color: var(--muted); }

/* Contact / register data */
.reg {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.45rem 1.5rem; margin: 0;
  font: 400 0.92rem/1.5 var(--f-mono);
  font-variant-numeric: tabular-nums;
}
.reg dt { color: var(--muted); }
.reg dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .reg { grid-template-columns: 1fr; gap: 0.1rem; } .reg dd { margin-bottom: 0.6rem; } }
.mail { font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.2 var(--f-display); }

footer { border-top: 1px solid var(--line); padding-block: 1.75rem 2.5rem; color: var(--muted); font-size: 0.85rem; }
footer p { margin: 0; max-width: none; }
