/*
Theme Name: Gableend Solutions
Theme URI: https://gableendsolutions.com/
Author: Gableend Solutions
Description: A one-page consultancy site for Gableend Solutions.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gableend-solutions
*/

:root {
  --navy: #0b1d2d;
  --ink: #0f273d;
  --gold: #d9a441;
  --blue: #2f6fa7;
  --muted: #44566a;
  --light-on-dark: #c9d3d8;
  --pale: #f3f7f8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: #1f4f7c; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.site-container { width: min(100%, 1160px); margin-inline: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; white-space: nowrap;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
  top: 12px; left: 12px; padding: 12px 16px; z-index: 1000;
  background: #fff; color: var(--ink);
}

.site-header { background: var(--navy); color: #fff; padding: 0 24px; }
.header-inner { display: flex; flex-direction: column; gap: 56px; padding: 28px 0 88px; }
.site-nav {
  display: flex; flex-wrap: wrap; gap: 16px 40px;
  align-items: center; justify-content: space-between;
}
.brand {
  color: #fff; text-decoration: none; font-size: 28px;
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
}
.brand:hover { color: #fff; }
.brand span { color: var(--gold); }
.nav-links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.nav-links a { color: var(--light-on-dark); text-decoration: none; }
.nav-links a:hover { color: #fff; }
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(38px, 5vw, 64px); line-height: 1;
  font-weight: 700; letter-spacing: -.03em; text-wrap: balance;
}
.hero h1 em, .contact h2 em { color: var(--gold); font-style: normal; }
.hero-intro { max-width: 540px; font-size: 19px; line-height: 1.55; color: var(--light-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 28px; background: var(--gold); color: var(--navy);
  font-weight: 600; text-decoration: none;
}
.button:hover { background: #edb750; color: var(--navy); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; color: #fff; }
.text-link:hover { color: var(--gold); }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 440px; height: auto; }

.about { padding: 96px 24px 72px; }
.about-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.about-heading { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.section-eyebrow { color: var(--blue); }
.about h2 {
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08;
  letter-spacing: -.03em; font-weight: 700; text-wrap: balance;
}
.about-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--muted); }

.expertise { padding: 24px 24px 96px; }
.expertise-inner { display: flex; flex-direction: column; gap: 40px; }
.expertise h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; font-weight: 700; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px 32px; }
.expertise-card { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.expertise-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.expertise-card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.pdl-bridge {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end;
  justify-content: space-between; padding: 36px 40px;
  border-left: 4px solid var(--gold); background: var(--pale);
}
.pdl-bridge-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdl-bridge h3 { font-size: clamp(25px, 3vw, 32px); line-height: 1.2; letter-spacing: -.03em; }
.pdl-bridge-copy > p:last-child { max-width: 650px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pdl-bridge .button { flex: 0 0 auto; }

.clients { background: var(--pale); padding: 88px 24px; }
.clients-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.clients-heading { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.clients h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.clients-intro { font-size: 17px; line-height: 1.6; color: var(--muted); }
.client-list {
  flex: 1.6 1 460px; min-width: 0; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0 32px; align-content: start;
}
.client-list li { padding: 16px 0; border-bottom: 1px solid #c3d1d8; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.client-list small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: #4a5b66; }

.contact { background: var(--navy); color: #fff; padding: 96px 24px 40px; }
.contact-inner { display: flex; flex-direction: column; gap: 72px; }
.contact-main { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.contact-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.contact-copy p { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--light-on-dark); }
.contact-actions { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-email { font-size: 18px; color: #fff; overflow-wrap: anywhere; }
.contact-email a { color: #fff; }
.contact-actions .button { width: fit-content; }
.site-footer { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; border-top: 1px solid #2a4259; padding-top: 24px; font-size: 14px; color: #a9bbc9; }

.interior { min-height: 55vh; padding: 88px 24px; }
.interior h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin-bottom: 24px; }
.entry-content { max-width: 760px; font-size: 18px; line-height: 1.65; }
.entry-content > * + * { margin-top: 1em; }

@media (max-width: 700px) {
  .site-header, .about, .expertise, .clients, .contact, .interior { padding-left: 20px; padding-right: 20px; }
  .header-inner { gap: 48px; padding-top: 24px; padding-bottom: 72px; }
  .site-nav { align-items: flex-start; gap: 24px; }
  .nav-links { gap: 12px 20px; }
  .hero { gap: 40px; }
  .hero-art { flex-basis: 100%; justify-content: flex-start; }
  .hero-art svg { max-width: 340px; }
  .about { padding-top: 76px; padding-bottom: 60px; }
  .expertise { padding-bottom: 76px; }
  .pdl-bridge { padding: 28px 24px; }
  .pdl-bridge .button { width: fit-content; }
  .clients { padding-top: 76px; padding-bottom: 76px; }
  .contact { padding-top: 76px; }
  .contact-inner { gap: 60px; }
}

@media (max-width: 420px) {
  .brand { font-size: 26px; }
  .hero h1 { font-size: 38px; }
  .hero-intro { font-size: 18px; }
  .hero-actions { align-items: stretch; }
  .button { width: 100%; }
  .contact-actions .button { width: 100%; }
  .pdl-bridge .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
