:root {
  --ink: #111317;
  --ink-soft: #343942;
  --paper: #fbfaf7;
  --mist: #ece8df;
  --line: #d9d2c6;
  --white: #ffffff;
  --gold: #b88a3d;
  --teal: #1f6f68;
  --steel: #53616f;
  --shadow: 0 22px 60px rgba(17, 19, 23, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.layout-home {
  background: var(--ink);
}

body.layout-home main {
  background-image:
    linear-gradient(rgba(17, 19, 23, 0.32), rgba(17, 19, 23, 0.32)),
    url("../images/facade.jpg");
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(17, 19, 23, 0.42);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body:not(:has(.hero)) .site-header {
  color: var(--ink);
  border-color: rgba(17, 19, 23, 0.12);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: var(--shadow);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 4px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand small {
  font-size: 0.76rem;
  opacity: 0.78;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(184, 138, 61, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 140px 20px 78px;
  color: var(--white);
  background-color: #15181c;
  background-image:
    radial-gradient(ellipse at 52% 10%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 18%, rgba(17, 19, 23, 0) 42%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.12), rgba(7, 9, 12, 0.5) 34%, rgba(7, 9, 12, 0.06) 68%),
    url("../images/facade.jpg");
  background-blend-mode: overlay, multiply, normal;
  background-position: center top;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: transparent;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 7%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 33%),
    linear-gradient(90deg, rgba(17, 19, 23, 0.66), rgba(17, 19, 23, 0.24) 48%, rgba(17, 19, 23, 0.08)),
    linear-gradient(0deg, rgba(17, 19, 23, 0.5), rgba(17, 19, 23, 0.08) 50%);
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.46);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 880px;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

.motto {
  margin: 16px 0 0;
  color: var(--gold);
  font-size: clamp(1.45rem, 3.4vw, 2.8rem);
  font-weight: 750;
  line-height: 1.1;
}

.hero-copy,
.lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.hero-copy {
  margin: 22px 0 0;
}

.hero-actions,
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  text-shadow: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.scroll-cue {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 860px;
}

.overview-band,
.insight-band,
.cta-band,
.content-section,
.page-hero,
.post-header {
  padding: clamp(64px, 10vw, 118px) 0;
}

.overview-band {
  color: var(--white);
  background: rgba(17, 19, 23, 0.94);
}

.overview-grid,
.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.overview-grid p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.content-section {
  background: var(--paper);
}

.layout-home .content-section {
  background: rgba(251, 250, 247, 0.91);
}

.service-list,
.post-list {
  display: grid;
  gap: 14px;
}

.service-item,
.post-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-item,
.post-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-item:hover,
.post-card:hover {
  border-color: rgba(31, 111, 104, 0.45);
  box-shadow: 0 14px 34px rgba(17, 19, 23, 0.08);
  transform: translateY(-2px);
}

.service-item span,
.post-card time {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-item strong,
.post-card strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.service-item p,
.post-card p {
  margin: 0;
  color: var(--ink-soft);
}

.insight-band {
  background: var(--mist);
}

.layout-home .insight-band {
  background: rgba(236, 232, 223, 0.9);
}

.text-link,
.back-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.back-link:hover {
  text-decoration: underline;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 23, 0.94), rgba(38, 48, 56, 0.9)),
    url("../images/facade.jpg") center / cover;
}

.cta-inner {
  justify-content: space-between;
  margin-top: 0;
}

.cta-inner h2 {
  max-width: 780px;
}

.page-hero,
.post-header {
  padding-top: 168px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.92), rgba(17, 19, 23, 0.68)),
    url("../images/facade.jpg") center / cover;
}

.page-hero .lede,
.post-header .lede {
  color: rgba(255, 255, 255, 0.76);
}

.content-flow {
  max-width: 860px;
}

.content-flow h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.content-flow h2:first-child {
  margin-top: 0;
}

.content-flow p,
.content-flow li {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.content-flow ul {
  padding-left: 1.25rem;
}

.service-detail-list {
  display: grid;
  gap: 22px;
}

.service-detail {
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.service-detail h2 {
  margin-top: 0;
}

.service-detail p {
  max-width: 700px;
}

.contact-layout {
  max-width: none;
}

.contact-panel {
  padding: 28px;
}

.contact-panel dl,
.contact-panel dd {
  margin: 0;
}

.contact-panel dl {
  display: grid;
  gap: 22px;
}

.contact-panel dt {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel dd {
  color: var(--ink-soft);
}

.post-list.full {
  max-width: 860px;
}

.post {
  background: var(--paper);
}

.post-body {
  padding-top: clamp(54px, 8vw, 90px);
  padding-bottom: clamp(64px, 10vw, 118px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0c0d10;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-brand {
  color: var(--white);
  font-weight: 800;
}

.footer-inner p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid rgba(17, 19, 23, 0.12);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 90svh;
    padding-top: 120px;
  }

  .hero-overlay {
    background:
      radial-gradient(ellipse at 50% 8%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 32%),
      linear-gradient(90deg, rgba(17, 19, 23, 0.48), rgba(17, 19, 23, 0.28)),
      linear-gradient(0deg, rgba(17, 19, 23, 0.58), rgba(17, 19, 23, 0.04) 58%);
  }

  .overview-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
  }

  .footer-inner {
    display: grid;
  }
}

@supports not selector(:has(*)) {
  .site-header {
    color: var(--white);
  }

  .site-header.is-scrolled {
    color: var(--ink);
  }
}
