/* filet. — Filet Solutions · brand stylesheet
   Direction: warm paper-and-ink editorial. Cream ground like the stamp
   cards the product replaces, deep espresso ink, one coral accent
   (≤10% area). Space Grotesk display, Instrument Sans body.
   Signature: stamp-dot strip. */

:root {
  --bg: #faf5ee;
  --bg-raise: #fffdf8;
  --ink: #2e241c;
  --ink-soft: #77685a;
  --accent: #e0553d;
  --accent-deep: #c2452f;
  --line: rgba(46, 36, 28, 0.14);
  --radius: 14px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.accent { color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(20px, 5vw, 64px);
  background: rgba(250, 245, 238, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color 180ms ease-out;
  padding: 8px 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color 180ms ease-out, background 180ms ease-out;
}
.nav-links .nav-cta:hover { border-color: var(--accent); background: rgba(224, 85, 61, 0.08); }

/* language switch */
.lang-switch {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em;
}
.lang-switch a { color: var(--ink-soft); padding: 8px 0; transition: color 180ms ease-out; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { color: var(--accent); pointer-events: none; }
.lang-switch .sep { color: var(--ink-soft); opacity: 0.5; }

/* ---------- hero ---------- */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(80px, 14vh, 150px) clamp(20px, 5vw, 64px) clamp(64px, 10vh, 110px);
}
.kicker {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8.5vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  overflow-wrap: break-word;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 48px;
}

/* stamp-dot strip — the signature motif */
.stamp-strip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--ink-soft);
  flex: none;
  transition: transform 200ms ease-out, background 200ms ease-out, border-color 200ms ease-out;
}
.dot.filled { background: var(--ink); border-color: var(--ink); }
.dot.reward {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 38%, transparent 42%);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.strip-label {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin-left: 8px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500; font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease-out, background 180ms ease-out, border-color 180ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--accent); color: var(--bg); font-weight: 700; }
.btn.primary:hover { background: var(--accent-deep); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink-soft); }
.btn.big { font-size: 20px; padding: 18px 36px; }

/* ---------- sections ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 100px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 18px;
}
.section-sub { color: var(--ink-soft); max-width: 38em; margin-bottom: 52px; font-size: 18px; }

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}
.feature:hover { border-color: rgba(224, 85, 61, 0.5); transform: translateY(-3px); }
.feature svg {
  width: 34px; height: 34px;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- field case ---------- */
.case {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.case-brand {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.case-text { color: var(--ink-soft); margin-bottom: 18px; max-width: 34em; }
.case-meta {
  font-size: 13px; font-family: var(--font-display);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0.75;
}

/* mini stamp card mock */
.case-visual { display: flex; justify-content: center; }
.mini-card {
  width: 100%; max-width: 320px;
  background: linear-gradient(160deg, #fbf7ef, #f0e9dc);
  color: #3c5a6b;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 24px 48px rgba(46, 36, 28, 0.18);
  transform: rotate(-2.5deg);
}
.mini-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.mini-brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.mini-name { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.mini-dots { display: flex; gap: 8px; justify-content: space-between; margin-bottom: 22px; }
.mini-dots .dot { width: 16px; height: 16px; border-color: #9db4c0; }
.mini-dots .dot.filled { background: #658ea6; border-color: #658ea6; }
.mini-foot { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.mini-foot .accent { color: var(--accent-deep); }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .section-sub { margin-left: auto; margin-right: auto; }
.contact-alt { margin-top: 22px; font-size: 15px; color: var(--ink-soft); }
.contact-alt a { color: var(--ink); border-bottom: 1px solid var(--accent); transition: color 180ms ease-out; }
.contact-alt a:hover { color: var(--accent); }

/* ---------- contact form page ---------- */
.contact-main {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(64px, 11vh, 120px) clamp(20px, 5vw, 24px) 90px;
}
.contact-main h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 52px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 18px;
}
.contact-main .lead { color: var(--ink-soft); font-size: 18px; margin-bottom: 44px; max-width: 30em; }

.form-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: 22px;
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 180ms ease-out;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--ink-soft); }
.form-note a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.form-note a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 180ms ease-out; padding: 6px 0; }
.footer-links a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 680px; margin: 0 auto; padding: clamp(56px, 10vh, 110px) clamp(20px, 5vw, 24px) 80px; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 40px); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; margin: 32px 0 8px;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--accent); transition: color 180ms ease-out; }
.legal a:hover { color: var(--accent); }
.legal .back {
  display: inline-block; margin-top: 44px;
  font-weight: 600; border-bottom: none; color: var(--accent);
}

/* ---------- reveal on scroll (only when JS is on) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 280ms ease-out, transform 280ms ease-out; }
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .dot.reward { animation: none; }
  .feature:hover { transform: none; }
  .btn:active { transform: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav-links .nav-hide { display: none; }
  .case { grid-template-columns: 1fr; gap: 32px; }
  .mini-card { transform: rotate(0); }
  .stamp-strip { gap: 9px; }
  .dot { width: 15px; height: 15px; }
  .strip-label { margin-left: 0; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
