/* Lubin Akala Design — site styles
   Palette: logo black and white, warm ivory, brass whisper. No frameworks. */

:root {
  --ivory: #FAF7F1;
  --ivory-deep: #F3EEE4;
  --ink: #2A2520;
  --ink-soft: #5C554B;
  --black: #0B0B0B;
  --brass: #A98B54;
  --brass-dark: #8A6F42;
  --taupe: #8A7B68;
  --line: #E7DFD3;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brass-dark); text-decoration: none; }
a:hover { color: var(--brass); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 1px solid #232323;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.nav-toggle { color: var(--white); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #CFC8BA; }
.nav a:hover, .nav a.active { color: var(--white); }
.btn {
  display: inline-block; font-family: var(--sans); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; padding: 14px 32px; border: 1px solid var(--black);
  background: var(--black); color: var(--white); border-radius: var(--radius);
  cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: #2E2E2E; border-color: #2E2E2E; color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--white); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 82vh; display: flex; align-items: center;
  background-size: cover; background-position: center; color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(30,25,18,.62), rgba(30,25,18,.28));
}
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; width: 100%; }
.hero-eyebrow { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: #E9DCC3; margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); color: var(--white); max-width: 12ch; margin-bottom: 20px; }
.hero p { font-size: 19px; max-width: 52ch; color: #F1EAE0; margin-bottom: 34px; font-weight: 300; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--ivory-deep); }
.eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; font-weight: 300; }
.center { text-align: center; }
.center .lede { margin: 0 auto; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; display: flex; flex-direction: column;
}
.card h3 { font-size: 27px; margin-bottom: 12px; }
.card .card-tag { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 14px; }
.card p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.card .btn { margin-top: 26px; align-self: flex-start; }
.card ul { list-style: none; margin-top: 18px; }
.card ul li { padding: 8px 0 8px 26px; position: relative; font-size: 15.5px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.portfolio-cat { margin: 56px 0 0; }
.portfolio-cat:first-of-type { margin-top: 48px; }
.portfolio-cat h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.portfolio-cat p { color: var(--ink-soft); max-width: 62ch; }
.portfolio-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; background: var(--line); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 22px 18px;
  background: linear-gradient(to top, rgba(30,25,18,.72), transparent);
  color: var(--white); font-family: var(--serif); font-size: 22px; letter-spacing: 1px;
}
.portfolio-note {
  margin-top: 26px; padding: 18px 22px; border: 1px dashed var(--brass);
  background: #FFFDF8; color: var(--ink-soft); font-size: 15px; border-radius: var(--radius);
}

/* ---------- Testimonials ---------- */
.testimonial-slider { max-width: 820px; margin: 52px auto 0; position: relative; }
.testimonial { display: none; text-align: center; padding: 0 20px; }
.testimonial.visible { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.testimonial blockquote { font-family: var(--serif); font-size: clamp(21px, 3vw, 29px); font-style: italic; color: var(--ink); line-height: 1.5; }
.testimonial .stars { color: var(--brass); letter-spacing: 6px; margin: 18px 0 8px; font-size: 15px; }
.testimonial cite { font-style: normal; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--taupe); }
.slider-dots { text-align: center; margin-top: 28px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--brass-dark);
  background: transparent; margin: 0 6px; cursor: pointer; padding: 0;
}
.slider-dots button.on { background: var(--brass-dark); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--white); text-align: center; padding: 96px 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 16px; }
.cta-band p { color: #D8CFC0; max-width: 56ch; margin: 0 auto 34px; font-weight: 300; font-size: 18px; }

/* ---------- Split (about/contact) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); }
.split h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.fact-list { list-style: none; margin: 26px 0; }
.fact-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.fact-list strong { font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-top: 52px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.contact-card h3 { font-size: 24px; margin-bottom: 20px; }
.contact-row { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.contact-row .label { min-width: 92px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--brass-dark); }
.form label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 8px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 16px; background: var(--white); color: var(--ink);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 24px; border: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #CFC5B4; padding: 72px 0 34px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; max-width: var(--maxw); margin: 0 auto 48px; padding: 0 24px; }
.site-footer h4 { color: var(--white); font-size: 22px; margin-bottom: 16px; letter-spacing: 1px; }
.site-footer a { color: #CFC5B4; }
.site-footer a:hover { color: var(--white); }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { max-width: 200px; height: auto; }
.footer-bottom { border-top: 1px solid #453D31; padding-top: 26px; text-align: center; font-size: 13px; color: #9A8E7B; max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .card-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; align-items: flex-start;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line); gap: 18px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { min-height: 72vh; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--ivory-deep); border-bottom: 1px solid var(--line); padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 16px; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 26px; }
.product-desc { font-size: 15px; color: var(--ink-soft); flex: 1; }
.price { font-family: var(--serif); font-size: 24px; color: var(--brass-dark); }
.price s { color: var(--ink-soft); font-size: 18px; margin-right: 6px; }
.price-note { font-family: var(--sans); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }
.launch-badge { display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; background: var(--brass); color: #fff; padding: 4px 12px; border-radius: 999px; margin-right: 8px; vertical-align: middle; }
.product-body .btn { text-align: center; margin-top: 6px; }
.shop-note { text-align: center; max-width: 640px; margin: 0 auto; padding: 48px 0 8px; }
.shop-note h2 { font-size: 32px; margin-bottom: 14px; }
.shop-note p { color: var(--ink-soft); margin-bottom: 20px; }
.sizing-guide { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.sizing-guide h2 { font-size: 36px; margin-bottom: 12px; }
.sizing-guide p { color: var(--ink-soft); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.sizing-guide img { width: 100%; border-radius: var(--radius); }
.fine-print { font-size: 13px; color: var(--taupe); margin-top: 24px; }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
}
