/* filpac.com's styles. The look is a placeholder until Joe picks a direction (filpac-next#228, round 1); the
   colors, fonts and icon are the app's, so the site and Filpac Web look like one product. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-italic.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* app-theme:start. Copied from filpac-next src/Web/src/index.css by `npm run theme:copy`; change the app's theme
   there, then copy it again, rather than editing these lines. */
:root {
  --background: #eef1f5;
  --foreground: #172033;
  --card: #ffffff;
  --card-foreground: #172033;
  --popover: #ffffff;
  --popover-foreground: #172033;
  --primary: #3e47cc;
  --primary-foreground: #ffffff;
  --secondary: #e2e8f0;
  --secondary-foreground: #172033;
  --muted: #eef2f7;
  --muted-foreground: #566275;
  --accent: #e8ebfb;
  --accent-foreground: #27318f;
  --destructive: #b42318;
  --warning: #8a4b00;
  --warning-surface: #fff7e6;
  --warning-rule: #e6c17a;
  --border: #dde2ea;
  --input: #cdd3de;
  --ring: #3e47cc;
  --navy: #27318f;
  --navy-foreground: #ffffff;
  --radius: 0.25rem;
}
/* app-theme:end */

:root {
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --width: 68rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { font-family: var(--font-sans); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-foreground); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.375rem; margin: 2rem 0 0.5rem; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: 0.5rem 1rem; z-index: 10; }
.figures { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.top { background: var(--navy); color: var(--navy-foreground); }
.top a { color: var(--navy-foreground); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { text-decoration: underline; color: var(--navy-foreground); }
.top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-left: auto; }
.classic-link { font-size: 0.875rem; opacity: 0.9; text-decoration: underline; }
.classic-link:hover { opacity: 1; color: var(--navy-foreground); }
.phone { font-family: var(--font-mono); font-weight: 600; text-decoration: none; }

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--primary);
}
.button:hover { color: var(--primary-foreground); filter: brightness(1.1); }
.button.quiet { background: transparent; color: var(--primary); }
.top .button { background: var(--navy-foreground); color: var(--navy); border-color: var(--navy-foreground); }
.top .button.quiet { background: transparent; color: var(--navy-foreground); }
.button.big { padding: 0.75rem 1.25rem; font-size: 1.125rem; }

.hero { padding: 3rem 0 2rem; }
.lede { font-size: 1.25rem; max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.placeholder-note { color: var(--warning); font-weight: 600; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 2rem; padding-bottom: 3rem; }

.prose { max-width: 44rem; padding-top: 2rem; padding-bottom: 3rem; }
.meta { color: var(--muted-foreground); }
.list { list-style: none; padding: 0; }
.list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.list time { display: block; color: var(--muted-foreground); font-size: 0.9375rem; }
.list p { margin: 0.25rem 0 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--secondary); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen img { display: block; border: 1px solid var(--border); border-radius: var(--radius); }
.caption { color: var(--muted-foreground); }
.prices { border-collapse: collapse; width: 100%; }
.prices th, .prices td { text-align: left; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--border); font-weight: 400; }
.prices td.figures { white-space: nowrap; }

.bottom { background: var(--card); border-top: 1px solid var(--border); padding: 1.5rem 0; }
.bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.bottom p { margin: 0 0 0.25rem; }
.bottom-links { list-style: none; margin: 0; padding: 0; }

.wide { max-width: var(--width); }
.wide > p, .job p, .job ul { max-width: 44rem; }
.job { padding: 1rem 0 1.5rem; border-top: 1px solid var(--border); margin-top: 1.5rem; }
.job .screen { display: block; margin-top: 1rem; }
.more { font-size: 0.9375rem; }
.band { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-top: 1rem; }
.story { padding: 2.5rem 1rem 3rem; }
.story p:first-child { font-size: 1.5rem; max-width: 40rem; font-weight: 500; }

.email-img { display: inline-block; vertical-align: -0.2em; }
.footer-email { margin: 0.25rem 0 0.5rem; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.contact-form { display: grid; gap: 1rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-weight: 600; }
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
}
.form-field textarea { resize: vertical; min-height: 7.5rem; }
.contact-form button { justify-self: start; cursor: pointer; }
