:root {
  color-scheme: light;
  --ink: #171814;
  --cream: #f5f2e9;
  --gold: #ffcc19;
  --night: #191b17;
  --line: #d3cfc3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #a75b00; outline-offset: 5px; }
h1, h2, p { margin: 0; }
h1, h2 { letter-spacing: -.055em; line-height: .99; }

.wrap {
  width: min(1190px, calc(100% - 88px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  padding: 12px;
  background: var(--gold);
  transform: translateY(-150%);
  z-index: 10;
}

.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  min-height: 78px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: grid;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
}

.brand strong { font-size: 1.8rem; letter-spacing: -.055em; }
.brand span { font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.header-phone { font-size: .95rem; font-weight: 800; text-underline-offset: 5px; white-space: nowrap; }

.hero {
  background: var(--night);
  color: var(--cream);
  padding: clamp(44px, 6vw, 88px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
}

.location {
  margin-bottom: 21px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
}

h1 { font-size: clamp(3.2rem, 7vw, 6.75rem); }
h1 em { color: var(--gold); font-style: normal; }

.intro {
  max-width: 32ch;
  margin-top: 24px;
  color: #e0ded3;
  font-size: clamp(1.05rem, 1.5vw, 1.23rem);
}

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
}

.primary { background: var(--gold); color: var(--ink); }
.primary:hover { background: #ffdd55; }
.secondary { border-color: #84857a; color: var(--cream); }
.secondary:hover { background: #373a31; }
.dark { background: var(--night); color: var(--cream); }
.dark:hover { background: #34372d; }
.call { padding-block: 10px; font-weight: 700; text-underline-offset: 5px; }

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.services {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 18px 36px;
  padding-block: 36px;
}

.services h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.services ul { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.services li { font-size: .95rem; font-weight: 700; }
.services li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; background: #a56c00; }

.quote { background: var(--gold); }
.quote-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 37px;
}

.quote h2 { font-size: clamp(2.1rem, 4.1vw, 3.55rem); }
.quote p { margin-top: 8px; }
.footer { padding-block: 29px; font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 36px; }
.footer p { margin: 4px 0; }
.footer small { color: #53534b; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; text-underline-offset: 3px; }
.mobile-contact { display: none; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; }
  .brand strong { font-size: 1.45rem; }
  .header-phone { font-size: .85rem; }
  .hero { padding-block: 27px 12px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-photo {
    width: calc(100% + 16px);
    margin-inline: -8px;
  }
  h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .location { margin-bottom: 16px; }
  .intro { margin-top: 17px; }
  .actions { margin-top: 20px; }
  .services { grid-template-columns: 1fr; padding-block: 27px; }
  .quote-inner { padding-block: 28px; }
  .footer { padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
  .mobile-contact {
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 8px;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    background: var(--night);
    border-top: 1px solid #64655e;
  }
  .mobile-contact .button { min-height: 46px; padding-inline: 8px; }
}

.work { border-top: 1px solid var(--line); padding-block: 28px 39px; }
.work h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 19px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.work figure { margin: 0; }
.work img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.work figcaption { margin-top: 7px; font-size: .9rem; font-weight: 700; }

@media (max-width: 760px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .work img { height: auto; aspect-ratio: auto; }
}
