:root {
  --wine: #4b1020;
  --wine-2: #6a1a31;
  --gold: #d4af37;
  --ivory: #fbf7f2;
  --ivory-2: #f6efe4;
  --ink: #0b1b2b;
  --muted: #5a6776;
  --card: #ffffff;
  --border: #eadfce;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(16, 10, 22, 0.08);
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; margin: 0 0 .75rem; }
img { max-width: 100%; display: block; }
a { color: var(--wine-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--wine); color: #fff; padding: .75rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 3.25rem 0; }
.section-tight { padding-top: 0; }
.section-subtle { background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(246,239,228,.62)); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-heading-stack { display: grid; gap: .35rem; }
.section-heading-stack.compact { gap: .28rem; }
.section-eyebrow, .footer-heading { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9f7a3d; font-weight: 700; }
.section-divider { width: 74px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(212,175,55,.9), rgba(212,175,55,.15)); box-shadow: 0 0 10px rgba(212,175,55,.26); }
.section-header { display: flex; justify-content: space-between; gap: 1rem; align-items: end; flex-wrap: wrap; }
.section-link { font-weight: 600; transition: color .2s ease; }
.section-link:hover { color: #8f6f3d; text-decoration: none; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wine-2); font-weight: 700; margin-bottom: .6rem; }
.lead { font-size: 1.1rem; color: #213548; max-width: 70ch; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.2rem; border-radius: 999px; font-weight: 600; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--wine), var(--wine-2)); color: #fff; box-shadow: 0 8px 20px rgba(75, 16, 32, .28); }
.btn-primary:hover { border-color: rgba(212,175,55,.85); box-shadow: 0 10px 24px rgba(75, 16, 32, .36), 0 0 0 1px rgba(212,175,55,.45) inset; }
.btn-secondary { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-secondary:hover { border-color: rgba(246,215,130,.9); box-shadow: 0 0 0 1px rgba(246,215,130,.4) inset; }
.btn-outline { border-color: var(--wine-2); color: var(--wine-2); background: #fff; }
.btn-outline:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212,175,55,.35) inset; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(16,10,22,.11); border-color: rgba(212,175,55,.75); }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(251,247,242,.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.logo { font-family: "Playfair Display", Georgia, serif; color: var(--wine); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2rem); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.2rem; color: var(--wine); }
.nav-list { list-style: none; display: flex; gap: .9rem; margin: 0; padding: 0; align-items: center; }
.nav-link { padding: .45rem .75rem; border-radius: 999px; color: var(--ink); font-weight: 500; border: 1px solid transparent; }
.nav-link:hover, .nav-link[aria-current="page"] { background: #f0e4d7; text-decoration: none; color: var(--wine); border-color: rgba(212,175,55,.45); }
.cta-strip { background: linear-gradient(120deg, #4b1020, #65263d 55%, #8c5d2b); color: #fff; border-radius: var(--radius); padding: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer { background: #120915; color: #e8dde1; margin-top: 3rem; padding: .9rem 0 .7rem; }
.footer a { color: #f1d77e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; align-items: start; }
.footer-brandline { margin: 0; color: #c9b8bf; max-width: 54ch; }
.footer-social { display: flex; gap: .6rem; justify-content: flex-start; margin-top: .1rem; }
.footer-icon { display: inline-flex; align-items: center; gap: .3rem; }
.footer-copy { margin-top: .35rem; color: rgba(143, 116, 28, 0.801)}

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.chip { padding: .35rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; }
.chip.active, .chip:hover { background: #f2e1cb; border-color: #dbc8a7; }
.tag { font-size: .78rem; border-radius: 999px; background: #f4e9dc; padding: .2rem .55rem; display: inline-block; margin-right: .3rem; }
.timeline { border-left: 2px solid #d8c0a2; margin-left: .5rem; padding-left: 1.2rem; }
.timeline article { margin-bottom: 1rem; }
form { display: grid; gap: .8rem; }
input, textarea { width: 100%; padding: .75rem .85rem; border-radius: 12px; border: 1px solid #cfc3b1; font: inherit; }
input:focus, textarea:focus, button:focus, a:focus { outline: 3px solid rgba(212,175,55,.45); outline-offset: 2px; }
.post-meta { display: flex; gap: 1rem; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.toc { position: sticky; top: 100px; }
.arch-diagram { border: 1px dashed #bba57d; border-radius: 14px; padding: 1rem; background: #fffdf9; }
.arch-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; text-align: center; }
.arch-box { border: 1px solid #d7c3a2; border-radius: 10px; padding: .7rem; background: #fff; }
.reveal { opacity: 0; transform: translateY(18px); transition: .45s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 920px) { .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; inset: 0 0 0 25%; background: #fff; transform: translateX(100%); transition: transform .25s ease; padding: 1rem; box-shadow: -6px 0 20px rgba(0,0,0,.12); }
  .nav-menu.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; padding-top: 2rem; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }
/* 2) About page improvements */
.about-header {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.2rem;
}

.about-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin: 0;
}

.about-subtitle {
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8f6f3d; /* muted gold */
  margin-top: -.35rem;
  margin-bottom: .2rem;
}

.about-cards { margin-top: 1.2rem; }
.card-title { margin-bottom: .6rem; }

.values-list { margin: 0; padding-left: 1.1rem; }
.values-list li { margin-bottom: .45rem; }

.story-highlight {
  font-weight: 600;
  color: var(--wine);
  margin-top: .75rem;
}

/* Highlights: make it look modern, not like a pasted list */
.about-highlights { margin-top: 1.4rem; }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.4rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights-grid li {
  position: relative;
  padding-left: 1.2rem;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .75rem .9rem .75rem 2.1rem;
  box-shadow: var(--shadow);
}

.highlights-grid li::before {
  content: "•";
  position: absolute;
  left: .9rem;
  top: .72rem;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

/* How I work: make it feel like a framework */
.how-i-work.timeline { border-left: 2px solid rgba(212,175,55,.45); }
.how-i-work.timeline article {
  margin-bottom: 1rem;
  padding-left: .8rem;
}

.how-i-work.timeline h3 { margin-bottom: .2rem; }
.how-i-work.timeline p { margin: 0; color: var(--muted); }

/* 3) Small utility: soft HR (if you don't already have it) */
hr.soft {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234,223,206,.9), transparent);
  margin: 2rem 0;
}

/* 4) Responsive fixes for About */
@media (max-width: 760px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

/* /css/site.css  (ADD THIS BLOCK AT THE END) */

.expertise-grid { align-items: stretch; }

.expertise-card {
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: var(--radius);
}

.expertise-title {
  font-size: 1.55rem;
  margin-bottom: .55rem;
}

.expertise-lead {
  margin: 0 0 1.05rem;
  color: #213548;
  max-width: 48ch;
}

.expertise-subhead {
  margin: 0 0 .55rem;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8f6f3d; /* muted gold */
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

.expertise-list {
  margin: 0;
  padding-left: 1.1rem;
}

.expertise-list li { margin-bottom: .45rem; }

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.expertise-bottom { margin-top: 1.2rem; }

.list-clean {
  list-style: none;
  padding: 0;
  margin: .65rem 0 0;
}

.list-clean li { margin-bottom: .35rem; }

@media (max-width: 920px) {
  .expertise-title { font-size: 1.45rem; }
}
