:root {
  --paper: #fffaf3;
  --shell: #f2e6d8;
  --ink: #201b18;
  --muted: #70675e;
  --rose: #d79b9f;
  --sage: #8b9a80;
  --charcoal: #2e3035;
  --gold: #a67d3d;
  --line: rgba(32, 27, 24, 0.14);
  --shadow: 0 18px 45px rgba(32, 27, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 243, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(32, 27, 24, 0.08);
  display: flex;
  gap: 28px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
}

.nav-links a {
  color: #453d38;
  font-size: 14px;
  font-weight: 600;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.currency-chip {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #453d38;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
}

.account-link {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 0 15px;
}

.icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
}

.icon-button svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.cart-button span {
  align-items: center;
  background: var(--rose);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  height: 17px;
  justify-content: center;
  position: absolute;
  right: -2px;
  top: -3px;
  width: 17px;
}

.menu-button {
  display: none;
}

.hero {
  min-height: 88vh;
  overflow: hidden;
  position: relative;
}

.hero img {
  display: block;
  height: 88vh;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}

.hero::after {
  background: linear-gradient(90deg, rgba(255, 250, 243, 0.96) 0%, rgba(255, 250, 243, 0.7) 34%, rgba(255, 250, 243, 0.05) 70%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-content {
  left: clamp(20px, 6vw, 82px);
  max-width: 530px;
  position: absolute;
  top: 52%;
  transform: translateY(-45%);
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(64px, 11vw, 136px);
  line-height: 0.86;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-content p:not(.eyebrow) {
  color: #473f39;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 480px;
}

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

.primary-action,
.secondary-action,
.newsletter button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.primary-action,
.newsletter button {
  background: var(--ink);
  color: var(--paper);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.service-bar {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.service-bar span {
  border-right: 1px solid rgba(255, 250, 243, 0.2);
  min-height: 48px;
  padding: 16px 20px;
  text-align: center;
}

.service-bar strong {
  color: #f0c98f;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 70px);
}

.intro {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr 0.9fr;
}

.intro > p,
.lookbook-copy p,
.values p,
.newsletter p,
footer p {
  color: var(--muted);
  line-height: 1.7;
}

.intro > p {
  font-size: 18px;
  margin-bottom: 4px;
}

.product-section {
  padding-top: 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.filter-tabs {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 5px;
}

.filter-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #514943;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 14px;
}

.filter-tabs .active {
  background: var(--ink);
  color: var(--paper);
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(32, 27, 24, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(32, 27, 24, 0.06);
  min-width: 0;
  overflow: hidden;
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  aspect-ratio: 4 / 5;
  background-image: url("assets/collection.png");
  background-size: 300% auto;
}

.dress-one {
  background-position: 0% 44%;
}

.set-one {
  background-position: 50% 44%;
}

.top-one {
  background-position: 100% 44%;
}

.set-two {
  background-image: linear-gradient(rgba(215, 155, 159, 0.2), rgba(139, 154, 128, 0.18)), url("assets/hero.png");
  background-position: 72% center;
  background-size: cover;
}

.product-copy {
  padding: 17px 16px 14px;
}

.product-copy span {
  color: var(--sage);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.product-copy p {
  color: #514943;
  font-weight: 800;
  margin-bottom: 0;
}

.product-card button {
  background: var(--shell);
  border: 0;
  border-top: 1px solid rgba(32, 27, 24, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  width: 100%;
}

.product-card button.added {
  background: var(--sage);
  color: #ffffff;
}

.lookbook {
  align-items: center;
  background: #eee9df;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  padding: clamp(46px, 7vw, 90px) clamp(20px, 5vw, 70px);
}

.lookbook-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lookbook-image img {
  display: block;
  height: min(650px, 72vh);
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.lookbook-copy {
  max-width: 610px;
}

.lookbook-copy p {
  font-size: 18px;
  margin-top: 22px;
}

.text-link {
  border-bottom: 2px solid var(--ink);
  display: inline-block;
  font-weight: 900;
  margin-top: 10px;
  padding-bottom: 7px;
}

.values {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.values article {
  border-left: 3px solid var(--rose);
  padding: 6px 24px 4px;
}

.newsletter {
  align-items: center;
  background: var(--charcoal);
  color: var(--paper);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 70px);
}

.newsletter p {
  color: rgba(255, 250, 243, 0.74);
  margin: 18px 0 0;
  max-width: 520px;
}

.newsletter form {
  justify-self: end;
  max-width: 560px;
  width: 100%;
}

.newsletter label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter form div {
  display: flex;
  gap: 10px;
}

.newsletter input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 250, 243, 0.32);
  border-radius: 999px;
  color: var(--paper);
  min-height: 52px;
  min-width: 0;
  padding: 0 18px;
  width: 100%;
}

.newsletter input::placeholder {
  color: rgba(255, 250, 243, 0.6);
}

.newsletter button {
  border: 1px solid var(--paper);
  cursor: pointer;
  min-width: 92px;
}

[data-form-message] {
  color: #e7c08a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  min-height: 22px;
  padding-top: 10px;
}

footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 30px clamp(20px, 5vw, 70px);
}

footer span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.auth-body {
  min-height: 100vh;
}

.auth-header {
  position: fixed;
}

.auth-nav {
  margin-left: auto;
}

.auth-shell {
  display: grid;
  gap: clamp(28px, 5vw, 74px);
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 1fr);
  min-height: 100vh;
  padding: 112px clamp(20px, 5vw, 70px) 42px;
}

.auth-shell-reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.82fr);
}

.auth-panel {
  align-self: center;
  max-width: 560px;
  width: 100%;
}

.auth-copy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
  margin-bottom: 20px;
}

.auth-copy p:not(.eyebrow),
.auth-switch {
  color: var(--muted);
  line-height: 1.7;
}

.auth-copy p:not(.eyebrow) {
  font-size: 17px;
  margin-bottom: 26px;
}

.auth-form {
  background: #ffffff;
  border: 1px solid rgba(32, 27, 24, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(32, 27, 24, 0.08);
  display: grid;
  gap: 13px;
  padding: clamp(22px, 4vw, 34px);
}

.auth-form label,
.field-row label {
  color: #453d38;
  font-size: 13px;
  font-weight: 900;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.auth-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(166, 125, 61, 0.14);
  outline: 0;
}

.field-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.field-row a,
.auth-switch a {
  color: var(--ink);
  font-weight: 900;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 74px !important;
}

.password-field button {
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  position: absolute;
  right: 8px;
  top: 7px;
}

.checkbox-line {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.5;
  margin: 4px 0;
}

.checkbox-line input {
  accent-color: var(--ink);
  margin-top: 3px;
}

.auth-submit {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  cursor: pointer;
  font-weight: 900;
  min-height: 50px;
}

.auth-message {
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
  min-height: 20px;
}

.auth-message.error {
  color: #a54f4f;
}

.auth-switch {
  margin: 18px 0 0;
  text-align: center;
}

.two-field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-field-grid div {
  display: grid;
  gap: 10px;
}

.auth-image {
  align-self: stretch;
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 560px;
  overflow: hidden;
}

.auth-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    background: rgba(255, 250, 243, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 18px;
    position: fixed;
    right: 0;
    top: 66px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    width: 100%;
  }

  .hero,
  .hero img {
    height: auto;
    min-height: 82vh;
  }

  .hero img {
    object-position: 66% center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.12) 0%, rgba(255, 250, 243, 0.9) 56%, rgba(255, 250, 243, 0.98) 100%);
  }

  .hero-content {
    bottom: 36px;
    left: 20px;
    max-width: calc(100% - 40px);
    top: auto;
    transform: none;
  }

  .service-bar {
    grid-template-columns: 1fr;
  }

  .intro,
  .lookbook,
  .newsletter,
  .auth-shell,
  .auth-shell-reverse {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .values {
    grid-template-columns: 1fr;
  }

  .newsletter form {
    justify-self: stretch;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-nav {
    display: flex;
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    flex-direction: row;
    gap: 18px;
    padding: 0;
  }

  .auth-nav a {
    padding: 0;
    width: auto;
  }

  .auth-shell,
  .auth-shell-reverse {
    padding-top: 96px;
  }

  .auth-image {
    min-height: 420px;
    order: -1;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 21px;
  }

  .header-actions .icon-button[aria-label="Search"] {
    display: none;
  }

  .currency-chip {
    font-size: 11px;
    min-height: 32px;
    padding: 0 9px;
  }

  .account-link {
    display: none;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .filter-tabs {
    border-radius: 8px;
    flex-wrap: wrap;
    width: 100%;
  }

  .filter-tabs button {
    flex: 1 1 42%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .newsletter form div {
    flex-direction: column;
  }

  .newsletter button {
    width: 100%;
  }

  .auth-nav {
    display: none;
  }

  .auth-shell,
  .auth-shell-reverse {
    padding-left: 18px;
    padding-right: 18px;
  }

  .two-field-grid {
    grid-template-columns: 1fr;
  }

  .auth-image {
    min-height: 300px;
  }
}
