/* ============================================================
   Konfors — shared stylesheet
   Light theme · orange accent · server-safe (no JS required)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap');

/* Brand display font — used ONLY for the site name "Konfors" */
@font-face {
  font-family: 'Good Timing';
  src: url('fonts/good-timing.woff') format('woff'),
       url('fonts/good-timing.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange:        #ff6a1a;
  --orange-deep:   #e2530a;
  --orange-soft:   #ffd8c2;
  --orange-tint:   #fff3ec;
  --ink:           #1c1714;
  --ink-soft:      #5b5249;
  --line:          #ece4dc;
  --paper:         #fffdfb;
  --paper-2:       #fff8f2;
  --cream:         #faf4ec;
  --white:         #ffffff;
  --shadow-sm:     0 1px 2px rgba(28,23,20,.05), 0 4px 14px rgba(226,83,10,.06);
  --shadow-md:     0 10px 40px rgba(28,23,20,.08), 0 2px 8px rgba(226,83,10,.06);
  --shadow-lg:     0 30px 80px rgba(28,23,20,.12);
  --radius:        18px;
  --radius-sm:     12px;
  --maxw:          1180px;
  --display:       'Cormorant Garamond', Georgia, serif;
  --sans:          'Hanken Grotesk', system-ui, sans-serif;
  --brand:         'Good Timing', 'Cormorant Garamond', serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.005em; color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .85em 1.5em; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255,106,26,.35); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,106,26,.42); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); transform: translateY(-2px); }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(255,253,251,.82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: .55em; font-family: var(--brand); font-weight: 700; font-size: 1.5rem; letter-spacing: .005em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  position: relative; box-shadow: 0 6px 16px rgba(255,106,26,.4);
}
.brand .mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 9px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.85) 0 14%, transparent 16%),
    radial-gradient(circle at 68% 70%, rgba(255,255,255,.55) 0 10%, transparent 12%);
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; font-weight: 500; font-size: .97rem; }
.nav-links a { color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--orange-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ---------- footer ---------- */
.site-foot { background: var(--cream); border-top: 1px solid var(--line); margin-top: 90px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.foot-grid h5 { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--ink-soft); font-size: .96rem; transition: color .2s; }
.foot-grid a:hover { color: var(--orange-deep); }
.foot-blurb { color: var(--ink-soft); font-size: .96rem; max-width: 34ch; margin-top: 14px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: .88rem; }

/* ---------- generic section bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section { padding: 92px 0; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(680px, calc(100% - 32px)); z-index: 200;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie[hidden] { display: none; }
.cookie p { font-size: .92rem; color: var(--ink-soft); flex: 1 1 320px; }
.cookie .btn { padding: .6em 1.2em; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
