﻿/* ==========================================================================
   H&K Advertisers — design tokens extracted from antigravity.google
   ========================================================================== */

:root {
  /* palette (cool, blue-biased grey ramp) */
  --grey-0: #FFFFFF;
  --grey-10: #F8F9FC;
  --grey-20: #EFF2F7;
  --grey-50: #E6EAF0;
  --grey-100: #E1E6EC;
  --grey-300: #B2BBC5;
  --grey-400: #B7BFD9;
  --grey-800: #45474D;
  --grey-900: #2F3034;
  --grey-1000: #212226;
  --grey-1200: #121317;

  --ink: var(--grey-1200);
  --ink-body: var(--grey-800);
  --ink-soft: #6A6A71;
  --ground: var(--grey-0);
  --surface: var(--grey-10);
  --surface-hi: var(--grey-20);

  --outline: rgba(33, 34, 38, .12);
  --outline-soft: rgba(33, 34, 38, .06);
  --wash: rgba(183, 191, 217, .10);
  --wash-hover: rgba(183, 191, 217, .2);

  --accent: #F25C1F; /* H&K warm accent — used sparingly */

  /* type scale */
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --w: 450;
  --w-md: 520;
  --size-hero: clamp(44px, 8vw, 107px);
  --size-5xl: clamp(34px, 5vw, 54px);
  --size-4xl: clamp(28px, 4vw, 42px);
  --size-3xl: 32px;
  --size-xl: clamp(19px, 2.4vw, 24px);
  --size-base: 17.5px;
  --size-sm: 14.5px;
  --size-xs: 12.5px;

  /* shape & space */
  --pill: 9999px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --space-section: clamp(72px, 10vw, 120px);
  --page-margin: clamp(20px, 5vw, 72px);
  --nav-height: 52px;

  /* motion */
  --ease-out-expo: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out-quart: cubic-bezier(.77, 0, .175, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 24px); }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--w);
  font-size: var(--size-base);
  line-height: 1.45;
  letter-spacing: .18px;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: var(--w); margin: 0; text-wrap: balance; }
h2 { font-size: var(--size-4xl); line-height: 1.04; letter-spacing: -.017em; }
h3 { font-size: var(--size-3xl); line-height: 1.06; letter-spacing: -.005em; }
p { margin: 0; }

a { color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
}

.eyebrow {
  font-size: var(--size-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: var(--w-md);
  margin-bottom: 16px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

/* ==========================================================================
   Buttons — full pills, ink primary, cool-wash ghost
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: var(--w-md);
  letter-spacing: .1px;
  padding: 12px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .45s var(--ease-out-expo), color .45s var(--ease-out-expo);
  white-space: nowrap;
}
.btn .material-symbols-outlined { font-size: 18px; }
.btn-sm { font-size: var(--size-sm); padding: 8px 18px; }
.btn-primary { background: var(--ink); color: var(--grey-0); }
.btn-primary:hover { background: var(--grey-900); }
.btn-ghost { background: var(--wash); color: var(--ink); border-color: var(--outline-soft); }
.btn-ghost:hover { background: var(--grey-20); }
.btn-inverse { background: var(--grey-10); color: var(--grey-1200); }
.btn-inverse:hover { background: var(--grey-50); }
.btn:focus-visible, .tab:focus-visible, .paddle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Nav — 52px, fixed, frosted
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--outline-soft);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.01em;
  text-decoration: none;
  margin-right: 20px;
  white-space: nowrap;
}
.nav-logo span { font-weight: var(--w); color: var(--ink-body); }
.nav-links { display: flex; gap: 2px; }
.nav-link {
  font-size: var(--size-sm);
  color: var(--ink-body);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: var(--pill);
  transition: background .3s var(--ease-out-expo);
}
.nav-link:hover { background: var(--wash-hover); }
.nav-cta { margin-left: auto; }
.nav-cta .btn { padding: 6px 16px; }
@media (max-width: 767px) {
  /* collapse to logo + CTA; section links remain in the footer */
  .nav-links { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--nav-height) + clamp(72px, 12vw, 140px)) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero-inner { position: relative; text-align: center; }
.hero-title {
  font-size: var(--size-hero);
  line-height: 1.0;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: var(--size-xl);
  line-height: 1.3;
  color: var(--ink-body);
  max-width: 34em;
  margin: 28px auto 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* floating product mockups (replaces Antigravity's particle canvas) */
.hero-float { position: absolute; inset: 0; pointer-events: none; }
.float-item { position: absolute; animation: drift 9s ease-in-out infinite alternate; }
.f1 { top: 18%; left: 6%; animation-duration: 10s; }
.f2 { top: 62%; left: 12%; animation-duration: 8s; animation-delay: -3s; }
.f3 { top: 24%; right: 9%; animation-duration: 11s; animation-delay: -5s; }
.f4 { top: 66%; right: 6%; animation-duration: 9s; animation-delay: -2s; }
.f5 { top: 44%; right: 20%; animation-duration: 12s; animation-delay: -7s; }
@keyframes drift {
  from { transform: translateY(-10px) rotate(-3deg); }
  to   { transform: translateY(14px) rotate(3deg); }
}
@media (max-width: 900px) {
  .f4, .f5 { display: none; }
  .float-item { opacity: .45; }
  .float-item > * { transform: scale(.75); }
  /* keep floats in the corners, clear of the centered headline */
  .f1 { top: 2%; left: 2%; }
  .f2 { top: auto; bottom: 2%; left: 5%; }
  .f3 { top: 3%; right: 2%; }
}

/* ==========================================================================
   Product photography
   ========================================================================== */

.float-photo {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--outline-soft);
  box-shadow: 0 14px 36px rgba(18, 19, 23, .16);
}
.f3 .float-photo { width: 170px; height: 170px; }
.f5 .float-photo { width: 128px; height: 128px; }

.panel-visual.has-photo { padding: 0; overflow: hidden; }
.panel-visual.has-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Manifesto + marquee
   ========================================================================== */

.manifesto { padding: var(--space-section) 0 0; }
.statement {
  font-size: var(--size-4xl);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 24em;
  text-wrap: balance;
}
.marquee {
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 80px);
  padding: 24px 0;
  border-top: 1px solid var(--outline-soft);
  border-bottom: 1px solid var(--outline-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(40px, 6vw, 88px);
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track .material-symbols-outlined { font-size: 36px; color: var(--grey-300); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Product explorer
   ========================================================================== */

.products { padding: var(--space-section) 0; }
.tabs {
  display: flex;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.tab {
  font-family: var(--font);
  font-size: var(--size-sm);
  font-weight: var(--w-md);
  color: var(--ink-body);
  background: transparent;
  border: 1px solid var(--outline-soft);
  border-radius: var(--pill);
  padding: 8px 20px;
  cursor: pointer;
  transition: background .3s var(--ease-out-expo), color .3s var(--ease-out-expo);
}
.tab:hover { background: var(--wash-hover); }
.tab.is-active { background: var(--ink); color: var(--grey-0); border-color: var(--ink); }

.panel {
  display: none;
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.panel.is-active { display: grid; animation: panel-in .7s var(--ease-out-expo); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.panel-visual {
  min-height: 260px;
  background: var(--ground);
  border: 1px solid var(--outline-soft);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px;
}
.panel-visual-icons .material-symbols-outlined { font-size: 56px; color: var(--grey-300); }
.panel-copy h3 { margin-bottom: 14px; }
.panel-copy p { color: var(--ink-body); max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chip {
  font-size: var(--size-xs);
  font-weight: var(--w-md);
  letter-spacing: .05em;
  color: var(--ink-body);
  border: 1px solid var(--outline);
  border-radius: var(--pill);
  padding: 5px 13px;
}
.chip-solid { background: var(--surface-hi); border-color: transparent; }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section head + carousels
   ========================================================================== */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.paddles { display: flex; gap: 8px; }
.paddle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: var(--ground);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease-out-expo);
}
.paddle:hover { background: var(--surface-hi); }

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px var(--page-margin) 24px;
  scroll-padding-left: var(--page-margin);
}
.carousel::-webkit-scrollbar { display: none; }

/* ==========================================================================
   Occasions
   ========================================================================== */

.occasions { padding: var(--space-section) 0 0; }
.occasion-card {
  flex: 0 0 clamp(260px, 30vw, 340px);
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  border-radius: var(--r-lg);
  padding: 36px 30px;
}
.occasion-icon { font-size: 40px; color: var(--ink); }
.occasion-card h3 { font-size: 22px; margin: 40px 0 10px; }
.occasion-card p { font-size: var(--size-sm); line-height: 1.45; color: var(--ink-body); }

/* ==========================================================================
   Offers
   ========================================================================== */

.offers { padding: var(--space-section) 0 0; }
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.offer-tile {
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
}
.offer-tile h3 { font-size: var(--size-5xl); letter-spacing: -.015em; margin-bottom: 16px; }
.offer-tile p { color: var(--ink-body); max-width: 30em; margin-bottom: 30px; }
@media (max-width: 900px) {
  .offers-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Recent work
   ========================================================================== */

.work { padding: var(--space-section) 0 0; }
.work-card {
  flex: 0 0 clamp(280px, 32vw, 380px);
  border: 1px solid var(--outline-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ground);
}
.work-thumb {
  height: 220px;
  background: var(--surface-hi);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-icon { font-size: 64px; color: var(--grey-300); }
.work-meta { padding: 20px 24px 26px; }
.work-meta h3 { font-size: 19px; line-height: 1.25; margin-top: 12px; }

/* ==========================================================================
   Quote slab — the one dark moment
   ========================================================================== */

.quote-slab-wrap { padding: var(--space-section) 0; }
.quote-slab {
  background: var(--grey-1200);
  color: var(--grey-10);
  border-radius: var(--r-xl);
  padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 80px);
  text-align: center;
}
.quote-slab h2 { font-size: var(--size-5xl); }
.quote-slab p { color: var(--grey-300); max-width: 30em; margin: 18px auto 0; }
.quote-slab .hero-actions { margin-top: 36px; }
.quote-phone { font-size: var(--size-sm); margin-top: 22px; }
.quote-phone a { color: var(--grey-10); text-decoration-color: rgba(230, 234, 240, .3); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--outline-soft);
  padding: 48px 0 32px;
  font-size: var(--size-sm);
  color: var(--ink-body);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 36px; font-size: var(--size-xs); color: var(--ink-soft); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-item, .marquee-track { animation: none; }
  .reveal { transition: opacity .4s ease; transform: none; }
  .panel.is-active { animation: none; }
}
