/* Holani & Company — design system */

:root {
  --ink:        #1a1714;
  --ink-soft:   #3a342d;
  --ink-mute:   #6b6358;
  --cream:      #faf7f2;
  --cream-deep: #f1ebde;
  --paper:      #ffffff;
  --rule:       #e6dfd0;
  --rule-soft:  #efe9da;
  --accent:     #c6612e;        /* burnt sienna */
  --accent-warm:#e8a33d;        /* marigold */
  --accent-ink: #7a3a18;

  --serif: "Fraunces", "Source Serif Pro", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }

/* Typography */
.h-display {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}
h1.h-display { font-size: clamp(48px, 8vw, 104px); margin: 0 0 0.4em; }
h2.h-display { font-size: clamp(34px, 4.5vw, 56px); margin: 0 0 0.4em; }
h3.h-display { font-size: clamp(24px, 2.5vw, 32px); margin: 0 0 0.4em; font-weight: 500; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 1.6em;
}
p { margin: 0 0 1em; }
p a { border-bottom: 1px solid var(--rule); transition: border-color .15s ease; }
p a:hover { border-color: var(--accent); }
em { font-style: italic; }
strong { font-weight: 600; }
hr { border: none; border-top: 1px solid var(--rule); margin: 64px 0; }

/* Wrap */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* Nav */
nav.top {
  border-bottom: 1px solid var(--rule);
  background: rgba(250,247,242,0.9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
nav.top .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); max-width: var(--maxw); margin: 0 auto;
}
nav.top .brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
nav.top .brand .dot { color: var(--accent); }
nav.top .links { display: flex; gap: 28px; }
nav.top .links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .15s ease;
}
nav.top .links a:hover { color: var(--accent); }
nav.top .links a.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 999px;
}
nav.top .links a.cta:hover { background: var(--accent-ink); color: var(--cream); }
@media (max-width: 640px) {
  nav.top .links { gap: 16px; }
  nav.top .links a:not(.cta) { display: none; }
}

/* Sections */
section { padding: 96px 0; }
section.short { padding: 64px 0; }
section.alt { background: var(--cream-deep); }

/* Hero */
.hero {
  padding: 96px 0 80px;
  position: relative;
}
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper);
  margin-bottom: 32px;
}
.hero .tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  box-shadow: 0 0 0 0 rgba(198,97,46,0.4);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198,97,46,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(198,97,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,97,46,0); }
}
.hero .sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 580px;
}
.hero .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--ink);
  transition: all .15s ease;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
  margin-top: 64px;
}
.stat { padding: 0 24px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
.stat .n {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat .l {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px; border-right: none; border-bottom: 1px solid var(--rule); }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* Two col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Case study cards */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.case {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.case:hover { transform: translateY(-3px); border-color: var(--ink-mute); box-shadow: 0 12px 32px rgba(26,23,20,0.06); }
.case .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.case .client {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.case .what { color: var(--ink-soft); margin-bottom: 24px; }
.case .meta {
  display: flex; gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
}
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }

/* Pull quote */
.pull {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin: 64px 0;
  max-width: 880px;
}
.pull .who {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Lists with custom marker */
ul.crafted { list-style: none; padding: 0; margin: 0 0 24px; }
ul.crafted li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
ul.crafted li:before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 1px;
  background: var(--accent);
}

/* Careers: JD card */
.jd {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 56px;
  margin-top: 48px;
}
.jd h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
}
.jd h3:first-of-type { margin-top: 0; }
.jd .meta-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.jd .meta-row .item .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.jd .meta-row .item .v {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
@media (max-width: 640px) {
  .jd { padding: 32px 24px; }
}

/* Footer */
footer.foot {
  border-top: 1px solid var(--rule);
  padding: 56px 0 40px;
  background: var(--cream-deep);
  margin-top: 96px;
}
footer.foot .row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
footer.foot .brand {
  font-family: var(--serif);
  font-size: 20px;
}
footer.foot .links { display: flex; gap: 28px; }
footer.foot .links a {
  font-size: 14px;
  color: var(--ink-mute);
}
footer.foot .links a:hover { color: var(--accent); }
footer.foot .legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-mute);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* Decoration: subtle hand-drawn vibe via SVG accent */
.swoosh {
  position: absolute; right: -40px; top: 40px;
  width: 280px; opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 720px) { .swoosh { display: none; } }

/* Anchor offset for sticky nav */
:target { scroll-margin-top: 100px; }
