@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #f7f7f3;
  --text: #242825;
  --muted: #666b66;
  --accent: #ea583a;
  --accent-dark: #b7371d;
  --space: clamp(2rem, 5.1vw, 5.5rem);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 6px; }
::selection { background: #f9b5a5; color: #242825; }

.page { position: relative; display: grid; grid-template-columns: 53% 47%; grid-template-rows: auto 1fr auto; min-height: 100svh; max-width: 1920px; margin-inline: auto; }
.header { grid-column: 1; padding: 3rem var(--space) 0; }
.brand { display: inline-block; }
.brand img { display: block; width: 224px; max-width: 100%; height: auto; }
.main { display: contents; }
.intro { grid-column: 1; grid-row: 2; align-self: center; padding: 4rem var(--space) 3.5rem; }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 2rem; color: var(--muted); font-size: 0.75rem; line-height: 1.7; letter-spacing: 0.13em; font-weight: 700; text-transform: uppercase; }
.eyebrow span { width: 1.5rem; height: 2px; background: var(--accent); flex: none; }
h1 { margin: 0 0 2rem; font-size: clamp(3.5rem, 5.85vw, 6.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.055em; }
h1 span { color: var(--accent-dark); }
h2 { margin: 0 0 0.9rem; font-size: 1.125rem; line-height: 1.6; font-weight: 700; letter-spacing: -0.025em; }
.description, .welcome { max-width: 27rem; margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.85; }
.welcome { margin-top: 0.75rem; }
.contact { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.6rem; }
.contact-note { width: 100%; margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.7; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; min-height: 52px; padding: 0.85rem 1.4rem; border: 1px solid var(--text); border-radius: 3px; background: var(--text); color: white; font-size: 0.875rem; line-height: 1.5; font-weight: 600; transition: background 180ms, border-color 180ms, transform 180ms; }
.contact-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.phone { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; font-size: 0.8125rem; line-height: 1.6; font-weight: 500; white-space: nowrap; }
.phone svg { color: var(--muted); }
.phone:hover { color: var(--accent-dark); }
.visual { position: relative; grid-column: 2; grid-row: 1 / -1; margin: 1rem 1rem 1rem 0; min-height: 680px; overflow: hidden; border-radius: 4px; background: #536350; }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(21 32 24 / 24%) 0%, transparent 35%, rgb(21 32 24 / 5%) 50%, rgb(15 27 20 / 73%) 100%); pointer-events: none; }
.visual-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.visual-top { position: absolute; z-index: 1; top: 2rem; left: 2.5rem; right: 2.5rem; display: flex; align-items: center; gap: 0.8rem; color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.visual-line { width: 1.5rem; height: 1px; background: #fff; }
.visual-caption { position: absolute; z-index: 1; bottom: 3.5rem; left: 3rem; right: 2rem; color: #fff; }
.visual-caption p { margin: 0 0 1.4rem; font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 1.2; letter-spacing: -0.04em; font-weight: 500; }
.visual-caption > span { display: block; color: rgb(255 255 255 / 86%); font-size: 0.8125rem; line-height: 1.8; }
.footer { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 0 var(--space) 2rem; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.footer nav { display: flex; gap: 1.25rem; }
.footer a { text-underline-offset: 4px; }
.footer a:hover { color: var(--text); text-decoration: underline; }

@media (min-width: 1000px) and (min-height: 850px) {
  .intro { padding-block: 5rem; }
  .header { padding-top: 3.5rem; }
  .footer { padding-bottom: 2.5rem; }
}

@media (max-width: 1100px) {
  :root { --space: 2.5rem; }
  .page { grid-template-columns: 55% 45%; }
  .intro { padding-block: 3.5rem; }
  h1 { font-size: clamp(3.5rem, 6.3vw, 5rem); }
  .contact { gap: 0.8rem 1.25rem; }
  .visual-caption { left: 2rem; bottom: 2.5rem; }
  .visual-top { left: 2rem; right: 2rem; }
}

@media (max-width: 760px) {
  :root { --space: 1.5rem; }
  .page { display: flex; flex-direction: column; min-height: 100svh; }
  .header { padding: 2rem var(--space) 0; }
  .brand img { width: 196px; }
  .main { display: flex; flex-direction: column; }
  .intro { align-self: stretch; padding: 3.25rem var(--space) 2.5rem; }
  .eyebrow { margin-bottom: 1.5rem; font-size: 0.75rem; }
  h1 { font-size: clamp(3.25rem, 11vw, 5rem); margin-bottom: 1.6rem; }
  .description, .welcome { max-width: 33rem; }
  .contact { margin-top: 1.8rem; gap: 0.75rem 1.4rem; }
  .contact-note { font-size: 0.8125rem; }
  .visual { flex: none; min-height: 0; height: 440px; margin: 0 1rem; }
  .visual-image { object-position: 60% center; }
  .visual-top { top: 1.6rem; left: 1.5rem; }
  .visual-caption { left: 1.5rem; bottom: 2rem; }
  .visual-caption p { font-size: 2.4rem; margin-bottom: 1rem; }
  .footer { padding: 1.75rem var(--space); margin-top: auto; }
}

@media (max-width: 380px) {
  :root { --space: 1.25rem; }
  .contact { align-items: flex-start; flex-direction: column; gap: 0.7rem; }
  .footer { font-size: 0.75rem; gap: 0.75rem; }
  .footer nav { gap: 1rem; }
  .visual { height: 380px; }
}

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