/* ===========================================================
   Aarna Weaves — Premium editorial design system
   Palette inspired by the brand mark: ink black, ivory, champagne gold
   =========================================================== */

:root {
  --ink: #14130f;          /* near-black, warm */
  --ink-2: #232019;
  --gold: #b6914f;         /* champagne gold accent */
  --gold-deep: #93753c;
  --cream: #faf7f1;        /* warm ivory background */
  --cream-2: #f1ecdf;
  --paper: #ffffff;
  --line: #e7e1d3;
  --text: #2b2924;
  --muted: #6f6a5e;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 18px 50px rgba(20, 19, 15, 0.10);
  --shadow-sm: 0 6px 20px rgba(20, 19, 15, 0.07);
  --maxw: 1180px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: .01em;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1.1rem; color: var(--muted); }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--cream-2); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.65); }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 680px; font-weight: 300; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .74rem; font-weight: 600;
  color: var(--gold-deep); margin-bottom: .9rem; display: inline-block; position: relative; padding-left: 36px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 1px; background: var(--gold);
}
.section--dark .eyebrow { color: var(--gold); }
.center .eyebrow { padding-left: 0; }
.center .eyebrow::before { display: none; }

.divider { width: 64px; height: 1px; background: var(--gold); margin: 22px auto; border: 0; }
.divider--left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; border-radius: var(--radius);
  font-weight: 500; font-size: .92rem; cursor: pointer; border: 1px solid transparent;
  transition: all .25s ease; text-decoration: none; letter-spacing: .12em; text-transform: uppercase;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: transparent; border-color: transparent; color: var(--gold); padding-left: 0; padding-right: 0; }
.btn--light:hover { background: transparent; border-color: transparent; color: #fff; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80; background: rgba(250, 247, 241, .92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
/* Tracking eased from .26em so the longer tagline keeps the header's original width. */
.brand .brand-text small { font-size: .58rem; font-weight: 500; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-weight: 500; padding: 10px 18px; font-size: .86rem;
  letter-spacing: .14em; text-transform: uppercase; position: relative;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.btn--primary,
.nav-links a.btn--primary:hover,
.nav-links a.btn--primary.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 1px; background: var(--gold);
}
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, #2a271e 60%, var(--ink) 100%);
  color: #fff; padding: 130px 0 132px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image:
    repeating-linear-gradient(115deg, transparent, transparent 38px, rgba(182,145,79,.5) 38px, rgba(182,145,79,.5) 39px),
    repeating-linear-gradient(25deg, transparent, transparent 38px, rgba(255,255,255,.35) 38px, rgba(255,255,255,.35) 39px);
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold); }
/* Wide enough to hold the two intended lines (see the <br> in the hero h1) with
   headroom for font fallback. On narrow screens the second line wraps naturally. */
.hero h1 { color: #fff; max-width: 34ch; margin-left: auto; margin-right: auto; }
.hero p { color: rgba(255,255,255,.72); font-size: 1.22rem; max-width: 62ch; margin-left: auto; margin-right: auto; font-weight: 300; }
.hero .btn-row { margin-top: 34px; justify-content: center; }
.hero .divider { background: var(--gold); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 14px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 600; color: var(--ink); line-height: 1; }
.stat .lbl { font-size: .8rem; color: var(--muted); margin-top: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: 0; font-size: .97rem; }
.card .icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--cream-2); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 20px; color: var(--gold-deep);
}

.product-card { overflow: hidden; padding: 0; }
.product-card .swatch {
  height: 210px; position: relative; background: linear-gradient(135deg, var(--ink), #3a3528);
  display: grid; place-items: center; overflow: hidden;
}
a.swatch { text-decoration: none; color: inherit; }
.product-card .swatch img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.product-card:hover .swatch img { transform: scale(1.05); }
.product-card .swatch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(28,26,20,.05) 0%, rgba(28,26,20,.62) 100%);
}
.product-card .swatch span {
  position: relative; z-index: 1; align-self: end; justify-self: start; padding: 0 26px 20px;
  font-family: var(--serif); font-size: 1.9rem; letter-spacing: .1em; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.product-card .pc-body { padding: 28px 30px 32px; }
.product-card h3 { margin-bottom: .35em; }
.product-card p { font-size: .95rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
/* Flex ignores the parent's text-align, so centred rows need this explicitly. */
.tag-row--center { justify-content: center; }
.tag {
  font-size: .72rem; background: var(--cream-2); color: var(--ink); padding: 6px 13px; border-radius: 20px;
  font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line);
}
a.tag { text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
a.tag:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media {
  position: relative; border-radius: var(--radius-lg); min-height: 380px; overflow: hidden;
  background: linear-gradient(150deg, var(--ink), #3a3528);
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.split .media img { height: 92px; width: auto; opacity: .92; filter: brightness(0) invert(1); }
/* Photo treatment — fills the block edge to edge instead of the centred logo mark. */
.split .media--swatch, .split .media--photo { background: none; box-shadow: var(--shadow); }
.split .media--swatch img, .split .media--photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: none; }
.split .media--swatch::after, .split .media--photo::after { inset: 0; border-color: rgba(182,145,79,.55); }
.split .media::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(182,145,79,.45); pointer-events: none;
}
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--text); }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 1px; background: var(--gold);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--ink), #2c2920); color: #fff; border-radius: var(--radius-lg);
  padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: repeating-linear-gradient(120deg, transparent, transparent 34px, var(--gold) 34px, var(--gold) 35px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.68); max-width: 58ch; margin-left: auto; margin-right: auto; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .8rem; color: var(--ink); letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit;
  font-size: .98rem; color: var(--text); background: var(--paper); transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-note.is-info { color: var(--muted); }
.form-note.is-success { color: #2f6b45; font-weight: 500; }
.form-note.is-error { color: #a53b2a; font-weight: 500; }
button[type="submit"][disabled] { opacity: .6; cursor: progress; }

/* Spam honeypot — hidden from people, still reachable by bots. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

/* ---------- Contact info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.info-list .ico {
  font-size: 1.1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2);
  border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--gold-deep);
}
.info-list strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.info-list span { color: var(--muted); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item h3 { margin-bottom: .4em; font-size: 1.18rem; }
.faq-item p { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .22em; margin-bottom: 20px; font-weight: 600; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; font-size: .94rem; }
.footer-brand .brand img { height: 54px; filter: brightness(0) invert(1); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.5); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .92rem; margin-top: 18px; max-width: 38ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.42);
  letter-spacing: .04em;
}

/* ---------- Misc ---------- */
.page-head {
  background: linear-gradient(150deg, var(--ink), #2c2920); border-bottom: 1px solid var(--line);
  padding: 80px 0 76px; color: #fff; text-align: center;
}
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head p { max-width: 64ch; margin: 0 auto; color: rgba(255,255,255,.66); font-weight: 300; font-size: 1.1rem; }
.page-head .eyebrow { color: var(--gold); }

.badge-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 12px; }
.badge {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 24px;
  font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); font-size: .88rem; letter-spacing: .06em;
}
.notice { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: .9rem; color: var(--muted); }

/* ---------- Responsive ---------- */
/* Brand block (286px) + nav links (799px) need ~1085px of container. Below this
   the tagline would collide with the links, so the brand name carries it alone. */
@media (max-width: 1140px) {
  .brand .brand-text small { display: none; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 86px; left: 0; right: 0; background: var(--cream); flex-direction: column;
    align-items: stretch; padding: 14px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 26px; }
  .brand .brand-text strong { font-size: 1.25rem; }
  .brand img { height: 42px; }
}
