:root {
  color-scheme: light;
  --ink: #14283b;
  --muted: #526579;
  --accent: #007b80;
  --background: #f8fafb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh; min-height: 100svh; margin: 0;
  display: grid; grid-template-rows: 1fr auto;
  border-top: 4px solid var(--accent);
}
.landing {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px; min-width: 0;
}
.brand { display: flex; align-items: center; justify-content: center; gap: 16px; }
.brand img { display: block; width: clamp(56px, 12vw, 76px); height: auto; }
.wordmark { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.group { font-size: 12px; font-weight: 650; letter-spacing: .35em; padding-left: 3px; }
.vival { font-size: clamp(42px, 9vw, 60px); font-weight: 750; letter-spacing: -.055em; }
.sector { margin: 17px 0 0; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.rule { width: 34px; height: 2px; background: var(--accent); margin: 39px 0 31px; }
h1 { font-size: clamp(24px, 5vw, 35px); font-weight: 450; letter-spacing: -.035em; line-height: 1.25; margin: 0 0 20px; }
.contact { color: var(--accent); font-size: 15px; text-underline-offset: 5px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.contact:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 0 20px 28px; }

.contact-slot { min-height: 26px; display: grid; place-items: center; max-width: 100%; }
.contact-reveal { border: 0; padding: 0; background: transparent; cursor: pointer; }
.contact-reveal[hidden] { display: none; }
.contact-reveal img, .contact-image { display: block; max-width: 100%; height: auto; }

#contact-status { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
#verification { max-width: 100%; margin-top: 8px; }
.contact-reveal { text-decoration: underline; text-underline-offset: 5px; }
.contact-reveal:disabled { cursor: wait; opacity: .65; }

.tagline { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.portfolio { width: min(100%, 680px); margin: 36px 0 0; }
.portfolio h2 { font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.portfolio-intro, .portfolio-note { color: var(--muted); font-size: 13px; line-height: 1.55; }
.portfolio-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.portfolio-grid article { border: 1px solid #dce5ea; border-radius: 9px; padding: 20px 12px; background: #fff; }
.portfolio-grid h3 { color: var(--accent); font-size: 15px; letter-spacing: .025em; margin: 0 0 8px; }
.portfolio-grid p { color: var(--muted); font-size: 14px; margin: 0; }
.renewal { color: var(--muted); margin: -8px 0 20px; font-size: 15px; }
@media (max-width: 420px) { .portfolio-grid { grid-template-columns: 1fr; } .sector { letter-spacing:.04em; } }
