:root {
  --ink: #12161c;
  --navy: #1c2733;
  --navy-deep: #0e1318;
  --paper: #f4f1eb;
  --cream: #faf8f4;
  --white: #ffffff;
  --line: #dcd6cc;
  --line-strong: #c9c1b4;
  --brass: #8d7048;
  --brass-dark: #6e5636;
  --brass-soft: rgba(141, 112, 72, 0.12);
  --text: #1a1916;
  --muted: #5c574f;
  --muted-2: #7a746b;
  --danger: #8b2e2e;
  --success: #2d5a3d;
  --radius: 2px;
  --header-h: 76px;
  --shadow: 0 18px 50px rgba(18, 22, 28, 0.12);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Source Serif 4", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--brass);
}

.kicker.on-dark {
  color: #d7c4a3;
}

.kicker.on-dark::before {
  background: #d7c4a3;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Source Serif 4", serif;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.brand-meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a:not(.btn) {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brass-dark);
}

.btn-brass {
  background: var(--brass);
  color: #fff;
}

.btn-brass:hover {
  background: var(--brass-dark);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: stretch;
  color: #f4f1eb;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.88) 0%, rgba(10, 13, 18, 0.62) 48%, rgba(10, 13, 18, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 13, 18, 0.2) 0%, rgba(10, 13, 18, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7.5rem 0 4.5rem;
}

.hero h1 {
  color: #faf8f4;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  max-width: 14ch;
  margin: 1rem 0 1.2rem;
}

.hero .lead {
  color: rgba(244, 241, 235, 0.82);
  font-size: 1.12rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: 4.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d7c4a3;
  margin-bottom: 0.25rem;
}

.hero-facts dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
}

/* Sections */

.section {
  padding: 6rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.8rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.7rem 0 0.9rem;
}

.section-paper {
  background: var(--paper);
}

.section-cream {
  background: var(--cream);
}

.section-ink {
  background: var(--navy-deep);
  color: #ece7de;
}

.section-ink h2,
.section-ink h3 {
  color: #faf8f4;
}

.section-ink .lead {
  color: rgba(236, 231, 222, 0.72);
}

/* Services */

.service-list {
  display: grid;
  gap: 1.15rem;
}

.service-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  padding: 1.7rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-num {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--brass);
  font-weight: 600;
}

.service-body h3 {
  font-size: 1.55rem;
}

.service-body p {
  color: var(--muted);
  max-width: 40rem;
}

.service-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.6rem;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.22rem 0.5rem;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-box {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--brass);
  border: 1px solid var(--line);
}

.icon-box svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy p {
  color: var(--muted);
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--cream);
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--brass);
  font-size: 0.82rem;
  max-width: 16rem;
}

.credential-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.credential-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.credential-list dd {
  margin: 0.2rem 0 0;
  font-weight: 500;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-item {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-item span {
  display: block;
  color: #d7c4a3;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.85rem;
}

.why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.why-item p {
  color: rgba(236, 231, 222, 0.68);
  font-size: 0.95rem;
}

/* CTA band */

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band h2 {
  font-size: 2rem;
  margin: 0.35rem 0 0.5rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.contact-lines a:hover {
  color: var(--brass-dark);
}

.contact-lines small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.25rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.8rem;
}

.form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(141, 112, 72, 0.35);
  border-color: var(--brass);
  background: #fff;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin: 0.7rem 0 1rem;
}

.alert {
  display: none;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  border: 1px solid;
}

.alert.is-visible {
  display: block;
}

.alert-ok {
  color: var(--success);
  background: #eef6f0;
  border-color: #c8ddcf;
}

.alert-err {
  color: var(--danger);
  background: #f8eeee;
  border-color: #e3c8c8;
}

/* Footer + legal */

.site-footer {
  background: var(--navy-deep);
  color: #c9c3b8;
  padding: 3rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand-name {
  color: #faf8f4;
}

.site-footer p {
  color: #9e9890;
  font-size: 0.92rem;
  margin-top: 0.8rem;
  max-width: 28rem;
}

.footer-col h4 {
  color: #faf8f4;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0.35rem 0;
  color: #c9c3b8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: #8d877e;
}

.legal-page {
  padding: 4.5rem 0 5.5rem;
}

.legal-page .wrap {
  max-width: 760px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.2rem;
}

.legal-card h1 {
  font-size: 2.4rem;
  margin: 0.5rem 0 1.4rem;
}

.legal-card h2 {
  font-size: 1.2rem;
  margin: 1.8rem 0 0.55rem;
  font-family: "IBM Plex Sans", sans-serif;
  letter-spacing: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p + p,
.legal-card ul {
  margin-top: 0.7rem;
}

.legal-back {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--brass-dark);
  font-weight: 600;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-facts,
  .why-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 210px;
  }

  .cta-band,
  .about-grid {
    display: block;
  }

  .about-photo {
    margin-top: 2rem;
  }

  .about-photo img {
    height: 320px;
  }

  .hero-content {
    padding: 5rem 0 3rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .section {
    padding: 4rem 0;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }
}
