/* Adil's Style Journal -- editorial fashion look. No external fonts or files. */

:root {
  --bg: #faf6f1;
  --paper: #ffffff;
  --ink: #2b2623;
  --muted: #7a6f68;
  --line: #eadfd5;
  --accent: #b5533c;
  --accent-dark: #8f3f2b;
  --blush: #f3e3d8;
  --sand: #e8c9b8;
  --dark: #26211f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43, 38, 35, .05), 0 8px 24px rgba(43, 38, 35, .06);
  --shadow-hover: 0 2px 4px rgba(43, 38, 35, .06), 0 16px 36px rgba(43, 38, 35, .12);
  --serif: "Playfair Display", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { max-width: 100%; }

a { color: var(--accent); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--accent-dark); }

::selection { background: var(--sand); color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 241, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--accent); }

.nav { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.nav a {
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--blush); color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 88px 24px 72px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 auto 20px;
  max-width: 760px;
}

.hero h1 em { color: var(--accent); font-style: italic; }

.hero p {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 201, 184, .65), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(181, 83, 60, .16), transparent 45%);
}

.swatches { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.swatches span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow);
}

.button {
  display: inline-block;
  padding: 14px 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: var(--shadow);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- sections ---------- */

main { padding-bottom: 80px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 28px;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 48px 0 16px;
}
.section-title h2 { margin: 0; }

.page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 56px 0 10px;
}

.meta { color: var(--muted); font-size: .85rem; }

/* ---------- cards ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.card h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; margin: 8px 0 10px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0 0 14px; color: var(--muted); font-size: .97rem; line-height: 1.65; }
.card .meta { margin-top: auto; }

.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  color: rgba(255, 255, 255, .92);
  background: linear-gradient(135deg, var(--sand), var(--accent));
}
.thumb svg { width: 70px; height: 70px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2)); }
.thumb.t2 { background: linear-gradient(135deg, #cfd8c9, #5f7a63); }
.thumb.t3 { background: linear-gradient(135deg, #cbd5e3, #44546f); }
.thumb.t4 { background: linear-gradient(135deg, #f1d9c0, #c9893f); }

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feature-card { padding: 30px 28px; text-align: center; }
.feature-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--accent);
}
.feature-card .icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- article ---------- */

.article {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 48px 52px;
}

.article h1 { margin-top: 40px; }
.article h2 { margin-top: 40px; padding-top: 8px; }

.article p, .article li { color: #403a36; }
.article ol, .article ul { padding-left: 1.3em; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--accent); font-weight: 700; }

.article .lede {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 8px;
}
.article .lede::first-letter {
  float: left;
  font-size: 4.2rem;
  line-height: .85;
  padding: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 700;
}

.article-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  margin: 28px 0 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sand), var(--accent));
  color: rgba(255, 255, 255, .92);
}
.article-banner svg { width: 90px; height: 90px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .22)); }

.callout {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--blush);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---------- contact ---------- */

.contact-box {
  max-width: 560px;
  margin-top: 28px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-box p:first-child { margin-top: 0; }
.contact-box a { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark);
  color: #cbbfb6;
  font-size: .9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.site-footer a { color: #e8c9b8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 56px 20px 48px; }
  .site-header .wrap { justify-content: center; }
  .article { padding: 4px 22px 36px; border-radius: 0; border-left: 0; border-right: 0; }
  .article .lede { font-size: 1.1rem; }
  .article-banner { height: 170px; }
  .grid { gap: 22px; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
