/* ===== Salt & Skin — base styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Cormorant+Garamond:wght@400;500&display=swap');

:root {
  --bg: #f6f4f0;
  --bg-alt: #ffffff;
  --ink: #1c1c1a;
  --muted: #7c7468;
  --line: #e3ddd3;
  --sand: #c4a882;
  --sand-dark: #a8896a;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-weight: 400; letter-spacing: 0.5px; }

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

/* ===== Header / Nav ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,244,240,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-size: 22px; letter-spacing: 4px; text-transform: uppercase; font-weight: 400;
}
.brand span { color: var(--sand-dark); }
.menu { display: flex; gap: 38px; list-style: none; }
.menu a {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  transition: color .25s;
}
.menu a:hover, .menu a.active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 15px 40px;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; transition: all .3s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-fill { background: var(--ink); color: var(--bg); }
.btn-fill:hover { background: var(--sand-dark); border-color: var(--sand-dark); }

/* ===== Hero ===== */
.hero {
  min-height: 78vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #ece6dc 0%, #d9cfc0 100%);
}
.hero-inner { max-width: 620px; }
.hero .eyebrow { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin-bottom: 26px; }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 38px; max-width: 460px; }

/* ===== Sections ===== */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-head .eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 17px; }

.alt { background: var(--bg-alt); }

/* ===== Feature row ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.feature { text-align: center; }
.feature .ico {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  border: 1px solid var(--sand); display: flex; align-items: center; justify-content: center;
  color: var(--sand-dark); font-size: 22px;
}
.feature h3 { font-size: 19px; letter-spacing: 1px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== Product grid ===== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.product { background: var(--bg-alt); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.product .thumb {
  aspect-ratio: 4/5; display: flex; align-items: flex-end; justify-content: center;
  padding: 28px; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 26px;
  letter-spacing: 1px;
}
.p1 .thumb { background: linear-gradient(160deg, #b9c9c4, #8ba39c); }
.p2 .thumb { background: linear-gradient(160deg, #d7c3a8, #b89a73); }
.p3 .thumb { background: linear-gradient(160deg, #cdbcc9, #9c8597); }
.product .info { padding: 26px 24px 30px; text-align: center; }
.product .info h3 { font-size: 20px; letter-spacing: 1px; margin-bottom: 6px; }
.product .info .cat { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 14px; }
.product .info .desc { font-size: 14px; color: var(--muted); margin-bottom: 18px; min-height: 48px; }
.product .info .price { font-size: 22px; margin-bottom: 20px; }

/* ===== Split / About ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.split .media { min-height: 480px; background: linear-gradient(160deg, #d9cfc0, #b9c9c4); }
.split .copy { padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.split .copy .eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 16px; }
.split .copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 22px; }
.split .copy p { color: var(--muted); margin-bottom: 18px; }

/* ===== Forms ===== */
.form { max-width: 620px; margin: 0 auto; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg-alt);
  font-family: inherit; font-size: 15px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); }
.field textarea { resize: vertical; min-height: 120px; }
.note { font-size: 14px; color: var(--muted); background: #efe9df; border-left: 3px solid var(--sand); padding: 14px 18px; margin-bottom: 26px; }

.flash { max-width: 620px; margin: 0 auto 30px; padding: 16px 20px; text-align: center; letter-spacing: .5px; }
.flash.ok { background: #e4ede4; border: 1px solid #b6cdb6; color: #3c5a3c; }
.flash.err { background: #f0e0df; border: 1px solid #d6b3b0; color: #7a3b37; }

/* ===== Contact info ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-info p { color: var(--muted); margin-bottom: 22px; }
.contact-info .line { margin-bottom: 18px; }
.contact-info .line span { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 4px; }

/* ===== Footer ===== */
footer { background: var(--ink); color: #d8d2c8; padding: 64px 0 32px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot .brand { color: #fff; margin-bottom: 16px; display: inline-block; }
.foot p { color: #9b9387; font-size: 14px; max-width: 320px; }
.foot h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 400; }
.foot ul { list-style: none; }
.foot ul li { margin-bottom: 10px; }
.foot ul a { font-size: 14px; color: #9b9387; transition: color .2s; }
.foot ul a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #34322d; padding-top: 24px; text-align: center; font-size: 12px; letter-spacing: 1px; color: #7d766b; }

/* ===== Page hero (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, #ece6dc, #d9cfc0); padding: 80px 0; text-align: center; }
.page-hero .eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; gap: 0; padding: 12px 32px 24px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .menu.open { display: flex; }
  .menu li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .features, .products { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; }
  .split .media { min-height: 300px; }
  .split .copy { padding: 56px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .foot { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 0; }
}
