/* Active Island EP website. Fonts are served from this site, not Google, so nothing loads from overseas. */

@font-face { font-family: "Archivo"; font-style: italic; font-weight: 800 900; font-stretch: 112%; font-display: swap; src: url(fonts/archivo-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600-latin.woff2) format("woff2"); }

:root {
  --paper: #f7f8f4;
  --surface: #ffffff;
  --ink: #1e211d;
  --ink-soft: #4a5146;
  --sage: #5d7c56;
  --sage-deep: #47613f;
  --sage-tint: #e6ede2;
  --sand: #e4d79c;
  --bark: #5b4a3e;
  --line: #d6dcd1;
  --on-sage: #ffffff;
  --error: #9b2c1f;
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Poppins", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151813; --surface: #1d211b; --ink: #eef1ea; --ink-soft: #b9c2b3;
    --sage: #7fa076; --sage-deep: #3f5638; --sage-tint: #232b20; --sand: #d9cb8a;
    --bark: #c9b19d; --line: #333a2f; --on-sage: #ffffff; --error: #f0a091; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 19px; line-height: 1.65;
}
img { max-width: 100%; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 112%; line-height: 1.02; text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: 1.35rem; font-weight: 800; }
p { margin: 0; }
a { color: var(--sage-deep); }
@media (prefers-color-scheme: dark) { a { color: var(--sage); } }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bark); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 20; }
.skip:focus { top: 12px; }

/* header */
header.site { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
header.site .wrap { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
.logo { height: 52px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { .logo { filter: invert(1); } }
nav.main { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
nav.main a:hover { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 5px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px;
  border-radius: 6px; font: 600 1.05rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-sage { background: var(--sage-deep); color: var(--on-sage); }
.btn-sage:hover { background: var(--sage); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.head-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-app { background: transparent; color: var(--sage); border-color: var(--sage); }
.btn-app:hover { background: var(--sage-tint); }

/* hero */
.hero { position: relative; overflow: hidden; background: #1e211d; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero .band {
  position: relative; background: rgba(71, 97, 63, .94); color: #fff;
  width: min(760px, 92%); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  padding-block: 56px 60px;
}
.hero .band .inner { padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - 1120px) / 2)); padding-right: 14%; }
.hero .eyebrow { color: #e4d79c; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); margin-top: 14px; }
.hero h1 span { color: #e4d79c; }
.hero .lede { margin-top: 20px; font-size: 1.2rem; max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn-light { background: #fff; color: #2b3a27; }
.hero .btn-light:hover { background: #e4d79c; }
.hero .btn-line { color: #fff; }
.hero-spacer { height: 140px; position: relative; }

/* notice */
.notice { background: var(--sand); color: #2b2a1c; }
.notice .wrap { padding-block: 22px; display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.notice p { flex: 1 1 420px; min-width: 0; font-weight: 600; font-size: 1.1rem; }

section.block { padding-block: 88px; }
section.block + section.block { border-top: 1px solid var(--line); }
.head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.head p { color: var(--ink-soft); font-size: 1.1rem; }

/* find us */
section.block.findus { padding-block: 64px 24px; }
.findus figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; background: var(--line); }
.findus img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 10%; display: block; }
.findus figcaption { position: absolute; left: 0; bottom: 0; background: var(--surface); padding: 12px 18px 14px; display: grid; gap: 2px; border-top-right-radius: 8px; }
.findus .addr { font: italic 900 1.2rem/1.15 var(--display); font-stretch: 112%; text-transform: uppercase; }

/* what an EP does */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.split > * { min-width: 0; }
.prose { display: grid; gap: 18px; max-width: 62ch; }
.conditions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.conditions li { background: var(--sage-tint); padding: 14px 16px; border-radius: 6px; font-weight: 500; font-size: 1rem; line-height: 1.35; }

/* about */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about > * { min-width: 0; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 8px; display: block; }
.portrait .tag { position: absolute; left: -10px; bottom: 22px; background: var(--sage-deep); color: #fff; padding: 8px 28px 8px 18px; font: italic 900 1.1rem/1 var(--display); font-stretch: 112%; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 6px; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3 / 2; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .g-wide { grid-column: span 4; grid-row: span 2; }
.gallery .g-wide img { aspect-ratio: auto; }
.gallery .g-sm { grid-column: span 2; }

/* funding */
.funding { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 36px; max-width: 980px; }
.funding div { border-top: 4px solid var(--sage); padding-top: 14px; min-width: 0; }
.funding b { display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* app */
.app { background: #47613f; color: #fff; }
.app .wrap { padding-block: 72px; display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center; }
.app .wrap > * { min-width: 0; }
.app .eyebrow { color: #e4d79c; }
.app h2 { margin-top: 12px; }
.app h2 span { color: #e4d79c; }
.app p { margin-top: 16px; max-width: 52ch; }
.phone { background: #10140f; border-radius: 34px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.phone .scr { background: #f7f8f4; color: #1e211d; border-radius: 24px; padding: 22px 16px; display: grid; gap: 12px; }
.phone .ex { font: 600 1rem/1.3 var(--body); }
.phone .tgt { background: #e6ede2; border-radius: 10px; padding: 12px; font-size: .9rem; line-height: 1.4; }
.phone .tgt b { font: italic 900 1.5rem/1 var(--display); display: block; }
.phone .done { background: #47613f; color: #fff; border-radius: 10px; min-height: 52px; display: grid; place-items: center; font-weight: 600; }

/* contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.contact > * { min-width: 0; }
.details { display: grid; gap: 22px; align-content: start; }
.details .head { margin-bottom: 8px; }
.details .label { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bark); }
.details .val { font-size: 1.25rem; font-weight: 600; }
.details .val a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 32px; display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 1rem; }
input, textarea { font: 400 1.05rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 6px; padding: 13px 14px; min-height: 54px; width: 100%; }
input:focus, textarea:focus { border-color: var(--sage); outline: none; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 10px; font-weight: 500; border: 2px solid var(--line); border-radius: 6px; padding: 12px 16px; min-height: 54px; cursor: pointer; }
.radios input { width: 22px; height: 22px; min-height: 0; accent-color: var(--sage-deep); }
.form-note { font-size: .95rem; color: var(--ink-soft); }
.form-msg { border-radius: 6px; padding: 16px; font-weight: 500; }
.form-msg.ok { background: var(--sage-tint); }
.form-msg.err { background: transparent; border: 2px solid var(--error); color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { background: #1e211d; color: #f7f8f4; }
footer .wrap { padding-block: 48px; display: grid; gap: 28px; }
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; align-items: start; }
footer .logo-f { height: 64px; width: auto; filter: invert(1); }
footer small { opacity: .8; font-size: .85rem; line-height: 1.6; }
footer a { color: inherit; }
.acknowledge { border-top: 1px solid rgba(247, 248, 244, .2); padding-top: 22px; font-size: .95rem; max-width: 70ch; opacity: .85; }

/* plain text pages (privacy, not found, thanks) */
.page { padding-block: 64px 88px; }
.page .prose { max-width: 68ch; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.page h2 { font-size: 1.5rem; margin-top: 18px; }
.page ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.page .updated { color: var(--ink-soft); font-size: 1rem; }

@media (max-width: 900px) {
  nav.main { display: none; }
  .head-btns { margin-left: auto; }
  .split, .about, .contact, .app .wrap { grid-template-columns: 1fr; gap: 36px; }
  .about .portrait { max-width: 320px; }
  .app .phone { max-width: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .logo { height: 40px; }
  header.site .wrap { gap: 12px; }
  .head-btns { gap: 8px; }
  .head-btns .btn-sm { padding: 0 13px; font-size: .9rem; }
  section.block { padding-block: 60px; }
  .hero .band { width: 100%; clip-path: none; padding-block: 40px 44px; }
  .hero .band .inner { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero-spacer { height: 170px; }
  .hero h1 { font-size: clamp(1.9rem, 9.6vw, 2.6rem); }
  .hero .ctas .btn { width: 100%; }
  .conditions, .row2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide { grid-column: span 2; grid-row: auto; }
  .gallery .g-wide img { aspect-ratio: 3 / 2; }
  .gallery .g-sm { grid-column: span 1; }
  section.block.findus { padding-block: 40px 8px; }
  .findus img { aspect-ratio: 3 / 2; }
  .findus figcaption { position: static; border-radius: 0; padding: 18px; }
  .funding { grid-template-columns: 1fr; }
  .funding div { font-size: 1rem; }
  form { padding: 20px; }
  form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }
