/* Brand settings and optional local photography.
   Replace none with url("assets/images/your-file.webp") once a file exists.
   The overlay is kept above each image to protect text contrast. */
:root {
  color-scheme: light;
  --ivory: #f7f4ed;
  --charcoal: #303437;
  --navy: #182d40;
  --brass: #94733e;
  --muted: #555d61;
  --line: #d7d3c9;
  --surface: #eae6dc;
  --content-width: 70rem;
  --hero-image: none;
  --hero-image-position: center;
  --audience-image: none;
  --audience-image-position: center;
}

/* Shared type and layout. Background bands span the viewport; only their
   inner containers have a maximum width. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; }
h1, h2, h3, p { margin: 0; }
h1, h2 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 18ch; font-size: clamp(2.6rem, 5.1vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 3.5vw, 3.2rem); }
h3 { color: var(--navy); font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
a { color: var(--navy); text-underline-offset: 0.3em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.container { width: min(var(--content-width), calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-heading { max-width: 39rem; }
.section-heading > p:last-child { margin-top: 1.5rem; color: var(--muted); }
.eyebrow { margin-bottom: 1.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 3rem; height: 2px; margin-bottom: 1.5rem; background: var(--brass); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.split-layout > *, .services-grid > * { min-width: 0; }
section[id] { scroll-margin-top: 1rem; }
.dark-section { color: var(--ivory); }
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--ivory); }
.dark-section .section-heading > p:last-child, .dark-section .detail-list p { color: #d5dbe0; }
.dark-section a:focus-visible { outline-color: var(--ivory); }

/* Compact header with visible navigation at every width. */
.skip-link { position: absolute; top: 0.5rem; left: 1rem; z-index: 3; padding: 0.75rem 1rem; background: var(--ivory); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 0.85rem; }
.wordmark { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.header-logo { display: block; width: auto; height: clamp(4rem, 6vw, 5rem); max-width: 100%; object-fit: contain; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.nav-links a[href="#contact"] { padding: 0.25rem 1.1rem; border: 1px solid var(--line); border-bottom-color: var(--brass); }

/* Full-width hero: navy fallback, optional local image, and dark overlay.
   The logo watermark and fine lines are decorative, with no interactions. */
.hero { position: relative; isolation: isolate; background-color: var(--navy); background-image: linear-gradient(90deg, rgb(15 30 43 / 96%), rgb(24 45 64 / 82%)), var(--hero-image); background-size: cover; background-position: center, var(--hero-image-position); border-bottom: 3px solid var(--brass); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(16.666% - 1px), rgb(247 244 237 / 4%) calc(16.666% - 1px), rgb(247 244 237 / 4%) 16.666%); }
.hero-inner { position: relative; padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.hero-inner > :not(.hero-motif) { position: relative; max-width: 65%; }
.hero-inner h1 { max-width: min(18ch, 65%); }
.hero-motif { position: absolute; pointer-events: none; right: 0; top: 10%; bottom: 10%; width: 31%; border-inline: 1px solid rgb(247 244 237 / 12%); }
.hero-motif::before { content: ""; position: absolute; inset: 5% -4% -5% 8%; border-block: 1px solid rgb(148 115 62 / 45%); }
.hero-motif::after { content: ""; position: absolute; inset: 0; opacity: 0.09; background: url("assets/feindel-logo-ivory.png") center / contain no-repeat; }
.hero-intro { margin-top: 1.75rem; font-size: 1.125rem; color: #d5dbe0; }
.hero-inner .hero-intro { max-width: min(36rem, 62%); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 50px; margin-top: 2rem; padding: 0.9rem 1.5rem; border-bottom: 3px solid var(--brass); background: var(--ivory); color: var(--navy); text-decoration: none; font-weight: 600; }
.button:hover { background: var(--surface); text-decoration: underline; }
.hero-note { margin-top: 1.5rem; color: #d5dbe0; font-size: 0.8125rem; }

/* Six open editorial service panels, without rounded or floating cards. */
.services-section { background: var(--ivory); }
.services-section .section-heading { margin-inline: auto; text-align: center; }
.services-section .eyebrow::before { margin-inline: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; margin-top: 3.5rem; }
.service { position: relative; border-top: 1px solid var(--line); padding: 1.75rem 0 0; }
.service::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 2px; background: var(--brass); }
.service p { margin-top: 0.85rem; color: var(--muted); }

/* Dark audience band accepts optional photography beneath its overlay. */
.audience-band { background-color: var(--charcoal); background-image: linear-gradient(110deg, rgb(38 43 46 / 96%), rgb(48 52 55 / 87%)), var(--audience-image); background-size: cover; background-position: center, var(--audience-image-position); }
.detail-list { margin: 0; padding: 0; list-style: none; }
.detail-list li { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.detail-list li:first-child { padding-top: 0; border-top: 0; }
.detail-list li:last-child { padding-bottom: 0; }
.detail-list p { margin-top: 0.6rem; color: var(--muted); }
.audience-band .detail-list { border-left: 1px solid rgb(247 244 237 / 20%); padding-left: 2.5rem; }
.audience-band .detail-list li { border-top-color: rgb(247 244 237 / 20%); }
.about-section { background: var(--surface); border-bottom: 1px solid var(--line); }

/* Navy contact band and a quiet ivory footer. */
.contact-section { background: var(--navy); }
.contact-section .split-layout { align-items: center; }
.contact-details { position: relative; border-top: 2px solid var(--brass); padding: 2rem 0 0 5rem; }
.contact-logo { position: absolute; top: 2rem; left: 0; display: block; width: 2.75rem; height: auto; }
.contact-links { margin-top: 1rem; }
.contact-links a { display: inline-block; max-width: 100%; min-height: 44px; padding-block: 0.5rem; color: var(--ivory); font-weight: 600; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.contact-links a:focus-visible { outline: 3px solid var(--ivory); outline-offset: 4px; }
.contact-note { margin-top: 0.75rem; font-size: 0.875rem; color: #d5dbe0; }
.site-footer { background: var(--ivory); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 1.5rem; font-size: 0.8125rem; }
.site-footer a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }

@media (max-width: 60rem) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .split-layout { gap: 3rem; }
  .nav-links { column-gap: 1rem; }
  .hero-motif { display: none; }
  .hero-inner > :not(.hero-motif), .hero-inner .hero-intro { max-width: 38rem; }
  .hero-inner h1 { max-width: 18ch; }
  .audience-band .detail-list { padding-left: 1.5rem; }
  .contact-details { padding-left: 0; }
  .contact-logo { position: static; width: 2.25rem; margin-bottom: 1.5rem; }
}

@media (max-width: 42rem) {
  .container { width: calc(100% - 2.5rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 0.75rem; padding-block: 1rem; }
  .nav-links { gap: 0.25rem 1.1rem; }
  .nav-links a[href="#contact"] { padding-inline: 0; border: 0; }
  .hero-inner { padding-block: 4rem; }
  .hero-inner > :not(.hero-motif), .hero-inner .hero-intro { max-width: 100%; }
  .hero-intro { font-size: 1rem; }
  .hero::before { display: none; }
  .services-grid, .split-layout { grid-template-columns: 1fr; }
  .services-grid { margin-top: 2.5rem; gap: 2rem; }
  .services-section .section-heading { text-align: left; }
  .services-section .eyebrow::before { margin-inline: 0; }
  .audience-band .detail-list { border-left: 0; padding-left: 0; }
}
