/* Compact professional editorial homepage */

.editorial-home {
  --ink: #11263f;
  --ink-soft: #28445f;
  --muted: #6a7c8d;
  --line: #dfe7ee;
  --blue: #176fd1;
  --teal: #0d9b9a;
  --coral: #e96c5f;
  --yellow: #d8a62b;
  --paper: #ffffff;
  --soft: #f7fafc;
  background: var(--paper);
  color: var(--ink-soft);
}

.editorial-home .eh-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.editorial-home a { text-decoration: none; }
.editorial-home h1,
.editorial-home h2,
.editorial-home h3,
.editorial-home p { margin-top: 0; }

.eh-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.eh-hero-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
  padding: 54px 0 50px;
}

.eh-kicker,
.eh-section-kicker,
.eh-card-label {
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eh-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eh-kicker::before,
.eh-section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--coral);
}

.eh-hero h1 {
  max-width: 720px;
  margin: 14px 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.eh-hero-role {
  max-width: 680px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.eh-hero-copy {
  max-width: 680px;
  color: #53687b;
  font-size: .98rem;
  line-height: 1.65;
}

.eh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.eh-button,
.eh-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 750;
}

.eh-button {
  color: #fff;
  background: var(--blue);
}

.eh-button-secondary {
  color: var(--ink);
  border: 1px solid #b9c9d7;
  background: #fff;
}

.eh-profile-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.eh-profile-image {
  width: 150px;
  height: 190px;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(.94) contrast(.98);
}

.eh-profile-copy h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.eh-profile-row {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.eh-profile-row:first-of-type { border-top: 0; padding-top: 0; }
.eh-profile-row strong { display: block; color: var(--ink); font-size: .85rem; }
.eh-profile-row span { color: var(--muted); font-size: .8rem; line-height: 1.35; }

.eh-section {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.eh-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.eh-section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.eh-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -.025em;
}

.eh-section-all {
  color: var(--blue);
  font-size: .82rem;
  font-weight: 750;
}

.eh-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.eh-feature {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 22px;
  align-items: start;
  padding-top: 18px;
  border-top: 3px solid var(--teal);
}

.eh-feature.project { border-top-color: var(--blue); }

.eh-card-label { margin-bottom: 10px; }

.eh-feature h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 780;
  letter-spacing: -.02em;
}

.eh-feature p {
  color: #5e7182;
  font-size: .89rem;
  line-height: 1.55;
}

.eh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.eh-inline-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 760;
}

.eh-feature-media {
  width: 180px;
  height: 125px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.eh-work-layout {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 54px;
}

.eh-work-list { display: grid; }

.eh-work-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.eh-work-item:first-child { border-top: 0; padding-top: 0; }

.eh-work-thumb {
  width: 130px;
  height: 82px;
  object-fit: cover;
  border-radius: 2px;
}

.eh-work-item h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.eh-work-item p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.eh-work-type {
  margin-bottom: 5px;
  color: var(--teal);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eh-work-arrow { color: var(--blue); font-weight: 800; }

.eh-project-list {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.eh-project-list h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
}

.eh-project-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.eh-project-row:first-of-type { border-top: 0; }
.eh-project-row strong { display: block; color: var(--ink); font-size: .88rem; }
.eh-project-row span { color: var(--muted); font-size: .76rem; line-height: 1.35; }

.eh-now {
  background: #fff;
}

.eh-now-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.eh-now-intro,
.eh-now-item {
  min-height: 120px;
  padding: 22px 20px;
}

.eh-now-intro { padding-left: 0; }
.eh-now-item { border-left: 1px solid var(--line); }

.eh-now-intro h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.eh-now-date { color: var(--teal); font-size: .78rem; font-weight: 750; }
.eh-now-intro p,
.eh-now-item p { margin: 6px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.eh-now-item h3 { margin: 0; color: var(--ink); font-size: .86rem; }
.eh-now-accent { width: 18px; height: 2px; margin-bottom: 10px; background: var(--coral); }
.eh-now-item:nth-child(3) .eh-now-accent { background: var(--blue); }
.eh-now-item:nth-child(4) .eh-now-accent { background: var(--yellow); }
.eh-now-item:nth-child(5) .eh-now-accent { background: var(--teal); }

/* Header refinement */
.site-header {
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid #e4ebf0 !important;
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 68px !important; }
.site-brand-block { display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
.site-brand-block .site-name { color: #11263f !important; font-size: .98rem; font-weight: 800; letter-spacing: -.015em; }
.site-role { color: #718292; font-size: .57rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-navigation a { color: #314b64 !important; font-size: .8rem; font-weight: 700; }
.site-navigation a:hover { color: #176fd1 !important; }
.site-navigation .nav-appointment { padding: 8px 11px; border-radius: 5px; color: #fff !important; background: #176fd1; }
.site-navigation .nav-appointment:hover { color: #fff !important; background: #145fab; }

@media (max-width: 980px) {
  .eh-hero-grid,
  .eh-work-layout { grid-template-columns: 1fr; gap: 36px; }
  .eh-profile-panel { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .eh-feature-grid { grid-template-columns: 1fr; }
  .eh-project-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .eh-now-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-now-intro { padding-left: 20px; }
}

@media (max-width: 680px) {
  .editorial-home .eh-container { width: min(100% - 30px, 1180px); }
  .eh-hero-grid { min-height: auto; padding: 38px 0 34px; }
  .eh-hero h1 { font-size: clamp(2.25rem, 12vw, 3.2rem); }
  .eh-profile-panel { grid-template-columns: 105px 1fr; gap: 16px; }
  .eh-profile-image { width: 105px; height: 138px; }
  .eh-section { padding: 36px 0; }
  .eh-section-head { grid-template-columns: 1fr; }
  .eh-feature { grid-template-columns: 1fr; }
  .eh-feature-media { width: 100%; height: 180px; order: -1; }
  .eh-work-item { grid-template-columns: 92px 1fr; }
  .eh-work-thumb { width: 92px; height: 68px; }
  .eh-work-arrow { display: none; }
  .eh-now-grid { grid-template-columns: 1fr; }
  .eh-now-item { border-left: 0; border-top: 1px solid var(--line); }
  .site-role { display: none; }
}
