/* ------------------------------------------------------------------
   Furiosa Group — landing page
   Aesthetic: refined editorial; teals + greys; Figtree throughout
------------------------------------------------------------------ */

:root {
  --bg:          #f4f6f7;
  --bg-card:     #ffffff;
  --surface:     #fafbfc;

  --ink:         #0d1f2a;
  --ink-soft:    #2a4250;
  --grey-700:    #3f5260;
  --grey-600:    #5b6b75;
  --grey-500:    #7a8a95;
  --grey-400:    #9aa8b1;
  --grey-300:    #c7d0d6;
  --grey-200:    #e3e8eb;
  --grey-100:    #eef1f3;

  --teal:        #00b0bf;
  --teal-bright: #00afca;
  --teal-deep:   #0a7d8a;
  --teal-soft:   #d6f1f4;
  --teal-tint:   #f0f9fa;

  --max:         1180px;
  --pad:         clamp(1.4rem, 4vw, 3rem);
  --font:        'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --ease:        cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "kern" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  line-height: 1.5;

  background-image:
    radial-gradient(ellipse 80% 60% at 92% -8%,  rgba(0, 176, 191, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at -8% 110%, rgba(13, 31, 42, 0.05),  transparent 60%);
}

/* paper-grain overlay for subtle tactile depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* ----------------------------- topbar ----------------------------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0 1.25rem;
  gap: 1rem;
}
.mini-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.mini-mark .mini-orb { width: 22px; height: 22px; flex-shrink: 0; }
.mini-mark .dot {
  margin: 0 0.4em;
  color: var(--grey-400);
  font-weight: 400;
}

.top-nav { display: flex; align-items: center; gap: 1.5rem; }
.top-nav a {
  font-size: 0.85rem;
  color: var(--grey-600);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .2s var(--ease);
}
.top-nav a:hover { color: var(--teal-deep); }
.top-nav .top-contact {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--grey-300);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.top-nav .top-contact:hover { border-color: var(--teal); color: var(--teal-deep); }
@media (max-width: 560px) {
  .top-nav a:not(.top-contact) { display: none; }
}

/* ------------------------------ hero ------------------------------ */
.hero { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
  margin: 0 0 clamp(1.75rem, 4vw, 2.8rem);
}
.eyebrow .rule {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--grey-400);
}
.eyebrow .num-of {
  color: var(--teal-deep);
  font-weight: 600;
}

.wordmark {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.wordmark .orb {
  width: clamp(74px, 9vw, 112px);
  height: auto;
  flex-shrink: 0;
  margin-top: clamp(0.4rem, 1.3vw, 1rem);
}
.wordmark h1 {
  font-size: clamp(2.6rem, 8.6vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  color: var(--ink);
}
.wordmark h1 .furiosa { display: block; }
.wordmark h1 .group {
  display: block;
  color: var(--teal-deep);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.025em;
}
.wordmark h1 .period {
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
}

.hero-slogan {
  max-width: 28ch;
  margin: clamp(1.75rem, 4vw, 2.4rem) 0 0 calc(clamp(74px, 9vw, 112px) + clamp(1rem, 2.5vw, 1.6rem));
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink-soft);
  font-weight: 400;
  position: relative;
  padding-left: clamp(1rem, 1.6vw, 1.4rem);
}
.hero-slogan::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 3px;
  height: calc(100% - 0.85em);
  background: linear-gradient(180deg, var(--teal), var(--teal-bright));
  border-radius: 2px;
}
.hero-slogan em {
  font-style: italic;
  color: var(--teal-deep);
  font-weight: 400;
}

.hero-lede {
  max-width: 44ch;
  margin: clamp(1.4rem, 3.5vw, 2rem) 0 0 calc(clamp(74px, 9vw, 112px) + clamp(1rem, 2.5vw, 1.6rem));
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: var(--grey-600);
  font-weight: 400;
}
.hero-lede em {
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
}

@media (max-width: 720px) {
  .wordmark { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-slogan, .hero-lede { margin-left: 0; }
}

/* hairline rules between sections */
.section-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-300) 18%, var(--grey-300) 82%, transparent);
  margin: 0;
}

/* ---------------------------- products --------------------------- */
.products { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.section-head .eyebrow { margin: 0; }
.section-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--grey-500);
  max-width: 38ch;
  text-align: right;
}
@media (max-width: 720px) { .section-note { text-align: left; } }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: 1fr; gap: 1rem; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--grey-200);
  border-radius: 20px;
  padding: 1.85rem 1.7rem 1.7rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .25s var(--ease), box-shadow .4s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.card::after {
  content: '';
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,176,191,0.08), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-soft);
  box-shadow:
    0 28px 60px -32px rgba(13, 31, 42, 0.22),
    0 6px 18px -10px rgba(0, 176, 191, 0.12);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after  { opacity: 1; }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.card .num {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
}
.card .icon {
  width: 38px; height: 38px;
  color: var(--teal);
  flex-shrink: 0;
}

.card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--ink);
  line-height: 1.15;
}
.card h3 em {
  color: var(--teal-deep);
  font-style: italic;
  font-weight: 600;
}

.card p {
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.4rem;
  flex: 1;
}

.card .visit {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.card .visit::after {
  content: '→';
  display: inline-block;
  transition: transform .25s var(--ease);
  font-weight: 400;
}
.card:hover .visit::after { transform: translateX(5px); }

/* ---------------------------- contact ---------------------------- */
.contact-section {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.contact-section .label {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.contact-section .label .rule {
  width: 32px; height: 1px;
  background: var(--grey-300);
  display: inline-block;
}
.contact-section h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.15;
  margin: 0 auto 2.25rem;
  max-width: 22ch;
  color: var(--ink);
}
.contact-section h2 em {
  font-style: italic;
  color: var(--teal-deep);
  font-weight: 400;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--ink);
  color: #fff;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 14px 32px -16px rgba(13, 31, 42, 0.5);
  position: relative;
  overflow: hidden;
}
.contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-deep), var(--ink));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.contact-btn > * { position: relative; z-index: 1; }
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -16px rgba(10, 125, 138, 0.55);
}
.contact-btn:hover::before { opacity: 1; }
.contact-btn .arrow {
  transition: transform .25s var(--ease);
}
.contact-btn:hover .arrow { transform: translateX(4px); }

.contact-meta {
  margin: 1.6rem 0 0;
  font-size: 0.85rem;
  color: var(--grey-500);
}

/* ----------------------------- footer ---------------------------- */
footer {
  padding: 2rem 0 2.8rem;
  border-top: 1px solid var(--grey-200);
  font-size: 0.82rem;
  color: var(--grey-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .copy { margin: 0; }
footer .links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
footer .links a {
  color: var(--grey-500);
  text-decoration: none;
  transition: color .2s var(--ease);
}
footer .links a:hover { color: var(--teal-deep); }

/* ---------------------------- reveals ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .9s var(--ease) forwards;
}
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.18s; }
.reveal.d3 { animation-delay: 0.32s; }
.reveal.d4 { animation-delay: 0.50s; }
.reveal.d5 { animation-delay: 0.62s; }
.reveal.d6 { animation-delay: 0.74s; }
.reveal.d7 { animation-delay: 0.86s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .card, .card *, .contact-btn, .contact-btn * { transition: none !important; }
}

/* selection */
::selection { background: var(--teal-soft); color: var(--ink); }
