/* ================================================================
   SERVICES PAGE — Styles specific to /services.html
   Shared sub-page chrome loaded from subpage.css
================================================================ */

@layer layout {

  /* ── Hero — Services ──────────────────────────────────────── */
  .svc-hero {
    padding: 148px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .svc-hero .hero-orb {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 102, 32, .055) 0%, transparent 65%);
    top: -260px;
    right: -200px;
    filter: blur(80px);
    pointer-events: none;
  }

  .svc-hero .dot-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(138, 102, 32, .16) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 60% 70% at 80% 30%, black 10%, transparent 100%);
  }

  .svc-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
  }

  .svc-hero h1 {
    font-family: var(--serif);
    font-size: clamp(44px, 5.5vw, 80px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.015em;
    color: var(--t-head);
    margin-bottom: 24px;
  }

  .svc-hero h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .svc-hero-sub {
    font-size: 17px;
    color: var(--t-body);
    line-height: 1.82;
    max-width: 560px;
    margin-bottom: 44px;
  }

  .svc-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: var(--gold);
    color: var(--bg);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: background .2s, transform .25s var(--ease), box-shadow .25s;
  }

  .svc-hero-cta:hover {
    background: var(--gold-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(138, 102, 32, .22);
  }

  .svc-hero-cta svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* ── Category Divider ─────────────────────────────────────── */
  .cat-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 64px 0 48px;
  }

  .cat-divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
  }

  .cat-divider-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--line-g);
    border-radius: 100px;
    padding: 6px 20px;
    background: rgba(138, 102, 32, .05);
    white-space: nowrap;
  }

  /* ── Category Intro ───────────────────────────────────────── */
  .cat-intro {
    max-width: 640px;
    margin-bottom: 56px;
  }

  .cat-intro-h {
    font-family: var(--serif);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 300;
    line-height: 1.08;
    color: var(--t-head);
    margin-bottom: 14px;
  }

  .cat-intro-h em {
    font-style: italic;
    color: var(--gold);
  }

  .cat-intro-p {
    font-size: 15px;
    color: var(--t-body);
    line-height: 1.84;
  }

  /* ── Service Block (2-col: main + panel) ──────────────────── */
  .svc-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow .3s;
  }

  .svc-block:hover {
    box-shadow: 0 8px 40px rgba(45, 30, 8, .07);
  }

  .svc-block.full {
    grid-template-columns: 1fr;
  }

  .svc-block.geo {
    grid-template-columns: 5fr 4fr;
  }

  /* ── Service Main (left) ──────────────────────────────────── */
  .svc-main {
    background: var(--card);
    padding: 52px 48px;
    position: relative;
    overflow: hidden;
    transition: background .28s var(--ease);
  }

  .svc-main:hover {
    background: var(--card-h);
  }

  .svc-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s;
  }

  .svc-main:hover::before {
    opacity: 1;
  }

  .svc-num {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--t-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .svc-num::after {
    content: '';
    flex: 0 0 28px;
    height: 1px;
    background: var(--line-g);
  }

  .svc-name {
    font-family: var(--serif);
    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.05;
    margin-bottom: 6px;
  }

  .svc-name em {
    font-style: italic;
    color: var(--gold);
  }

  .svc-tag {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
  }

  .svc-why {
    font-size: 14.5px;
    color: var(--t-body);
    line-height: 1.84;
    margin-bottom: 28px;
    max-width: 480px;
  }

  .svc-why strong {
    color: var(--t-head);
    font-weight: 400;
  }

  .svc-result {
    background: rgba(138, 102, 32, .06);
    border: 1px solid var(--line-g);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--t-body);
    line-height: 1.7;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .svc-result-icon {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .svc-result em {
    color: var(--gold);
    font-style: normal;
    font-weight: 400;
  }

  /* ── Service Panel (right) ────────────────────────────────── */
  .svc-panel {
    background: var(--bg-alt);
    padding: 52px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .svc-panel-label {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--t-muted);
    margin-bottom: 14px;
  }

  .svc-deliverables {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .svc-d {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--t-body);
    line-height: 1.5;
  }

  .svc-d-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 7px;
  }

  .svc-d strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* GEO flagship accent */
  .svc-block.geo .svc-main {
    background: linear-gradient(135deg, rgba(138, 102, 32, .08) 0%, var(--card) 55%);
  }

  .geo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--gold);
    border-radius: 100px;
    padding: 4px 14px;
    align-self: flex-start;
  }

  /* ── Investment callout (panel sub-section) ────────────────── */
  .svc-invest-price {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--gold);
    letter-spacing: .05em;
  }

  .svc-invest-note {
    font-size: 12px;
    color: var(--t-muted);
    margin-top: 6px;
    line-height: 1.6;
  }

  /* ── Foundation Grid (smaller cards) ──────────────────────── */
  .foundation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .fnd-card {
    background: var(--card);
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    transition: background .28s var(--ease);
  }

  .fnd-card:hover {
    background: var(--card-h);
  }

  .fnd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s;
  }

  .fnd-card:hover::before {
    opacity: 1;
  }

  .fnd-num {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--t-muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .fnd-num::after {
    content: '';
    flex: 0 0 24px;
    height: 1px;
    background: var(--line-g);
  }

  .fnd-name {
    font-family: var(--serif);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.1;
    margin-bottom: 5px;
  }

  .fnd-name em {
    font-style: italic;
    color: var(--gold);
  }

  .fnd-tag {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
  }

  .fnd-why {
    font-size: 13.5px;
    color: var(--t-body);
    line-height: 1.82;
    margin-bottom: 22px;
  }

  .fnd-why strong {
    color: var(--t-head);
    font-weight: 400;
  }

  .fnd-rule {
    height: 1px;
    background: var(--line);
    margin-bottom: 18px;
  }

  .fnd-deliverables {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .fnd-d {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--t-body);
    line-height: 1.5;
  }

  .fnd-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 7px;
  }

  .fnd-result {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(138, 102, 32, .05);
    border: 1px solid var(--line-g);
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--t-body);
    line-height: 1.68;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .fnd-result-icon {
    color: var(--gold);
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 1px;
  }

  .fnd-result em {
    color: var(--gold);
    font-style: normal;
  }

  /* ── Responsive (services only) ───────────────────────────── */
  @media (max-width: 1024px) {
    .svc-block,
    .svc-block.geo {
      grid-template-columns: 1fr;
    }

    .svc-panel {
      border-top: 1px solid var(--line);
    }
  }

  @media (max-width: 768px) {
    .svc-hero {
      padding: 120px 0 60px;
    }

    .foundation-grid {
      grid-template-columns: 1fr;
    }

    .svc-main,
    .svc-panel,
    .fnd-card {
      padding: 36px 28px;
    }
  }
}
