:root {
  color-scheme: light;
  --ink: #151820;
  --muted: #646975;
  --paper: #f4f4f1;
  --line: #d8d9d7;
  --yellow: #e8d150;
  --violet: #7047eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; }
.inner { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 10; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px clamp(22px, 5vw, 72px); border-bottom: 1px solid rgba(216, 217, 215, 0.8); background: rgba(244, 244, 241, 0.93); backdrop-filter: blur(16px); }
.wordmark { font-size: 22px; font-weight: 900; text-decoration: none; }
nav { display: flex; gap: 7px; }
nav a { padding: 8px 11px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none; }
nav a:hover { background: #e7e7e3; color: var(--ink); }

.hero { position: relative; min-height: calc(100svh - 70px); display: grid; align-items: end; overflow: hidden; padding: clamp(70px, 10vw, 130px) clamp(22px, 7vw, 110px) clamp(70px, 9vw, 112px); color: #fff; background: #11141c url("assets/peregra-present.png") center / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 19, 0.95) 0%, rgba(11, 13, 19, 0.78) 43%, rgba(11, 13, 19, 0.16) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: #9a7ff1; font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.hero .eyebrow { color: #e8d150; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(58px, 9vw, 112px); line-height: 0.9; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 62px); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 22px; }
.hero p:not(.eyebrow) { max-width: 710px; color: rgba(255,255,255,0.88); font-size: clamp(20px, 2.5vw, 30px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; padding: 12px 18px; border: 1px solid #fff; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 850; text-decoration: none; }
.button.violet { border-color: var(--violet); background: var(--violet); color: #fff; }

.statement { padding: clamp(64px, 9vw, 120px) 0; background: #fff; }
.statement-grid { display: grid; grid-template-columns: 0.55fr 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
.statement-copy { margin-top: 8px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); }

.principles { padding: 0 0 clamp(64px, 9vw, 110px); background: #fff; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); gap: 1px; }
.principle-grid article { min-height: 240px; padding: clamp(24px, 3vw, 38px); background: #f9f9f7; }
.principle-grid span { display: block; margin-bottom: 46px; color: #8a760d; font-size: 13px; font-weight: 900; }
.principle-grid p, .product-copy p, .contact p { color: var(--muted); }

.product { padding: clamp(66px, 9vw, 116px) 0; overflow: hidden; background: #181b24; color: #fff; }
.product-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(34px, 6vw, 84px); align-items: center; }
.product-copy p { max-width: 540px; color: #c7cad1; font-size: 18px; }
.product figure { margin: 0; overflow: hidden; border: 8px solid #31343e; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,0.4); }
.product img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.contact { padding: clamp(60px, 8vw, 100px) 0; background: var(--yellow); }
.contact-row { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: end; }
.contact-row h2 { margin-bottom: 0; }
.contact-row > div:last-child { padding-bottom: 8px; }
.contact-row p { margin-bottom: 8px; color: #534b1b; }
.contact-row a { font-size: clamp(20px, 2.3vw, 28px); font-weight: 900; }

footer { padding: 34px 0; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row > div { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-row > div:first-child { display: grid; gap: 2px; }
.footer-row strong { color: var(--ink); }
.footer-row a { text-decoration: none; }

@media (max-width: 820px) {
  .hero { min-height: 740px; background-position: 58% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(11,13,19,0.62), rgba(11,13,19,0.96) 80%); }
  .statement-grid, .product-grid, .contact-row { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: auto; }
  .principle-grid span { margin-bottom: 24px; }
}

@media (max-width: 560px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 6px; }
  nav { width: 100%; overflow-x: auto; }
  nav a { white-space: nowrap; }
  .hero { min-height: 670px; }
  h1 { font-size: 58px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
