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

:root {
  --bg: #111111;
  --bg-soft: #1a1a1a;
  --panel: #202020;
  --panel-2: #262626;
  --text: #F5F5F5;
  --text-soft: #EADDCA;
  --muted: #c6b8a6;
  --line: rgba(234, 221, 202, 0.16);
  --accent: #8b6f57;
  --accent-2: #6e5745;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    linear-gradient(rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.96)),
    repeating-linear-gradient(90deg, rgba(234, 221, 202, 0.02) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #191919 0%, #0f0f0f 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
}

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

img,
video {
  display: block;
  width: 100%;
}

.container {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(17, 17, 17, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.4px;
}

.brand svg,
.nav-link svg,
.feature svg,
.section-title svg,
.product-card svg,
.timeline-item svg,
.note-card svg,
.media-card svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 0.25s ease;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  border-color: var(--line);
  background: rgba(234, 221, 202, 0.06);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(234, 221, 202, 0.08);
}

.hamburger svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.hero {
  padding: 84px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.section-card,
.note-card,
.product-card,
.timeline-item,
.media-card,
.story-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.hero p,
.page-hero p,
.section-card p,
.note-card p,
.timeline-item p,
.story-card p {
  color: #ece6df;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(234, 221, 202, 0.07);
}

.btn.primary {
  background: var(--text-soft);
  color: #181818;
  border-color: transparent;
}

.hero-visual {
  overflow: hidden;
  position: relative;
  min-height: 500px;
}

.hero-visual img {
  display: block; /* Gap fixer */
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-visual:hover img {
  transform: scale(1.05);
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

section,
.page-hero {
  padding: 28px 0;
}

.page-hero {
  padding-top: 62px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.section-title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section-subtitle {
  color: var(--muted);
  max-width: 700px;
}

.grid-2,
.grid-3,
.product-grid,
.media-grid,
.timeline,
.story-grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.product-grid,
.media-grid,
.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-card,
.story-card,
.note-card,
.timeline-item,
.media-card,
.product-card {
  padding: 24px;
}

.section-card h3,
.story-card h3,
.note-card h3,
.timeline-item h3,
.media-card h3,
.product-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #efe8e0;
}

.feature span {
  color: var(--text-soft);
}

.note-card {
  margin-top: 26px;
  padding: 28px;
}

.note-card strong {
  color: var(--text-soft);
  font-size: 1.1rem;
}

.timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-top {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 12px);
  aspect-ratio: 4 / 3; /* Consistent ratio for all product images */
}

.product-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.product-card:hover .product-top img {
  transform: scale(1.1);
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(234, 221, 202, 0.12), transparent 70%);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(234, 221, 202, 0.08);
  color: var(--text-soft);
}

.media-card,
.product-card {
  padding: 0;
  overflow: hidden;
}

.media-card img,
.product-card img,
.media-card video {
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #0f0f0f;
}

.media-body,
.product-body {
  padding: 18px;
}

.product-card {
  cursor: pointer;
  transition: 0.28s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-top {
  position: relative;
}

.product-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.footer {
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 80;
}

.modal.open {
  display: flex;
}

.modal-content {
  width: min(960px, 100%);
  background: #171717;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  color: var(--text-soft);
  font-size: 1rem;
}

.modal-close {
  border: none;
  background: rgba(234, 221, 202, 0.08);
  color: var(--text-soft);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-media img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #111;
}

.page-hero-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.small-note {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 900px) {

  .hero-grid,
  .grid-2,
  .grid-3,
  .product-grid,
  .media-grid,
  .timeline,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hamburger {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy,
  .page-hero-card {
    padding: 24px;
  }
}

@media (min-width: 1600px) {
  .container {
    width: min(1520px, calc(100% - 80px));
  }
}

@media (min-width: 1920px) {
  .container {
    width: min(1720px, calc(100% - 120px));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1400px);
  }

  .nav-link {
    width: 100%;
    justify-content: center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.3rem;
  }

  .section-card,
  .story-card,
  .note-card,
  .timeline-item,
  .media-body,
  .product-body,
  .page-hero-card {
    padding: 18px;
  }
}

/* Interactive Canvas */
.stamp-canvas {
  position: relative;
  width: 100%;
  height: 340px;
  background: repeating-linear-gradient(45deg, rgba(234, 221, 202, 0.04) 0, rgba(234, 221, 202, 0.04) 2px, rgba(17, 17, 17, 0.5) 2px, rgba(17, 17, 17, 0.5) 8px), #171717;
  border: 1px dashed var(--line);
  border-radius: 16px;
  margin-top: 18px;
  cursor: crosshair;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-hint {
  color: var(--muted);
  pointer-events: none;
  font-size: 1.05rem;
}

.stamp-mark {
  position: absolute;
  width: 50px;
  height: 50px;
  color: var(--text-soft);
  pointer-events: none;
  opacity: 0.85;
}

/* Modal Care */
.modal-care {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(234, 221, 202, 0.03);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.modal-care svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--muted);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  color: var(--text-soft);
  opacity: 0.8;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(234, 221, 202, 0.05), rgba(234, 221, 202, 0.02));
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:hover,
.form-textarea:hover {
  background: rgba(234, 221, 202, 0.06);
  border-color: rgba(234, 221, 202, 0.3);
}

.form-input:focus,
.form-textarea:focus {
  background: rgba(17, 17, 17, 0.6);
  border-color: var(--text-soft);
  box-shadow: 0 0 0 4px rgba(234, 221, 202, 0.05);
}

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

/* Responsive adjustments for contact */
@media (max-width: 900px) {
  .grid-2.contact-grid {
    grid-template-columns: 1fr;
  }
}