/* The Almost Touch, website v1 */
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunitosans.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunitosans-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --beige: #f7efe3;
  --beige-soft: #f1e4d0;
  --sand: #e8d5b7;
  --gold: #b8862f;
  --gold-light: #d9ae5f;
  --navy: #1f2a44;
  --navy-soft: #4a5470;
  --white: #fffaf2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--navy);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: "Fredoka", "Nunito Sans", sans-serif; font-weight: 500; line-height: 1.2; margin: 0 0 0.6em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow-wrap { max-width: 720px; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }
.eyebrow { font-family: "Fredoka", sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.6em; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(247, 239, 227, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(184, 134, 47, 0.2); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: "Fredoka", sans-serif; font-size: 1.15rem; font-weight: 500; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--navy-soft); text-decoration: none; font-size: 0.98rem; }
.nav a:hover { color: var(--gold); }

/* Hero */
.hero { text-align: center; padding-bottom: 72px; }
.hero-image { max-width: 1280px; margin: 0 auto; position: relative; }
.hero-image img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 40%;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.hero-text { margin-top: -40px; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; margin-bottom: 0.15em; }
.hook { font-family: "Fredoka", sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold); margin-bottom: 0.2em; font-weight: 400; }
.tagline { font-size: 1.15rem; color: var(--navy-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-family: "Fredoka", sans-serif; font-size: 1.02rem; transition: all 0.2s ease; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--navy); }
.btn-quiet { border: 1.5px solid var(--gold); color: var(--navy); }
.btn-quiet:hover { background: var(--gold); color: var(--white); }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--beige-soft); }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.lead { font-family: "Fredoka", sans-serif; font-size: 1.35rem; line-height: 1.5; color: var(--navy); font-weight: 400; }
.signature { font-family: "Fredoka", sans-serif; margin-top: 1.4em; }
.signature span { color: var(--gold); font-size: 0.95rem; }
.card-figure { margin: 0; }
.card-figure img, .wide-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.card-figure figcaption { font-style: italic; color: var(--gold); text-align: center; margin-top: 14px; font-size: 1rem; }

.principles { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles li { background: var(--white); border-radius: var(--radius); padding: 26px 26px 18px; border-top: 3px solid var(--gold-light); }
.principles h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.principles p { color: var(--navy-soft); font-size: 1rem; }

.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.way { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.num { font-family: "Fredoka", sans-serif; font-size: 2.2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.way p { color: var(--navy-soft); margin: 0; }
.wide-figure { margin: 48px auto 0; max-width: 900px; }

.quote { font-family: "Fredoka", sans-serif; font-size: clamp(1.3rem, 2.6vw, 1.8rem); text-align: center; color: var(--navy); max-width: 820px; margin: 10px auto 24px; font-weight: 400; line-height: 1.4; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.2s ease; }
.post:hover { transform: translateY(-3px); }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body p { color: var(--navy-soft); font-size: 0.98rem; }
.date { font-size: 0.85rem !important; color: var(--gold) !important; margin-bottom: 0.4em; }
.more { margin-top: auto; font-family: "Fredoka", sans-serif; color: var(--gold); }

.feature { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: center; margin-top: 64px; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature img { border-radius: 10px; }
.feature p { color: var(--navy-soft); }

.contact h2 { margin-bottom: 0.4em; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0 20px; text-align: left; }
.contact-card { display: block; border: 1.5px solid var(--gold-light); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--navy); transition: background 0.2s ease; }
.contact-card:hover { background: var(--white); }
.contact-label { display: block; font-family: "Fredoka", sans-serif; font-size: 1.25rem; color: var(--gold); }
.contact-text { color: var(--navy-soft); font-size: 1rem; }
.placeholder { display: inline-block; background: #fff3cd; border: 1px dashed var(--gold); color: #7a5a12; padding: 6px 12px; border-radius: 8px; font-size: 0.9rem; }

/* Footer */
.footer { background: var(--navy); color: #e9dfcf; padding: 48px 0 36px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.footer-brand p { margin: 0; font-size: 0.95rem; color: var(--gold-light); }
.footer-name { font-family: "Fredoka", sans-serif; font-size: 1.2rem !important; color: #fffaf2 !important; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #fffaf2; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-small { grid-column: 1 / -1; font-size: 0.85rem; color: #b9b1a3; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; margin: 8px 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .feature { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 24px; }
  .feature img { width: 100%; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 36px); }
  .nav { display: none; }
  .section { padding: 64px 0; }
  .hero { padding-bottom: 56px; }
  .hero-text { margin-top: -10px; }
  .principles, .ways, .contact-links { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 20px; }
  .way { padding: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
}
.nowrap { white-space: nowrap; }

/* v3: sign-up links */
.nav .nav-join { color: var(--white); background: var(--gold); padding: 4px 16px; border-radius: 999px; }
.nav .nav-join:hover { background: var(--navy); color: var(--white); }
.hero-note { margin-top: 22px; color: var(--navy-soft); font-size: 1rem; }
.hero-note a { color: var(--gold); font-weight: 600; }
.way { display: flex; flex-direction: column; }
.way p { margin-bottom: 18px; }
.way-link { margin-top: auto; font-family: "Fredoka", sans-serif; color: var(--gold); text-decoration: none; }
.way-link::after { content: " \2192"; }
.way-link:hover { color: var(--navy); }
.mobile-join { display: none; }

/* v3: subscribe page */
.page-head { padding: 72px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.2em; }
.page-head .hook { margin-bottom: 0.6em; }
.form-wrap { max-width: 760px; margin: 0 auto; padding-bottom: 88px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0 28px; }
.path-card { background: var(--white); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); border-top: 3px solid var(--gold-light); }
.path-card h2 { font-size: 1.3rem; margin-bottom: 0.3em; }
.path-card p { color: var(--navy-soft); font-size: 1rem; margin: 0; }
.signup { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label, .field legend { display: block; font-family: "Fredoka", sans-serif; font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.opt { font-family: "Nunito Sans", sans-serif; font-size: 0.88rem; color: var(--navy-soft); font-weight: 400; }
.field input[type=text], .field input[type=email], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: var(--beige);
  border: 1.5px solid var(--sand); border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(184,134,47,0.15); }
fieldset.field { border: 0; padding: 0; margin: 0 0 22px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: flex !important; align-items: flex-start; gap: 10px; border: 1.5px solid var(--sand); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: var(--beige); font-family: "Nunito Sans", sans-serif !important; font-size: 1rem !important; }
.choice:has(input:checked) { border-color: var(--gold); background: #fff7e8; }
.choice input { accent-color: var(--gold); margin-top: 5px; }
.choice strong { font-family: "Fredoka", sans-serif; font-weight: 500; display: block; }
.choice span span { color: var(--navy-soft); font-size: 0.92rem; }
.guide-fields { border-left: 3px solid var(--gold-light); padding: 6px 0 2px 20px; margin: 0 0 22px; }
.guide-fields .note { font-size: 0.95rem; color: var(--navy-soft); margin-bottom: 16px; }
.guide-fields.is-hidden { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--navy); margin-bottom: 18px; }
.consent input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.privacy { font-size: 0.9rem; color: var(--navy-soft); background: var(--beige); border-radius: 10px; padding: 14px 16px; margin-bottom: 24px; }
.privacy strong { color: var(--navy); }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup button { border: 0; cursor: pointer; font-size: 1.08rem; padding: 14px 34px; }
.thanks { text-align: center; padding: 96px 0 110px; max-width: 680px; margin: 0 auto; }
.thanks img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 28px; object-fit: cover; box-shadow: var(--shadow); }
.thanks .actions { margin-top: 34px; }

@media (max-width: 640px) {
  .mobile-join { display: inline-block; font-family: "Fredoka", sans-serif; background: var(--gold); color: var(--white); text-decoration: none; padding: 6px 16px; border-radius: 999px; font-size: 0.95rem; }
  .paths, .choices { grid-template-columns: minmax(0, 1fr); }
  .signup { padding: 24px 20px; }
  .page-head { padding: 48px 0 12px; }
}
