/* =========================================================
   Rotana Place — Storefront Design System
   Editorial minimal · warm neutrals · charcoal + sand + bronze
   ========================================================= */

:root {
  --ink: #1c1a17;
  --charcoal: #33302b;
  --slate: #6f6a62;
  --muted: #928c82;
  --line: #e7e1d8;
  --paper: #ffffff;
  --sand: #f6f2ec;
  --sand-deep: #efe9df;
  --bronze: #9a7b4f;
  --bronze-dark: #7d6440;
  --radius: 4px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink);
  color: #f3ede3;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
  font-weight: 500;
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0;
}
.nav-left { display: flex; gap: 30px; }
.nav-right { display: flex; gap: 26px; justify-content: flex-end; align-items: center; }
.nav a.link {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav a.link:hover { border-color: var(--bronze); color: var(--ink); }
.wordmark {
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 0.24em; /* optical centering for tracked caps */
}
.wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin-top: 2px;
  padding-left: 0.42em;
}
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500; cursor: pointer;
  background: none; border: none; font-family: var(--sans);
}
.cart-btn svg { width: 19px; height: 19px; stroke: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 560px;
  gap: 40px;
}
.hero-copy { padding: 60px 0; }
.eyebrow {
  font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bronze); font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--bronze); }
.hero p {
  font-size: 17px; color: var(--slate);
  max-width: 440px; margin-bottom: 34px;
}
.hero-media {
  align-self: stretch;
  background: var(--sand-deep);
  position: relative;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  mix-blend-mode: multiply;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 15px 34px; border-radius: var(--radius);
  cursor: pointer; border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- section headings ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.01em; color: var(--ink);
}
.section-head p { color: var(--slate); margin-top: 12px; font-size: 16px; }

/* ---------- group heading ---------- */
.group-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 27px; letter-spacing: 0.02em; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin: 0 0 34px;
}
.group-title::before, .group-title::after {
  content: ""; height: 1px; width: 56px; background: var(--line);
}
.group-title.womens { margin-top: 72px; }

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.card { display: flex; flex-direction: column; }
.card-media {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  background: var(--paper); color: var(--charcoal);
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line);
}
.card-body { padding: 20px 4px 8px; text-align: center; }
.card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 23px; letter-spacing: 0.005em; margin-bottom: 4px;
}
.card .fabric { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 12px; }
.card .price { font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.card .price small { color: var(--muted); font-weight: 400; }

/* sizes */
.sizes { display: flex; gap: 8px; justify-content: center; margin: 16px 0 18px; }
.sizes button {
  width: 40px; height: 36px; border: 1px solid var(--line); background: var(--paper);
  font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--charcoal);
  border-radius: var(--radius); cursor: pointer;
  transition: all 0.18s var(--ease);
}
.sizes button:hover { border-color: var(--ink); }
.sizes button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.card .btn { width: 100%; }

/* ---------- values strip ---------- */
.values {
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 60px 0; }
.value { text-align: center; }
.value svg { width: 30px; height: 30px; stroke: var(--bronze); margin: 0 auto 16px; fill: none; }
.value h4 {
  font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 6px;
}
.value p { font-size: 14px; color: var(--slate); max-width: 280px; margin: 0 auto; }

/* ---------- newsletter ---------- */
.news { text-align: center; padding: 84px 0; }
.news h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.news p { color: var(--slate); margin-bottom: 30px; }
.news form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news input {
  flex: 1; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--paper);
}
.news input:focus { outline: none; border-color: var(--bronze); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #c9c2b6; padding: 60px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand .wordmark { text-align: left; color: #f3ede3; font-size: 26px; padding-left: 0; }
.foot-brand .wordmark small { color: #8f887c; padding-left: 0; }
.foot-brand p { margin-top: 16px; font-size: 14px; color: #9c958a; max-width: 320px; }
footer h5 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #f3ede3; margin-bottom: 18px; font-weight: 600; }
footer li { margin-bottom: 10px; }
footer li a { font-size: 14px; color: #b7b0a4; transition: color 0.2s; }
footer li a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid #3a362f; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: #837c70; letter-spacing: 0.04em;
}

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(90px);
  background: var(--ink); color: #fff; font-size: 13.5px; letter-spacing: 0.02em;
  padding: 14px 26px; border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(0,0,0,0.28); z-index: 60; pointer-events: none;
  transition: transform 0.35s var(--ease);
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- mobile ---------- */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 380px; }
  .hero-copy { padding: 54px 0 20px; }
  .grid { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-left { display: none; }
  .wordmark { text-align: left; font-size: 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .news form { flex-direction: column; }
}
