/* famtopus.com teaser (2026-10-07): the film first, then why an octopus, the inky surname, three octopuses.
   Tokens from the brand board and the octopus-day mockup. Fonts self-hosted (no third-party requests). */
@import url("/fonts/famtopus-fonts.css");
:root {
  --paper: #FCF8EC; --sheet: #FFFDF6; --ink: #0C3E4F; --soft: #4C6770; --hair: #E5D9C2;
  --teal: #0B6874; --terra: #C85038; --salmon: #F3C3A5; --band: #0C3E4F; --bandfg: #F3EADB; --bandsoft: #C9D6D4;
  --display: "Vollkorn", Georgia, serif; --body: "Noto Sans", "Segoe UI", -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0E2128; --sheet: #132B33; --ink: #F3EADB; --soft: #AFC3C4; --hair: #24424C;
  --teal: #5FB3BC; --terra: #E9846D; --band: #071519; --bandfg: #F3EADB; --bandsoft: #AFC3C4; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #0E2128; --sheet: #132B33; --ink: #F3EADB; --soft: #AFC3C4; --hair: #24424C;
  --teal: #5FB3BC; --terra: #E9846D; --band: #071519; --bandfg: #F3EADB; --bandsoft: #AFC3C4; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
.w { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 700px) { .w { padding-inline: 32px; } }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; }
.eyebrow { font: 600 .78rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin: 0 0 .8rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top .w { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.top img { height: 52px; width: auto; }
.top .lang { font: 600 .9rem/1 var(--body); color: var(--ink); text-decoration: none; border: 1px solid var(--hair); border-radius: 999px; padding: .7rem 1rem; }
.top .lang:hover { border-color: var(--teal); }

/* hero (light), then the film on the dark band */
.hero .w { display: grid; gap: 1rem 3rem; align-items: end; padding-block: 1rem 0; }
@media (min-width: 900px) { .hero .w { grid-template-columns: 7fr 4fr; padding-top: 2rem; } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--teal); }
.tag { font: 600 clamp(1.15rem, 2vw, 1.4rem)/1.3 var(--display); color: var(--terra); margin: 1.1rem 0 .2rem; }
.tm { font: 400 .5em/1 var(--body); vertical-align: super; color: var(--soft); }
.hatch { font: italic 500 clamp(1.1rem, 1.8vw, 1.3rem)/1.35 var(--display); color: var(--teal); margin: 0 0 1.2rem; }
.peek { justify-self: center; width: min(300px, 60%); margin-bottom: -6px; }

.band { background: var(--band); color: var(--bandfg); }
.band .w { padding-block: 2.6rem 3rem; display: grid; gap: 2rem 3.5rem; align-items: center; }
@media (min-width: 900px) { .band .w { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); } }
.film { margin: 0; justify-self: center; width: min(100%, 480px); }
.film video { width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; background: #FBF4E7; box-shadow: 0 22px 50px -24px rgba(0, 0, 0, .7); }
.lines { max-width: 40ch; }
.lines p { margin: 0 0 1.1rem; font-size: 1.08rem; line-height: 1.65; color: var(--bandsoft); }
.lines .first { font: 600 clamp(1.5rem, 2.4vw, 1.85rem)/1.25 var(--display); color: var(--bandfg); margin-bottom: 1rem; }
/* the closing pair (Kat, 2026-10-08): no rule, no salmon; the emphasis is on "Famtopus helps bring them back to life." */
.lines .last { margin: 1.2rem 0 .3rem; }
.lines .close { margin: 0; font: 600 clamp(1.35rem, 2.2vw, 1.6rem)/1.3 var(--display); color: #7CC4CC; } /* Famtopus teal, lifted for the dark band */
.why { color: var(--soft); max-width: 52ch; margin: .9rem 0 0; font-size: 1.08rem; }

/* sections */
section.s { padding-block: clamp(3.2rem, 7vw, 5.5rem) 0; }
.s h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; }

/* inky surname */
.gen { display: grid; gap: 1.4rem; align-items: start; background: var(--sheet); border: 1px solid var(--hair); border-radius: 18px; padding: clamp(20px, 3vw, 34px); }
@media (min-width: 900px) { .gen { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.gen-lead { color: var(--soft); margin: .7rem 0 0; max-width: 40ch; }
.gen-form { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; min-width: 0; }
.gen-form input { flex: 1 1 14rem; min-width: 0; font: 500 1.15rem/1.3 var(--display); color: var(--ink); background: var(--paper); border: 1.5px solid var(--hair); border-radius: 10px; padding: .75rem .9rem; min-height: 48px; }
.btn { font: 600 1rem/1 var(--body); color: #FFFDF6; background: var(--terra); border: 0; border-radius: 999px; padding: 0 1.4rem; min-height: 48px; cursor: pointer; }
.gen-out { flex-basis: 100%; margin: .6rem 0 0; min-height: 3.2rem; font: 600 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--display); color: var(--teal); overflow-wrap: anywhere; }
.gen-out small { display: block; font: 400 .95rem/1.4 var(--body); color: var(--soft); margin-bottom: .2rem; }
.gen-form .again { color: var(--teal); background: transparent; border: 1.5px solid var(--teal); min-height: 44px; }
.gen-form .again[hidden] { display: none; }
.gen-note { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--soft); }
.invite { margin-top: 1.4rem; border-left: 4px solid var(--terra); padding: .4rem 0 .4rem 1.1rem; max-width: 62ch; }
.invite p { margin: 0; font: 500 1.15rem/1.5 var(--display); }
.invite p + p { margin-top: .5rem; }
.invite b { color: var(--terra); font-weight: 700; }
.invite .social { margin-top: .8rem; font: 600 1rem/1.4 var(--body); }

/* octopus facts */
.facts { display: grid; gap: 18px; margin-top: 1.2rem; }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.fact { border-top: 3px solid var(--terra); padding-top: 14px; min-width: 0; }
.fact b { display: block; font: 600 .78rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--terra); margin-bottom: .4rem; }
.fact h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.fact p { margin: 0; color: var(--soft); font-size: .96rem; }
.oct8 { margin: 2.2rem 0 0; font: 600 clamp(1.3rem, 2.6vw, 1.75rem)/1.3 var(--display); max-width: 30ch; }
.oct8 em { font-style: normal; color: var(--terra); }

/* text pages: contact, terms, privacy, 404 */
.page .w { max-width: 760px; padding-block: 1rem 2rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 1rem; }
.page h2 { font-size: 1.35rem; margin: 2rem 0 .4rem; }
.page p, .page li { max-width: 64ch; }
.page .updated { color: var(--soft); font-size: .92rem; }
.form { display: grid; gap: 1rem; margin-top: 1.5rem; max-width: 560px; }
.form label { font-weight: 600; display: grid; gap: .35rem; }
.form input, .form textarea { font: 400 1rem/1.5 var(--body); color: var(--ink); background: var(--sheet); border: 1.5px solid var(--hair); border-radius: 10px; padding: .7rem .85rem; min-height: 48px; width: 100%; }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .note { color: var(--soft); font-size: .9rem; margin: 0; }
.form .btn { justify-self: start; }
.status { font-weight: 600; color: var(--teal); }
.status.err { color: var(--terra); }
.lost img { width: min(320px, 70%); margin: 1.5rem 0; }

/* footer */
footer { margin-top: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--hair); }
footer .w { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; padding-block: 1.4rem 2.2rem; font-size: .9rem; color: var(--soft); }
footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
footer a { color: var(--soft); }
/* social links under the invitation: icon + handle */
.social { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1rem 0 0; }
.social a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.social a:hover span { text-decoration: underline; }
.social .ico { width: 26px; height: 26px; flex: none; }
footer .follow { display: flex; gap: .4rem; }
footer .follow a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--teal); }
footer .follow .ico { width: 22px; height: 22px; }
