/* Andreas Rooms — interim page. Fonts are self-hosted (greek + latin subsets). */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/noto-serif-display-greek-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/noto-serif-display-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Commissioner';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-greek-wght-normal.woff2) format('woff2-variations');
  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-wght-normal.woff2) format('woff2-variations');
  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 {
  --sand: #f6f1e9;
  --sand-deep: #efe6d8;
  --card: #fffdf9;
  --line: #e3d9c8;
  --ink: #1d2a30;
  --muted: #55636a;
  --sea: #0f5c6e;
  --sea-deep: #0a4553;
  --sea-tint: #e3eef0;
  --sun: #c8642f;
  --focus: #c8642f;
  --radius: 14px;
  --serif: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sea); text-underline-offset: 0.18em; }
a:hover { color: var(--sea-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout: photo + panel ---------- */
.layout { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr; }

.photo { margin: 0; position: relative; height: 42vh; min-height: 260px; max-height: 460px; overflow: hidden; background: var(--sea-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.photo::after {
  /* soft fade into the sand panel on small screens */
  content: ''; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(246, 241, 233, 0.55));
  pointer-events: none;
}

.panel { display: flex; flex-direction: column; padding: 0 20px 28px; }

@media (min-width: 960px) {
  .layout { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
  .photo { height: auto; max-height: none; min-height: 100vh; position: sticky; top: 0; height: 100vh; }
  .photo::after { inset: 0 0 0 auto; width: 18%; height: auto; background: linear-gradient(to right, transparent, rgba(246, 241, 233, 0.35)); }
  .panel { padding: 0 clamp(32px, 4.5vw, 72px) 36px; }
}

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 10px; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em; }
.brand-place { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea); margin-top: 4px; font-weight: 500; }
.lang {
  font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--card); padding: 8px 14px; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.lang:hover { border-color: var(--sea); color: var(--sea); }

/* ---------- main ---------- */
main { flex: 1; padding-top: clamp(20px, 5vh, 56px); max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sea-deep);
  background: var(--sea-tint); padding: 6px 14px 6px 12px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(200, 100, 47, 0.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 100, 47, 0.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(200, 100, 47, 0); } }

h1 {
  font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); margin: 0 0 18px; text-wrap: balance;
}
.lead { font-size: 1.125rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg, .link-map svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-deep); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--card); color: var(--sea-deep); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--sea); color: var(--sea-deep); transform: translateY(-1px); }
.link-map { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; padding: 0 4px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) and (max-width: 959px), (min-width: 1280px) { .cards { grid-template-columns: 1fr 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card h2 {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sea); margin: 0 0 12px;
}
.facts { margin: 0; display: grid; gap: 12px; }
.facts dt { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.facts dd { margin: 2px 0 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.contact li:last-child { border-bottom: 0; }
.contact .label { font-size: 0.85rem; color: var(--muted); }
.contact a { font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); max-width: 640px; }
.foot p { margin: 0 0 4px; }
.licence strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.foot a { color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 20px; text-align: center; }
.notfound .langs { display: grid; gap: 32px; margin: 28px 0; }
@media (min-width: 720px) { .notfound .langs { grid-template-columns: 1fr 1fr; gap: 56px; } }
.notfound h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: 10px; }
.notfound p { color: var(--muted); margin: 0 0 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
