/* =========================================================
   frontek.dev — Home / hub page
   Palette: teal #2A9D8F · coral #E76F51 · dark #264653
            gold #E9C46A · green #8AB17D · cream #F4F1DE
   Self-contained: system fonts, no external dependencies.
   Shares the brand language of about-me.frontek.dev.
   ========================================================= */

:root {
  --teal:  #2A9D8F;
  --coral: #E76F51;
  --dark:  #264653;
  --gold:  #E9C46A;
  --green: #8AB17D;
  --cream: #F8F6EF;
  --ink:   #21333b;
  --grey:  #5a6b73;
  --line:  #e4e0d4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38,70,83,.08);
  --max: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { font-weight: 800; font-size: 1.25rem; color: var(--dark); letter-spacing: -.02em; }
.nav__brand span { color: var(--teal); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--grey); font-weight: 600; font-size: .92rem; }
.nav__links a:hover { color: var(--teal); text-decoration: none; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--dark); cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1c3640 60%, var(--teal) 140%);
  color: #fff;
  padding: 104px 0 112px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,196,106,.35), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero__kicker { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #dfe9ea; max-width: 640px; }
.hero__sub strong { color: #fff; }
.hero__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; color: #9fb7bd; font-size: .9rem; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(231,111,81,.35); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { color: var(--dark); border: 1.5px solid var(--dark); }
.btn--dark:hover { background: var(--dark); color: #fff; }

/* ---------- SECTIONS ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--cream); }
.section__kicker { color: var(--coral); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--dark); font-weight: 800; letter-spacing: -.02em; margin-bottom: 26px; }
.lead { font-size: 1.12rem; color: var(--grey); max-width: 720px; }

.grid { display: grid; gap: 36px; }
.grid--2 { grid-template-columns: 1.3fr 1fr; align-items: center; }

.ticks { list-style: none; margin-top: 22px; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .75rem;
  display: grid; place-items: center; font-weight: 800;
}

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card--quote { background: var(--dark); color: #fff; border: 0; }
.card--quote p { font-size: 1.3rem; font-style: italic; line-height: 1.45; color: #fff; }
.card--quote span { display: block; margin-top: 18px; color: var(--gold); font-weight: 700; font-size: .92rem; }

/* ---------- SITES / HUB GRID ---------- */
.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.site {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  color: inherit;
}
a.site:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(38,70,83,.15); text-decoration: none; }
.site__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.site__ico { font-size: 2.2rem; line-height: 1; }
.site__status { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--grey); }
.site__status--live { background: var(--green); border-color: var(--green); color: #fff; }
.site__title { color: var(--dark); font-size: 1.35rem; line-height: 1.2; margin-bottom: 4px; }
.site__url { color: var(--teal); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.site__desc { color: var(--grey); font-size: .96rem; flex: 1; }
.site__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.site__tags span { background: var(--cream); border: 1px solid var(--line); color: var(--grey); font-size: .78rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.site__link { color: var(--teal); font-weight: 800; font-size: .95rem; margin-top: auto; }
.site__link--muted { color: var(--grey); }
.site--soon { opacity: .9; }
.site--soon .site__title { color: var(--grey); }

/* ---------- FOOTER ---------- */
.footer { background: var(--dark); color: #cdd9db; padding: 50px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer strong { color: #fff; font-size: 1.1rem; }
.footer p { font-size: .9rem; margin-top: 4px; }
.footer__meta { text-align: right; }
.footer a { color: #cdd9db; }
.footer a:hover { color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav__links { position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 0; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 24px; }
  .nav__toggle { display: block; }
  .grid--2 { grid-template-columns: 1fr; }
  .sites { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
  .footer__meta { text-align: left; }
}
@media (max-width: 460px) {
  .hero { padding: 76px 0 84px; }
}
