:root {
  --ground: #EFEBE5;
  --panel: #E3DDD4;
  --photo: #D9D2C7;
  --ink: #1F1D1A;
  --body: #3A3632;
  --muted: #5F5952;
  --line: #D3CBBF;
  --indigo: #232A36;
  --cream: #F3EFE8;
  --stitch: #9C7A55;
  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }
a:hover { color: #7A5C3E; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--indigo); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); }
.btn.is-pending { opacity: .55; cursor: default; pointer-events: none; }

/* Announcement */
.announce {
  background: var(--indigo);
  color: var(--cream);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 12px 24px;
}

/* Header */
.header { border-bottom: 1px solid var(--line); }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo { display: flex; align-items: baseline; gap: 14px; text-decoration: none; color: var(--ink); }
.logo__latin { font-family: 'Jost', sans-serif; font-weight: 300; font-size: 32px; letter-spacing: 0.08em; }
.logo__cn { font-family: 'Noto Serif SC', serif; font-size: 14px; letter-spacing: 0.6em; }
.nav__links { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block;
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; }
.hero__img { flex: 1 1 520px; min-width: 0; background: var(--photo); }
.hero__img img { width: 100%; height: 820px; object-fit: cover; object-position: 50% 45%; }
.hero__text {
  flex: 1 1 480px;
  min-width: 0;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.hero h1 { margin: 0; font-size: clamp(52px, 6vw, 92px); line-height: 1.02; }
.hero p { margin: 0; font-size: 18px; color: var(--body); max-width: 460px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* About */
.about {
  max-width: 860px;
  margin: 0 auto;
  padding: 140px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.about__cn { font-family: 'Noto Serif SC', serif; font-size: 56px; letter-spacing: 0.4em; padding-left: 0.4em; line-height: 1.2; }
.about__sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 30px; color: #4F4A43; }
.rule { width: 56px; height: 1px; background: var(--stitch); border: 0; margin: 0; }
.about p { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3vw, 36px); line-height: 1.4; font-weight: 400; }

/* Shop */
.shop { padding-bottom: 140px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 48px;
}
.section-head h2 { margin: 0; font-size: 56px; line-height: 1; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.product { display: flex; flex-direction: column; gap: 18px; }
.product__photo {
  position: relative;
  height: 640px;
  background: var(--photo);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__photo img { width: 100%; height: 100%; object-fit: cover; }
.product__photo .label {
  position: absolute; left: 24px; bottom: 20px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #4F4A43;
}
.product__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.product h3 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 34px; }
.price { font-size: 18px; font-weight: 400; }
.product p { margin: 0; color: #4F4A43; }
.swatches { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #A39A8D; }
.swatches span { font-size: 13px; color: var(--muted); margin-left: 6px; }
.note { font-size: 13px; color: var(--muted); }

/* Uniform */
.uniform { background: var(--indigo); color: var(--cream); }
.uniform .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.uniform__photo {
  flex: 1 1 420px; min-width: 0; height: 560px; background: #2F3746;
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.uniform__photo .label { position: absolute; left: 24px; bottom: 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #C2C8D2; }
.uniform__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.uniform .eyebrow { color: #C9B08F; }
.uniform h2 { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1.05; }
.uniform p { margin: 0; font-size: 18px; color: #D9DDE4; max-width: 440px; }

/* Values */
.values { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.values div { border-top: 1px solid var(--stitch); padding-top: 24px; }
.values h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.values p { margin: 0; color: #4F4A43; }

/* Newsletter */
.signup { background: var(--panel); }
.signup form {
  max-width: 640px; margin: 0 auto; padding: 100px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.signup h2 { margin: 0; font-size: 44px; }
.signup p { margin: 0; color: #4F4A43; }
.signup label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #4F4A43; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; justify-content: center; }
.signup input {
  flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 18px;
  border: 1px solid #8F877C; background: #F7F5F1;
  font: 16px 'Inter', sans-serif; color: var(--ink);
}
.hidden { position: absolute; left: -9999px; }

/* Footer */
.footer .wrap { padding-top: 64px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-block; padding: 10px 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.footer small { font-size: 13px; color: var(--muted); }

/* Policy pages */
.page { max-width: 760px; margin: 0 auto; padding: 100px 24px 140px; }
.page h1 { font-size: 64px; margin: 0 0 32px; line-height: 1; }
.page h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin: 48px 0 12px; }
.page p, .page li { font-size: 17px; color: var(--body); }

@media (max-width: 640px) {
  .hero__img img { height: 560px; }
  .hero__text { padding: 56px 24px; }
  .about { padding: 96px 24px; }
  .product__photo { height: 480px; }
  .uniform__photo { height: 440px; }
  .section-head h2 { font-size: 44px; }
}
