/* ==========================================================
   Lisa Escudero — Brand & Creative (creative.lisaes.com)
   ========================================================== */

@font-face {
  font-family: "ES Allianz";
  src: url("ESAllianz-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "ES Allianz";
  src: url("ESAllianz-Medium.woff") format("woff");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --ink: #222;
  --muted: #9c9c9c;
  --rule: #d4d4d4;
  --bg: #f9fff6;        /* PEF / Eggshell */
  --small: 15px;
  --font: "ES Allianz", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 20px/1.2 var(--font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }

/* Header — same layout as comms: name | tagline on the centre line | nav */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center;
  height: 66px; padding: 0 17px;
  background: var(--bg);
}
.site-header .name    { flex: 0 0 50%; }
.site-header .tagline { flex: 1; }
.site-header nav      { display: flex; gap: 52px; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

/* Collage: every tile is placed exactly as in the Figma frame, scaled to the window width */
main { padding-top: calc(84 / 1280 * 100vw); }
.collage { position: relative; width: 100%; }
.tile { position: absolute; margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; }

.site-footer {
  display: flex; justify-content: flex-end;
  padding: calc(124 / 1280 * 100vw) 17px 14px;
  font-size: var(--small);
}
.site-footer .email { color: var(--muted); }

/* Phones: switch to a simple two-column grid */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .site-header { padding: 0 16px; justify-content: space-between; }
  .site-header .name { flex: none; }
  .site-header .tagline { display: none; }
  .site-header nav { gap: 24px; }
  main { padding: 24px 16px 0; }
  .collage {
    aspect-ratio: auto !important;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end;
  }
  .tile { position: static; width: auto !important; height: auto !important; }
  .tile img { height: auto; }
  .site-footer { padding: 72px 16px 14px; }
}
