@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700&display=swap");

:root {
  --bg: #f4f0e9;
  --paper: #fbfaf6;
  --text: #242322;
  --muted: #706a61;
  --line: rgba(36, 35, 34, .12);
  --accent: #a83223;
  --accent-dark: #7c2118;
  --shadow: 0 28px 80px rgba(32, 28, 24, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(168, 50, 35, .08), transparent 34%),
    linear-gradient(135deg, #fff 0%, var(--bg) 52%, #e8e0d4 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.page {
  width: min(1640px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 22px clamp(20px, 5vw, 78px);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 54px;
  display: block;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid var(--accent);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 22% 50%, 100% 72%, 100% 100%, 0 100%);
}

.brand-mark::after,
.brand-mark span::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: #1f1f1f;
}

.brand-mark::after {
  top: 21px;
  transform: rotate(-22deg);
}

.brand-mark span::before {
  top: 31px;
  transform: rotate(22deg);
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

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

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 72px);
  padding: 24px clamp(20px, 5vw, 78px) 42px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.small-line {
  display: block;
  width: 86px;
  height: 2px;
  margin-bottom: 34px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(64px, 9vw, 148px);
  line-height: .86;
  letter-spacing: -.09em;
  font-weight: 900;
  text-transform: uppercase;
}

h1 span,
h1 strong {
  display: inline-block;
}

h1 span {
  color: #252525;
}

h1 strong {
  color: var(--accent);
}

.lead {
  max-width: 690px;
  margin: 48px 0 0;
  font-size: clamp(25px, 2.2vw, 42px);
  line-height: 1.32;
  font-weight: 650;
  letter-spacing: -.04em;
}

.text {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.14vw, 21px);
  line-height: 1.75;
}

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

.instagram-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(168, 50, 35, .22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.instagram-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 24px 50px rgba(168, 50, 35, .30);
}

.instagram-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site {
  color: #2c2a28;
  font-size: 16px;
  font-weight: 800;
}

.hero-photo {
  position: relative;
  min-height: 610px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.20)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1500&q=85");
  background-size: cover;
  background-position: center;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,.02), rgba(0,0,0,.08));
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 78px) 42px;
}

.services article {
  min-height: 165px;
  padding: 24px;
  background: rgba(255, 255, 255, .60);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.services span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.services h2 {
  margin: 12px 0 10px;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.32;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .services article {
    min-height: 140px;
  }
}

@media (max-width: 1024px) {
  .header {
    min-height: 84px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-photo {
    min-height: 420px;
    border-radius: 28px;
  }

  .lead {
    margin-top: 36px;
  }
}

@media (max-width: 700px) {
  .header {
    min-height: 76px;
    padding: 18px 18px 8px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 42px;
  }

  .brand-mark::before {
    border-width: 3px;
  }

  .brand-mark::after,
  .brand-mark span::before {
    left: 8px;
    width: 21px;
    height: 3px;
  }

  .brand-mark::after {
    top: 16px;
  }

  .brand-mark span::before {
    top: 24px;
  }

  .brand-name {
    font-size: 25px;
  }

  .hero {
    gap: 28px;
    padding: 30px 18px 28px;
  }

  .small-line {
    width: 62px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 78px);
    line-height: .9;
    letter-spacing: -.075em;
  }

  .lead {
    margin-top: 30px;
    font-size: clamp(23px, 8vw, 31px);
  }

  .text {
    font-size: 16px;
    line-height: 1.65;
  }

  .actions {
    margin-top: 30px;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .instagram-btn {
    width: 100%;
  }

  .site {
    text-align: center;
  }

  .hero-photo {
    min-height: 300px;
    border-radius: 22px;
    background-position: center;
  }

  .services {
    grid-template-columns: 1fr;
    padding: 0 18px 26px;
  }

  .services article {
    min-height: auto;
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 22px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 22px;
  }
}
