/* ========================================================================
   JAD Creations — Stylesheet
   Editorial design system: cream + espresso primary, ochre accent.
   Fraunces (serif display) + JetBrains Mono (labels).
   ======================================================================== */

/* Design tokens */
:root {
  --cream: #F5F1EA;
  --cream-light: #FAF7F1;
  --espresso: #1A1613;
  --espresso-soft: rgba(26, 22, 19, 0.7);
  --ochre: #C9612B;
  --rule: rgba(26, 22, 19, 0.15);
  --rule-strong: rgba(26, 22, 19, 0.3);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-body: 'Fraunces', Georgia, serif;

  --content-max: 1280px;
  --gutter-mobile: 1.5rem;
  --gutter-tablet: 2.5rem;
  --gutter-desktop: 4rem;
}

/* Content-centering pattern: padding-inline expands on wide screens
   so content stays centered with a max content width, while section
   backgrounds still span the full viewport. */
.nav,
.hero-inner,
.time-strip > *,
.section > .section-head,
.section > .service-list,
.section > .product-list,
.section > .brand-wall,
.section > .brand-disclosure,
.team > .section-head,
.team > .team-text-grid,
.contact > .section-head,
.contact > .contact-grid,
.footer-left,
.footer-right {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.5;
  font-feature-settings: 'liga', 'kern';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* Utility classes */
.display { font-family: var(--font-display); font-optical-sizing: auto; }
.mono { font-family: var(--font-mono); }
.serif-italic { font-style: italic; font-variation-settings: 'SOFT' 100; }
.ochre { color: var(--ochre); }

/* Eyebrow labels (small mono caps with section number) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

/* Reusable underline-on-hover link */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.link-underline:hover::after { transform: scaleX(0.3); }

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: riseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  30% { transform: translate(3%, -2%); }
  50% { transform: translate(-3%, 4%); }
  70% { transform: translate(4%, 3%); }
  90% { transform: translate(-2%, 2%); }
}
.grain {
  position: fixed;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
  animation: grain 8s steps(6) infinite;
  z-index: 100;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain { animation: none; }
}

/* ========================================================================
   NAV
   ======================================================================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter-mobile) 1rem;
  position: relative;
  z-index: 20;
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.wordmark-display {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.wordmark-mono {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.nav-links {
  display: none;
  gap: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin: -8px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  color: var(--cream);
  z-index: 1000;
  padding: 5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-line {
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
}
.close-line:first-child { transform: rotate(45deg); }
.close-line:last-child { transform: rotate(-45deg); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
}
.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.mobile-menu-links a:hover { color: var(--ochre); }
.mobile-menu-foot {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu-email {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ochre);
  letter-spacing: -0.01em;
}
.mobile-menu-locations {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
}

body.menu-open { overflow: hidden; }

@media (min-width: 768px) {
  .nav { padding: 2rem var(--gutter-tablet) 1rem; }
  .wordmark-display { font-size: 1.875rem; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}
@media (min-width: 1024px) {
  .nav { padding: 2rem var(--gutter-desktop) 1rem; }
  .nav-links { gap: 2.5rem; }
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  padding: 3rem var(--gutter-mobile) 3.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Atmospheric placeholder image — replace with real photography when available */
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 241, 234, 0.75) 0%, rgba(245, 241, 234, 0.95) 60%, var(--cream) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 0;
}
.hero-headline .serif-italic { font-weight: 300; }
.hero-description {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
  max-width: 48rem;
  margin-top: 2rem;
}
.hero-cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hero { padding: 5rem var(--gutter-tablet) 5rem; }
  .hero-headline { line-height: 0.95; }
  .hero-description { margin-top: 3rem; }
  .hero-cta-row { margin-top: 3rem; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 5rem var(--gutter-desktop) 5rem; }
}

/* Buttons */
.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  color: var(--espresso);
  background: transparent;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--espresso);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { color: var(--cream); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ========================================================================
   TIME STRIP
   ======================================================================== */
.time-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2rem var(--gutter-mobile) 2.5rem;
}
.time-strip .eyebrow { margin-bottom: 1.5rem; }
.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.time-image {
  height: 100px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.05);
  margin-bottom: 1rem;
  display: none; /* hidden on mobile */
}
.time-image[data-city="lagos"] {
  background-image: url('https://images.unsplash.com/photo-1618828665011-0abd973f7bb8?w=900&q=80&auto=format&fit=crop');
}
.time-image[data-city="london"] {
  background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=900&q=80&auto=format&fit=crop');
}
.time-image[data-city="toronto"] {
  background-image: url('https://images.unsplash.com/photo-1517090504586-fde19ea6066f?w=900&q=80&auto=format&fit=crop');
}
.city-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 3.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.city-time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  margin-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.city-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 0.4rem;
}

@media (min-width: 768px) {
  .time-strip { padding: 3rem var(--gutter-tablet) 3.5rem; }
  .time-image { display: block; }
  .time-grid { gap: 3rem; }
  .city-label { letter-spacing: 0.25em; }
}
@media (min-width: 1024px) {
  .time-strip { padding: 3rem var(--gutter-desktop) 3.5rem; }
}

/* ========================================================================
   SECTIONS — generic
   ======================================================================== */
.section {
  padding: 3rem var(--gutter-mobile) 3rem;
}
.section-head { margin-bottom: 2rem; }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 28ch;
}
.section-headline .serif-italic { font-weight: 300; }

@media (min-width: 768px) {
  .section { padding: 5rem var(--gutter-tablet) 5rem; }
  .section-head { margin-bottom: 3rem; }
  .section-headline { line-height: 1.05; }
}
@media (min-width: 1024px) {
  .section { padding: 5rem var(--gutter-desktop) 5rem; }
}

/* ========================================================================
   SERVICES
   ======================================================================== */
.service-list {
  border-bottom: 1px solid var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  transition: background 0.4s ease, padding-left 0.3s ease;
}
.service-row:hover {
  background: rgba(201, 97, 43, 0.04);
  padding-left: 1rem;
}
.service-row:hover .service-icon { color: var(--ochre); }
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.5;
}
.service-title-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.service-icon { color: var(--espresso); transition: color 0.3s ease; flex-shrink: 0; margin-top: 0.4rem; }
.service-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.service-copy {
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 52ch;
}
.service-arrow {
  display: none;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 1fr 3fr 7fr 1fr;
    gap: 2rem;
    padding: 3.5rem 0;
    align-items: start;
  }
  .service-arrow { display: flex; justify-content: flex-end; }
  .service-copy { font-size: 1.125rem; }
  .service-title { font-size: 2rem; }
}

/* ========================================================================
   PRODUCTS
   ======================================================================== */
.section-products .section-head {
  margin-bottom: 2.5rem;
}
.product-list {
  border-bottom: 1px solid var(--rule);
}
.product-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 0.4s ease, padding-left 0.3s ease;
}
.product-row:hover {
  background: rgba(201, 97, 43, 0.04);
  padding-left: 1rem;
}
.product-row:hover .product-name { color: var(--ochre); }
.product-row:hover .product-arrow { transform: translate(2px, -2px); color: var(--ochre); }

.product-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.5;
}
.product-domain {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.product-name-cell { }
.product-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.product-copy {
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 52ch;
  opacity: 0.8;
}
.product-arrow {
  display: flex;
  justify-content: flex-start;
  opacity: 0.5;
  transition: transform 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
  .product-row {
    grid-template-columns: 2fr 3fr 6fr 1fr;
    gap: 2rem;
    padding: 3rem 0;
    align-items: center;
  }
  .product-arrow { justify-content: flex-end; }
  .product-copy { font-size: 1.0625rem; }
  .product-name { font-size: 2.25rem; }
}

/* ========================================================================
   TEAM (text-only, editorial)
   ======================================================================== */
.team {
  background: var(--espresso);
  color: var(--cream);
  padding: 3rem var(--gutter-mobile);
}
.team .eyebrow { opacity: 0.5; }
.team-eyebrow .ochre { color: var(--ochre); }
.team-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 32ch;
}
.team-headline .serif-italic { font-weight: 300; color: var(--ochre); }

.team-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.founder-text {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
}
.founder-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.75rem;
  color: var(--ochre);
}
.founder-name-large {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}
.founder-bio-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  opacity: 0.8;
  max-width: 38ch;
}

@media (min-width: 768px) {
  .team { padding: 5rem var(--gutter-tablet); }
  .team-text-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
  }
  .founder-bio-text { font-size: 1rem; }
}
@media (min-width: 1024px) {
  .team { padding: 5rem var(--gutter-desktop); }
  .team-text-grid { gap: 3rem; }
}

/* ========================================================================
   PAST BRAND EXPERIENCE
   ======================================================================== */
.brand-wall {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  align-items: center;
}
.brand-cell { text-align: center; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.25vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-note {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 0.5rem;
}
.brand-disclosure {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 36rem;
}

/* Last brand centers on mobile so it doesn't sit alone in left column */
.brand-cell:nth-child(5):last-child {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .brand-wall {
    grid-template-columns: repeat(5, 1fr);
    padding: 3rem 0;
    gap: 2rem;
  }
  .brand-cell { text-align: left; }
  .brand-cell:nth-child(5):last-child {
    grid-column: auto;
  }
}

/* ========================================================================
   CONTACT
   ======================================================================== */
.contact {
  border-top: 1px solid var(--rule);
  padding: 3rem var(--gutter-mobile) 3rem;
}
.contact-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.contact-headline .serif-italic { font-weight: 300; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.contact-locations .eyebrow { margin-bottom: 1.25rem; }
.location-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.location-row {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.location-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.city-name-small {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.location-region {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}
.location-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.6;
  display: block;
  margin-top: 0.25rem;
}
.direct-email {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.email-display {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Form */
.contact-form-wrap .eyebrow { margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.form-field .optional { opacity: 0.5; }
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--espresso);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--ochre);
}
.form-submit {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.form-note {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-top: 1rem;
  min-height: 1.5rem;
}
.form-status.success { color: var(--ochre); }
.form-status.error { color: #b94545; }

@media (min-width: 768px) {
  .contact { padding: 5rem var(--gutter-tablet) 5rem; }
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    margin-top: 5rem;
  }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-submit { flex-direction: row; align-items: center; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .contact { padding: 5rem var(--gutter-desktop) 5rem; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  border-top: 1px solid var(--rule);
  padding: 2rem var(--gutter-mobile);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.footer-left {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.footer-display {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.footer-mono {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.footer-right {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .footer {
    padding: 2.5rem var(--gutter-tablet);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-display { font-size: 1.25rem; }
  .footer-mono { font-size: 0.625rem; letter-spacing: 0.25em; }
  .footer-right { font-size: 0.625rem; letter-spacing: 0.2em; }
}
@media (min-width: 1024px) {
  .footer { padding: 2.5rem var(--gutter-desktop); }
}

/* ========================================================================
   BACK TO TOP
   ======================================================================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 90;
  border: none;
  box-shadow: 0 4px 16px rgba(26, 22, 19, 0.15);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--ochre);
}

@media (min-width: 1024px) {
  .back-to-top {
    bottom: 2rem;
    right: 2rem;
  }
}

/* ========================================================================
   INNER PAGES — shared layout primitives
   ======================================================================== */

/* Inner page hero — smaller than homepage hero */
.inner-hero {
  padding: 3rem var(--gutter-mobile) 2rem;
  position: relative;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.inner-hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin-top: 1rem;
}
.inner-hero-headline .serif-italic { font-weight: 300; }

@media (min-width: 768px) {
  .inner-hero { padding: 5rem var(--gutter-tablet) 3rem; }
  .inner-hero-headline { margin-top: 1.5rem; }
}
@media (min-width: 1024px) {
  .inner-hero { padding: 5rem var(--gutter-desktop) 3rem; }
}

/* Prose section — for body text with side labels */
.prose-section {
  padding: 2rem var(--gutter-mobile);
}
.prose-section-divider {
  border-top: 1px solid var(--rule);
}
.prose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.prose-label .eyebrow {
  margin-bottom: 0;
}
.prose-body p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 60ch;
}
.prose-body p:last-child { margin-bottom: 0; }
.prose-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.prose-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.prose-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  max-width: 58ch;
}
.prose-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ochre);
  opacity: 0.7;
}
.inline-link {
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.inline-link:hover { color: var(--ochre); }

@media (min-width: 768px) {
  .prose-section { padding: 3rem var(--gutter-tablet); }
  .prose-grid {
    grid-template-columns: 4fr 8fr;
    gap: 4rem;
  }
  .prose-body p { font-size: 1.0625rem; }
  .prose-list li { font-size: 1.0625rem; }
}
@media (min-width: 1024px) {
  .prose-section { padding: 3rem var(--gutter-desktop); }
}

/* Service detail blocks — Build, Secure, Train (Services page) */
.service-detail {
  padding: 3rem var(--gutter-mobile);
  border-top: 1px solid var(--rule);
}
.service-detail-alt {
  background: var(--espresso);
  color: var(--cream);
  border-top: none;
}
.service-detail-alt .eyebrow { opacity: 0.55; }
.service-detail-alt .prose-list li::before { color: var(--ochre); opacity: 0.85; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.service-detail-label .eyebrow {
  margin-bottom: 1rem;
}
.service-detail-icon {
  margin-bottom: 1rem;
  color: var(--espresso);
}
.service-detail-alt .service-detail-icon { color: var(--cream); }
.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.service-detail-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.4;
  opacity: 0.7;
  max-width: 28ch;
}
.service-detail-body p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 60ch;
}
.service-detail-body .prose-list {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .service-detail { padding: 5rem var(--gutter-tablet); }
  .service-detail-grid {
    grid-template-columns: 4fr 8fr;
    gap: 4rem;
  }
  .service-detail-body p { font-size: 1.0625rem; }
}
@media (min-width: 1024px) {
  .service-detail { padding: 5rem var(--gutter-desktop); }
}

/* Closing CTA section */
.closing-section {
  padding: 3rem var(--gutter-mobile) 4rem;
  border-top: 1px solid var(--rule);
}
.closing-section-bordered {
  border-bottom: 1px solid var(--rule);
}
.closing-inner {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.closing-inner .eyebrow {
  margin-bottom: 1.25rem;
}
.closing-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}
.closing-headline .serif-italic { font-weight: 300; }
.closing-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .closing-section { padding: 5rem var(--gutter-tablet) 5rem; }
}
@media (min-width: 1024px) {
  .closing-section { padding: 5rem var(--gutter-desktop) 5rem; }
}

/* Team page detail — more space for longer bios */
.prose-team {
  padding: 3rem var(--gutter-mobile);
  border-top: 1px solid rgba(245, 241, 234, 0.0);
}
.prose-team .section-head {
  max-width: var(--content-max);
  margin: 0 auto 2rem;
}
.team-text-grid-detailed .founder-bio-text {
  max-width: 42ch;
}

@media (min-width: 768px) {
  .prose-team { padding: 5rem var(--gutter-tablet); }
  .prose-team .section-head { margin-bottom: 3rem; }
}
@media (min-width: 1024px) {
  .prose-team { padding: 5rem var(--gutter-desktop); }
}

/* ========================================================================
   FIELD NOTES INDEX
   ======================================================================== */
.notes-section {
  padding: 2rem var(--gutter-mobile) 3rem;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.notes-list {
  border-top: 1px solid var(--rule);
}
.note-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.note-row-upcoming {
  opacity: 0.85;
}
.note-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
}
.note-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 50ch;
}
.note-date {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .notes-section { padding: 3rem var(--gutter-tablet) 5rem; }
  .note-row {
    grid-template-columns: 1.5fr 8fr 1.5fr;
    gap: 2rem;
    padding: 2rem 0;
    align-items: center;
  }
  .note-date { text-align: right; }
}
@media (min-width: 1024px) {
  .notes-section { padding: 3rem var(--gutter-desktop) 5rem; }
}

/* ========================================================================
   THANK YOU PAGE
   ======================================================================== */
.thanks-hero {
  padding: 3rem var(--gutter-mobile) 2rem;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.thanks-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-top: 1rem;
  max-width: 16ch;
}
.thanks-headline .serif-italic { font-weight: 300; }
.thanks-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.thanks-safety-net {
  border-top: 1px solid var(--rule);
}
.thanks-fallback {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-max);
}

@media (min-width: 768px) {
  .thanks-hero { padding: 6rem var(--gutter-tablet) 3rem; }
  .thanks-headline { margin-top: 1.5rem; }
}
@media (min-width: 1024px) {
  .thanks-hero { padding: 6rem var(--gutter-desktop) 3rem; }
}
