/* hello.evas.aero -- the digital business card (Founder, 2026-09-25).
   Dark by design: Oxford Blue ground, Ecru accents, cream text. Brand hex only; every other tone is cream or Ecru at an
   alpha over Oxford Blue (test_css_colours_are_brand_values holds it). Burgundy never appears on the navy (1.78:1).
   Contrast, computed (WCAG 2.x) against the composited colour:
     cream #FFFCF9 on Oxford Blue 18.88   cream on button surface (cream 5% over navy) 17.1
     Mid #C8CDD0 on Oxford Blue 12.04     Mid on button surface 10.9
     Ecru #DDC796 on Oxford Blue 11.66    Oxford Blue on Ecru (primary button) 11.66
     button hairline (Ecru 60% over navy) vs Oxford Blue 4.74 (UI boundary, needs 3)
     focus ring Ecru vs Oxford Blue 11.66 */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/Inter-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/Inter-SemiBold.subset.woff2") format("woff2"); }

:root {
  --navy: #050D23;
  --ecru: #DDC796;
  --cream: #FFFCF9;
  --mid: #C8CDD0;
  --surface: rgb(255 252 249 / .05);
  --surface-hover: rgb(255 252 249 / .09);
  --line: rgb(221 199 150 / .6);
  --rule: rgb(255 252 249 / .12);
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--navy); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; min-height: 100dvh;
  background: var(--navy); color: var(--cream);
  font: 400 15px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
svg { display: block; width: 100%; height: 100%; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--ecru); outline-offset: 3px; border-radius: 6px; }

.card {
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
           max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

/* --- masthead ------------------------------------------------------------------------------------------------------ */
.masthead { text-align: center; padding: 4px 0 2px; }
.logo { display: block; width: 168px; height: auto; margin: 0 auto; }
.masthead h1 { margin-top: 10px; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--cream); }

/* --- the five tap buttons ------------------------------------------------------------------------------------------ */
.actions { display: grid; gap: 10px; margin-top: 22px; }
.act {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--cream);
  transition: background-color .2s, border-color .2s, transform .1s;
}
.act .ico { flex: none; width: 22px; height: 22px; color: var(--ecru); }
.act .txt { display: flex; flex-direction: column; min-width: 0; }
.act .lbl { font-size: 16.5px; font-weight: 600; line-height: 1.25; }
.act .sub { font-size: 14px; line-height: 1.35; color: var(--mid); overflow-wrap: anywhere; }
.act:active { transform: scale(.985); }

.act-primary {
  min-height: 70px; background: var(--ecru); border-color: var(--ecru); color: var(--navy);
}
.act-primary .ico, .act-primary .sub { color: var(--navy); }
.act-primary .lbl { font-size: 18px; }
.act-primary .sub { font-size: 15px; }

.act-split { display: grid; grid-template-columns: 1fr 62px; gap: 8px; }
.act-side { justify-content: center; padding: 0; }

/* --- save contact -------------------------------------------------------------------------------------------------- */
.save {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; margin-top: 12px; border-radius: var(--radius);
  color: var(--ecru); font-weight: 600; font-size: 15px;
}
.save .ico { width: 20px; height: 20px; }

/* --- all contacts -------------------------------------------------------------------------------------------------- */
.all { margin-top: 26px; }
h2 {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ecru);
  padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.group { padding-top: 14px; }
.group h3 { font-size: 13px; font-weight: 600; color: var(--mid); margin-bottom: 2px; }
.contact-item { display: flex; align-items: center; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--rule); }
.contact-item .ico { flex: none; width: 17px; height: 17px; color: var(--ecru); }
.contact-item a { flex: 1; padding: 10px 0; }
.contact-item.address { align-items: flex-start; }
.contact-item.address .ico { margin-top: 13px; }

/* --- links --------------------------------------------------------------------------------------------------------- */
.links { margin-top: 26px; border-top: 1px solid var(--rule); }
.row {
  display: flex; align-items: center; gap: 14px; min-height: 52px; border-bottom: 1px solid var(--rule);
}
.row .ico { flex: none; width: 20px; height: 20px; color: var(--ecru); }
.row .lbl { flex: 1; font-weight: 600; }
.row .chev { flex: none; width: 18px; height: 18px; color: var(--mid); }

/* --- footer -------------------------------------------------------------------------------------------------------- */
.foot { margin-top: 22px; text-align: center; }
.social { display: flex; justify-content: center; gap: 8px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--cream); }
.social svg { width: 22px; height: 22px; }
.footer-text { margin-top: 10px; font-size: 12.5px; color: var(--mid); }

@media (hover: hover) {
  .act:hover { background: var(--surface-hover); border-color: var(--ecru); }
  .act-primary:hover { background: var(--ecru); }
  .save:hover, .row:hover .lbl, .contact-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .social a:hover { color: var(--ecru); }
}

/* --- desktop: two columns (Founder, 2026-09-25: "two columns on desktop") -------------------------------------------
   Left: the logo, the five tap buttons and Save Contact. Right: All contacts. Below, full width: the three links side by
   side, then the socials and the copyright. Phones and tablets keep the single column above. */
@media (min-width: 1024px) {
  body { display: grid; place-items: center; padding: 48px 32px; }
  .card {
    max-width: 1000px;
    display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 64px;
    grid-template-areas: "mast all" "actions all" "save all" "links links" "foot foot";
    align-content: start;
    padding: 44px 48px 32px;
    border: 1px solid rgb(221 199 150 / .22); border-radius: 24px;
    background: rgb(255 252 249 / .025);
  }
  .masthead { grid-area: mast; text-align: left; }
  .masthead .logo { margin: 0; }
  .actions { grid-area: actions; }
  .save { grid-area: save; justify-self: start; }
  .all { grid-area: all; margin-top: 4px; align-self: start; }
  .links { grid-area: links; margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .links .row { border-bottom: none; }
  .foot { grid-area: foot; margin-top: 18px; }
}

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