/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOKENS — Light / Dirty-White Theme
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --bg:         #f0eeeb;
  --bg-card:    #f8f7f5;
  --bg-raised:  #e8e6e2;
  --border:     rgba(0,0,0,.09);
  --border-md:  rgba(0,0,0,.14);

  --teal:       #00a98c;
  --teal-dim:   rgba(0,169,140,.10);
  --teal-glow:  rgba(0,169,140,.22);
  --amber:      #d97706;
  --amber-dim:  rgba(217,119,6,.10);

  --ink:        #1a1a1a;
  --t-90:       rgba(26,26,26,.90);
  --t-65:       rgba(26,26,26,.60);
  --t-40:       rgba(26,26,26,.40);
  --t-20:       rgba(26,26,26,.18);

  --f-head: 'Syne', sans-serif;
  --f-body: 'Outfit', sans-serif;

  --r:    10px;
  --r-lg: 18px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--t-90);
  line-height: 1.65;
  font-size: 16px;
  padding-top: 68px;
  overflow-x: hidden;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0);    }
}

@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 0 0 var(--teal-glow); }
  50%      { box-shadow: 0 0 0 10px transparent; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 68px;
  z-index: 100;
  background: rgba(240,238,235,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gnoke-mark {
  height: 36px;
  width: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.nav-name {
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.nav-name span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--t-65);
  transition: color .22s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.nav-hire {
  padding: 8px 18px;
  border-radius: 7px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,169,140,.28);
  color: var(--teal) !important;
  font-weight: 600 !important;
  transition: background .22s, border-color .22s !important;
}

.nav-hire:hover {
  background: var(--teal) !important;
  color: #fff !important;
  border-color: var(--teal) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--t-65);
  border-radius: 2px;
  transition: all .26s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: var(--teal); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--teal); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-teal:hover {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 20px var(--teal-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--t-65);
  border-color: var(--border-md);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION CHROME
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
section { padding: 5.5rem 0; }

.sec-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  margin-bottom: .6rem;
}

.sec-title {
  font-family: var(--f-head);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: .8rem;
}

.sec-sub {
  text-align: center;
  color: var(--t-65);
  font-size: .97rem;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 3.2rem;
  line-height: 1.75;
}

.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE HERO (inner pages)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  padding: 3.5rem 0;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: center;
}

/* When background.js injects an image, text flips to white */
.page-hero.has-bg .sec-label { color: rgba(255,255,255,.7); }
.page-hero.has-bg h1          { color: #fff; }
.page-hero.has-bg h1 span     { color: var(--teal); }
.page-hero.has-bg p            { color: rgba(255,255,255,.75); }

.page-hero .sec-label {
  text-align: left;
  margin-bottom: .4rem;
}

.page-hero h1 {
  font-family: var(--f-head);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.page-hero h1 span { color: var(--teal); }

.page-hero p {
  font-size: .9rem;
  color: var(--t-65);
  max-width: 480px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOME HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,169,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,169,140,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,169,140,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-blob2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(217,119,6,.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  animation: fadeUp .7s .1s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  border-radius: 50px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,169,140,.25);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--teal);
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

.hero-badge i { font-size: .7rem; }

.hero h1 {
  font-family: var(--f-head);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.4rem;
  letter-spacing: -.02em;
}

.hero h1 .accent { color: var(--teal); }

.hero h1 .name-line {
  display: block;
  font-size: .6em;
  font-weight: 600;
  color: var(--t-65);
  letter-spacing: .0em;
  margin-bottom: .15em;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--t-65);
  font-weight: 400;
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 2.4rem;
}

.hero-sub strong { color: var(--t-90); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--t-40);
  font-weight: 400;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GNOKE SUITE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gnoke-suite { background: var(--bg); }

.suite-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.gnoke-logo-lg {
  width: 52px;
  height: 52px;
  background: var(--teal);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  flex-shrink: 0;
}

.suite-intro-text h2 {
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.suite-intro-text p {
  font-size: .88rem;
  color: var(--t-40);
  font-weight: 400;
}

/* App cards */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--teal);
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.app-card:hover {
  border-color: rgba(0,169,140,.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

.app-card:hover::before { opacity: 1; }

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.app-status {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.status-live {
  background: rgba(16,185,129,.10);
  color: #059669;
  border: 1px solid rgba(16,185,129,.22);
}

.app-card h3 {
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.app-card p {
  font-size: .88rem;
  color: var(--t-65);
  line-height: 1.65;
  flex-grow: 1;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag {
  font-size: .7rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--t-65);
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .04em;
  transition: gap .2s var(--ease);
}

.app-link:hover { gap: 10px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.services { background: var(--bg-raised); }

.svcs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}

.svc-card:hover {
  border-color: rgba(0,169,140,.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.svc-icon {
  width: 46px;
  height: 46px;
  background: var(--teal-dim);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(0,169,140,.18);
}

.svc-card h3 {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.svc-card p {
  font-size: .87rem;
  color: var(--t-65);
  line-height: 1.65;
  margin-bottom: .9rem;
}

.svc-card ul li {
  font-size: .82rem;
  color: var(--t-65);
  padding: 3px 0 3px 16px;
  position: relative;
}

.svc-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: .75rem;
}

/* CTA box */
.cta-box {
  text-align:center;
  margin-top:2.8rem;
  padding:2.4rem;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
}

.cta-box .sec-label { margin-bottom: .4rem; }

.cta-box h3 {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: .7rem;
}

.cta-box p {
  color: var(--t-65);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto 1.6rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STACK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stack { background: var(--bg); }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .8rem;
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem 1rem;
  text-align: center;
  transition: border-color .22s, background .22s, box-shadow .22s;
}

.stack-item:hover {
  border-color: rgba(0,169,140,.22);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.stack-item .s-icon { font-size: 1.4rem; margin-bottom: .45rem; }

.stack-item p {
  font-size: .82rem;
  font-weight: 500;
  color: var(--t-65);
}

.stack-item small {
  display: block;
  font-size: .72rem;
  color: var(--t-40);
  margin-top: 2px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-section { background: var(--bg-raised); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-left h2 span { color: var(--teal); }

.contact-left p {
  font-size: .97rem;
  color: var(--t-65);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-links { display: flex; flex-direction: column; gap: .8rem; }

.c-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .22s, transform .22s var(--ease), box-shadow .22s;
}

.c-link:hover {
  border-color: rgba(0,169,140,.28);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.c-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.c-link-icon.wa  { background: rgba(37,211,102,.10); color: #16a34a; border: 1px solid rgba(37,211,102,.18); }
.c-link-icon.gm  { background: rgba(234,67,53,.10);  color: #dc2626; border: 1px solid rgba(234,67,53,.18); }
.c-link-icon.gh  { background: rgba(0,0,0,.05); color: var(--t-65); border: 1px solid var(--border); }

.c-link-text small {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-40);
  margin-bottom: 1px;
}

.c-link-text span {
  font-size: .9rem;
  color: var(--t-90);
}

.contact-right {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem;
}

.contact-right h3 {
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.f-group { margin-bottom: 1.1rem; }

.f-group label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t-40);
  margin-bottom: .4rem;
}

.f-group input,
.f-group textarea,
.f-group select {
  width: 100%;
  padding: 10px 13px;
  background: var(--bg);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: .93rem;
  color: var(--t-90);
  outline: none;
  -webkit-appearance: none;
  transition: border-color .22s, box-shadow .22s;
}

.f-group input::placeholder,
.f-group textarea::placeholder { color: var(--t-20); }

.f-group input:focus,
.f-group textarea:focus,
.f-group select:focus {
  border-color: rgba(0,169,140,.4);
  box-shadow: 0 0 0 3px var(--teal-dim);
}

.f-group textarea { min-height: 110px; resize: vertical; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--t-65);
}

.foot-brand .gnoke-mark { width: 28px; height: 28px; font-size: .8rem; border-radius: 6px; }

footer p { font-size: .8rem; color: var(--t-40); }

.foot-links { display: flex; gap: 1.2rem; }

.foot-links a {
  font-size: .8rem;
  color: var(--t-40);
  transition: color .2s;
}

.foot-links a:hover { color: var(--teal); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  body { padding-top: 64px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(240,238,235,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 24px 1.4rem;
    gap: .2rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
  }

  .nav-links a:last-child { border-bottom: none; }

  .hamburger { display: flex; }

  .hero h1 { font-size: 2.4rem; }
  .hero-cta { flex-direction: column; }
  .btn { justify-content: center; }

  .contact-layout { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }

  .foot-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .apps-grid { grid-template-columns: 1fr; }
  .svcs-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
}
