@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #151515;
  --accent: #ffa51f;
  --paper: #ffffff;
  --muted: #525252;
  --line: #dcdcdc;
  --serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid #b76300; outline-offset: 5px; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 8px; left: 8px; padding: .7rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: clamp(92px, 10vw, 132px); height: auto; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.4rem); }
nav a { text-decoration: none; font-weight: 600; font-size: .91rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-contact { border: 1px solid var(--line); padding: .4rem .85rem; border-radius: 40px; white-space: nowrap; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  block-size: min(620px, calc(100dvh - var(--header-height, 77px)));
  padding-block: clamp(.75rem, 3dvh, 1.875rem);
  overflow: auto;
}
.hero-copy { align-self: center; padding: .5rem 1.5rem .5rem 0; }
.hero-image { min-block-size: 0; border-radius: 4px; background: #333333 url('hero.webp') center 52% / cover no-repeat; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .72rem; letter-spacing: .14em; font-weight: 700; }
.eyebrow span { width: .5rem; height: .5rem; border-radius: 50%; background: #d47b00; flex: none; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.025em; }
h1 { font-size: clamp(2.75rem, min(7.8vw, 14dvh), 7.4rem); }
h1 em { color: #955000; }
h2 { font-size: clamp(2.65rem, 5.4vw, 4.85rem); }
h3 { margin: 1.2rem 0 .45rem; font-size: 1.13rem; }
.lead { max-width: 36ch; margin: 1.4rem 0 1.8rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .86rem 1.15rem; border: 1px solid transparent; border-radius: 40px; background: var(--ink); color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); background: #363636; }
.solutions { padding-block: clamp(3rem, 7vw, 6rem); background: #f3f3f3; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin-top: 2rem; }
article { border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.15rem, 2.5vw, 2rem); background: var(--paper); }
article p { margin: 0; color: var(--muted); }
.card-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #ffebcd; font-size: 1.3rem; }
.about, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.5rem, 7vw, 6rem); padding-block: clamp(3rem, 8vw, 7rem); }
.about .lead { align-self: end; margin-bottom: 0; }
.contact { color: var(--paper); background: var(--ink); }
.contact .lead { color: #d1d1d1; }
.contact .eyebrow span { background: var(--accent); }
form { display: grid; gap: .48rem; }
form label { font-weight: 600; }
form label small, .form-note { color: #d1d1d1; }
input, textarea { width: 100%; min-width: 0; border: 1px solid #8c8c8c; border-radius: 4px; padding: .62rem .8rem; margin-bottom: .42rem; color: white; background: #262626; font: inherit; }
textarea { resize: vertical; }
.form-note { margin: .1rem 0 .5rem; font-size: .86rem; }
form .button { justify-self: start; color: var(--ink); background: var(--accent); }
form .button:hover { background: #ffbd60; }
.feedback { margin: 0 0 .5rem; padding: .65rem .85rem; border: 1px solid currentColor; border-radius: 4px; }
.success { color: var(--accent); }
.error { color: #ffd6ca; }
.footer small { color: var(--muted); }
@media (max-width: 760px) {
  .hero, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero { grid-template-rows: auto minmax(0, 1fr); block-size: min(700px, calc(100dvh - var(--header-height, 77px))); gap: .65rem; }
  .hero-copy { padding: .5rem 0; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .top-inner { flex-wrap: wrap; gap: .4rem; padding-block: .6rem; }
}
@media (max-height: 530px) {
  .hero .eyebrow { margin-bottom: .5rem; }
  .hero .lead { margin-block: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
