/* =========================================================
   Inner-page components
   (Homepage section styles live in style.css — this file only
   holds NEW component styles needed for the inner pages.)
========================================================= */

/* Active nav state */
.nav-links a.is-active,
.mobile-menu-links a.is-active{ color: var(--text-on-dark); }
.site-header.is-scrolled .nav-links a.is-active{ color: var(--text-on-light); }
.nav-links a.is-active::after{ transform: scaleX(1); transform-origin: left; }

/* =========================================================
   Page Hero (compact hero for every inner page)
========================================================= */
.page-hero{
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: clamp(140px, 20vw, 184px) 0 clamp(64px, 8vw, 96px);
}
.page-hero::before{
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 50vw; height: 50vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(204,154,65,0.26) 0%, rgba(204,154,65,0.09) 45%, rgba(204,154,65,0) 70%);
  pointer-events: none;
}
.page-hero .grain{ opacity: 0.05; }
.page-hero .container{ position: relative; z-index: 2; }

.page-breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-45);
  margin-bottom: 24px;
}
.page-breadcrumb a{ color: var(--text-on-dark-45); transition: color 0.3s ease; }
.page-breadcrumb a:hover{ color: var(--gold-300); }
.page-breadcrumb .crumb-sep{ opacity: 0.5; }
.page-breadcrumb .crumb-current{ color: var(--text-on-dark-70); }

.page-hero-inner{
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.page-hero-inner--center{ grid-template-columns: 1fr; max-width: 100%; }
.page-hero h1{ margin-bottom: 20px; text-wrap: balance; }
.page-hero .lede{ max-width: 54ch; margin-bottom: 0; }
.page-hero-cta{ margin-top: 32px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* Generic premium framed-image utility, reused wherever an inner page
   needs a single supporting photo (About story, Contact hero, etc.) */
.framed-media{
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-gold-l);
}
.framed-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.framed-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,14,10,0) 55%, rgba(16,14,10,0.24) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.page-hero .framed-media{ aspect-ratio: 4/3.1; }

/* =========================================================
   Story / editorial layout (About page)
========================================================= */
.story-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.story-text .eyebrow{ margin-bottom: 18px; }
.story-text h2{ margin-bottom: 22px; text-wrap: balance; }
.story-text p{ font-size: 16px; line-height: 1.75; color: var(--text-on-light-62); margin-bottom: 18px; }
.story-text p:last-child{ margin-bottom: 0; }
.story-media .framed-media{ aspect-ratio: 4/3.6; }

/* =========================================================
   Contact page
========================================================= */
.contact-layout{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
.contact-info .eyebrow{ margin-bottom: 20px; }
.contact-info h2{ margin-bottom: 20px; text-wrap: balance; }
.contact-info .lede{ margin-bottom: 36px; }
.contact-info-list{ display: flex; flex-direction: column; gap: 24px; }
.contact-info-item{ display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon{
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
}
.contact-info-icon svg{ width: 18px; height: 18px; }
.contact-info-item h4{ font-family: var(--font-display); font-size: 16px; font-weight: 500; margin-bottom: 4px; color: var(--text-on-light); }
.contact-info-item p, .contact-info-item a{ font-size: 14.5px; line-height: 1.55; color: var(--text-on-light-62); }
.contact-info-item a:hover{ color: var(--gold-500); }

.contact-form-panel{
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-m);
  padding: clamp(32px, 4vw, 48px);
}
.contact-form-panel .startproj-form{ margin-top: 28px; }
.contact-form-panel h3{ font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 27px); }

/* Message textarea — same input language as the modal's fields, extended
   with a resizable multi-line control the modal doesn't need. */
.startproj-field textarea{
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--cream);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.startproj-field textarea::placeholder{ color: var(--text-on-light-40); }
.startproj-field textarea:focus{ outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(204,154,65,0.22); }

.contact-form-success{ text-align: left; }
.contact-form-success .startproj-success-icon{ margin-bottom: 20px; }

/* =========================================================
   Service detail pages (Who We Serve + the 4 service pages)
========================================================= */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card{
  padding: clamp(28px, 3vw, 36px);
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-m);
  transition: transform 0.55s var(--ease-out-expo), box-shadow 0.55s var(--ease-out-expo);
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(16,14,10,0.22); }
.feature-icon{
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
  margin-bottom: 22px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.feature-icon svg{ width: 21px; height: 21px; }
.feature-card:hover .feature-icon{ background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.feature-card h4{ font-family: var(--font-display); font-weight: 500; font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature-card p{ font-size: 14.5px; line-height: 1.65; color: var(--text-on-light-62); }

/* A real project screenshot in the standard browser-chrome mockup,
   used partway down a service page to ground the service in real work. */
.service-showcase{ max-width: 960px; margin: 0 auto; }
.service-showcase-cap{
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 26px; flex-wrap: wrap;
}
.service-showcase-cap h4{ font-family: var(--font-display); font-weight: 500; font-size: 19px; margin-bottom: 4px; }

/* Related-services strip — closes each service page by pointing to its siblings */
.related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card{
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-m);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.5s var(--ease-out-expo);
}
.related-card:hover{ transform: translateY(-4px); border-color: var(--gold-500); box-shadow: 0 26px 50px -28px rgba(16,14,10,0.2); }
.related-card-icon{
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--cream-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
}
.related-card-icon svg{ width: 18px; height: 18px; }
.related-card-text{ flex: 1; min-width: 0; }
.related-card-text .tag{ display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-light-40); margin-bottom: 4px; }
.related-card-text h5{ font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -0.005em; line-height: 1.3; }
.related-card-arrow{
  flex: none; width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-light);
  transition: background 0.4s var(--ease-out-quart), border-color 0.4s ease, transform 0.5s var(--ease-out-expo), color 0.4s ease;
}
.related-card-arrow svg{ width: 14px; height: 14px; }
.related-card:hover .related-card-arrow{ background: var(--gold-grad); border-color: transparent; transform: rotate(45deg); color: var(--ink); }

/* =========================================================
   Legal pages (Privacy Policy / Terms of Service)
========================================================= */
.legal-content{
  max-width: 760px;
  margin: 0 auto;
}
.legal-content .updated{
  font-size: 13px;
  color: var(--text-on-light-40);
  margin-bottom: 48px;
}
.legal-content h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h2:first-of-type{ margin-top: 0; }
.legal-content p{
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-on-light-62);
  margin-bottom: 18px;
}
.legal-content ul{
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.legal-content li{
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-on-light-62);
  margin-bottom: 8px;
}
.legal-content a{ color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover{ color: var(--gold-500); }
