/* Consolidated theme variables */
:root {
  --primary: #6a0f1c;
  --secondary: #ffffff;
  --primary-700: #53101a;
  --primary-300: #8e2231;
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #e6e6ea;
  --text: #1c1c1f;
  --muted: #5b5b61;
  --soft: #f7f7f9;
}

/* Base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .logo {
  font-family:
    Didot,
    Playfair Display;
  letter-spacing: 0.5px;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary);
}
header nav a {
  margin-left: 22px;
  color: #4a4a50;
  opacity: 0.8;
  text-decoration: none;
  font-weight: 500;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}
header nav a:hover {
  color: var(--primary);
  opacity: 1;
}

/* Hero (landing) */
.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  background:
    radial-gradient(
      900px 380px at 20% 10%,
      rgba(106, 15, 28, 0.08),
      transparent 60%
    ),
    radial-gradient(
      1100px 520px at 80% 30%,
      rgba(83, 16, 26, 0.06),
      transparent 60%
    ),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  max-width: 820px;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.05rem;
  max-width: 640px;
  color: #4a4a50;
}
.hero button {
  margin-top: 28px;
  padding: 12px 28px;
  border: 1px solid color-mix(in oklab, var(--primary) 70%, black 10%);
  border-radius: 999px;
  font-size: 1rem;
  background: var(--primary);
  color: var(--secondary);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.05s ease;
}
.hero button:hover {
  background: color-mix(in oklab, var(--primary) 28%, transparent);
  border-color: color-mix(in oklab, var(--primary) 80%, white 0%);
}

p {
  font-weight: 600;
}

/* Sections */
.section {
  padding: 80px 10%;
  background: var(--bg);
}
.section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 2fr));
  gap: 28px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: 14px;
  text-align: left;
  min-height: 150px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

/* Page title */
.page-title {
  padding: 30px 8% 8px;
}
.page-title h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 10px;
}
.subtitle {
  color: #4a4a50;
  margin: 0 8% 28px;
}

/* Generic content layout (used by contact/products) */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0px 8% 80px;
}

.brand {
  display: grid;
  color: var(--primary);
  justify-items: center;
}
.brand .monogram {
  font-family:
    Didot,
    Playfair Display;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand .name {
  font-family:
    Playfair Display,
    serif;
  letter-spacing: 2px;
  color: #68131f;
}
.divider {
  width: 100%;
  max-width: 960px;
  height: 1px;
  background: var(--border);
  margin-top: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.08s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #d9d9de;
}
.tile .label {
  font-weight: 800;
  color: #1b1b1f;
  letter-spacing: 0.2px;
}
.tile .value {
  color: #2a2a31;
  margin-top: 6px;
}
.actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.chip:hover {
  border-color: #cfcfd4;
}

/* Product gallery */
.gallery {
  padding: 0 8% 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.1s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fafafa;
}
.caption {
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #333;
  border-top: 1px solid var(--border);
}

/* Responsive tabs (products) */
.tabs {
  padding: 0 8% 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.tab-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: #1c1c1f;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  line-height: 1.1;
  min-width: 340px;
  max-width: 100%;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.06s ease;
}
.tab-btn:active {
  transform: translateY(1px);
}
.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: color-mix(in oklab, var(--primary) 70%, #000 0%);
}
@media (max-width: 640px) {
  .tab-btn {
    flex: 1 1 46%;
    min-width: 0;
    padding: 10px 12px;
  }
}
@media (max-width: 400px) {
  .tab-btn {
    flex: 1 1 100%;
  }
}

/* Footer */
footer {
  padding: 26px 8%;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: #6b6b72;
}
