/* Salt of the Incas — site styles
   Layout follows a big-card retail homepage; colour and type come from the Maras bag:
   dusty rose cloth, cotton cord, dark Andean earth, Trajan-style wordmark. */

:root {
  --white: #ffffff;
  --mist: #f6efed;          /* pale pink of fresh salt */
  --cord: #e8dccb;          /* cotton drawstring */
  --rose: #c99597;          /* bag cloth */
  --rose-deep: #9e5558;     /* buttons, accent text on light */
  --rose-light: #e7a9a6;    /* accent text on dark */
  --earth: #3d2b27;         /* solid buttons, footer */
  --night: #241a18;         /* dark band */
  --ink: #2b2220;           /* body text */
  --ink-soft: #5e504c;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --gutter: 16px;
  --max: 1408px;

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--earth); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Announcement + header ---------- */

.announce {
  background: var(--rose-deep);
  color: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px var(--gutter);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(61, 43, 39, 0.08);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  justify-self: start;
}
.logo__mark { width: 46px; height: auto; color: var(--earth); flex: none; }
.logo__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__name { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; }
.logo__place {
  display: flex; align-items: center; gap: 8px;
  margin-top: 5px;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft);
}
.logo__place::before, .logo__place::after { content: ""; width: 18px; height: 1px; background: currentColor; }

.nav { display: flex; gap: 36px; }
.nav a {
  text-decoration: none; font-size: 16px; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rose); }

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

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: none; color: var(--earth); cursor: pointer;
  text-decoration: none;
}
.icon-btn:hover { background: var(--mist); }
.icon-btn svg { width: 24px; height: 24px; }

.menu-btn { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font: 700 16px/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn--solid { background: var(--earth); color: var(--white); }
.btn--solid:hover { background: var(--night); }
.btn--rose { background: var(--rose-deep); color: var(--white); }
.btn--rose:hover { background: #874548; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.9); color: var(--white); background: rgba(0, 0, 0, 0.08); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--ghost-dark { border-color: var(--earth); color: var(--earth); background: none; }
.btn--ghost-dark:hover { background: var(--earth); color: var(--white); }

/* ---------- Shared layout ---------- */

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

.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--follow { padding-top: 0; }

.heading {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  text-align: center;
  max-width: 16ch;
  margin: 0 auto;
}
.heading em { font-style: normal; color: var(--rose-deep); }
.heading + .lede { margin-top: 18px; }

.lede {
  max-width: 58ch; margin: 0 auto;
  text-align: center; color: var(--ink-soft); font-size: 18px;
}

.center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* Photo card: an image filling a rounded box, with text on a dark scrim */
.photo-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--earth);
  color: var(--white);
  isolation: isolate;
}
.photo-card > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.photo-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(36, 26, 24, 0) 30%, rgba(36, 26, 24, 0.82) 100%);
}

/* ---------- Home: hero ---------- */

.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: grid; grid-template-columns: 2.7fr 1fr; gap: 16px;
}

.hero__main {
  min-height: 520px;
  display: flex; align-items: center;
  color: var(--ink);
}
.hero__main > img { object-position: 70% 50%; }
.hero__main::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 34%, rgba(255, 255, 255, 0) 64%);
}
.hero__copy { padding: 56px 64px; max-width: 640px; }
.hero__title {
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.02;
}
.hero__title span { display: block; color: var(--rose-deep); }
.hero__sub { margin: 22px 0 30px; font-size: 21px; line-height: 1.45; max-width: 30ch; }

.hero__side {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--rose-deep); color: var(--white);
}
.hero__side-copy { padding: 36px 34px 24px; }
.hero__side-copy h2 { font-size: 30px; font-weight: 700; }
.hero__side-copy p { margin: 12px 0 22px; font-size: 16px; opacity: 0.92; }
.hero__side img { flex: 1; min-height: 180px; width: 100%; object-fit: cover; }

/* ---------- Home: three tiles ---------- */

.tiles {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter) 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tile { min-height: 300px; display: flex; align-items: flex-end; }
.tile::after, .step::after {
  background: linear-gradient(180deg, rgba(36, 26, 24, 0) 20%, rgba(36, 26, 24, 0.88) 92%);
}
.tile__copy { padding: 26px 26px 24px; }
.tile__copy h3 { font-size: 26px; font-weight: 800; }
.tile__copy p { margin: 6px 0 16px; font-size: 16px; max-width: 34ch; }
.tile .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.tile--bag > img { object-position: 50% 42%; }

/* ---------- Home: rose band with marquee ---------- */

.band {
  position: relative; overflow: hidden;
  margin-top: 16px;
  min-height: 640px;
  background: linear-gradient(180deg, #a35e61 0%, #7e3e43 100%);
  color: var(--white);
  display: grid; place-items: center;
}

.marquee {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  overflow: hidden; pointer-events: none;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-size: clamp(120px, 17vw, 260px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  white-space: nowrap; padding-right: 0.35em;
}
.marquee__track span::after {
  content: ""; display: inline-block;
  width: 0.16em; height: 0.16em; margin-left: 0.35em;
  border-radius: 50%; background: currentColor; vertical-align: middle;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.band__product {
  position: relative; z-index: 1;
  width: min(360px, 62vw);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(36, 26, 24, 0.45);
}

.band__text {
  position: absolute; left: 56px; bottom: 56px; z-index: 1;
  max-width: 30ch; font-size: 19px;
}
.band__cta { position: absolute; right: 56px; bottom: 56px; z-index: 1; }

/* ---------- Home: product ---------- */

.product-row {
  margin-top: 48px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px;
  align-items: stretch;
}

.product-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  border: 2px solid var(--cord); border-radius: var(--radius-md);
  overflow: hidden; background: var(--white);
}
.product-card__img { background: var(--mist); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.product-card__body h3 { font-size: 26px; font-weight: 800; }
.product-card__meta { color: var(--ink-soft); font-size: 15px; }
.price { font-size: 22px; font-weight: 700; color: var(--rose-deep); }
.product-card__body .btn { margin-top: auto; align-self: flex-start; }

.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.fact {
  border-radius: var(--radius-md);
  background: var(--mist);
  padding: 26px;
}
.fact svg { width: 34px; height: 34px; color: var(--rose-deep); }
.fact h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.fact p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Home: spring to salt steps ---------- */

.steps {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  counter-reset: step;
  list-style: none; padding: 0;
}
.step { min-height: 360px; display: flex; align-items: flex-end; }
.step__copy { padding: 28px; max-width: 46ch; }
.step__copy h3 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.step__copy h3::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid currentColor; font-size: 16px;
}
.step__copy p { margin-top: 8px; font-size: 16px; }

/* ---------- Dark quote band ---------- */

.quote-band {
  background: var(--night); color: var(--white);
  padding: 104px var(--gutter);
  text-align: center;
}
.quote-band blockquote { margin: 0 auto; max-width: 980px; }
.quote-band blockquote p {
  font-size: clamp(30px, 4.2vw, 54px); font-weight: 700; line-height: 1.15;
}
.quote-band cite {
  display: block; margin-top: 22px;
  font-style: normal; font-size: 18px; color: var(--rose-light);
}
.quote-band .btn { margin-top: 36px; }

/* ---------- Two big cards + photo banner ---------- */

.duo {
  max-width: var(--max); margin: 0 auto;
  padding: 80px var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.duo__card {
  min-height: 460px;
  display: grid; place-items: center; text-align: center;
}
.duo__card::after { background: rgba(36, 26, 24, 0.5); }
.duo__card h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; max-width: 14ch; margin: 0 auto 26px; }

.banner {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter) 96px;
}
.banner .photo-card {
  min-height: 580px;
  display: grid; place-items: center; text-align: center;
}
.banner .photo-card::after { background: rgba(36, 26, 24, 0.42); }
.banner h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; max-width: 16ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--earth); color: #f3e9e4; }
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: 72px 32px 48px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo__mark { color: var(--white); }
.site-footer .logo__place { color: #d9c9c2; }
.footer-top { padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }

.footer-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-grid h2 { font-size: 22px; font-weight: 700; margin-bottom: 14px; color: var(--white); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; font-size: 16px; }
.footer-grid a:hover { text-decoration: underline; }

.signup { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input {
  flex: 1 1 220px; min-height: 52px; padding: 0 16px;
  border: 0; border-radius: var(--radius-sm);
  font: 16px var(--sans); color: var(--ink);
}
.signup .btn { background: var(--night); color: var(--white); }
.signup .btn:hover { background: var(--rose-deep); }
.notice { margin-top: 10px; font-size: 15px; min-height: 1.5em; }
.signup .notice { flex-basis: 100%; margin-top: 2px; }
.site-footer .notice { color: var(--rose-light); }

.footer-bottom {
  background: #2e201d; color: #d9c9c2;
  text-align: center; font-size: 15px; padding: 14px var(--gutter);
}

/* ---------- Inner pages ---------- */

.page-hero {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
.page-hero .photo-card { min-height: 420px; display: flex; align-items: flex-end; }
.page-hero .photo-card::after {
  background: linear-gradient(180deg, rgba(36, 26, 24, 0.05) 20%, rgba(36, 26, 24, 0.78) 100%);
}
.page-hero__copy { padding: 48px 56px; max-width: 760px; }
.page-hero__copy h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; }
.page-hero__copy p { margin-top: 12px; font-size: 20px; max-width: 44ch; }

.prose { max-width: 68ch; margin: 0 auto; font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 32px; font-weight: 800; }
.prose .opener { font-size: 26px; font-weight: 700; line-height: 1.35; }
.prose blockquote {
  margin: 1.8em 0; padding: 0;
  font-size: 26px; font-weight: 600; line-height: 1.4; color: var(--rose-deep);
}
.prose blockquote footer { margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--ink-soft); }
.prose figure { margin: 2.4em 0; }
.prose figure img { border-radius: var(--radius-md); width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* Shop */
.shop {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: start;
}
.shop__gallery { border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.shop__gallery img { width: 100%; }
.shop__info h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; }
.shop__brand { margin-top: 8px; color: var(--ink-soft); }
.shop__info .price { display: block; margin: 22px 0 6px; font-size: 26px; }
.shop__desc { margin: 18px 0 26px; font-size: 18px; max-width: 46ch; }

.buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qty {
  display: inline-flex; align-items: center;
  border: 2px solid var(--cord); border-radius: var(--radius-sm);
}
.qty button {
  width: 44px; height: 46px; border: 0; background: none;
  font: 600 22px var(--sans); color: var(--earth); cursor: pointer;
}
.qty input {
  width: 48px; height: 46px; border: 0; text-align: center;
  font: 600 17px var(--sans); color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop .notice { color: var(--rose-deep); font-weight: 600; }

.details { margin-top: 36px; border-top: 2px solid var(--cord); }
.details div {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--cord);
}
.details dt { font-weight: 700; }
.details dd { margin: 0; color: var(--ink-soft); }

.uses { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { background: var(--mist); border-radius: var(--radius-md); padding: 24px; }
.use h3 { font-size: 18px; font-weight: 700; }
.use p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* Sustainability */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split + .split { margin-top: 80px; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; }
.split p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); max-width: 50ch; }
.split--flip img { order: 2; }
.split--feature { grid-template-columns: 1.7fr 1fr; }
.split--feature img { aspect-ratio: auto; }
.split--feature .btn { margin-top: 28px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; }
.contact__intro p { margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea {
  width: 100%; padding: 13px 14px;
  border: 2px solid var(--cord); border-radius: var(--radius-sm);
  font: 16px var(--sans); color: var(--ink); background: var(--white);
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--rose); outline: none; }
.form .btn { justify-self: start; }
.form .notice { color: var(--rose-deep); font-weight: 600; }

/* Credits */
.credits { max-width: 80ch; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 14px; }
.credits li { padding: 16px 20px; background: var(--mist); border-radius: var(--radius-sm); font-size: 16px; }
.credits .muted { color: var(--ink-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hero { grid-template-columns: 1fr; }
  .hero__side { flex-direction: row; }
  .hero__side-copy { flex: 1.2; }
  .hero__side img { flex: 1; }
  .product-row { grid-template-columns: 1fr; }
  .uses { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-header__inner { grid-template-columns: 1fr auto; padding: 10px var(--gutter); }
  .menu-btn { display: inline-grid; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .nav {
    display: none;
    grid-column: 1 / -1; grid-row: 2;
    flex-direction: column; gap: 0;
    padding-bottom: 8px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--cord); font-size: 18px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--cord); color: var(--rose-deep); font-weight: 600; }

  .section { padding: 72px 0; }
  /* On phones the photo sits above the headline instead of behind it */
  .hero__main { display: block; min-height: 0; background: var(--mist); }
  .hero__main > img { position: static; height: 260px; }
  .hero__main::after { content: none; }
  .hero__copy { padding: 28px 24px 32px; }
  .hero__side { flex-direction: column; }
  .tiles, .duo, .steps { grid-template-columns: 1fr; }
  .band { min-height: 720px; align-content: start; padding-top: 72px; }
  .band__text, .band__cta { left: 24px; right: 24px; }
  .band__text { bottom: 112px; }
  .band__cta { bottom: 40px; }
  .product-card { grid-template-columns: 1fr; }
  .product-card__img img { aspect-ratio: 4 / 3; }
  .shop, .split, .contact { grid-template-columns: 1fr; gap: 32px; }
  .split--flip img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .page-hero__copy { padding: 32px 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo__name { font-size: 16px; }
  .logo__mark { width: 38px; }
  .hero__sub { font-size: 18px; }
  .facts, .uses { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer__inner { padding: 56px var(--gutter) 40px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .prose { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .btn { transition: none; }
}
