:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #566174;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --header: #1f2022;
  --accent: #b78945;
  --accent-dark: #775522;
  --line: #dfe4eb;
  --shadow: 0 12px 32px rgb(23 32 51 / 0.08);
  --radius: 14px;
  --shell: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: var(--surface);
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  color: #ffffff;
  background: var(--header);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.header-layout {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  margin-bottom: 0.25rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-tagline {
  color: #c6cbd4;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  color: #e3e6eb;
  border-radius: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgb(255 255 255 / 0.1);
}

.hero {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 8%, rgb(183 137 69 / 0.38), transparent 32%),
    linear-gradient(135deg, #202328, #111820 70%);
}

.hero-compact {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.hero-copy {
  max-width: 800px;
  margin-bottom: 0;
  color: #d4d9e1;
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dbba87;
}

.services {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 1.75rem);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 5px);
}

.service-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 0.35rem;
}

.service-card strong {
  color: var(--ink);
}

.profile-section {
  min-height: 430px;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-card h2 {
  margin-bottom: 1rem;
}

.profile-card p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.profile-monogram {
  width: clamp(110px, 18vw, 170px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #4f3517);
  border-radius: 50%;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.button-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--ink);
  border-radius: 0.45rem;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  color: #ffffff;
  background: var(--accent-dark);
}

.site-footer {
  padding-block: 2.25rem;
  color: #cbd0d8;
  background: var(--header);
  border-top: 3px solid var(--accent);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-layout p {
  margin: 0;
}

.footer-layout p:first-child {
  max-width: 760px;
}

.footer-layout p:last-child {
  flex: none;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding-block: 4rem;
  text-align: center;
}

.error-page p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .header-layout,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-layout {
    min-height: 0;
    padding-block: 1.35rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  .service-card,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    width: 100%;
    max-height: 260px;
  }

  .profile-monogram {
    width: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
