/*
 * flongomusic.com. The colors, fonts and rounded cards are the app's own
 * "Golden Hour" look (src/app/core/theme.ts), light and dark, so the site and
 * the app read as one thing. No scripts, no cookies, no outside requests: the
 * fonts are served from this site.
 */
@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/fonts/figtree.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2-variations');
}

:root {
  color-scheme: light dark;
  --bg: #fff5f0;
  --surface: #ffffff;
  --ink: #22140f;
  --ink2: #6e5348;
  --line: #ebddd4;
  --accent: #ff6b4a;
  --accent-text: #c43d1e;
  --ring: #e8502f;
  --field: rgba(255, 107, 74, 0.16);
  --accent2: #6b3fd1;
  --field2: rgba(107, 63, 209, 0.14);
  --land: #f7ece5;
  --road: #ffffff;
  --water: #d6e2f0;
  --park: #e1ebd3;
  --display: 'Bricolage Grotesque Variable', 'Figtree Variable', system-ui, sans-serif;
  --body: 'Figtree Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1117;
    --surface: #261920;
    --ink: #fcefe9;
    --ink2: #c4a9a8;
    --line: #3e2c35;
    --accent: #ff7a5c;
    --accent-text: #ff9a80;
    --ring: #ff7a5c;
    --field: rgba(255, 122, 92, 0.18);
    --accent2: #b79bff;
    --field2: rgba(183, 155, 255, 0.16);
    --land: #22161c;
    --road: #3a2830;
    --water: #1a2232;
    --park: #20261b;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 42rem;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 2;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
}
.skip:focus {
  left: 12px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding-block: calc(env(safe-area-inset-top, 0px) + 14px) 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font: 800 1.25rem/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img {
  border-radius: 9px;
}
.top nav {
  display: flex;
  gap: 4px 20px;
}
.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink2);
  font-weight: 700;
  text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

main {
  padding-block: 20px 64px;
}
h1 {
  margin: 0 0 12px;
  font: 800 clamp(2.25rem, 9vw, 3.25rem) / 1.05 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.home h1 {
  font-size: clamp(3.25rem, 17vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
h2 {
  margin: 40px 0 8px;
  font: 800 1.375rem/1.2 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p,
ul {
  margin: 0 0 14px;
}
ul {
  padding-left: 1.25em;
}
li {
  margin-bottom: 6px;
}
li::marker {
  color: var(--accent);
}
.lede {
  color: var(--ink2);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: pretty;
}
.meta {
  color: var(--ink2);
  font-size: 0.9375rem;
}
a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}
.email {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.path {
  font-weight: 700;
  white-space: nowrap;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.card > :last-child {
  margin-bottom: 0;
}
.card h2 {
  margin-top: 0;
}
.contact {
  margin-block: 24px 8px;
}

/* Home: the picture of two songs sharing a neighborhood. */
.map {
  margin: 28px 0;
}
.map svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.land {
  fill: var(--land);
}
.water {
  fill: var(--water);
}
.park {
  fill: var(--park);
}
.road {
  fill: none;
  stroke: var(--road);
  stroke-linecap: round;
}
.t1 {
  fill: var(--field);
  stroke: var(--accent);
  stroke-width: 2.5;
}
.t2 {
  fill: var(--field2);
  stroke: var(--accent2);
  stroke-width: 2.5;
}
.seam {
  stroke: var(--surface);
  stroke-width: 5;
  stroke-linecap: round;
}
.pin1,
.pin2 {
  stroke: var(--surface);
  stroke-width: 4;
}
.pin1 {
  fill: var(--accent);
}
.pin2 {
  fill: var(--accent2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.steps li {
  margin: 0;
}
.steps strong {
  display: block;
  margin-bottom: 4px;
  font: 800 1.125rem/1.25 var(--display);
}
.steps span {
  display: block;
  color: var(--ink2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 12px;
}
a.card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
a.card:hover {
  border-color: var(--accent);
}
a.card strong {
  display: block;
  font: 800 1.125rem/1.25 var(--display);
}
a.card span {
  display: block;
  color: var(--ink2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--ink2);
  font-size: 0.9375rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding-block: 16px calc(env(safe-area-inset-bottom, 0px) + 28px);
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink2);
}
footer .email {
  margin-left: auto;
}
@media (max-width: 30rem) {
  footer .email {
    margin-left: 0;
    flex-basis: 100%;
  }
}
