/* Institute Gorbach Ltd — consumer intelligence / second-opinion consultancy
   Palette: warm slate + deep green + brass. Editorial, trust-driven.
   Deliberately distinct from the IT site (serif headings, warm neutrals). */
:root {
  --ink: #1c2620;
  --green-900: #10241b;
  --green-800: #16362a;
  --green-700: #1f4a39;
  --brass: #b8894b;
  --brass-dark: #9a6f38;
  --slate: #47534c;
  --mute: #7d8880;
  --line: #e4e1d8;
  --paper: #faf8f3;
  --paper-2: #f2efe7;
  --card: #ffffff;
  --radius: 12px;
  --wrap: 1120px;
  --shadow: 0 20px 50px -26px rgba(16, 36, 27, .4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  line-height: 1.22; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em;
}
p { margin: 0 0 1.15em; color: var(--slate); }
a { color: var(--brass-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass-dark); margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand .crest {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  border: 1.5px solid var(--brass);
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  display: grid; place-items: center; color: var(--brass); font-family: Georgia, serif; font-weight: 700; font-size: 19px;
}
.brand .name { font-family: Georgia, serif; font-size: 18px; font-weight: 600; }
.brand .name small { display: block; font-family: "Segoe UI", system-ui, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--slate); font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 7px; }
.menu a:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.nav-cta { color: #fff !important; background: var(--green-800); padding: 9px 18px !important; border-radius: 7px; }
.nav-cta:hover { background: var(--green-700); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 84px 24px 88px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); color: var(--green-900); }
.hero .lead { font-size: 18.5px; color: var(--slate); max-width: 40ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-block; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 9px; cursor: pointer; border: 1px solid transparent; transition: transform .12s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-ghost { background: transparent; color: var(--green-800); border-color: rgba(31,74,57,.3); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-dark); }

.hero-quote {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 34px 32px; box-shadow: var(--shadow);
}
.hero-quote::before { content: "\201C"; position: absolute; top: 4px; left: 20px; font-family: Georgia, serif; font-size: 84px; color: var(--brass); opacity: .35; line-height: 1; }
.hero-quote p { font-family: Georgia, serif; font-size: 21px; font-style: italic; color: var(--green-900); position: relative; margin: 14px 0 18px; }
.hero-quote .by { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
section.dark { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: #dce7e0; }
section.dark h2 { color: #fff; }
section.dark p { color: #b6c7bd; }
section.dark .eyebrow { color: var(--brass); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(27px, 3.1vw, 40px); }
.section-head p { font-size: 17px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* numbered activity list */
.activities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; counter-reset: act; }
.act { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.act .n {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--brass); color: var(--brass-dark);
  font-weight: 700; font-size: 14px; display: grid; place-items: center; font-family: Georgia, serif;
}
.act h3 { font-family: "Segoe UI", system-ui, sans-serif; font-size: 15.5px; margin: 3px 0 2px; }
.act p { font-size: 14px; margin: 0; }
section.dark .act { border-bottom-color: rgba(255,255,255,.12); }
section.dark .act .n { background: rgba(255,255,255,.06); }
section.dark .act h3 { color: #fff; }

/* process / sequence */
.sequence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; box-shadow: 0 12px 34px -26px rgba(16,36,27,.5); }
.step .num { font-family: Georgia, serif; font-size: 30px; color: var(--brass); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; margin: 0; }
.step:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--brass); font-size: 22px; z-index: 2;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info .line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info .line:last-child { border-bottom: 0; }
.contact-info .ic { color: var(--brass-dark); font-size: 18px; width: 24px; flex: 0 0 auto; }
.contact-info .k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.contact-info .val { font-weight: 600; color: var(--ink); }
form.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8d2c4; border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink); background: #fdfcf9; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,137,75,.18); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #9db0a6; }
.site-footer .wrap { padding: 48px 24px 30px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: start; }
.foot-brand { color: #fff; font-family: Georgia, serif; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-cols h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.foot-cols a, .foot-cols p { color: #9db0a6; font-size: 14px; display: block; margin: 6px 0; }
.foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; padding: 58px 24px 62px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .activities { grid-template-columns: 1fr; }
  .sequence { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .step:not(:last-child)::after { display: none; }
  .menu { display: none; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); gap: 2px; }
  .menu.open a { padding: 12px 14px; }
  .menu-toggle { display: block; }
  section { padding: 62px 0; }
}
@media (max-width: 560px) { .sequence { grid-template-columns: 1fr; } }
