
:root {
  --ink: #2f2924;
  --ink-soft: #5f564e;
  --paper: #f7f3ed;
  --paper-2: #eee7dd;
  --white: #fffdf9;
  --brass: #9d7a3e;
  --brass-dark: #765a2f;
  --olive: #6f725d;
  --tobacco: #6a4b36;
  --line: rgba(47, 41, 36, .15);
  --shadow: 0 18px 55px rgba(50, 39, 27, .12);
  --radius: 20px;
  --container: 1220px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--brass-dark); }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin: 0 0 .65em; font-weight: 500; }
h1 { font-size: clamp(2.85rem, 6.3vw, 5.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4.4vw, 4.2rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
p { margin: 0 0 1.2rem; color: var(--ink-soft); }
.small { font-size: .9rem; }
.muted { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 25px rgba(47, 41, 36, .14); }
.btn.primary { color: var(--white); background: var(--ink); }
.btn.secondary { background: rgba(255, 255, 255, .45); }
.btn.brass { color: #fff; border-color: var(--brass-dark); background: var(--brass-dark); }
.btn.text { border-color: transparent; padding-left: 0; padding-right: 0; border-radius: 0; min-height: auto; white-space: normal; text-align: left; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.7rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 237, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header > .container { width: min(calc(100% - 32px), 1460px); }
.header-inner {
  position: relative;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(18px, 2vw, 34px);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-copy { display: block; min-width: 0; line-height: 1.25; }
.brand-copy strong { display: block; font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: .01em; white-space: nowrap; }
.brand-copy span { display: block; color: var(--ink-soft); font-size: .68rem; letter-spacing: .105em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(.68rem, 1vw, 1.2rem); min-width: 0; }
.nav a { position: relative; padding: .4rem 0; font-size: clamp(.82rem, .8vw, .91rem); font-weight: 650; line-height: 1.2; color: #4b433c; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-dark); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover, .nav a.active { color: var(--brass-dark); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: -18px; width: 260px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.dropdown-menu a { display: block; padding: .65rem .75rem; border-radius: 10px; }
.dropdown-menu a:hover { background: var(--paper-2); }
.dropdown:hover .dropdown-menu { display: block; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; white-space: nowrap; }
.header-actions .btn { min-height: 42px; padding: .68rem 1rem; font-size: .84rem; }
.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  color: var(--ink);
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle.is-open .menu-icon { background: transparent; }
.menu-toggle.is-open .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Home */
.hero { padding: 44px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero-copy, .hero-image { min-width: 0; }
.hero-copy p { font-size: 1.12rem; max-width: 650px; }
.hero-image { position: relative; border-radius: 42px 42px 42px 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); min-height: 560px; }
.hero-image picture { position: absolute; inset: 0; display: block; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-card { position: absolute; left: 24px; bottom: 24px; z-index: 2; width: min(360px, calc(100% - 48px)); padding: 1.2rem 1.35rem; background: rgba(255, 253, 249, .93); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .5); border-radius: 18px; box-shadow: var(--shadow); }
.trust-strip { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.trust-strip div { display: grid; place-items: center; min-height: 58px; background: var(--white); padding: .85rem 1.15rem; text-align: center; font-weight: 700; font-size: .9rem; }

/* Shared sections */
.section { padding: 96px 0; }
.section.compact { padding: 66px 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark p, .section.dark .muted { color: rgba(255, 255, 255, .72); }
.section.dark .feature-list li { border-color: rgba(255,255,255,.16); }
.section.alt { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 34px; }
.section-head > div:first-child { max-width: 760px; min-width: 0; }
.section-head > .btn { flex: 0 0 auto; }
.section-head p { max-width: 520px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(42px, 6vw, 80px); align-items: center; }
.image-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 2rem; }
.stat { min-width: 0; padding: 1.1rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.stat span { display: block; line-height: 1.35; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.card { display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media.tall { aspect-ratio: 4 / 5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; padding: 1.35rem; }
.card-body h3 { margin-bottom: .55rem; }
.card-body p { margin-bottom: 0; font-size: .95rem; }
.card-body .btn, .card-body .button-row { margin-top: auto; }
.tag { display: inline-block; padding: .25rem .55rem; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .1em; color: var(--brass-dark); margin-bottom: .8rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(42px, 5.5vw, 70px); align-items: center; }
.split > * { min-width: 0; }
.split.reverse > :first-child { order: 2; }
.feature-list { display: grid; gap: 12px; margin: 1.5rem 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ""; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--brass); flex: 0 0 auto; }
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; align-items: stretch; }
.process-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 1.35rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.process-card::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: Georgia, serif; color: var(--brass-dark); font-size: 1.7rem; margin-bottom: .8rem; }
.process-card h3 { min-height: 2.15em; }
.process-card p { margin-bottom: 0; }
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.logo-chip { display: inline-flex; align-items: center; min-height: 42px; padding: .7rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; line-height: 1.2; color: var(--ink-soft); }
.quote-band { padding: 75px 0; background: linear-gradient(120deg, #4f4439, #2f2924); color: #fff; }
.quote-band .inner { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.quote-band .inner > div { min-width: 0; }
.quote-band .btn { flex: 0 0 auto; }
.quote-band p { color: rgba(255, 255, 255, .72); max-width: 650px; margin-bottom: 0; }

/* Interior pages */
.page-hero { padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 60px); align-items: end; }
.page-hero-grid > * { min-width: 0; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .8rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-soft); margin-bottom: 1.1rem; }
.breadcrumb span { opacity: .5; }
.two-col-list { columns: 2; column-gap: 35px; padding-left: 1.25rem; }
.two-col-list li { break-inside: avoid; margin-bottom: .7rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 18px; }
.gallery .large { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 650px; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--brass-dark); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; align-content: start; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea { width: 100%; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--line); background: var(--white); border-radius: 12px; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(38px, 5vw, 60px); align-items: start; }
.info-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.callout { padding: 1.25rem; background: #eee6d7; border-left: 4px solid var(--brass); border-radius: 12px; }

/* Footer */
.footer { padding: 65px 0 24px; background: #211d19; color: #fff; }
.footer p, .footer a { color: rgba(255, 255, 255, .68); }
.footer .brand-copy strong { color: #fff; }
.footer .brand-copy span { color: rgba(255,255,255,.5); }
.footer-grid { display: grid; grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 45px); align-items: start; }
.footer-grid > * { min-width: 0; }
.footer h4 { font-family: Inter, sans-serif; font-size: .83rem; text-transform: uppercase; letter-spacing: .13em; color: #fff; }
.footer-links { display: grid; align-content: start; gap: .55rem; }
.footer-links a { line-height: 1.35; }

.text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--brass-dark); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .5); }
.footer-bottom > :last-child { text-align: right; }
.floating-cta { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; box-shadow: 0 12px 35px rgba(47,41,36,.22); }

/* Keep the primary consultation action visible while removing the less important phone pill on narrower desktop screens. */
@media (max-width: 1480px) and (min-width: 1281px) {
  .header-actions .btn.secondary { display: none; }
}

/* Header switches before the links become crowded. */
@media (max-width: 1280px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { grid-column: 2; }
  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height) - 18px);
    overflow-y: auto;
    padding: 18px 20px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: var(--shadow);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 24px;
  }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { display: flex; align-items: center; min-height: 46px; padding: .65rem .35rem; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.3; }
  .mobile-nav a:last-child { color: #fff; background: var(--ink); border: 0; border-radius: 999px; justify-content: center; margin-top: 10px; padding-inline: 1rem; }
}

@media (max-width: 1040px) {
  .header-actions .btn.secondary { display: none; }
  .hero-grid, .intro-grid, .split, .page-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-image { min-height: 500px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-card h3 { min-height: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .large { grid-column: 1 / -1; grid-row: auto; }
  .split.reverse > :first-child { order: initial; }
}

@media (max-width: 760px) {
  :root { --header-height: 74px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: var(--header-height); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: .98rem; }
  .brand-copy span { font-size: .61rem; letter-spacing: .08em; }
  .site-header .header-actions .btn.primary { display: none; }
  .mobile-nav { grid-template-columns: 1fr; padding: 12px 16px 18px; gap: 0; }
  .mobile-nav a { min-height: 44px; }
  .hero { padding: 24px 0 72px; }
  .hero-image { min-height: 430px; border-radius: 26px 26px 26px 8px; }
  .hero-card { width: calc(100% - 32px); left: 16px; bottom: 16px; }
  .trust-strip { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section-head { display: grid; align-items: start; gap: 16px; }
  .section-head > .btn { justify-self: start; }
  .quote-band .inner { display: grid; align-items: start; gap: 24px; }
  .quote-band .btn { justify-self: start; }
  .card-grid, .stats, .process, .form-grid, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .two-col-list { columns: 1; }
  .gallery { grid-auto-rows: 240px; }
  .footer-bottom { display: grid; }
  .footer-bottom > :last-child { text-align: left; }
  .floating-cta { display: inline-flex; }
}

@media (max-width: 460px) {
  .brand-copy span { display: none; }
  .brand-copy strong { font-size: .94rem; }
  .menu-toggle { width: 42px; height: 42px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.5rem); }
  .page-hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .button-row { align-items: stretch; }
  .button-row .btn { width: 100%; }
  .floating-cta { min-height: 44px; padding: .7rem 1rem; }
}

/* Contact details may be longer than other footer links. */
.footer-links a { overflow-wrap: anywhere; }
