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

:root {
  --cream: #f0ebe2;
  --cream-dark: #e6dfd3;
  --warm-white: #f8f5ef;
  --copper: #9a6e3a;
  --copper-light: #b8884e;
  --copper-faint: rgba(154, 110, 58, 0.12);
  --copper-ghost: rgba(154, 110, 58, 0.06);
  --charcoal: #2c2824;
  --text-primary: #33302b;
  --text-body: #504a42;
  --text-soft: #7a7265;
  --text-faint: #a49d93;
  --border: rgba(154, 110, 58, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', Helvetica Neue, sans-serif;
  --page-padding: 48px;
  --max-width: 1100px;
}

@media (max-width: 768px) {
  :root {
    --page-padding: 24px;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--warm-white);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
}

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

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--page-padding);
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  font-family: var(--font-body); font-size: 16px; font-weight: 400;
  letter-spacing: 0.35em; color: var(--copper);
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 12px; font-weight: 300; letter-spacing: 0.12em;
  color: var(--text-soft); transition: color 0.3s ease; text-transform: uppercase;
}
.nav-links a:hover { color: var(--copper); }

.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--text-soft); margin: 5px 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(248, 245, 239, 0.97);
    padding: 24px var(--page-padding) 32px; gap: 20px;
    border-bottom: 0.5px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
}

/* HERO */
.hero {
  padding: 160px var(--page-padding) 100px; text-align: center;
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 80px); font-weight: 300;
  letter-spacing: 0.3em; color: var(--copper);
  margin-bottom: 16px; opacity: 0; animation: fadeUp 1s ease 0.2s forwards;
}
.hero-sub {
  font-size: 14px; font-weight: 300; letter-spacing: 0.4em;
  color: var(--text-faint); text-transform: uppercase;
  margin-bottom: 6px; opacity: 0; animation: fadeUp 1s ease 0.5s forwards;
}
.hero-tagline {
  font-size: 11px; letter-spacing: 0.25em; color: var(--text-faint);
  text-transform: uppercase; margin-bottom: 60px;
  opacity: 0; animation: fadeUp 1s ease 0.7s forwards;
}
.hero-image {
  width: 100%; max-width: 800px; aspect-ratio: 16/9;
  background: var(--cream-dark); border: 0.5px solid var(--border);
  margin-bottom: 60px; overflow: hidden;
  opacity: 0; animation: fadeUp 1.2s ease 0.9s forwards;
}
.hero-image-big {
  max-width: 100%; aspect-ratio: 3/2; margin-left: calc(var(--page-padding) * -1);
  margin-right: calc(var(--page-padding) * -1); width: calc(100% + var(--page-padding) * 2);
  border: none; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border);
}
@media (min-width: 769px) {
  .hero-image-big {
    margin-left: -10vw; margin-right: -10vw; width: calc(100% + 20vw);
    max-width: none; aspect-ratio: 21/9;
  }
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-text {
  max-width: 540px; font-size: 17px; line-height: 2;
  color: var(--text-body); opacity: 0; animation: fadeUp 1s ease 1.1s forwards;
}
.hero-scroll {
  margin-top: 60px; opacity: 0; animation: fadeUp 1s ease 1.3s forwards;
}
.hero-scroll span {
  display: block; font-size: 10px; letter-spacing: 0.25em;
  color: var(--text-faint); text-transform: uppercase; margin-bottom: 12px;
}
.hero-scroll-line {
  width: 1px; height: 40px; margin: 0 auto;
  background: linear-gradient(to bottom, var(--copper-faint), transparent);
  animation: pulse 2s ease infinite;
}

/* SECTIONS */
.section {
  padding: 100px var(--page-padding);
  border-top: 0.5px solid var(--border);
}
.section-alt { background: var(--cream); }
.section-label {
  font-size: 11px; letter-spacing: 0.4em; color: var(--copper);
  text-transform: uppercase; text-align: center;
  margin-bottom: 56px; font-weight: 400;
}

/* COLLECTION */
.collection-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: var(--max-width); margin: 0 auto 20px;
}
.collection-grid-bottom {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 730px; margin: 0 auto;
}
@media (max-width: 768px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .collection-grid-bottom { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 14px; }
}
@media (max-width: 480px) {
  .collection-grid, .collection-grid-bottom { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--warm-white); border: 0.5px solid var(--border);
  overflow: hidden; transition: border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: rgba(154, 110, 58, 0.25);
  box-shadow: 0 4px 24px rgba(154, 110, 58, 0.06);
}
.product-card-image {
  aspect-ratio: 3/4; background: var(--cream); overflow: hidden; position: relative;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.03); }
.product-card-image .placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-faint); letter-spacing: 0.1em;
}
.product-card-info { padding: 20px 20px 24px; text-align: center; }
.product-card-name {
  font-size: 14px; font-weight: 400; letter-spacing: 0.12em;
  color: var(--text-primary); text-transform: uppercase; margin-bottom: 6px;
}
.product-card-price {
  font-family: var(--font-display); font-size: 18px;
  color: var(--copper); font-weight: 400;
}
.product-card-tag {
  display: inline-block; font-size: 9px; letter-spacing: 0.15em;
  color: var(--copper); border: 0.5px solid var(--copper-faint);
  padding: 4px 12px; margin-top: 10px; text-transform: uppercase;
}

/* MAKER */
.maker-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  max-width: var(--max-width); margin: 0 auto; align-items: center;
}
.maker-image {
  background: var(--cream-dark); aspect-ratio: 4/5;
  border: 0.5px solid var(--border); overflow: hidden;
}
.maker-image img { width: 100%; height: 100%; object-fit: cover; }
.maker-text p {
  font-size: 16px; line-height: 2; color: var(--text-body); margin-bottom: 18px;
}
.maker-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .maker-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* LIVING FINISH */
.finish-text { max-width: 560px; margin: 0 auto; text-align: center; }
.finish-text p { font-size: 17px; line-height: 2; color: var(--text-body); }
.finish-italian {
  margin-top: 36px; font-style: italic; font-family: var(--font-display);
  font-size: 20px; color: var(--copper);
}

/* FOOTER */
.footer {
  border-top: 0.5px solid var(--border); padding: 56px var(--page-padding);
  text-align: center; background: var(--cream);
}
.footer-logo {
  font-family: var(--font-body); font-size: 15px;
  letter-spacing: 0.35em; color: var(--copper); margin-bottom: 8px;
}
.footer-sub {
  font-size: 10px; letter-spacing: 0.3em; color: var(--text-faint);
  text-transform: uppercase; margin-bottom: 4px;
}
.footer-made { font-size: 10px; color: var(--text-faint); }
.footer-ig {
  display: inline-block; margin-top: 16px; font-size: 11px;
  color: var(--text-soft); transition: color 0.3s ease;
}
.footer-ig:hover { color: var(--copper); }

/* PRODUCT PAGE */
.product-page {
  padding: 120px var(--page-padding) 80px;
  max-width: var(--max-width); margin: 0 auto;
}
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 768px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
}
.product-image-main {
  aspect-ratio: 3/4; background: var(--cream);
  border: 0.5px solid var(--border); overflow: hidden;
  position: sticky; top: 100px;
}
.product-image-main img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .product-image-main { position: static; }
}
.product-details { padding-top: 20px; }
.product-back {
  display: inline-block; font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-faint); text-transform: uppercase;
  margin-bottom: 40px; transition: color 0.3s ease;
}
.product-back:hover { color: var(--copper); }
.product-back::before { content: '\2190'; margin-right: 8px; }
.product-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px); font-weight: 300;
  letter-spacing: 0.1em; color: var(--text-primary); margin-bottom: 12px;
}
.product-price {
  font-family: var(--font-display); font-size: 24px;
  color: var(--copper); font-weight: 400; margin-bottom: 32px;
}
.product-divider {
  width: 40px; height: 0.5px; background: var(--copper-faint); margin-bottom: 32px;
}
.product-description {
  font-size: 16px; line-height: 2; color: var(--text-body); margin-bottom: 28px;
}
.product-details-list { margin-bottom: 40px; }
.product-detail-row {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 0.5px solid var(--border); font-size: 13px;
}
.product-detail-label {
  color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em;
}
.product-detail-value { color: var(--text-body); }

.product-buy-area {
  margin-top: 40px; padding: 28px;
  background: var(--cream); border: 0.5px solid var(--border); text-align: center;
}
.buy-button {
  display: inline-block; padding: 16px 52px;
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--warm-white); background: var(--copper);
  border: none; cursor: pointer; transition: all 0.3s ease;
}
.buy-button:hover { background: var(--copper-light); }
.buy-note { font-size: 11px; color: var(--text-faint); margin-top: 14px; }
.product-shipping {
  margin-top: 36px; font-size: 13px; line-height: 2; color: var(--text-soft);
}
.product-unique-badge {
  display: inline-block; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--copper);
  border: 0.5px solid var(--copper-faint);
  padding: 5px 14px; margin-bottom: 24px;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* NEWSLETTER */
.newsletter-container { max-width: 480px; margin: 0 auto; text-align: center; }
.newsletter-text {
  font-size: 15px; color: var(--text-body); margin-bottom: 28px; line-height: 1.7;
}
.newsletter-form {
  display: flex; gap: 0; max-width: 400px; margin: 0 auto 16px;
}
.newsletter-form input[type="email"] {
  flex: 1; padding: 14px 18px; font-family: var(--font-body); font-size: 14px;
  font-weight: 300; border: 0.5px solid var(--border); background: var(--warm-white);
  color: var(--text-primary); outline: none; transition: border-color 0.3s ease;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--copper);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--text-faint);
}
.newsletter-form button {
  padding: 14px 28px; font-family: var(--font-body); font-size: 12px;
  font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--copper); color: var(--warm-white); border: none;
  cursor: pointer; transition: background 0.3s ease; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--copper-light); }
.newsletter-privacy {
  font-size: 11px; color: var(--text-faint); margin-top: 12px;
}
.newsletter-privacy a {
  color: var(--text-soft); text-decoration: underline;
  text-decoration-color: var(--copper-faint);
}
.newsletter-privacy a:hover { color: var(--copper); }
.newsletter-success {
  display: none; font-size: 15px; color: var(--copper);
  margin-top: 12px; font-weight: 400;
}

/* FOOTER LEGAL */
.footer-legal {
  margin-top: 24px; display: flex; justify-content: center;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-legal a {
  font-size: 10px; letter-spacing: 0.08em; color: var(--text-faint);
  transition: color 0.3s ease;
}
.footer-legal a:hover { color: var(--copper); }
.footer-dot {
  width: 2px; height: 2px; background: var(--text-faint);
  border-radius: 50%; display: inline-block;
}
.footer-copy {
  margin-top: 16px; font-size: 10px; color: var(--text-faint);
}

/* LEGAL PAGES */
.legal-page {
  padding: 120px var(--page-padding) 80px;
  max-width: 680px; margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-display); font-size: 32px; font-weight: 300;
  color: var(--text-primary); margin-bottom: 12px; letter-spacing: 0.05em;
}
.legal-page .legal-updated {
  font-size: 12px; color: var(--text-faint); margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--text-primary); margin-top: 36px; margin-bottom: 12px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.legal-page p {
  font-size: 15px; line-height: 1.9; color: var(--text-body);
  margin-bottom: 16px;
}
.legal-page ul {
  margin: 0 0 16px 20px; font-size: 15px; line-height: 1.9; color: var(--text-body);
}
.legal-page a { color: var(--copper); text-decoration: underline; text-decoration-color: var(--copper-faint); }
.legal-page a:hover { text-decoration-color: var(--copper); }
