/* Integrated Growth Solutions
   Shared styles for the four-page static website. */

:root {
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #202a25;
  --muted: #59645b;
  --green: #173f35;
  --green-hover: #245c4e;
  --lime: #d7ebaa;
  --tint: #eeeee5;
  --line: #d5d8cd;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lime);
  color: var(--green);
}

a {
  color: inherit;
  text-underline-offset: 0.23em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  font-size: clamp(2.75rem, 5.8vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 1.2rem;
}

.container {
  width: min(var(--max-width), calc(100% - 96px));
  margin-inline: auto;
}

.text-green {
  color: var(--green);
}

.eyebrow {
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
  max-width: 690px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  z-index: 100;
  padding: 12px 18px;
  background: var(--green);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 108px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  font-size: 2rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--green);
}

.brand-mark span {
  color: #687e39;
}

.brand-name {
  border-left: 1px solid var(--line);
  padding-left: 15px;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 600;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header nav .nav-cta {
  border: 1px solid var(--green);
  border-radius: 3px;
  padding: 10px 17px;
}

.nav-cta span {
  margin-left: 12px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--green);
  color: white;
  padding: 17px 23px;
  min-height: 56px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 160ms ease;
}

.button:hover {
  background: var(--green-hover);
}

.button span {
  font-size: 1.25rem;
}

.button-light {
  background: var(--lime);
  color: var(--green);
}

.button-light:hover {
  background: #e4f2c9;
}

.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 10px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Homepage */

.hero {
  padding-block: 100px 90px;
}

.hero h1 {
  max-width: 1100px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-top: 42px;
}

.hero-bottom .lead {
  max-width: 570px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex-shrink: 0;
}

.section {
  padding-block: 95px;
}

.section-tinted {
  background: var(--tint);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.section-intro p:not(.eyebrow) {
  max-width: 350px;
  color: var(--muted);
}

.challenge {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 24px;
  padding-block: 25px;
  border-top: 1px solid #c9cfc2;
}

.challenge:last-child {
  border-bottom: 1px solid #c9cfc2;
}

.challenge p {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.5;
}

.small-number {
  color: var(--muted);
  font-size: 0.73rem;
  padding-top: 5px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 350px;
  color: var(--muted);
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.process-item {
  padding: 35px 35px 15px 0;
}

.process-item + .process-item {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}

.process-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.process-item h3 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.04em;
}

.process-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

.section-note {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 700px;
}

.closing {
  background: var(--green);
  color: var(--white);
  padding-block: 75px;
}

.closing .eyebrow {
  color: var(--lime);
}

.closing-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 100px;
}

.closing h2 {
  margin-bottom: 0;
}

.closing-inner > div:last-child p {
  color: #d5e2d8;
  max-width: 420px;
  margin-bottom: 28px;
}

.closing a:focus-visible {
  outline-color: var(--lime);
}

/* Interior pages */

.page-hero {
  padding-block: 80px 65px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 90px;
  padding-bottom: 75px;
}

.service-nav {
  align-self: start;
  position: sticky;
  top: 35px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.service-nav a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.service-nav a:hover {
  color: var(--green);
  text-decoration: underline;
}

.service {
  border-top: 1px solid var(--line);
  padding-block: 35px 40px;
  scroll-margin-top: 30px;
}

.service h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.service > p:not(.eyebrow) {
  color: var(--muted);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}

.service-list li {
  padding: 10px 0 10px 21px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 22px;
}

.prose {
  max-width: 680px;
}

.prose p {
  color: var(--muted);
}

/* Team */

.team-section {
  padding-bottom: 40px;
}

.person {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  padding-block: 55px;
}

.person h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 13px;
}

.initials {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  font-size: 1.45rem;
  letter-spacing: -0.05em;
  margin-bottom: 25px;
}

.initials-light {
  background: #e2e7d6;
  color: var(--green);
}

.person-role {
  font-size: 0.85rem;
  color: var(--muted);
}

.prose .person-lead {
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.45;
}

.compact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 75px;
}

.compact-cta h2 {
  margin-bottom: 0;
}

/* Contact */

.contact-main {
  min-height: 70vh;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  padding-block: 95px;
  align-items: start;
}

.contact-intro h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.contact-panel {
  background: var(--tint);
  padding: 40px;
  border-top: 3px solid var(--green);
}

.contact-panel h2 {
  font-size: 2rem;
}

.contact-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-prompts {
  padding-left: 20px;
  margin: 0 0 30px;
}

.contact-prompts li {
  margin-block: 9px;
}

.email-address {
  display: block;
  width: fit-content;
  margin-top: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-panel .contact-note {
  font-size: 0.78rem;
  margin-top: 15px;
}

.contact-next {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #c9cfc2;
}

.contact-next h3 {
  font-size: 1rem;
}

.contact-next p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 35px;
}

.footer-brand {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.site-footer nav a,
.site-footer p {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.site-footer p {
  flex-basis: 100%;
  margin: 0;
}

/* Tablet */

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero-bottom {
    flex-direction: column;
    gap: 25px;
  }

  .split,
  .closing-inner,
  .person,
  .contact-layout {
    gap: 45px;
  }

  .services-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 45px;
  }

  .site-header nav {
    gap: 18px;
  }

  .brand-name {
    display: none;
  }

  .contact-panel {
    padding: 30px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    padding-block: 18px;
    min-height: auto;
    flex-wrap: wrap;
    gap: 18px;
  }

  .brand-name {
    display: inline;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .site-header nav a {
    font-size: 0.75rem;
  }

  .site-header nav .nav-cta {
    padding: 8px 10px;
  }

  .nav-cta span {
    margin-left: 4px;
  }

  .hero {
    padding-block: 60px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 9vw, 4rem);
  }

  .hero-bottom {
    margin-top: 25px;
  }

  .hero-actions {
    width: 100%;
    flex-shrink: 1;
  }

  .hero-actions .button {
    max-width: 100%;
  }

  .section {
    padding-block: 60px;
  }

  .split,
  .closing-inner,
  .person,
  .contact-layout,
  .services-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item,
  .process-item + .process-item {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-item h3 br {
    display: none;
  }

  .process-label {
    margin-bottom: 15px;
  }

  .closing {
    padding-block: 55px;
  }

  .page-hero {
    padding-block: 55px 40px;
  }

  .service-nav {
    position: static;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
  }

  .service-nav .eyebrow {
    margin-bottom: 10px;
  }

  .service-nav a {
    padding-block: 8px;
  }

  .services-layout {
    gap: 0;
    padding-bottom: 30px;
  }

  .services .service:first-child {
    border-top: 0;
  }

  .person {
    padding-block: 35px;
  }

  .person-heading .person-role {
    margin-bottom: 0;
  }

  .compact-cta {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 55px;
    gap: 25px;
  }

  .contact-layout {
    padding-block: 55px;
  }

  .contact-panel {
    padding: 28px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .site-footer nav {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  .container {
    width: 100%;
  }

  .site-header,
  .site-footer,
  .service-nav,
  .skip-link {
    display: none;
  }

  .hero,
  .page-hero,
  .section,
  .contact-layout {
    padding-block: 20px;
  }

  .services-layout,
  .split,
  .person,
  .contact-layout {
    display: block;
  }

  .service,
  .person {
    break-inside: avoid;
  }

  .closing,
  .contact-panel {
    background: white;
    color: black;
  }

  .closing p,
  .closing .eyebrow {
    color: black;
  }
}

section[aria-labelledby="process-heading"] .section-heading {
  align-items: flex-start;
}

.person-photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  margin-bottom: 25px;
}


/* Contact Form */

.contact-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: var(--green);
}

.form-field textarea::placeholder {
  color: #79847b;
  opacity: 1;
}

.required {
  color: var(--green);
}

.optional {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.contact-submit {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  width: fit-content;
  margin-top: 5px;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-next {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.profile-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-decoration: none;
}

.profile-links a:hover {
  background: none;
  border: none;
  opacity: 0.75;
}

.profile-links img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/* Contact form spam protection */

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact form submission feedback */

#contact-status {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #173f35;
  font-weight: 500;
}

/* ======================================
   IGS LOGO - HEADER & FOOTER
====================================== */

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  flex-shrink: 0;
}

/* Header Logo */
.brand-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

/* Footer Logo */
.footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}

/* Responsive Logo Sizing */
@media (max-width: 768px) {
  .brand-logo {
    width: 190px;
  }

  .footer-logo {
    width: 190px;
  }
}
