:root {
  color-scheme: light;
  --ink: #14211d;
  --muted: #5b6660;
  --line: #d9e0dc;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #1d6b4f;
  --green-dark: #0f3d30;
  --amber: #d4953b;
  --clay: #b85f47;
  --shadow: 0 24px 60px rgba(20, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 244, 0.88);
  border-bottom: 1px solid rgba(217, 224, 220, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 2px;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.icon-link {
  color: var(--green);
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(54px, 8vw, 112px) clamp(18px, 4vw, 56px) 44px;
  background:
    linear-gradient(120deg, rgba(20, 33, 29, 0.84), rgba(20, 33, 29, 0.2)),
    url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=2200&q=82") center/cover;
  color: var(--white);
}

.hero-copy {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
}

.hero p,
.section p {
  max-width: 720px;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: 18px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--amber);
  color: #1e1609;
}

.button.ghost {
  border-color: currentColor;
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: end;
  padding-bottom: 24px;
}

.hero-panel span {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(20, 33, 29, 0.06);
}

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

.service-card p {
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 5vw, 70px);
  background: var(--green-dark);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.work-card span {
  font-weight: 800;
  color: #ffe1b0;
}

.tone-0 {
  background: linear-gradient(160deg, #1d6b4f, #203b33);
}

.tone-1 {
  background: linear-gradient(160deg, #b85f47, #4c2a23);
}

.tone-2 {
  background: linear-gradient(160deg, #d4953b, #4c3920);
}

.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  background: var(--white);
}

.ownership-offer {
  padding: 22px clamp(18px, 4vw, 56px) 34px;
  background: var(--white);
}

.ownership-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--amber) 56%, var(--line));
  border-radius: 8px;
  background: linear-gradient(135deg, #fff6e6, #e9f5ef);
  box-shadow: 0 14px 36px rgba(20, 33, 29, 0.08);
}

.ownership-link span {
  color: var(--green-dark);
  font-weight: 800;
}

.ownership-link strong {
  color: #1e1609;
  font-size: clamp(18px, 2.3vw, 30px);
  line-height: 1.1;
  text-align: right;
}

.contact-form,
.admin-card,
.admin-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.notice,
.error {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.notice {
  background: #e7f4ec;
  color: #145d3f;
}

.error {
  background: #ffe9e5;
  color: #8c2f21;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.admin-shell.compact {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-grid label:has(textarea),
.wide {
  grid-column: 1 / -1;
}

.lead-list {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lead {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.lead:first-of-type {
  border-top: 0;
}

.lead span,
.lead small {
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar,
  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 10px;
  }

  .hero,
  .split,
  .contact-band,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .ownership-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .ownership-link strong {
    text-align: left;
  }

  .service-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }
}
