/* The Social Mash — landing page styles
   Colours sampled from the logo, app screenshots and Hoppu artwork. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --cream: #fcf8f3;      /* logo background */
  --sand: #f4efe7;       /* alternating warm grey */
  --sand-2: #ebe4d8;
  --ink: #141414;        /* logo lettering (off-black) */
  --navy: #242f47;       /* app UI text */
  --muted: #565c6a;
  --amber: #f6b020;      /* fox tail */
  --gold: #e3a93e;       /* app avatar / accents */
  --copper: #c8893c;     /* app primary button */
  --copper-dk: #8a5519;  /* copper for text on light backgrounds */
  --teal: #4b717b;
  --teal-dk: #3b5c65;
  --pink: #f6589f;       /* Hoppu wordmark */
  --pink-dk: #b0285f;
  --pink-soft: #fdebf2;
  --red: #ff5a36;
  --app-bg: #eef3f7;     /* app screen background */
  --line: rgba(20, 20, 20, 0.1);
  --shadow: 0 18px 40px -20px rgba(36, 47, 71, 0.35);
  --shadow-sm: 0 6px 18px -10px rgba(36, 47, 71, 0.3);
  --radius: 24px;
  --radius-sm: 14px;
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 900; font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
h2 { font-weight: 900; font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
h3 { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

/* Placeholder marker for content the owner still has to supply */
.ph { background: #fff3c4; color: #6b4a00; border: 1px dashed #c99a00; border-radius: 6px; padding: 0 .3em; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(201, 138, 60, .9); }
.btn-primary:hover { background: #f8bd3d; box-shadow: 0 12px 24px -10px rgba(201, 138, 60, .9); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: #f873ae; }
.btn-sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .95rem; }
.btn-auth { white-space: nowrap; }
@media (max-width: 400px) { .btn-auth { font-size: .82rem; padding: .45rem .75rem; } }
.btn svg { width: 18px; height: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 700 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--copper-dk); background: #fff; border: 1px solid var(--line);
  padding: .5rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--navy);
}

/* ---------- Japanese ---------- */
/* The brand fonts only cover Latin, so Japanese text falls back to good system fonts. */
html:lang(ja) {
  --display: "Montserrat", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --body: "DM Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
html:lang(ja) body { line-height: 1.8; line-break: strict; }
html:lang(ja) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.4; word-break: auto-phrase; }
html:lang(ja) :is(.eyebrow, .mini-head, .field label, .site-footer h2, .drinker-card .dc-label) { letter-spacing: .04em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 248, 243, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 96px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--navy);
}
.main-nav a:hover { background: var(--sand); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }
.lang a { padding: .3rem .6rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: var(--muted); min-width: 34px; text-align: center; }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
/* With four languages in the switcher, tighten the header just above the mobile breakpoint */
@media (min-width: 1021px) and (max-width: 1200px) {
  .header-inner { gap: .75rem; }
  .main-nav a { padding: .55rem .55rem; }
  .lang a { padding: .3rem .45rem; min-width: 30px; }
}
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .main-nav {
    position: absolute; inset: var(--header-h) 0 auto 0; background: var(--cream);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    display: none; padding: .75rem 1.25rem 1.25rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
.main-nav .mobile-extra { display: none; gap: .6rem; align-items: center; padding: .75rem 1rem 0; flex-wrap: wrap; }
.main-nav .lang-mobile a { padding: .35rem .7rem; font-size: .85rem; }
@media (max-width: 620px) {
  .header-actions .btn-login { display: none; }
  .header-actions .lang { display: none; }
  .header-actions { gap: .45rem; }
  .main-nav .mobile-extra { display: flex; }
  .brand img { width: 76px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(246,176,32,.32), rgba(246,176,32,0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.hero h1 { position: relative; isolation: isolate; }
.hero h1 .hl {
  background: linear-gradient(transparent 64%, rgba(246,176,32,.85) 64%, rgba(246,176,32,.85) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em;
}
.hero .sub { font: 800 clamp(1.1rem, 1.9vw, 1.35rem)/1.3 var(--display); color: var(--copper-dk); margin-top: 1.1rem; letter-spacing: -0.01em; }
.hero .definition { margin-top: 1rem; font-size: 1.1rem; color: var(--navy); max-width: 37rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; align-items: center; }
.badges a { display: block; border-radius: 10px; transition: transform .18s; }
.badges a:hover { transform: translateY(-2px); }
.badges img { width: 150px; height: 55px; object-fit: contain; }
.badge-web {
  display: inline-flex !important; align-items: center; gap: .55rem; height: 55px; padding: 0 1rem; white-space: nowrap;
  background: #000; color: #fff; text-decoration: none; border-radius: 10px !important; line-height: 1.05;
}
.badge-web svg { width: 24px; height: 24px; flex-shrink: 0; }
.badge-web small { display: block; font-size: .64rem; opacity: .85; font-weight: 500; }
.badge-web strong { display: block; font-size: .95rem; font-weight: 700; }

.hero-visual { position: relative; min-height: 560px; display: flex; justify-content: center; }
.phone {
  position: relative; width: 270px; border-radius: 44px; background: var(--app-bg);
  border: 10px solid #121212; box-shadow: 0 40px 70px -30px rgba(36,47,71,.55), 0 0 0 2px #2a2a2a inset;
  overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 82px; height: 22px; background: #121212; border-radius: 20px; z-index: 2; }
.phone img { width: 100%; padding-top: 28px; }
.hero-visual .phone-front { z-index: 2; margin-right: 110px; rotate: -3deg; }
.hero-visual .phone-back { position: absolute; right: 2%; top: 60px; width: 240px; rotate: 5deg; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem; background: #fff; border-radius: 16px;
  padding: .65rem .9rem; box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; color: var(--ink);
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-chip .ic svg { width: 18px; height: 18px; }
.chip-1 { left: 0; top: 90px; }
.chip-2 { right: 0; bottom: 70px; }
.chip-3 { left: 6%; bottom: 20px; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); position: relative; }
.pillar {
  display: block; text-decoration: none; background: #fff; border-radius: var(--radius); padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: .8rem; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar strong { display: block; font: 800 1.05rem/1.2 var(--display); color: var(--ink); }
.pillar span { display: block; font-size: .95rem; color: var(--muted); margin-top: .35rem; line-height: 1.45; }

.ic-amber { background: #fdf0d2; color: var(--copper-dk); }
.ic-pink { background: var(--pink-soft); color: var(--pink-dk); }
.ic-red { background: #ffe6df; color: #c2381a; }
.ic-teal { background: #e1ecee; color: var(--teal-dk); }
.ic-navy { background: #e4e8f0; color: var(--navy); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 430px; }
  .phone { width: 220px; border-radius: 36px; border-width: 8px; }
  .hero-visual .phone-front { margin-right: 70px; }
  .hero-visual .phone-back { width: 190px; right: 0; }
  .chip-1 { top: 40px; }
  .chip-3 { display: none; }
  .pillars { grid-template-columns: 1fr; gap: .75rem; }
  .pillar { display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; padding: 1rem; }
  .pillar .ic { grid-row: span 2; margin: 0; }
  .pillar span:not(.ic) { margin-top: .2rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Who it's for — tabs */
.tablist { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font: 700 .98rem/1 var(--body); color: var(--navy); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"] { background: var(--copper-dk); border-color: var(--copper-dk); color: #fff; }
.panels { display: grid; gap: 1.25rem; }
.panel {
  display: grid; grid-template-columns: 1.15fr .85fr; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.js .panel[hidden] { display: none; }
.panel-body { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.panel-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.panel-body .benefit { margin-top: .8rem; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.ticks { margin-top: 1.25rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: #fdf0d2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5519' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat;
}
.panel-body .btn { margin-top: 1.6rem; }
.panel-media { position: relative; background: var(--sand-2); min-height: 260px; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.panel-media.art { display: grid; place-items: center; background: var(--cream); }
.panel-media.art img { position: static; width: 70%; height: auto; max-width: 280px; object-fit: contain; }
@media (max-width: 820px) {
  .panel { grid-template-columns: 1fr; }
  .panel-media { min-height: 220px; order: -1; }
  .tablist { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none; }
  .tab { flex-shrink: 0; }
}

/* Feature sections */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media .blob { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; translate: -50% -50%; z-index: 0; }
.feature-media .phone { z-index: 1; }
.feature-copy .lead { margin-top: 1.1rem; font-size: 1.12rem; color: var(--navy); }
.feature-copy .lead + .lead { margin-top: .9rem; }
.points { margin-top: 2rem; display: grid; gap: 1.4rem; }
.point { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.point .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.point .ic svg { width: 22px; height: 22px; }
.point h3 { font-size: 1.12rem; }
.point p { margin-top: .3rem; color: var(--muted); }
.callout {
  margin-top: 2rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: #fff; border-left: 5px solid var(--amber);
  font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.mini-head { margin-top: 2rem; font: 800 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--copper-dk); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--ink); }
.feature-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; align-items: center; }

/* Marketplace extras */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.fact { background: #fff; border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact h3 { font-size: 1.08rem; }
.fact p { margin-top: .45rem; color: var(--muted); }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } }

/* Hoppu */
.hoppu { background: linear-gradient(180deg, var(--cream) 0%, #fdf0f5 100%); overflow: hidden; }
.hoppu .eyebrow { color: var(--pink-dk); }
.hoppu .eyebrow .dot { background: var(--pink); }
.hoppu .chips .pill { border-color: rgba(246, 88, 159, .35); }
.hoppu .chips .pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hoppu .text-link { color: var(--pink-dk); }

/* Ratings */
.drinker-card { position: relative; z-index: 1; background: #fff; border-radius: 28px; padding: 1.6rem; box-shadow: var(--shadow); width: min(100%, 400px); border: 1px solid var(--line); }
.drinker-card .dc-head { display: flex; align-items: center; gap: .9rem; }
.drinker-card .dc-head img { width: 64px; height: 64px; }
.drinker-card .dc-head strong { display: block; font: 800 1.05rem/1.2 var(--display); color: var(--ink); }
.drinker-card .dc-head span { font-size: .9rem; color: var(--muted); }
.drinker-card .dc-label { margin-top: 1.3rem; font: 700 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drinker-card .seg { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.drinker-card .seg span { padding: .45rem .8rem; border-radius: 999px; background: var(--app-bg); font-size: .88rem; font-weight: 600; color: var(--navy); }
.drinker-card .seg span.on { background: var(--copper-dk); color: #fff; }
.drinker-card ul { margin-top: 1.3rem; display: grid; gap: .55rem; }
.drinker-card li { display: flex; gap: .6rem; align-items: center; font-size: .95rem; font-weight: 600; color: var(--ink); }
.drinker-card li svg { width: 20px; height: 20px; color: #1e8a4c; flex-shrink: 0; }

/* Community */
.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.pro-card { background: #fff; border-radius: var(--radius); padding: 1.35rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pro-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .75rem; }
.pro-card .ic svg { width: 20px; height: 20px; }
.pro-card h3 { font-size: 1.05rem; }
.pro-card p { margin-top: .35rem; color: var(--muted); font-size: .98rem; }
@media (max-width: 560px) { .pro-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
}

/* Why we built it */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.why .eyebrow { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.why-copy p { margin-top: 1.1rem; font-size: 1.12rem; color: rgba(255,255,255,.92); }
.why-copy .closing { font: 800 1.3rem/1.35 var(--display); color: #fff; margin-top: 1.6rem; }
.stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 1rem 1.3rem; min-width: 160px; }
.stat strong { display: block; font: 900 2.4rem/1 var(--display); color: var(--amber); }
.stat span { display: block; margin-top: .35rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.why-photo { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); rotate: 2deg; }
.why-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-sign { margin-top: 1.25rem; font-size: .98rem; color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-photo { rotate: 0deg; } }

/* FAQ */
.faq-list { max-width: 52rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq-item { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.4rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.08rem; line-height: 1.35; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/55% no-repeat;
  transition: rotate .2s;
}
.faq-item[open] summary::after { rotate: 45deg; background-color: var(--amber); }
.faq-item .answer { padding: 0 1.4rem 1.3rem; color: var(--navy); }
.faq-item .answer p + p { margin-top: .7rem; }
.faq-item .answer a { color: var(--copper-dk); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card { background: #fff; border-radius: 28px; padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font: 700 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--app-bg); border: 1.5px solid #dbe3ea;
  border-radius: 14px; padding: .85rem 1rem; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); background: #fff; box-shadow: 0 0 0 4px rgba(200,137,60,.18); }
.field [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.field .err { color: #a5281b; font-size: .9rem; font-weight: 600; display: none; }
.field .err.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; font-weight: 600; display: none; align-items: center; gap: .6rem; }
.form-status.show { display: flex; }
.form-status.ok { background: #e3f5ea; color: #145c33; }
.form-status.fail { background: #fdecea; color: #8c2116; }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-card button[disabled] { opacity: .7; cursor: progress; transform: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Final CTA band */
.cta-band { background: var(--ink); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,176,32,.22), rgba(246,176,32,0) 65%);
}
.cta-band h2 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); position: relative; }
.cta-band h2 span { color: var(--amber); }
.cta-band p { margin: 1rem auto 0; max-width: 36rem; color: rgba(255,255,255,.85); font-size: 1.12rem; position: relative; }
.cta-band .cta-row { justify-content: center; position: relative; }

/* Footer */
.site-footer { background: var(--sand); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-brand img { width: 130px; }
.footer-brand p { margin-top: 1rem; color: var(--muted); max-width: 22rem; }
.site-footer h2 { font: 800 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer ul a { text-decoration: none; color: var(--navy); }
.site-footer ul a:hover { color: var(--copper-dk); text-decoration: underline; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .15s; }
.social a:hover { transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.footer-bottom .lang { background: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Hoppu bridge page */
.bridge-hero { padding: clamp(3rem, 7vw, 5.5rem) 0; background: linear-gradient(180deg, var(--cream), #fdf0f5); }
.bridge-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bridge-grid .art { width: min(100%, 420px); margin-inline: auto; }
.bridge-hero .definition { margin-top: 1.2rem; font-size: 1.15rem; max-width: 38rem; }
@media (max-width: 860px) { .bridge-grid { grid-template-columns: 1fr; } .bridge-grid .art { width: 260px; order: -1; } }

/* Reveal on scroll (only when JS is available) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-copy > :nth-child(6) { animation-delay: .3s; }
  .hero-visual .float-chip { animation: bob 5s ease-in-out infinite; }
  .hero-visual .chip-2 { animation-delay: -1.6s; }
  .hero-visual .chip-3 { animation-delay: -3.2s; }
}
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
