/* =========================================================
   Bettanetworx :: Executive minimal
   Typography: Cormorant Garamond (display) + Inter (body)
   ========================================================= */

:root {
  --bg:        #faf7f1;   /* warm ivory page */
  --bg-paper:  #fdfbf5;   /* lighter panel */
  --bg-deep:   #0e1626;   /* deep ink for inverted sections */
  --ink:       #0e1626;
  --ink-soft:  #2a3447;
  --mute:      #6c7480;
  --line:      #e2dccc;   /* warm rule */
  --line-soft: #ece5d3;
  --accent:    #8a6f3b;   /* brass, used sparingly */
  --accent-soft: #c9b07a;

  --display: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max:    1080px;
  --gutter: clamp(20px, 4vw, 48px);
  --pad-y:  clamp(72px, 11vw, 140px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: color .2s ease, border-color .2s ease;
}
a:hover { color: var(--accent); border-color: var(--accent); }
a.plain { border: 0; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.015em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600;
     letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2em; }
p { margin: 0 0 1.1em; max-width: 68ch; }
.lead {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 32em;
}

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 760px; }
.section { padding: var(--pad-y) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section.deep {
  background: var(--bg-deep);
  color: #e8e4d8;
  border-top: 0;
}
.section.deep h1, .section.deep h2, .section.deep h3 { color: #ffffff; }
.section.deep h4 { color: var(--accent-soft); }
.section.deep a { color: var(--accent-soft); border-color: rgba(201,176,122,.35); }
.section.deep a:hover { color: #fff; border-color: #fff; }
.section.deep .lead { color: #cfcbbf; }
.section.deep .rule::after { background: rgba(201,176,122,.4); }
.section.deep p { color: #cfcbbf; }

/* Eyebrow / kicker */
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1.5em;
}
.eyebrow.with-rule::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-2px);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: .005em;
  color: var(--ink);
  border: 0;
  line-height: 1;
}
.wordmark .wordmark-plane {
  width: 38px;
  height: auto;
  flex: 0 0 auto;
  transform: translateY(-1px);
}
.wordmark .wordmark-text { white-space: nowrap; }
.wordmark-inverted, .wordmark-inverted .wordmark-text { color: #ffffff; }
@media (max-width: 560px) {
  .wordmark { font-size: 1.05rem; gap: 10px; }
  .wordmark .wordmark-plane { width: 32px; }
}
.nav-primary {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: center;
  font-size: .92rem;
}
.nav-primary a {
  border: 0;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
}
.nav-primary a:hover { color: var(--ink); }
.nav-primary a.active { color: var(--ink); }
.nav-primary a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
}
.nav-cta {
  font-size: .88rem;
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Hero */
.hero {
  padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 120px);
}
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 1.4em; }
.hero-meta {
  margin-top: 3rem;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons / CTAs */
.btn {
  display: inline-block;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-link {
  border-bottom: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding-bottom: 2px;
  color: var(--ink);
}
.btn-link::after { content: " \2192"; }

/* Grids */
.grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.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)); }
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Service / pillar card */
.pillar {
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
}
.pillar .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.pillar h3 { margin-bottom: .5em; }
.pillar p { color: var(--ink-soft); }

/* Two-col content */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(40px, 7vw, 96px);
}
.split .col-side h2 { margin-bottom: 0; }
.split .col-side .label {
  display: block;
  margin-bottom: 1.4em;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Quote / pull */
.pull {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 28px;
  margin: 2em 0;
  max-width: 28ch;
}

/* Rule */
.rule {
  position: relative;
  padding-top: 28px;
  margin-top: 28px;
}
.rule::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* List */
.list-checked { list-style: none; padding: 0; margin: 1.5em 0; }
.list-checked li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.list-checked li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* Brief listing */
.brief-list { list-style: none; padding: 0; margin: 0; }
.brief-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.brief-item:last-child { border-bottom: 1px solid var(--line); }
.brief-item .meta {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.brief-item h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0;
}
.brief-item h3 a { border: 0; }
.brief-item .read { font-size: .9rem; color: var(--accent); }
@media (max-width: 720px) {
  .brief-item { grid-template-columns: 1fr; gap: 8px; }
}

/* Brief article (publishing template) */
.brief-article {
  max-width: 720px;
  margin: 0 auto;
}
.brief-article header { margin-bottom: 3em; }
.brief-article .issue {
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2em;
}
.brief-article h1 { font-size: clamp(2.2rem, 4vw, 3rem); max-width: 22ch; }
.brief-article .deck {
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 32em;
  margin-top: .8em;
}
.brief-article h2 {
  font-size: 1.6rem;
  margin-top: 2.4em;
  margin-bottom: .6em;
}
.brief-article h3 {
  font-size: 1.15rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-top: 2em;
}
.brief-article p, .brief-article li { font-size: 1.05rem; color: var(--ink); }
.brief-article ul { padding-left: 1.2em; }
.brief-article li { margin: .4em 0; }
.brief-article .byline {
  font-size: .85rem;
  color: var(--mute);
  margin-top: 4em;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
}

/* Forms */
.form { display: grid; gap: 22px; max-width: 560px; }
.form label {
  display: block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.form input, .form textarea, .form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  transition: border-color .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .submit-row { margin-top: 6px; }

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: #cfcbbf;
  padding: clamp(56px, 8vw, 96px) 0 36px;
  margin-top: 0;
}
.site-footer .row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 720px) { .site-footer .row { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--accent-soft);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-footer a {
  color: #cfcbbf;
  border: 0;
  display: block;
  padding: 4px 0;
  font-size: .95rem;
}
.site-footer a:hover { color: #fff; }
.site-footer .tag {
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.45;
  color: #cfcbbf;
  margin-top: 14px;
  max-width: 30em;
}
.site-footer .bottom {
  border-top: 1px solid rgba(201,176,122,.18);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: #8a8678;
  flex-wrap: wrap;
  gap: 12px;
}

/* Utility */
.muted { color: var(--mute); }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

@media print {
  .site-header, .site-footer, .nav-primary, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================
   Visual engagement layer (added in refresh)
   ========================================================= */

/* Hero with illustration */
.hero-illustrated {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(56px, 9vw, 100px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}
.hero-text h1 { max-width: 14ch; }
.hero-art { position: relative; max-width: 380px; margin-left: auto; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .hero-lead-plane {
  transform-origin: 200px 160px;
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-4px, -10px) rotate(-1.2deg); }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art  { max-width: 220px; margin: 0 0 12px; order: -1; }
}

/* Yellow underline highlight on inline phrases */
.hl-yellow {
  background-image: linear-gradient(transparent 62%, rgba(241,201,62,0.55) 62%, rgba(241,201,62,0.55) 92%, transparent 92%);
  padding: 0 0.04em;
}
.section.deep .hl-yellow { color: #ffffff; }

/* Claim band: three editorial statements */
.claim-band {
  background: var(--bg-paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 9vw, 110px) 0;
}
.claim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}
.claim .claim-no {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.claim p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}
@media (max-width: 820px) {
  .claim-grid { grid-template-columns: 1fr; }
  .claim p { max-width: none; }
}

/* Editorial pull-quote band */
.quote-band {
  background: var(--bg-paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 10vw, 130px) 0;
}
.big-quote {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  text-align: center;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}
.big-quote::before, .big-quote::after {
  color: var(--accent);
  font-size: 1.3em;
  line-height: 0;
  vertical-align: -0.35em;
}
.big-quote::before { content: "\201C"; margin-right: 0.05em; }
.big-quote::after  { content: "\201D"; margin-left: 0.05em; }
.big-quote em { font-style: italic; }
.big-quote-attr {
  text-align: center;
  margin-top: 1.8em;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Stronger pull quote */
.pull {
  font-size: clamp(1.55rem, 2.9vw, 2.1rem);
  line-height: 1.3;
  border-left-width: 3px;
  max-width: 30ch;
}

/* Scroll-reveal: fade in once visible */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Yellow flourish: active nav underline + button hover */
.nav-primary a.active::after { background: #f1c93e; height: 2px; }
.btn-primary:hover { background: #f1c93e; border-color: #f1c93e; color: #0e1626; }
.btn-ghost:hover { background: #0e1626; color: #faf7f1; border-color: #0e1626; }

/* =========================================================
   Service-site layer (commercial structure)
   ========================================================= */

/* "At a glance" service list under the hero */
.hero-services {
  list-style: none;
  padding: 0;
  margin: 2.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero-services li { position: relative; padding: 4px 0; }
.hero-services li + li::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 32px;
  transform: translate(-18px, -3px);
  position: absolute; left: 0; top: 50%;
}
@media (max-width: 560px) {
  .hero-services { gap: 6px 18px; }
  .hero-services li + li::before { display: none; }
}

/* Differentiator band: replaces editorial claim band on home */
.diff-band {
  background: var(--bg-paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0;
}
.diff-band .claim { padding-top: 0; }
.diff-band .claim-no {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.diff-band .claim-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.45em;
  color: var(--ink);
}
.diff-band .claim p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0;
}

/* Engagement steps list */
.engagement-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.engagement-steps > li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.engagement-steps > li:last-child { border-bottom: 1px solid var(--line); }
.engagement-steps .step-no {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1.2;
}
.engagement-steps h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 6px;
}
.engagement-steps p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 56ch;
}
@media (max-width: 560px) {
  .engagement-steps > li { grid-template-columns: 1fr; gap: 6px; }
}
