/* =========================================================
   Raamm Group — Design System
   Tokens mirror /design-system/tokens.css (source of truth)
   ========================================================= */
:root {
  /* Brand */
  --coral: #EC5930;
  --coral-600: #D74A24;
  --orange: #F08530;
  --salmon: #EEA2A2;
  --teal: #58C1C0;
  --teal-600: #3EA9A8;
  --teal-light: #BCE2E3;

  /* Neutrals */
  --ink-900: #1C1B1F;
  --ink-700: #3A383F;
  --ink-500: #6B6870;
  --ink-300: #A7A3AC;
  --line: #EAE6E1;
  --paper: #FBF9F6;
  --paper-2: #F4EFE9;
  --white: #FFFFFF;

  /* Gradients */
  --grad-warm: linear-gradient(135deg, #F08530, #EC5930);
  --grad-cool: linear-gradient(135deg, #58C1C0, #BCE2E3);
  --grad-brand: linear-gradient(120deg, #EC5930 0%, #F08530 45%, #58C1C0 100%);

  /* Radius */
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-pill: 999px;

  /* Elevation */
  --shadow-1: 0 2px 8px rgba(28,27,31,.06);
  --shadow-2: 0 12px 32px rgba(28,27,31,.10);
  --shadow-lift: 0 20px 50px rgba(236,89,48,.18);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Layout */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 48px);
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: "Sora", system-ui, sans-serif; color: var(--ink-900); line-height: 1.12; }
a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 14px;
}
.grad-text {
  background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: "Sora", sans-serif; font-weight: 600;
  font-size: .98rem; padding: 13px 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: var(--coral-600); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,246,.72); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-1); background: rgba(251,249,246,.9); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--ink-700); font-weight: 500; font-size: .96rem; }
.nav__links a:hover { color: var(--coral); text-decoration: none; }
.nav__links a.btn--primary { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(60px, 12vw, 130px) 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__img {
  position: absolute; bottom: 0; left: 0; width: 100%; height: auto;
  object-fit: cover; opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  animation: heroRise 1.1s var(--ease) both;
}
.hero__bg::after { /* fade hero image into the page below */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--paper) 96%);
}
@keyframes heroRise { from { transform: translateY(28px); opacity: 0; } }

.hero__content { position: relative; z-index: 1; max-width: 860px; padding-bottom: clamp(60px, 10vw, 110px); }
.hero__title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.02em; margin: 4px 0 22px; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-700); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; align-items: center; gap: 16px; margin-top: 34px; color: var(--ink-500); font-size: .92rem; flex-wrap: wrap; }
.hero__meta strong { color: var(--ink-900); }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* ===== Trust strip ===== */
.strip { background: var(--ink-900); color: #fff; }
.strip__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-block: 34px; }
.strip__item { display: flex; flex-direction: column; gap: 2px; }
.strip__num { font-family: "Sora"; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700;
  background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip__lbl { color: #b9b6be; font-size: .9rem; }

/* ===== Sections ===== */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.section__sub { color: var(--ink-500); font-size: 1.1rem; }

/* Peak divider line */
.peakline {
  height: 26px;
  background-image:
    linear-gradient(135deg, var(--coral) 50%, transparent 50%),
    linear-gradient(-135deg, var(--coral) 50%, transparent 50%);
  background-size: 26px 26px; background-position: 0 0; background-repeat: repeat-x;
  opacity: .16;
}

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px,5vw,64px); align-items: start; }
.about__text p { margin-bottom: 18px; max-width: 60ch; }
.about__points { margin-top: 26px; display: grid; gap: 14px; }
.about__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-900); font-weight: 500; }
.tick { flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad-warm); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.idcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-1); position: relative; overflow: hidden;
}
.idcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-brand); }
.idcard__logo { height: 30px; margin-bottom: 24px; }
.idcard__list { display: grid; gap: 18px; }
.idcard__list div { display: grid; gap: 2px; }
.idcard__list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-300); font-weight: 600; }
.idcard__list dd { font-family: "Sora"; color: var(--ink-900); font-weight: 500; }

/* ===== Cards (verticals) ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card__peak {
  width: 46px; height: 40px; margin-bottom: 18px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: .98rem; }

/* ===== Brands ===== */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.brand {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.brand--feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: center;
  background: linear-gradient(120deg, #fff 55%, #FFF3EC 100%);
}
.brand__tag {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-600); background: var(--teal-light); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.brand__tag--muted { color: var(--ink-500); background: var(--paper-2); }
.brand__name { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.brand__desc { color: var(--ink-500); margin-bottom: 22px; max-width: 52ch; }
.brand__art { display: flex; align-items: center; justify-content: center; }
.brand__glyph {
  width: 150px; height: 150px; border-radius: 30px; display: grid; place-items: center;
  font-family: "Sora"; font-weight: 700; font-size: 5rem; color: #fff;
  box-shadow: var(--shadow-lift);
}
.brand__glyph--mealody { background: var(--grad-warm); }
.brand--soon { opacity: .95; }
.brand--soon .brand__name { color: var(--ink-300); }

/* ===== Contact ===== */
.section--contact { background: var(--ink-900); color: #d9d7dd; }
.section--contact .section__title { color: #fff; }
.section--contact .eyebrow { color: var(--salmon); }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px,6vw,72px); align-items: start; }
.contact__intro p { color: #b9b6be; max-width: 46ch; }
.contact__reasons { margin-top: 26px; display: grid; gap: 12px; }
.contact__reasons li { padding-left: 26px; position: relative; color: #e6e4e9; }
.contact__reasons li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 11px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--grad-warm); }

.contact__form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); backdrop-filter: blur(6px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: #cfccd4; margin-bottom: 7px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: #fff; font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: #1C1B1F; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coral); background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(236,89,48,.25);
}
.field input::placeholder, .field textarea::placeholder { color: #8f8c95; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-size: .95rem; min-height: 1.2em; font-weight: 500; }
.form__status.ok { color: var(--teal-light); }
.form__status.err { color: #FFB4A2; }
.form__note { margin-top: 12px; font-size: .82rem; color: #8f8c95; }
#contactForm .btn { width: 100%; }

/* ===== Footer ===== */
.footer { background: #131215; color: #b9b6be; padding-top: clamp(48px,7vw,80px); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { height: 30px; margin-bottom: 16px; }
.footer__tag { max-width: 30ch; color: #8f8c95; }
.footer__nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer__nav h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer__nav a, .footer__nav span { display: block; color: #b9b6be; font-size: .95rem; margin-bottom: 9px; }
.footer__nav a:hover { color: var(--salmon); text-decoration: none; }
.footer__soon { color: #6b6870 !important; font-style: italic; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; font-size: .85rem; color: #6b6870; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .about { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--pad) 24px;
    transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--shadow-2); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a.btn--primary { margin-top: 12px; border-bottom: 0; }
  .nav__toggle { display: flex; }
  .strip__grid { grid-template-columns: repeat(2,1fr); gap: 20px 12px; }
  .cards { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; }
  .brand--feature { grid-template-columns: 1fr; }
  .brand__art { order: -1; }
  .brand__glyph { width: 100px; height: 100px; font-size: 3.4rem; border-radius: 22px; }
  .footer__base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
