/* Venom International — Sun & Clay design system */

:root {
  --background: hsl(36, 60%, 95%);
  --foreground: hsl(22, 32%, 13%);
  --sand: hsl(35, 50%, 88%);
  --muted: hsl(35, 40%, 90%);
  --muted-foreground: hsl(22, 18%, 32%);
  --primary: hsl(19, 82%, 54%);
  --primary-deep: hsl(14, 75%, 42%);
  --primary-foreground: hsl(36, 60%, 95%);
  --border: hsl(28, 30%, 80%);
  --foreground-85: hsla(22, 32%, 13%, 0.85);
  --foreground-75: hsla(22, 32%, 13%, 0.75);
  --foreground-55: hsla(22, 32%, 13%, 0.55);
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  line-height: 1.5;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-feature-settings: "ss01";
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
}

/* ----- Eyebrow ----- */
.label-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

/* ----- Hand-drawn underline ----- */
.underline-hand {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underline-hand::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 0.42em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'><path d='M2 12 C 40 4, 90 16, 130 8 S 190 6, 198 11' fill='none' stroke='%23EB6A2A' stroke-width='4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-hero:hover {
  background: var(--primary-deep);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.link-arrow {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--primary-deep); }

/* ----- Header / Nav ----- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.brand img { height: 40px; width: auto; display: block; }
.brand-light img { height: 48px; }
.brand-dot { color: var(--primary); }
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}
.nav-links a {
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding-top: 7rem;
}
@media (min-width: 768px) {
  .hero { padding-top: 8rem; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
    padding-bottom: 7rem;
  }
  .hero-text { grid-column: span 6; }
  .hero-visual { grid-column: span 6; }
}
.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
}
.hero-desc {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  line-height: 1.625;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }
.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

/* ----- Wreath ----- */
.wreath {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  touch-action: none;
  user-select: none;
}
.wreath img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
}

/* ----- Sections ----- */
.section {
  padding: 6rem 0;
}
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-sand { background: var(--sand); }
.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-top: 1.25rem;
}
.section-title.narrow { max-width: 48rem; }
.section-desc {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

/* ----- About ----- */
.about-title { margin-top: 1rem; margin-bottom: 2rem; }
.about-text { min-width: 0; }
.about-text p { overflow-wrap: break-word; word-wrap: break-word; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .about-text { grid-column: span 7; }
}
.about-text p:not(.label-eyebrow) {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--foreground-85);
  margin-bottom: 1.25rem;
}
.about-text .emphasis { color: var(--foreground); font-weight: 500; }

/* Horizontal marquee (mobile only) */
.marquee-h {
  margin-top: 2.5rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-h-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee-left 40s linear infinite;
  will-change: transform;
}
.marquee-h-track img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (min-width: 1024px) {
  .marquee-h { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-h-track { animation: none; }
}

/* Vertical marquee */
.marquee-v {
  display: none;
}
@media (min-width: 1024px) {
  .marquee-v {
    grid-column: span 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 520px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
}
.marquee-col {
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
}
.marquee-track img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.marquee-up .marquee-track { animation: marquee-up 28s linear infinite; }
.marquee-down .marquee-track { animation: marquee-down 32s linear infinite; }
@keyframes marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes marquee-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-up .marquee-track,
  .marquee-down .marquee-track { animation: none; }
}

.about-cards {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: hsla(28, 30%, 80%, 0.6);
}
@media (min-width: 768px) {
  .about-cards { grid-template-columns: repeat(3, 1fr); }
}
.about-card {
  background: var(--sand);
  padding: 2rem;
}
@media (min-width: 768px) { .about-card { padding: 2.5rem; } }
.about-card .big-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.about-card p {
  color: var(--foreground-75);
  line-height: 1.625;
}

/* ----- Catalogue ----- */
.catalogue-block { margin-top: 4rem; }
.divider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.divider {
  flex: 1;
  height: 1px;
  background: hsla(19, 82%, 54%, 0.3);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  position: relative;
  background: var(--sand);
  overflow: hidden;
  border-radius: 0.125rem;
}
.product-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--primary);
  z-index: 10;
}
.product-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover img { transform: scale(1.05); }
.product-card .body {
  padding: 1.5rem;
}
@media (min-width: 768px) { .product-card .body { padding: 1.75rem; } }
.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.product-card p {
  color: var(--foreground-75);
  line-height: 1.625;
  font-size: 0.95rem;
}
.catalogue-foot { margin-top: 3rem; }

/* ----- Process ----- */
.process-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.step .step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.75rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
@media (min-width: 1024px) { .step .step-num { font-size: 4.5rem; } }
.step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--foreground-75);
  line-height: 1.625;
}

/* ----- Contact ----- */
.contact-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
  .inquiry-form { grid-column: span 7; }
  .contact-card { grid-column: span 5; }
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, 1fr); } }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.field .req { color: var(--primary); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 1rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--primary); }
.field textarea { resize: none; }
.inquiry-form .field { margin-bottom: 1.5rem; }
.inquiry-form button { margin-top: 0.5rem; }

.contact-card .card-inner {
  background: var(--sand);
  padding: 2rem;
  border-radius: 0.125rem;
}
@media (min-width: 768px) { .contact-card .card-inner { padding: 2.5rem; } }
.card-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.info-list { display: flex; flex-direction: column; gap: 1rem; font-size: 0.95rem; }
.info-row { display: flex; gap: 0.75rem; }
.info-row dt {
  width: 5rem;
  flex-shrink: 0;
  color: var(--foreground-55);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding-top: 0.25rem;
}
.info-row dd a { transition: color 0.2s; }
.info-row dd a:hover { color: var(--primary); }
.socials {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  align-items: center;
}
.socials a { color: var(--primary); transition: color 0.2s; }
.socials a:hover { color: var(--primary-deep); }
.socials .dot { color: var(--border); }

/* ----- Footer ----- */
.site-footer {
  background: var(--foreground);
  color: var(--background);
}
.site-footer .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .footer-top > div:first-child { grid-column: span 6; }
  .footer-nav { grid-column: span 6; justify-content: flex-end; }
}
.brand-light { font-size: 1.5rem; font-weight: 600; }
.footer-tag { margin-top: 0.75rem; color: hsla(36, 60%, 95%, 0.7); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
}
.footer-nav a {
  color: hsla(36, 60%, 95%, 0.8);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(36, 60%, 95%, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsla(36, 60%, 95%, 0.5);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ----- Toasts ----- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  min-width: 240px;
  max-width: 360px;
  animation: toast-in 0.25s ease-out;
  pointer-events: auto;
  border-left: 4px solid var(--primary);
}
.toast.success { border-left-color: hsl(142, 70%, 40%); }
.toast.error { border-left-color: hsl(0, 70%, 50%); }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
