/* novahortalis.com: holding page. White, the circuit band with its teal node breathing, the name, one teal line. */
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }

:root {
  --ink: #1a1a1a;
  --text: #3a3637;
  --muted: #6b6461;
  --line: #d9d4ce;
  --teal: #1c9e8e;
  /* Phone sizes first; larger screens below. The band is 3:1; everything under it is sized from its width,
     so the lockup keeps the proportions of the logo files. */
  --band: min(260px, 78vw);
  --name: calc(var(--band) * 0.106);   /* size of the large N and H; the rest are 78% of it */
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--text);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  padding: max(28px, env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px))
           max(28px, env(safe-area-inset-bottom, 0px)) max(28px, env(safe-area-inset-left, 0px));
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* The band: ink lines, white-filled vias, one teal node. */
.band { display: block; width: var(--band); height: auto; overflow: visible; }
.band .ink { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.band .via { fill: #ffffff; stroke: var(--ink); stroke-width: 2.6; }
.band .node { fill: var(--teal); animation: nh-breathe 4s ease-in-out infinite; }
@keyframes nh-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* The name: capitals, the N and H full height, the other letters at 78%, Jost Regular, letter spacing 0.12em. */
.name {
  margin: calc(var(--band) * 0.045) 0 0;
  padding-left: 0.094em;   /* the trailing letter space, so the name sits centred */
  font-size: var(--name);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
}
.name span { letter-spacing: 0.12em; }
.name .small { font-size: 0.78em; }
.rule {
  display: block;
  width: max(28px, calc(var(--band) * 0.07));
  height: 2px;
  margin-top: calc(var(--band) * 0.0275);
  background: var(--teal);
}
h1 {
  margin: 28px 0 0;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

/* Contact: a button until a real visitor moves or taps, then the address. */
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; min-height: 42px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font: 400 15px "Jost", system-ui, sans-serif;
  letter-spacing: 0.03em;
  transition: background-color .2s ease, border-color .2s ease;
}
a.pill:hover, button.pill:hover { background: #f6f4f0; border-color: #c4bdb6; color: var(--ink); }
button.pill { cursor: pointer; }

.foot {
  padding-top: 24px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Tablets and computers */
@media (min-width: 700px) and (min-height: 600px) {
  :root { --band: clamp(300px, 34vw, 400px); }
  h1 { margin-top: 34px; font-size: 30px; line-height: 1.2; }
  .links { margin-top: 32px; }
  .pill { font-size: 16px; }
  .foot { font-size: 13px; padding-bottom: 8px; }
}

/* Phones turned sideways: everything smaller so it fits one screen */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --band: min(170px, 42vh); }
  body { padding-top: max(16px, env(safe-area-inset-top, 0px)); padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
  h1 { margin-top: 3vh; font-size: 18px; }
  .links { margin-top: 2.5vh; min-height: 36px; }
  .pill { min-height: 36px; padding: 6px 14px; font-size: 14px; }
  .foot { padding-top: 12px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) { .band .node { animation: none; } .pill { transition: none; } }
