/*
 * Homepage system — one visual rhythm for T.G.T.
 * The commercial real-estate route stays primary; adjacent services are
 * presented as supporting specialist routes, not competing homepages.
 */

.tgt-home {
  --home-navy: #10213f;
  --home-deep: #09162d;
  --home-gold: #d8a466;
  --home-muted: #5e6d83;
  --home-border: #dce3ec;
  --home-soft: #f5f7fa;
}

/* Shortcodes are often wrapped in paragraph elements by the editor. A BR must
   never become an empty grid/flex item and alter the column rhythm. */
.tgt-home .tgt-journey-grid > br,
.tgt-home .tgt-commercial-focus__grid > br,
.tgt-home .tgt-specialty-grid > br,
.tgt-home .tgt-trust-strip__grid > br,
.tgt-home .tgt-actions > br,
.tgt-home .tgt-hero__microtrust > br { display: none !important; }

.tgt-home .tgt-section { padding-block: clamp(56px, 6vw, 88px); }
.tgt-home .tgt-section h2 { letter-spacing: -.048em; }

/* 1. Opening: one message, two clear routes, a compact evidence panel. */
.tgt-home .tgt-hero { min-height: 0; }
.tgt-home .tgt-hero__inner {
  grid-template-columns: minmax(0, 1.36fr) minmax(290px, .64fr);
  gap: clamp(36px, 6vw, 86px);
  min-height: 560px;
  padding-block: clamp(64px, 7vw, 98px);
}
.tgt-home h1 { max-width: 790px; font-size: clamp(3rem, 5.15vw, 5.15rem); line-height: .98; }
.tgt-home .tgt-hero__intro { max-width: 740px; margin: 1.15rem 0 0; font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.64; }
.tgt-home .tgt-actions { gap: 10px; margin-top: 1.7rem; }
.tgt-home .tgt-button { min-height: 48px; padding: .76rem 1.08rem; font-size: .93rem; }
.tgt-home .tgt-hero__microtrust { gap: 8px 20px; margin-top: 1.45rem; font-size: .8rem; }
.tgt-home .tgt-hero__panel { padding: 1.35rem; border-radius: 18px; }
.tgt-home .tgt-panel__label { margin-bottom: .9rem; }
.tgt-home .tgt-panel__metric strong { font-size: 2.8rem; }
.tgt-home .tgt-panel__line { margin: 1rem 0; }
.tgt-home .tgt-hero__panel ul { display: grid; gap: .35rem; font-size: .88rem; line-height: 1.42; }

/* 2. Trust strip is a concise process marker, not a second hero. */
.tgt-home .tgt-trust-strip__grid div { padding: 1.12rem 1.35rem; }
.tgt-home .tgt-trust-strip strong { font-size: .95rem; }
.tgt-home .tgt-trust-strip span { font-size: .8rem; line-height: 1.4; }

/* 3. Human starting point and equal journey cards. */
.tgt-home .tgt-section--journeys { padding-block: clamp(56px, 6vw, 82px); }
.tgt-home .tgt-journeys-intro {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--home-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16,33,63,.07);
}
.tgt-home .tgt-journeys-intro__visual { min-height: 360px; margin: 0; }
.tgt-home .tgt-journeys-intro__visual img { width: 100%; height: 100%; object-fit: cover; }
.tgt-home .tgt-journeys-intro__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 68px); }
.tgt-home .tgt-journeys-intro__content h2 { max-width: 590px; margin-bottom: .85rem; font-size: clamp(2.15rem, 3.55vw, 3.65rem); }
.tgt-home .tgt-journeys-intro__content > p:not(.tgt-eyebrow) { max-width: 590px; margin: 0; color: var(--home-muted); font-size: 1.02rem; line-height: 1.65; }
.tgt-home .tgt-journeys-intro__content .tgt-text-link { margin-top: 1.4rem; }
.tgt-home .tgt-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tgt-home .tgt-journey-card { min-height: 232px; padding: clamp(24px, 3vw, 32px); border-radius: 18px; box-shadow: none; }
.tgt-home .tgt-journey-card h3 { max-width: 540px; margin-bottom: .5rem; font-size: clamp(1.22rem, 1.7vw, 1.48rem); line-height: 1.23; }
.tgt-home .tgt-journey-card p { max-width: 580px; margin-bottom: 1rem; font-size: .97rem; line-height: 1.57; }
.tgt-home .tgt-journey-card .tgt-text-link { min-height: 40px; padding: .5rem .75rem; border-radius: 8px; font-size: .88rem; }

/* 4. The main commercial decision centre carries the strongest visual weight. */
.tgt-home .tgt-section--commercial-focus { padding-block: clamp(62px, 6vw, 92px); }
.tgt-home .tgt-commercial-focus__heading { grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); gap: clamp(28px, 6vw, 86px); margin-bottom: 1.6rem; }
.tgt-home .tgt-commercial-focus__heading h2 { max-width: 760px; font-size: clamp(2.25rem, 4vw, 4.1rem); }
.tgt-home .tgt-commercial-focus__heading > p { font-size: 1rem; line-height: 1.66; }
.tgt-home .tgt-commercial-focus__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
.tgt-home .tgt-commercial-focus__grid > a { min-height: 168px; padding: 1.45rem 1.55rem; border-radius: 16px; }
.tgt-home .tgt-commercial-focus__grid strong { font-size: 1.12rem; line-height: 1.25; }
.tgt-home .tgt-commercial-focus__grid span { font-size: .93rem; line-height: 1.48; }
.tgt-home .tgt-commercial-focus__footer { margin-top: 1.2rem; padding-top: 1.15rem; }

/* 5. International specialist routes are deliberately smaller than the main commercial hub. */
.tgt-home .tgt-section--specialties { padding-block: clamp(54px, 6vw, 76px); }
.tgt-home .tgt-section--specialties .tgt-shell { max-width: 1120px; }
.tgt-home .tgt-specialties-heading { display: grid; grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); align-items: end; gap: 1.6rem; margin-bottom: 1.5rem; }
.tgt-home .tgt-specialties-heading h2 { max-width: 720px; font-size: clamp(2rem, 3.4vw, 3.3rem); }
.tgt-home .tgt-specialty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tgt-home .tgt-specialty-card { min-height: 150px; padding: 1.35rem 1.45rem; border-radius: 16px; }
.tgt-home .tgt-specialty-card__content strong { font-size: 1.2rem; line-height: 1.22; }
.tgt-home .tgt-specialty-card__content small { font-size: .92rem; line-height: 1.5; }

/* Specialist cards must read like the main journey cards. The old compact
   three-column grid was leaving content in a needlessly narrow text column. */
.tgt-home .tgt-specialties-heading { display: block; margin-inline: auto; max-width: 1120px; }
.tgt-home .tgt-specialties-heading > * { max-width: 760px; }
.tgt-home .tgt-specialty-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: stretch; }
.tgt-home .tgt-specialty-card { position: relative; display: flex !important; flex-direction: column; align-items: stretch; justify-content: center; min-width: 0; min-height: 188px; padding: 28px 64px 28px 30px; }
.tgt-home .tgt-specialty-card__content { display: block !important; min-width: 0; }
.tgt-home .tgt-specialty-card__content h3 { display: block; max-width: 100%; margin: 0 0 8px; color: var(--home-navy); font-size: 1.24rem; line-height: 1.22; }
.tgt-home .tgt-specialty-card__content p { display: block; max-width: 100%; margin: 0; color: var(--home-muted); font-size: .95rem; line-height: 1.5; }
.tgt-home .tgt-specialty-card__cta { display: inline-flex; align-items: center; justify-content: space-between; width: fit-content; min-height: 40px; margin-top: 22px; padding: .55rem .72rem; border: 1px solid var(--home-navy); border-radius: 7px; color: var(--home-navy); font-size: .74rem; font-weight: 800; letter-spacing: .08em; line-height: 1.1; text-decoration: none; }
.tgt-home .tgt-specialty-card__cta:hover, .tgt-home .tgt-specialty-card__cta:focus-visible { border-color: var(--home-gold); background: var(--home-gold); color: #0b1c39; }
.tgt-home .tgt-specialty-card__cta span { margin-left: 12px; font-size: 1rem; }

/* 6. Final conversion block: present, but not an oversized second hero. */
.tgt-home .tgt-section--cta { padding-block: clamp(54px, 6vw, 78px); }
.tgt-home .tgt-final-cta { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .62fr); gap: clamp(28px, 6vw, 76px); min-height: 0; padding: clamp(32px, 5vw, 60px); border-radius: 24px; }
.tgt-home .tgt-final-cta h2 { max-width: 690px; margin-bottom: .85rem; font-size: clamp(2.2rem, 3.65vw, 3.75rem); }
.tgt-home .tgt-final-cta p { max-width: 680px; margin: 0; font-size: 1rem; line-height: 1.6; }
.tgt-home .tgt-final-cta__actions { gap: .72rem; }
.tgt-home .tgt-final-cta__actions small { margin-top: .2rem; }

/* The site-wide quick contact stays available without covering the page. */
.tgt-quick-expert { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: auto; }
.tgt-quick-expert__toggle { display: inline-flex; align-items: center; gap: .48rem; min-height: 46px; padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #fff; background: #0b2146; box-shadow: 0 12px 30px rgba(4,20,47,.2); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; }
.tgt-quick-expert__toggle > span { color: #f1b96f; font-size: 1.05rem; }
.tgt-quick-expert__panel { position: absolute; right: 0; bottom: calc(100% + 10px); display: grid; width: min(292px, calc(100vw - 32px)); gap: 8px; padding: 12px; border: 1px solid rgba(16,33,63,.14); border-radius: 16px; background: #fff; box-shadow: 0 20px 44px rgba(4,20,47,.2); }
.tgt-quick-expert__panel[hidden] { display: none; }
.tgt-quick-expert__panel > p { margin: 0 0 2px; color: #53657e; font-size: .78rem; line-height: 1.45; }
.tgt-quick-expert a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; box-shadow: none; }
.tgt-quick-expert span { font-size: .7rem; }
.tgt-quick-expert strong { font-size: .87rem; }

/* A compact footer supports scanning rather than creating a second content page. */
.tgt-footer { padding-block: 2rem 1rem; }
.tgt-footer__grid { gap: 1.45rem clamp(1rem, 2vw, 2.2rem); padding-bottom: 1.3rem; }
.tgt-footer h3 { margin-bottom: .45rem; }
.tgt-footer a, .tgt-footer span { margin-block: .18rem; line-height: 1.34; }
.tgt-footer__brand p { max-width: 270px; font-size: .88rem; }

@media (max-width: 960px) {
  .tgt-home .tgt-hero__inner,
  .tgt-home .tgt-commercial-focus__heading,
  .tgt-home .tgt-final-cta { grid-template-columns: 1fr; }
  .tgt-home .tgt-hero__inner { min-height: auto; padding-block: 72px; }
  .tgt-home .tgt-hero__panel { max-width: 620px; }
  .tgt-home .tgt-specialties-heading { grid-template-columns: 1fr; gap: .2rem; }
}

@media (max-width: 700px) {
  .tgt-home .tgt-section { padding-block: 46px; }
  /* Keep the opening screen informative, without turning it into a full-page poster. */
  .tgt-home .tgt-hero { padding-block: 32px 38px; }
  .tgt-home .tgt-hero__inner { gap: 24px; min-height: 0; padding-block: 0; }
  .tgt-home .tgt-hero__copy { min-height: 0; }
  .tgt-home .tgt-hero__copy h1 { max-width: 13.5ch; margin-bottom: 16px; font-size: clamp(2.05rem, 9.1vw, 2.8rem); line-height: 1.04; }
  .tgt-home .tgt-hero__intro { max-width: 38ch; margin-top: 0; font-size: .94rem; line-height: 1.5; }
  .tgt-home .tgt-hero__copy .tgt-actions { gap: 8px; margin-top: 20px; }
  .tgt-home .tgt-hero__copy .tgt-actions .tgt-button { min-height: 46px; padding: .68rem .86rem; font-size: .88rem; }
  .tgt-home .tgt-hero__microtrust { gap: 6px 12px; margin-top: 16px; font-size: .73rem; line-height: 1.35; }
  /* The investment-map card is useful on desktop; on a phone it repeats the routes below. */
  .tgt-home .tgt-hero__panel { display: none; }
  .tgt-home h1 { font-size: clamp(2.05rem, 9.1vw, 2.8rem); }
  .tgt-home .tgt-trust-strip__grid,
  .tgt-home .tgt-journey-grid,
  .tgt-home .tgt-commercial-focus__grid,
  .tgt-home .tgt-specialty-grid { grid-template-columns: 1fr !important; }
  .tgt-home .tgt-specialty-card { min-height: 150px; padding: 26px 58px 26px 24px; }
  .tgt-home .tgt-journeys-intro { grid-template-columns: 1fr; }
  .tgt-home .tgt-journeys-intro__visual { min-height: 230px; }
  .tgt-home .tgt-journeys-intro__content { padding: 28px 24px; }
  .tgt-home .tgt-journey-card,
  .tgt-home .tgt-commercial-focus__grid > a { min-height: 0; }
  .tgt-home .tgt-commercial-focus__footer { align-items: stretch; flex-direction: column; }
  .tgt-home .tgt-commercial-focus__footer .tgt-button { width: 100%; }
  .tgt-home .tgt-final-cta { padding: 28px 24px; }
  .tgt-home .tgt-final-cta__actions .tgt-button { width: 100%; }
  .tgt-quick-expert { right: 12px; bottom: 12px; }
  .tgt-quick-expert__toggle { min-height: 42px; padding: .62rem .85rem; font-size: .8rem; }
}

/* Homepage opening: one clear promise, one primary action, and a compact scope card. */
.tgt-home .tgt-hero__inner { grid-template-columns: minmax(0, 1.28fr) minmax(280px, .58fr); gap: clamp(34px, 5vw, 72px); min-height: 530px; padding-block: clamp(58px, 6vw, 82px); }
.tgt-home .tgt-hero__copy h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(3.2rem, 5vw, 5.35rem); line-height: .98; letter-spacing: -.055em; }
.tgt-home .tgt-hero__intro { max-width: 655px; margin-top: 0; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.58; }
.tgt-home .tgt-actions { margin-top: 1.55rem; }
.tgt-home .tgt-actions .tgt-button { min-width: 0; }
.tgt-home .tgt-hero__tertiary { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; color: rgba(255,255,255,.82); font-size: .86rem; font-weight: 760; text-decoration: none; }
.tgt-home .tgt-hero__tertiary span { color: var(--home-gold); font-size: 1.05em; }
.tgt-home .tgt-hero__tertiary:hover, .tgt-home .tgt-hero__tertiary:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .22em; }
.tgt-home .tgt-hero__microtrust { margin-top: 1.15rem; }
.tgt-home .tgt-hero__panel { align-self: center; max-width: 355px; padding: 1.3rem 1.35rem; }
.tgt-home .tgt-hero__panel ul { gap: .48rem; }
@media (max-width: 960px) { .tgt-home .tgt-hero__inner { grid-template-columns: 1fr; min-height: 0; } .tgt-home .tgt-hero__panel { max-width: 560px; } }
@media (max-width: 700px) { .tgt-home .tgt-hero__copy h1 { max-width: 12.5ch; margin-bottom: 14px; font-size: clamp(2.12rem, 9.2vw, 2.8rem); line-height: 1.03; } .tgt-home .tgt-hero__tertiary { margin-top: .85rem; font-size: .82rem; } }

/* Working model: a focused process marker instead of four isolated labels. */
.tgt-home .tgt-trust-strip { border-top: 1px solid #e5e9f0; border-bottom: 1px solid #e5e9f0; background: #fff; }
.tgt-home .tgt-trust-strip__grid { display: grid; grid-template-columns: minmax(190px, .62fr) minmax(0, 2.38fr); align-items: stretch; }
.tgt-home .tgt-process-intro { display: grid; align-content: center; gap: .45rem; padding: 1.65rem 1.5rem 1.55rem 0; }
.tgt-home .tgt-process-intro > span { color: var(--home-gold); font-size: .68rem; font-weight: 850; letter-spacing: .14em; line-height: 1.2; }
.tgt-home .tgt-process-intro > strong { max-width: 15ch; color: var(--home-navy); font-size: 1.12rem; line-height: 1.22; }
.tgt-home .tgt-process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tgt-home .tgt-process-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .7rem; align-content: center; min-height: 108px; padding: 1.35rem 1.15rem; border-left: 1px solid #e1e7ef; transition: background .18s ease, box-shadow .18s ease; }
.tgt-home .tgt-process-steps li::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: transparent; content: ''; transition: background .18s ease; }
.tgt-home .tgt-process-steps li:hover, .tgt-home .tgt-process-steps li:focus-within { background: #f6f8fb; box-shadow: inset 0 -1px 0 rgba(12,31,62,.04); }
.tgt-home .tgt-process-steps li:hover::before, .tgt-home .tgt-process-steps li:focus-within::before { background: var(--home-gold); }
.tgt-home .tgt-process-step__number { color: var(--home-gold); font-size: .7rem; font-weight: 850; letter-spacing: .04em; line-height: 1.55; }
.tgt-home .tgt-process-steps strong, .tgt-home .tgt-process-steps div > span { display: block; }
.tgt-home .tgt-process-steps strong { color: var(--home-navy); font-size: .96rem; line-height: 1.2; }
.tgt-home .tgt-process-steps div > span { margin-top: .35rem; color: var(--home-muted); font-size: .78rem; line-height: 1.4; }
@media (max-width: 960px) { .tgt-home .tgt-trust-strip__grid { grid-template-columns: 1fr; } .tgt-home .tgt-process-intro { padding: 1.45rem 0 .7rem; } .tgt-home .tgt-process-intro > strong { max-width: none; } }
@media (max-width: 700px) { .tgt-home .tgt-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tgt-home .tgt-process-steps li { min-height: 116px; padding: 1.1rem .85rem; } .tgt-home .tgt-process-steps li:nth-child(3) { border-top: 1px solid #e1e7ef; } .tgt-home .tgt-process-steps li:nth-child(4) { border-top: 1px solid #e1e7ef; } }

/* Commercial hub introduction: compact, intentional hierarchy before the routes. */
.tgt-home .tgt-section--commercial-focus { padding-block: clamp(52px, 5vw, 72px); }
.tgt-home .tgt-commercial-focus__heading { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(32px, 6vw, 92px); align-items: end; margin-bottom: 2rem; }
.tgt-home .tgt-commercial-focus__heading h2 { max-width: 700px; font-size: clamp(2.35rem, 3.8vw, 4rem); line-height: 1.02; }
.tgt-home .tgt-commercial-focus__intro { display: grid; gap: 1.15rem; max-width: 500px; padding: .35rem 0 .35rem 1.45rem; border-left: 2px solid rgba(229,173,112,.86); }
.tgt-home .tgt-commercial-focus__intro p { margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.62; }
.tgt-home .tgt-commercial-focus__intro a { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; color: #f0b66e; font-size: .74rem; font-weight: 850; letter-spacing: .08em; line-height: 1.25; text-decoration: none; }
.tgt-home .tgt-commercial-focus__intro a:hover, .tgt-home .tgt-commercial-focus__intro a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: .24em; }
@media (max-width: 960px) { .tgt-home .tgt-commercial-focus__heading { grid-template-columns: 1fr; gap: 1.35rem; } .tgt-home .tgt-commercial-focus__intro { max-width: 640px; } }
@media (max-width: 700px) { .tgt-home .tgt-section--commercial-focus { padding-block: 46px; } .tgt-home .tgt-commercial-focus__heading h2 { font-size: clamp(2rem, 8.7vw, 2.7rem); } .tgt-home .tgt-commercial-focus__intro { padding-left: 1rem; } }
