@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Manrope:wght@400;500&display=swap");

:root {
  --paper: #f1efe9;
  --ink: #1c211d;
  --muted: #656b65;
  --line: rgba(28, 33, 29, 0.2);
  --accent: #8e3f2e;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 64px, 1400px);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: inherit;
  font: 500 24px/1 "Manrope", Arial, sans-serif;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.brand span { color: var(--accent); }

.header p, footer p { margin: 0; }

.header p {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  width: min(780px, 72%);
  align-self: center;
  padding: 72px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font: 400 clamp(44px, 6.3vw, 94px)/0.98 "Manrope", Arial, sans-serif;
  letter-spacing: -0.055em;
}

.intro {
  margin: 34px 0 56px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  min-height: 108px;
  padding: 20px 0;
  color: inherit;
  border-top: 1px solid var(--ink);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact .label {
  grid-column: 1;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact .value {
  grid-column: 1;
  align-self: end;
  font-size: 15px;
}

.contact .arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 22px;
  transition: transform 180ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.contact a:hover .arrow,
.contact a:focus-visible .arrow { transform: translate(3px, -3px); }

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shape {
  position: fixed;
  right: -7vw;
  bottom: -16vw;
  width: 43vw;
  height: 43vw;
  border: 1px solid rgba(142, 63, 46, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.shape::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(142, 63, 46, 0.13);
  border-radius: inherit;
}

body.loaded .hero { animation: appear 650ms ease both; }

@keyframes appear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .page { width: min(100% - 40px, 1400px); }
  .header { padding: 25px 0; }
  .header p { font-size: 10px; }
  .hero { width: 100%; padding: 64px 0 48px; }
  h1 { font-size: clamp(42px, 13vw, 64px); }
  .intro { margin: 28px 0 42px; }
  .contact { grid-template-columns: 1fr; gap: 8px; }
  .contact a { min-height: 88px; }
  footer { gap: 20px; }
  .shape { width: 80vw; height: 80vw; right: -36vw; bottom: -15vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
