/* ============================================================
   TEKTON INDIA — Global Styles
   Tokens · Base · Nav · Footer
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --color-bg:           #FAF7F2;
  --color-surface:      #FFFFFF;
  --color-surface-2:    #F4EFE8;
  --color-border:       #E5DDD3;
  --color-border-soft:  #EDE5DA;
  --color-brand:        #C17B40;
  --color-brand-dim:    rgba(193, 123, 64, 0.12);
  --color-text-primary: #1C1309;
  --color-text-muted:   #7A6858;
  --color-text-faint:   #B8A898;
  --color-wood:         #8B5E3C;
  --color-resin:        #2A7EA8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --nav-h:   68px;
  --radius:  10px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 3px rgba(101,67,33,.10);
  --shadow-md: 0 8px 32px -8px rgba(101,67,33,.14);
  --shadow-lg: 0 30px 70px -20px rgba(101,67,33,.20);

  --ease: cubic-bezier(.4,.01,.2,1);
  --ease-out: cubic-bezier(.2,.8,.4,1);

  --max-w: 1280px;
  --pad-x: clamp(20px, 5vw, 80px);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

::selection { background: var(--color-brand); color: #06140c; }

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Shared Button Styles ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-brand);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: #A8652E;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(193,123,64,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text-primary);
  background: rgba(0,0,0,.04);
}

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--color-border-soft);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-nav.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 1px 32px rgba(101,67,33,.10);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-wordmark .brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.nav-logo-wordmark .brand-tagline {
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color .2s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-brand);
  transition: width .25s var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* CTA in nav */
.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 9px 22px;
  font-size: .75rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background .2s;
}

.nav-hamburger:hover { background: rgba(0,0,0,.06); }

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, width .2s;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--color-bg);
  z-index: 99;
  padding: 32px var(--pad-x) 48px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease), visibility 0s .35s;
  pointer-events: none;
  visibility: hidden;
}

.nav-mobile.open {
  transform: translateX(0);
  transition: transform .35s var(--ease), visibility 0s 0s;
  pointer-events: auto;
  visibility: visible;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border-soft);
}

.nav-mobile-links a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-soft);
  transition: color .2s, padding-left .2s var(--ease-out);
}

.nav-mobile-links a:hover {
  color: var(--color-brand);
  padding-left: 8px;
}

.nav-mobile-cta {
  margin-top: 32px;
}

.nav-mobile-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-size: .875rem;
}

.nav-mobile-contact {
  margin-top: auto;
  padding-top: 32px;
}

.nav-mobile-contact p {
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.nav-mobile-contact a {
  color: var(--color-text-muted);
  transition: color .2s;
}
.nav-mobile-contact a:hover { color: var(--color-brand); }

/* Responsive nav */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-mobile {
    display: flex;
  }
}

/* No scroll when mobile menu is open */
body.nav-open { overflow: hidden; }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
  padding-top: 72px;
  padding-bottom: 0;
  margin-top: 120px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--color-border-soft);
}

/* Footer brand column */
.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-logo-wordmark .brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  display: block;
  line-height: 1;
}

.footer-logo-wordmark .brand-tagline {
  font-family: var(--font-body);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-top: 3px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: .875rem;
  transition: color .2s, border-color .2s, background .2s;
}

.footer-social a:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-muted);
  background: rgba(0,0,0,.04);
}

/* Footer column headings */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Footer nav links */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: .875rem;
  color: var(--color-text-muted);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--color-text-primary); }

/* Footer contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-item .label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: .875rem;
  color: var(--color-text-muted);
  transition: color .2s;
  line-height: 1.5;
}

.footer-contact-item a:hover { color: var(--color-brand); }

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}

.footer-copy {
  font-size: .75rem;
  color: var(--color-text-faint);
}

.footer-built-by {
  font-size: .75rem;
  color: var(--color-text-faint);
}

.footer-built-by a {
  color: var(--color-text-muted);
  transition: color .2s;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1px;
}
.footer-built-by a:hover { color: var(--color-text-primary); }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer { margin-top: 80px; padding-top: 48px; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer-brand { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 0;
  }
}


/* ══════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
══════════════════════════════════════════════ */

.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, color .2s, border-color .2s;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-muted);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .scroll-top { bottom: 20px; right: 20px; }
}


/* ══════════════════════════════════════════════
   SHARED SECTION COMPONENTS
══════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 16px;
}

/* Section header */
.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--color-text-primary);
  max-width: 480px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.section-header.centered {
  align-items: center;
  text-align: center;
}
.section-header.centered h2 { max-width: 600px; }
.section-header.centered p  { max-width: 520px; }

.section-link {
  margin-top: 20px;
  align-self: flex-start;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.section-link:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-muted);
}


/* ══════════════════════════════════════════════
   HOME: HERO
══════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Gradient fallback — replaced by real hero image */
  background-image: url('../images/brand/hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg);
}

/* Gradient overlay — also serves as standalone background when image is absent */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 40%, rgba(193,123,64,.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(139,94,60,.15) 0%, transparent 60%),
    linear-gradient(160deg, rgba(28,19,9,.78) 0%, rgba(28,19,9,.50) 55%, rgba(28,19,9,.68) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-block: 120px;
}

.hero-content .eyebrow { color: #E8A870; }

.hero-headline {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FAF7F2;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: rgba(250,247,242,.75);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero buttons stay light over the dark photo overlay */
.hero .btn-outline {
  color: #FAF7F2;
  border-color: rgba(250,247,242,.5);
}
.hero .btn-outline:hover {
  border-color: #FAF7F2;
  background: rgba(250,247,242,.08);
  color: #FAF7F2;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .5;
}

.hero-scroll span {
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-border), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

@media (max-width: 600px) {
  .hero-content { padding-block: 100px 80px; }
  .hero-headline { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero-scroll { bottom: 28px; }
}


/* ══════════════════════════════════════════════
   HOME: CRAFT PILLARS
══════════════════════════════════════════════ */

.craft-section {
  padding-block: 96px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border-soft);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.craft-card {
  background: var(--color-surface);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .25s;
}
.craft-card:hover { background: var(--color-surface-2); }

.craft-icon {
  width: 44px;
  height: 44px;
  color: var(--color-brand);
  flex-shrink: 0;
}
.craft-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.craft-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-text-primary);
}

.craft-card p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .craft-section { padding-block: 64px; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-card { padding: 36px 28px; }
}


/* ══════════════════════════════════════════════
   HOME: FEATURED PRODUCTS
══════════════════════════════════════════════ */

.featured-section {
  padding-block: 120px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Loading / empty state */
.product-grid-loading,
.product-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
  font-size: .9375rem;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-2);
  overflow: hidden;
}

.product-card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out), opacity .3s;
}

.product-card-img-wrap img.secondary {
  opacity: 0;
}

.product-card:hover .product-card-img-wrap img.primary {
  opacity: 0;
}
.product-card:hover .product-card-img-wrap img.secondary {
  opacity: 1;
}

/* Placeholder when no image */
.product-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: .2;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Badges */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}

.badge-sale     { background: var(--color-brand);  color: #FFFFFF; }
.badge-soldout  { background: rgba(0,0,0,.12); color: var(--color-text-muted); }

/* Card body */
.product-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.product-card-subtitle {
  font-size: .8125rem;
  color: var(--color-text-muted);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.product-card-price .price {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.product-card-price .original-price {
  font-size: .8125rem;
  color: var(--color-text-faint);
  text-decoration: line-through;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color .2s;
}
.product-card:hover .product-card-cta { color: var(--color-brand); }
.product-card-cta svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: transform .2s var(--ease-out);
}
.product-card:hover .product-card-cta svg { transform: translateX(3px); }

@media (max-width: 1024px) {
  .featured-section { padding-block: 96px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .featured-section { padding-block: 72px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ══════════════════════════════════════════════
   HOME: HOW IT WORKS
══════════════════════════════════════════════ */

.how-section {
  padding-block: 120px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connector line between steps on desktop */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-border) 20%,
    var(--color-border) 80%,
    transparent
  );
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px;
  position: relative;
}

.how-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.how-step-icon {
  width: 28px;
  height: 28px;
  color: var(--color-brand);
  margin-bottom: 20px;
  display: none; /* using numbers instead */
}

.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.how-step p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .how-section { padding-block: 72px; }
  .how-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .how-steps::before { display: none; }
  .how-step { align-items: flex-start; text-align: left; padding: 0; flex-direction: row; gap: 24px; }
  .how-step-number { flex-shrink: 0; margin-bottom: 0; }
  .how-step-text { display: flex; flex-direction: column; }
  .how-step-text h3 { margin-bottom: 8px; }
}


/* ══════════════════════════════════════════════
   HOME: PATTERN SHOWCASE
══════════════════════════════════════════════ */

.patterns-section {
  padding-block: 120px;
}

.patterns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.pattern-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color .25s, transform .25s var(--ease-out);
  cursor: default;
}

.pattern-card:hover {
  border-color: var(--color-border);
  transform: translateY(-3px);
}

.pattern-svg-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
}

.pattern-svg-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .45s var(--ease-out);
}

.pattern-card:hover .pattern-svg-wrap img {
  transform: scale(1.05);
}

.pattern-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-primary);
}

.pattern-desc {
  font-size: .75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .patterns-grid { grid-template-columns: repeat(3, 1fr); }
  .patterns-grid .pattern-card:nth-child(4),
  .patterns-grid .pattern-card:nth-child(5) {
    /* 3+2 layout: centre the last two */
    grid-column: auto;
  }
  .patterns-grid {
    /* last row with 2 items centred */
  }
}

@media (max-width: 600px) {
  .patterns-section { padding-block: 72px; }
  .patterns-grid { grid-template-columns: repeat(2, 1fr); }
  .patterns-grid .pattern-card:last-child { grid-column: 1 / -1; max-width: 200px; margin-inline: auto; }
}


/* ══════════════════════════════════════════════
   HOME: BRAND STORY
══════════════════════════════════════════════ */

.story-section {
  padding-block: 120px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-text { max-width: 520px; }
.story-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.2;
}
.story-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.story-text .btn { margin-top: 24px; }

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.story-pattern-tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
}

.story-pattern-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .45s var(--ease-out);
}

.story-pattern-tile:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-visual { display: none; }
  .story-section { padding-block: 80px; }
}


/* ══════════════════════════════════════════════
   HOME: CTA BANNER
══════════════════════════════════════════════ */

.cta-banner-section {
  padding-block: 120px;
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%, rgba(193,123,64,.06) 0%, transparent 70%),
    var(--color-bg);
  text-align: center;
  border-top: 1px solid var(--color-border-soft);
}

.cta-banner-section .eyebrow { display: block; }

.cta-banner-section h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 16px;
  max-width: 680px;
  margin-inline: auto;
}

.cta-banner-section p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-banner-section .btn {
  padding: 14px 40px;
  font-size: .9375rem;
}

@media (max-width: 600px) {
  .cta-banner-section { padding-block: 80px; }
  .cta-banner-section .btn { width: 100%; justify-content: center; }
}
