/* ============================================================
   LEO MARTIN COMPANY — Main Website Stylesheet
   Inspired by clean, editorial luxury design
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  --bg:          #FAF9F6;
  --bg-alt:      #F2EDE6;
  --surface:     #EDE8E0;
  --border:      #DDD7CE;
  --text:        #1C1917;
  --text-muted:  #78716C;
  --accent:      #C8B89A;
  --accent-dark: #A09070;
  --white:       #FFFFFF;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --nav-h:       72px;
  --max-w:       1280px;
  --gutter:      clamp(24px, 5vw, 80px);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography Scale --- */
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
}
.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
}
.t-h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
}
.t-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.t-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 60ch;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(60px, 8vw, 120px); }
.section--lg { padding-block: clamp(80px, 12vw, 160px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav--scrolled {
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav__logo:hover { opacity: 0.75; }
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  color: var(--text);
}
.nav__links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a:hover { opacity: 0.7; }

.nav__portal {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  padding: 9px 20px;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav__portal:hover {
  background: var(--text);
  color: var(--white);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 99;
  padding: 32px var(--gutter) 40px;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HERO — FULL BLEED
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 25, 23, 0.60) 0%,
    rgba(28, 25, 23, 0.15) 50%,
    rgba(28, 25, 23, 0.05) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(48px, 7vw, 100px);
  color: var(--white);
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 50ch;
  margin-bottom: 36px;
}
.hero__scroll {
  position: absolute;
  bottom: clamp(28px, 4vw, 52px);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn--light {
  background: var(--white);
  color: var(--text);
}
.btn--light:hover { background: var(--bg-alt); }

.btn--dark {
  background: var(--text);
  color: var(--white);
}
.btn--dark:hover { background: #3d3832; }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--white); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--text);
}

.btn svg { width: 14px; height: 14px; stroke-width: 1.5; }

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro-strip {
  background: var(--text);
  color: var(--white);
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.intro-strip p {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}
.intro-strip .stats {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}
.intro-strip .stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.intro-strip .stat-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ============================================================
   FEATURED PROJECTS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}
.project-card--large {
  grid-row: span 2;
}
.project-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card--large .project-card__img { min-height: 640px; }
.project-card:not(.project-card--large) .project-card__img { min-height: 315px; }
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 32px;
  color: var(--white);
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.4s ease;
}
.project-card:hover .project-card__info {
  transform: translateY(0);
  opacity: 1;
}
.project-card__cat {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.project-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
}

/* Always-visible label on project card */
.project-card__label {
  position: absolute;
  bottom: 20px; left: 20px;
  padding: 6px 12px;
  background: rgba(250,249,246,0.92);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text);
  transition: opacity 0.3s;
}
.project-card:hover .project-card__label { opacity: 0; }

/* ============================================================
   SERVICES OVERVIEW (Home)
   ============================================================ */
.services-home {
  background: var(--bg-alt);
}
.services-home__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}
.service-tile {
  background: var(--bg-alt);
  padding: 40px 32px 44px;
  transition: background 0.25s;
}
.service-tile:hover { background: var(--white); }
.service-tile__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
}
.service-tile__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.service-tile__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   SPLIT SECTION (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.split__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split__content {
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 90px) clamp(32px, 5vw, 72px);
  background: var(--bg);
}
.split__content--dark {
  background: var(--text);
  color: var(--white);
}
.split__content--dark .t-label { color: rgba(255,255,255,0.45); }
.split__content--dark .t-h2 { color: var(--white); }
.split__content--dark .t-body { color: rgba(255,255,255,0.65); }

.split__inner { max-width: 480px; }
.split__inner .t-label { margin-bottom: 20px; }
.split__inner .t-h2 { margin-bottom: 20px; }
.split__inner .t-body { margin-bottom: 32px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--surface);
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.45;
  color: var(--text);
}
.testimonial cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.cta-band__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.45);
}
.cta-band__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 80px var(--gutter);
  color: var(--white);
  text-align: center;
}
.cta-band__content .t-h2 { color: var(--white); margin-bottom: 16px; }
.cta-band__content p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  height: 55vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: var(--nav-h);
}
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.55) 0%, rgba(28,25,23,0.1) 60%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(36px, 5vw, 64px);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  color: var(--white);
}
.page-hero__content .t-label { color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.page-hero__content .t-h1 { color: var(--white); }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about-intro__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.about-intro__sticky .t-h2 { margin-bottom: 20px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  margin-top: 48px;
}
.value-card {
  background: var(--bg);
  padding: 40px 32px;
}
.value-card__icon {
  width: 36px;
  height: 1px;
  background: var(--accent-dark);
  margin-bottom: 20px;
}
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.team-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 16px;
}
.team-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.team-card:hover .team-card__img img { transform: scale(1.04); }
.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: var(--border);
}
.service-card {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  transition: background 0.25s;
}
.service-card:hover { background: var(--bg-alt); }
.service-card__img {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card__list li {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 1px;
  background: var(--accent-dark);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 48px;
}
.project-tile {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.project-tile img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.project-tile--tall img { height: 520px; }
.project-tile--short img { height: 300px; }
.project-tile:hover img { transform: scale(1.05); }
.project-tile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,25,23,0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-tile:hover .project-tile__overlay { opacity: 1; }
.project-tile__cat {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.project-tile__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-info__item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__item:first-child { border-top: 1px solid var(--border); }
.contact-info__label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-info__value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-dark);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-alt);
}
.form-success.show { display: block; }
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 12px;
}
.form-success p { color: var(--text-muted); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: var(--white);
  padding: clamp(56px, 7vw, 96px) var(--gutter) 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  /* Invert to white for dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__brand .logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__brand .logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}
.footer__brand p {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 28ch;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 16px;
}
.footer__copy {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.footer__portal {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  transition: all 0.25s;
}
.footer__portal:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3, .services-home__grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1.2fr 1fr; }
  .projects-masonry { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav__links, .nav__portal { display: none; }
  .nav__toggle { display: flex; }

  .hero__title { font-size: clamp(2.5rem, 9vw, 4rem); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--large { grid-row: span 1; }
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .split__img { min-height: 300px; }
  .intro-strip { flex-direction: column; align-items: flex-start; }
  .intro-strip .stats { flex-wrap: wrap; gap: 28px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro__sticky { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .services-home__grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__img { min-height: 220px; }
  .projects-masonry { grid-template-columns: 1fr; }
  .project-tile--tall img, .project-tile--short img { height: 260px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .intro-strip .stats { gap: 20px; }
}
