/* LocalTap — getlocaltap.com */
:root {
  --ink: #12140f;
  --paper: #f3efe6;
  --paper-2: #e7e1d3;
  --moss: #2f5d3a;
  --moss-deep: #1e3d28;
  --clay: #c45c26;
  --gold: #c4a035;
  --muted: #5c5a52;
  --line: rgba(18, 20, 15, 0.12);
  --shadow: 0 28px 70px rgba(18, 20, 15, 0.2);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1.35rem 0;
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--clay);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 550;
}

.nav-links > a:not(.nav-cta) {
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav-links > a:not(.nav-cta) {
    display: none;
  }
}

.nav-cta {
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.7rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 7.5rem 0 3.25rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(47, 93, 58, 0.2), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 88%, rgba(196, 92, 38, 0.12), transparent 55%),
    linear-gradient(168deg, #f8f4eb 0%, #ebe4d5 42%, #dce8de 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 20, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 15, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 35%, black, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.75rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.hero-copy {
  animation: rise 0.9s var(--ease) both;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 6.8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 1.35rem;
}

.brand-mark em {
  font-style: italic;
  color: var(--moss);
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 550;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 0.9rem;
  max-width: 15ch;
}

.hero .lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 1.85rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(18, 20, 15, 0.22);
}

.btn-primary:hover {
  background: var(--moss-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(18, 20, 15, 0.55);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.price-chip {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Product photo */
.product-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 300px;
}

@media (min-width: 900px) {
  .product-stage {
    justify-content: flex-end;
    min-height: 460px;
  }
}

.product-stage::after {
  content: "";
  position: absolute;
  width: min(78%, 300px);
  height: 28%;
  bottom: 2%;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(ellipse at center, rgba(18, 20, 15, 0.22), transparent 70%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 900px) {
  .product-stage::after {
    left: auto;
    right: 12%;
    translate: 0 0;
  }
}

.product-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 400px);
  animation: settle 1.15s var(--ease) 0.1s both;
  filter: drop-shadow(0 30px 55px rgba(18, 20, 15, 0.28));
}

.product-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 5.25rem 0;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.section-copy {
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 2.25rem;
  font-size: 1.02rem;
}

/* How */
.how {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(47, 93, 58, 0.35), transparent 65%);
  pointer-events: none;
}

.how .wrap {
  position: relative;
}

.how .section-kicker {
  color: #9dcfab;
}

.how .section-copy {
  color: rgba(243, 239, 230, 0.7);
}

.steps {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(243, 239, 230, 0.14);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  display: grid;
  gap: 0.85rem;
  padding: 1.6rem 0 0.25rem;
  border-bottom: 1px solid rgba(243, 239, 230, 0.14);
}

@media (min-width: 768px) {
  .step {
    padding: 1.75rem 1.5rem 0.25rem 0;
    border-bottom: none;
    border-right: 1px solid rgba(243, 239, 230, 0.14);
  }

  .step:last-child {
    border-right: none;
    padding-right: 0;
  }

  .step:not(:first-child) {
    padding-left: 1.5rem;
  }
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.15rem;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -0.03em;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.step p {
  margin: 0;
  color: rgba(243, 239, 230, 0.68);
  font-size: 0.96rem;
  max-width: 28ch;
}

/* Products */
.products {
  background: var(--paper-2);
}

.product-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product-row {
  display: grid;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

@media (min-width: 720px) {
  .product-row {
    grid-template-columns: 1fr auto;
    gap: 2rem;
  }
}

.product-row.featured {
  padding-top: 1.85rem;
  padding-bottom: 1.85rem;
}

.product-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.product-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.025em;
}

.product-blurb {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 0.98rem;
}

.product-row-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-row .price {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  min-width: 3.5rem;
}

.product-row.featured .btn-primary {
  min-width: 6.5rem;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-line a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Trust */
.trust-strip {
  display: grid;
  gap: 1.5rem;
  margin: 2.75rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.trust-strip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.trust-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

/* Order */
.order {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(47, 93, 58, 0.1), transparent),
    linear-gradient(180deg, var(--paper) 0%, #e4efe6 100%);
}

.order-panel {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 800px) {
  .order-panel {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
    gap: 3rem;
  }
}

.order-form {
  display: grid;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(18, 20, 15, 0.07);
  backdrop-filter: blur(8px);
}

.order-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 650;
}

.order-form input,
.order-form select,
.order-form textarea {
  font: inherit;
  padding: 0.82rem 0.9rem;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: rgba(47, 93, 58, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 93, 58, 0.12);
}

.order-form textarea {
  min-height: 92px;
  resize: vertical;
}

.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========== Hub / demo page ========== */
.hub-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: max(1.5rem, env(safe-area-inset-top)) 1.25rem max(1.75rem, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(47, 93, 58, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(196, 92, 38, 0.08), transparent 50%),
    linear-gradient(165deg, #f7f3ea 0%, #ebe4d4 55%, #e2e8df 100%);
  font-family: var(--font-body);
  color: var(--ink);
}

.hub-shell {
  width: min(420px, 100%);
  animation: rise 0.7s var(--ease) both;
}

.hub-top {
  text-align: center;
  margin-bottom: 1.65rem;
}

.hub-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hub-brand em {
  font-style: italic;
  color: var(--moss);
  font-weight: 600;
}

.hub-stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}

.hub-stars span {
  width: 0.95rem;
  height: 0.95rem;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.hub-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.15rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.45rem;
  line-height: 1.1;
}

.hub-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hub-buttons {
  display: grid;
  gap: 0.7rem;
}

.hub-btn {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(18, 20, 15, 0.12);
  color: var(--ink);
  text-align: left;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(18, 20, 15, 0.05);
  -webkit-tap-highlight-color: transparent;
}

.hub-btn:hover,
.hub-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(18, 20, 15, 0.28);
  background: #fff;
  outline: none;
}

.hub-btn:active {
  transform: translateY(0);
}

.hub-btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(18, 20, 15, 0.22);
}

.hub-btn-primary:hover,
.hub-btn-primary:focus-visible {
  background: var(--moss-deep);
  border-color: transparent;
  color: var(--paper);
}

.hub-ico {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(18, 20, 15, 0.06);
}

.hub-btn-primary .hub-ico {
  background: rgba(243, 239, 230, 0.12);
}

.hub-ico svg {
  width: 1.2rem;
  height: 1.2rem;
}

.hub-btn-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hub-btn-label {
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.hub-btn-hint {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.7;
}

.hub-btn-primary .hub-btn-hint {
  opacity: 0.68;
}

.hub-footer {
  margin: 1.6rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.hub-footer a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .product-photo,
  .hub-shell {
    animation: none;
  }

  .btn:hover,
  .hub-btn:hover,
  .nav-cta:hover {
    transform: none;
  }
}
