/* ============================================
   Morrow Strategies LLC
   Deep navy · crisp white · metallic silver
   ============================================ */

:root {
  --navy-1000: #02060d;
  --navy-950: #050b16;
  --navy-900: #0a1426;
  --navy-850: #0d1b33;
  --navy-800: #12243f;
  --navy-700: #1a3358;

  --silver-100: #f4f6f8;
  --silver-200: #e4e9ef;
  --silver-300: #c8d0db;
  --silver-400: #a7b2c1;
  --silver-500: #8b97a8;

  --white: #ffffff;
  --text-soft: rgba(228, 233, 239, 0.78);

  --metal:
    linear-gradient(
      135deg,
      #f7f9fb 0%,
      #c5ced9 28%,
      #eef2f6 52%,
      #9aa7b8 78%,
      #dce3eb 100%
    );
  --metal-soft: linear-gradient(
    180deg,
    rgba(244, 246, 248, 0.95) 0%,
    rgba(168, 178, 192, 0.9) 100%
  );

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 100px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--silver-200);
  background: var(--navy-1000);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Shell ---------- */

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 51, 88, 0.35), transparent 55%),
    var(--navy-1000);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 4.5vw, 3rem);
  background: rgba(5, 11, 22, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(200, 208, 219, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-shrink: 0;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--silver-400);
  transition: color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.05rem;
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--metal);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 6px 16px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s var(--ease),
    filter 0.2s var(--ease);
}

.site-nav .nav-cta:hover {
  color: var(--navy-900);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.site-nav .nav-cta:focus-visible {
  outline: 2px solid var(--silver-300);
  outline-offset: 3px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.25s var(--ease);
  max-width: min(100%, 42rem);
}

.logo:hover {
  opacity: 0.9;
}

.logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--metal);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark-inner {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
  white-space: nowrap;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--silver-400);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 4.5vw, 3rem)
    clamp(4.5rem, 10vw, 7.5rem);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 50% at 82% 42%,
      rgba(167, 178, 193, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 45% 40% at 15% 85%,
      rgba(18, 36, 63, 0.7) 0%,
      transparent 55%
    ),
    linear-gradient(
      160deg,
      var(--navy-900) 0%,
      var(--navy-950) 42%,
      var(--navy-1000) 100%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 208, 219, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 208, 219, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 70% 65% at 75% 45%,
    black 15%,
    transparent 72%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 65% at 75% 45%,
    black 15%,
    transparent 72%
  );
}

.hero-sheen {
  position: absolute;
  width: 160%;
  height: 1px;
  top: 42%;
  left: -30%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 208, 219, 0.05) 25%,
    rgba(244, 246, 248, 0.35) 50%,
    rgba(200, 208, 219, 0.08) 72%,
    transparent 100%
  );
  transform: rotate(-16deg);
  box-shadow: 0 0 50px 2px rgba(200, 208, 219, 0.08);
  opacity: 0.65;
}

/* Architectural brand panel */
.hero-panel {
  position: absolute;
  right: clamp(3%, 7vw, 11%);
  top: 50%;
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  transform: translateY(-50%);
  border-radius: 4px;
  background:
    linear-gradient(
      155deg,
      rgba(244, 246, 248, 0.05) 0%,
      rgba(18, 36, 63, 0.35) 48%,
      rgba(5, 11, 22, 0.5) 100%
    );
  border: 1px solid rgba(200, 208, 219, 0.14);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel-core {
  position: absolute;
  inset: 22%;
  border-radius: 2px;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(244, 246, 248, 0.12) 0%,
      transparent 55%
    ),
    linear-gradient(
      145deg,
      rgba(167, 178, 193, 0.12) 0%,
      rgba(10, 20, 38, 0.6) 100%
    );
  border: 1px solid rgba(200, 208, 219, 0.12);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.hero-panel-line {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 208, 219, 0.35),
    transparent
  );
}

.hero-panel-line--h {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
}

.hero-panel-line--v {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(200, 208, 219, 0.35),
    transparent
  );
}

.hero-panel-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--silver-300);
  border-style: solid;
  opacity: 0.55;
}

.hero-panel-corner--tl {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.hero-panel-corner--br {
  right: 12px;
  bottom: 12px;
  border-width: 0 1px 1px 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-content {
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-400);
}

.eyebrow-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--metal);
  box-shadow: 0 0 8px rgba(200, 208, 219, 0.35);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.55rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.subheadline {
  font-size: clamp(1.02rem, 1.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 33rem;
  margin-bottom: 2.75rem;
}

/* ---------- CTA ---------- */

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 56px;
  padding: 0 2rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  background: var(--metal);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0 40px rgba(200, 208, 219, 0.12);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--silver-300);
  outline-offset: 3px;
}

.btn-icon {
  display: inline-flex;
  transition: transform 0.25s var(--ease);
}

.btn-primary:hover .btn-icon {
  transform: translateX(3px);
}

/* ---------- Inner pages (About) ---------- */

.page-section {
  position: relative;
  flex: 1;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 4.5vw, 3rem)
    clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
}

.page-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 40% at 90% 10%,
      rgba(167, 178, 193, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 35% at 10% 90%,
      rgba(18, 36, 63, 0.55) 0%,
      transparent 55%
    ),
    linear-gradient(
      165deg,
      var(--navy-900) 0%,
      var(--navy-950) 45%,
      var(--navy-1000) 100%
    );
}

.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 208, 219, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 208, 219, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    black 10%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    black 10%,
    transparent 75%
  );
  opacity: 0.7;
}

.page-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.about-layout {
  max-width: var(--max);
}

.about-header {
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(200, 208, 219, 0.1);
}

.about-header .eyebrow {
  margin-bottom: 1.15rem;
}

.about-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.about-photo {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.about-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-850);
  border: 1px solid rgba(200, 208, 219, 0.22);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(200, 208, 219, 0.12);
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(244, 246, 248, 0.08) 0%,
    transparent 35%,
    transparent 70%,
    rgba(5, 11, 22, 0.18) 100%
  );
}

.about-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) saturate(1.02);
}

.about-photo-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  text-align: center;
}

.about-photo-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
}

.about-photo-divider {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--metal);
  box-shadow: 0 0 8px rgba(200, 208, 219, 0.3);
}

.about-photo-role {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-400);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 40rem;
}

.about-emphasis {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.55rem) !important;
  font-weight: 500;
  line-height: 1.4 !important;
  color: var(--white) !important;
  letter-spacing: -0.01em;
  padding: 0.35rem 0 0.15rem;
}

.about-cta {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 208, 219, 0.1);
}

/* ---------- Contact page ---------- */

.contact-layout {
  max-width: 36rem;
}

.contact-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(200, 208, 219, 0.1);
}

.contact-header .eyebrow {
  margin-bottom: 1.15rem;
}

.contact-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.35rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 34rem;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem 1.6rem 1.85rem;
  border-radius: 6px;
  border: 1px solid rgba(200, 208, 219, 0.12);
  background:
    linear-gradient(
      165deg,
      rgba(244, 246, 248, 0.04) 0%,
      rgba(13, 27, 51, 0.55) 100%
    );
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver-400);
}

.form-field .req {
  color: var(--silver-300);
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  background: rgba(2, 6, 13, 0.45);
  border: 1px solid rgba(200, 208, 219, 0.16);
  border-radius: 4px;
  padding: 0.85rem 0.95rem;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
  outline: none;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(167, 178, 193, 0.55);
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(200, 208, 219, 0.28);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(200, 208, 219, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 208, 219, 0.1);
  background: rgba(2, 6, 13, 0.65);
}

.contact-submit {
  width: 100%;
  margin-top: 0.35rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-email-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 208, 219, 0.1);
}

.contact-email-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-500);
}

.contact-email {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--silver-200);
  border-bottom: 1px solid rgba(200, 208, 219, 0.28);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.contact-email:hover {
  color: var(--white);
  border-bottom-color: rgba(244, 246, 248, 0.55);
}

.contact-email:focus-visible {
  outline: 2px solid var(--silver-400);
  outline-offset: 3px;
}

/* ---------- Services page ---------- */

.services-layout {
  max-width: var(--max);
}

.services-header {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200, 208, 219, 0.1);
}

.services-header .eyebrow {
  margin-bottom: 1.15rem;
}

.services-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.15rem;
}

.services-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 34rem;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 0;
  border-radius: 6px;
  background:
    linear-gradient(
      165deg,
      rgba(244, 246, 248, 0.04) 0%,
      rgba(13, 27, 51, 0.55) 100%
    );
  border: 1px solid rgba(200, 208, 219, 0.12);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  overflow: hidden;
}

/*
  Within each row of two cards, share body/foot rows so divider lines align.
*/
@supports (grid-template-rows: subgrid) {
  .services-row {
    grid-template-rows: auto auto;
    row-gap: 0;
    column-gap: 1.15rem;
    gap: unset;
  }

  .service-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }

  .service-card-foot {
    min-height: 0;
  }
}

.service-card:hover {
  border-color: rgba(200, 208, 219, 0.22);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.75rem 1.55rem 1.4rem;
  min-height: 0;
}

.service-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--silver-400);
  margin: 0 0 1rem;
}

.service-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 1.8vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

/* Divider lives on the foot — shared row height keeps lines aligned */
.service-card-foot {
  margin-top: auto;
  padding: 1.25rem 1.55rem 1.85rem;
  border-top: 1px solid rgba(200, 208, 219, 0.12);
  /* Fallback when subgrid is unavailable: equal foot height (up to 4 items) */
  min-height: 15rem;
  box-sizing: border-box;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--silver-200);
  letter-spacing: -0.01em;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--metal);
  box-shadow: 0 0 6px rgba(200, 208, 219, 0.35);
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  border-radius: 6px;
  border: 1px solid rgba(200, 208, 219, 0.12);
  background:
    linear-gradient(
      135deg,
      rgba(244, 246, 248, 0.05) 0%,
      rgba(10, 20, 38, 0.65) 55%,
      rgba(5, 11, 22, 0.8) 100%
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.services-cta-copy {
  max-width: 32rem;
}

.services-cta-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.55rem;
}

.services-cta-copy p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(200, 208, 219, 0.08);
  background: rgba(2, 6, 13, 0.9);
  padding: 2.25rem clamp(1.5rem, 4.5vw, 3rem) 2.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem 2.5rem;
  align-items: start;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--silver-500);
  max-width: 26rem;
}

.footer-right {
  justify-self: end;
  text-align: right;
}

.footer-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-500);
  margin-bottom: 0.4rem;
}

.footer-email {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--silver-200);
  border-bottom: 1px solid rgba(200, 208, 219, 0.2);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.footer-email:hover {
  color: var(--white);
  border-bottom-color: rgba(244, 246, 248, 0.5);
}

.footer-email:focus-visible {
  outline: 2px solid var(--silver-400);
  outline-offset: 3px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200, 208, 219, 0.06);
  font-size: 0.78rem;
  color: var(--silver-500);
  opacity: 0.85;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-panel {
    opacity: 0.28;
    right: -4%;
    width: min(42vw, 260px);
    height: min(42vw, 260px);
  }

  .about-story {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 1.75rem;
  }

  .services-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  @supports (grid-template-rows: subgrid) {
    .services-row {
      grid-template-rows: none;
      gap: 1.15rem;
      row-gap: 1.15rem;
      column-gap: 1.15rem;
    }

    .service-card {
      display: flex;
      grid-row: auto;
      grid-template-rows: none;
    }
  }

  .service-card-foot {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: 84px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    flex-wrap: wrap;
  }

  .site-nav {
    gap: 0.85rem;
    margin-left: auto;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .site-nav .nav-cta {
    min-height: 36px;
    padding: 0 0.9rem;
    font-size: 0.82rem;
  }

  .logo {
    gap: 0.75rem;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .logo-mark-inner {
    font-size: 1.35rem;
  }

  .logo-name {
    white-space: normal;
    font-size: 1.25rem;
    line-height: 1.15;
  }

  .logo-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    max-width: 16.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
  }

  .hero-panel {
    display: none;
  }

  .btn-primary {
    width: 100%;
  }

  .contact-form {
    padding: 1.4rem 1.2rem 1.5rem;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

  .about-photo-frame {
    border-radius: 50%;
    aspect-ratio: 1;
  }

  .about-body p {
    font-size: 1rem;
  }

  .services-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-right {
    justify-self: start;
    text-align: left;
  }
}

/* ---------- Reduced motion ---------- */

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

  .btn-primary,
  .btn-icon,
  .footer-email,
  .logo,
  .site-nav a,
  .service-card {
    transition: none;
  }
}
