@font-face { font-family: "Funnel Display"; font-weight: 600; font-display: swap; src: url("fonts/funnel-display.woff2") format("woff2"); }
@font-face { font-family: "Funnel Sans"; font-weight: 400 600; font-display: swap; src: url("fonts/funnel-sans.woff2") format("woff2"); }

:root {
  --ink: #1F2D29; --green: #5EAE30; --pale: #CFE9BE; --paper: #FFFFFF; --quiet: #B9C8C1;
  --m: clamp(20px, 2.8vw, 40px);
  --head: "Funnel Display", "Segoe UI", Arial, sans-serif;
  --body: "Funnel Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); }
body { display: flex; flex-direction: column; min-height: 100svh; color: var(--paper); font: 400 1rem/1.5 var(--body); -webkit-font-smoothing: antialiased; }

/* One screen, no scrolling. Very short screens may still scroll, so a phone number is never cut off. */
@media (min-height: 600px) { html, body { overflow: hidden; } body { height: 100svh; } }

.top { flex: none; height: 64px; display: flex; align-items: center; padding-inline: var(--m); background: var(--ink); position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand img { display: block; height: auto; }
.brand .mark { width: 52px; height: 52px; }
.brand img:last-child { width: 190px; }

main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hero { flex: 1; min-height: 300px; position: relative; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 22%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 72% 95% at 0% 100%, rgba(15, 24, 21, 0.92) 0%, rgba(15, 24, 21, 0.72) 48%, rgba(15, 24, 21, 0) 100%); }

.copy { padding: 0 var(--m) clamp(20px, 3.5vh, 36px); }
h1 { margin: 0; font: 600 clamp(58px, min(13vw, 23svh), 210px) / 0.86 var(--head); letter-spacing: -0.045em; }
.line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.1em; }
.line > span { display: block; }
.l1 { color: var(--paper); }
.l2 { color: var(--pale); }
.support { margin: clamp(10px, 2vh, 20px) 0 0; max-width: 52ch; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.45; text-wrap: pretty; }

.contact { flex: none; font-style: normal; background: var(--ink); padding: clamp(16px, 2.6vh, 26px) var(--m); display: grid; grid-template-columns: auto auto auto 1fr; column-gap: clamp(28px, 4vw, 88px); align-items: end; }
.label { display: block; margin-bottom: 0.15rem; color: var(--quiet); font-size: 0.875rem; }
.contact a, .value { font: 600 clamp(1.05rem, 1.5vw, 1.45rem) / 1.25 var(--head); letter-spacing: -0.015em; color: var(--paper); }
.contact a { display: inline-block; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: color 160ms ease; }
.contact a:hover { color: var(--pale); }
.contact a:focus-visible { outline: 2px solid var(--pale); outline-offset: 4px; border-radius: 2px; }
.legal { margin: 0; justify-self: end; text-align: right; white-space: nowrap; color: var(--quiet); font-size: 0.8125rem; }

/* The film */
.film-btn { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: clamp(10px, 2vh, 18px); min-height: 44px; padding: 0 1.1rem 0 0.95rem; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 1rem/1 var(--body); cursor: pointer; transition: background-color 160ms ease; }
.film-btn:hover { background: var(--pale); }
.film-btn:focus-visible, .film-close:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; }
.film-btn .len { margin-left: -0.6rem; }
.film-btn i { width: 0; height: 0; border-left: 11px solid var(--green); border-block: 7px solid transparent; }
dialog.film { border: 0; padding: 0; background: var(--ink); width: min(96vw, calc(90svh * 16 / 9), 1400px); max-width: none; overflow: visible; }
dialog.film::backdrop { background: rgba(10, 18, 16, 0.9); }
dialog.film video { display: block; width: 100%; height: auto; }
.film-close { position: absolute; right: 12px; top: 12px; z-index: 1; min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 0.9375rem/1 var(--body); cursor: pointer; }

/* Entrance, once */
@media (prefers-reduced-motion: no-preference) {
  .line > span { transform: translateY(105%); animation: up 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms forwards; }
  .l2 { animation-delay: 260ms !important; }
  .support, .film-btn { opacity: 0; animation: fade 700ms ease 620ms forwards; }
  .photo { animation: settle 2400ms cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes up { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }

@media (max-width: 1280px) {
  .contact { grid-template-columns: auto auto auto; column-gap: clamp(24px, 4vw, 48px); row-gap: 10px; }
  .legal { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 760px) {
  .top { height: 56px; }
  .brand .mark { width: 44px; height: 44px; }
  .brand img:last-child { width: 158px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; background: var(--ink); }
  .hero::after { display: none; }
  picture { flex: 1; min-height: 0; display: block; position: relative; }
  .photo { object-position: 50% 62%; }
  .copy { flex: none; position: relative; padding-top: clamp(10px, 1.6svh, 16px); padding-bottom: clamp(8px, 1.4svh, 14px); }
  .film-btn { position: absolute; left: var(--m); bottom: calc(100% + 12px); margin: 0; }
  .film-btn .len { display: none; }
  h1 { font-size: clamp(44px, min(14vw, 8svh), 96px); }
  .contact { grid-template-columns: 1fr; row-gap: clamp(7px, 1.2svh, 12px); padding-block: clamp(12px, 2svh, 20px); }
  .contact a, .value { font-size: min(1.0625rem, 4.5vw); }
  .label { font-size: 0.8125rem; margin-bottom: 0; }
  .legal { margin-top: 2px; font-size: 0.75rem; }
}
@media (max-width: 760px) and (max-height: 700px) { .support { display: none; } }
@media (min-width: 761px) and (max-height: 620px) { .support { display: none; } h1 { font-size: clamp(54px, 19svh, 120px); } }

@media (min-width: 761px) and (max-width: 900px) {
  .contact { grid-template-columns: auto 1fr; }
  .contact a, .value { white-space: nowrap; }
  .legal { grid-column: 2; justify-self: end; align-self: end; text-align: right; }
}

@media (min-width: 761px) and (max-aspect-ratio: 5/4) { .photo { object-position: 100% 22%; } h1 { font-size: 11.5vw; } }
