/* ГАРІК НОСАЧ — nosuch.garik
   Monochrome editorial: near-black, off-white, one warm accent.
   The brand contrast: severe visuals, warm words. */

:root {
  --ink: #0d0d0c;
  --paper: #f4f1ec;
  --paper-dim: #e6e1d8;
  --accent: #d97b29;
  --line: rgba(244, 241, 236, 0.16);
  --line-dark: rgba(13, 13, 12, 0.14);
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid var(--paper);
  border-radius: 50% / 42%;
  padding: 8px 18px;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 28px; align-items: center; }

.site-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }

.site-nav .nav-cta {
  opacity: 1;
  color: var(--ink);
  background: var(--paper);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s;
}

.site-nav .nav-cta:hover { background: var(--accent); color: var(--paper); }

@media (max-width: 720px) {
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0; /* spacing lives on .hero .wrap, not the shared section rule */
  background: var(--ink);
}

/* Initial treatment: the photo is a full-bleed backdrop (cover), text sits on
   top of it — same composition as the original Instagram-poster hero, but the
   clean shot without baked-in text. */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,12,0.2) 0%, rgba(13,13,12,0.55) 55%, var(--ink) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 72px;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero .tagline {
  font-size: clamp(18px, 2.2vw, 24px);
  max-width: 640px;
  opacity: 0.92;
  margin-bottom: 34px;
}

.hero .tagline strong { color: var(--accent); font-weight: 600; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: var(--accent); color: var(--paper); }

.btn-ghost { border: 1.5px solid var(--paper); color: var(--paper); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- shared section chrome ---------- */

section { padding: 96px 0; }

/* Anchor targets must clear the sticky header */
section[id] { scroll-margin-top: 84px; }

.section-head { margin-bottom: 48px; max-width: 720px; }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 14px 0 18px;
}

.section-head p { opacity: 0.8; font-size: 18px; }

/* ---------- story / triad ---------- */

.story { border-top: 1px solid var(--line); }

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}

.triad > div { background: var(--ink); padding: 36px 28px; }

.triad h3 {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--accent);
}

.triad p { font-size: 15.5px; opacity: 0.85; }

@media (max-width: 720px) { .triad { grid-template-columns: 1fr; } }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.story-grid figure img {
  filter: grayscale(1) contrast(1.08);
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.story-grid figcaption {
  font-size: 13px;
  opacity: 0.55;
  margin-top: 10px;
}

.story-copy p { margin-bottom: 18px; opacity: 0.9; }

.story-copy .pull {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--paper);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 26px 0;
  opacity: 1;
}

@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- services ---------- */

.services { background: var(--paper); color: var(--ink); }

.services .kicker { color: var(--accent); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fdfcfa;
}

.service .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: uppercase;
  line-height: 1.2;
}

.service p { font-size: 15.5px; opacity: 0.82; }

.service .for { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; opacity: 0.6; margin-top: auto; padding-top: 10px; }

@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.gallery-grid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  filter: grayscale(0.9) contrast(1.05);
  transition: filter 0.35s, transform 0.35s;
}

.gallery-grid a:hover img { filter: grayscale(0) contrast(1); transform: scale(1.03); }

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

.gallery-note { margin-top: 22px; font-size: 14px; opacity: 0.6; }

/* ---------- masterchef / video ---------- */

.masterchef { border-top: 1px solid var(--line); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  background: rgba(244,241,236,0.03);
}

.video-card:hover { border-color: var(--accent); }

.video-card .thumb { position: relative; aspect-ratio: 16 / 9; background: #1c1c1a; }

.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-card .thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: var(--paper);
  background: rgba(13,13,12,0.35);
  transition: background 0.2s;
}

.video-card:hover .thumb::after { background: rgba(13,13,12,0.1); color: var(--accent); }

.video-card .meta { padding: 18px 20px 22px; }

.video-card h3 { font-size: 16px; line-height: 1.4; margin-bottom: 8px; font-weight: 600; }

.video-card p { font-size: 13.5px; opacity: 0.65; }

@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--accent);
  color: var(--ink);
  text-align: center;
}

.cta-band h2 { max-width: 820px; margin-left: auto; margin-right: auto; }

.cta-band p { max-width: 560px; margin: 0 auto 32px; font-size: 18px; }

.cta-band .btn-primary { background: var(--ink); color: var(--paper); }
.cta-band .btn-primary:hover { background: #000; }

/* ---------- contact page ---------- */

.contact-hero { padding: 110px 0 60px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 96px;
}

.contact-list { display: flex; flex-direction: column; gap: 6px; }

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.2s;
}

.contact-item:hover { padding-left: 8px; }

.contact-item .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.contact-item .value { font-size: 19px; font-weight: 600; }

.contact-item:hover .value { color: var(--accent); }

.contact-aside img {
  filter: grayscale(1) contrast(1.08);
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a { opacity: 0.7; }
.site-footer a:hover { opacity: 1; }
.site-footer .fine { opacity: 0.45; }

/* ---------- mobile ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }

  .wrap { padding: 0 20px; }

  .site-header .wrap { height: 60px; }

  .logo { font-size: 13px; padding: 7px 14px; }

  .site-nav .nav-cta { font-size: 12px; padding: 8px 15px; }

  /* Hero: clear the sticky header, let type carry, keep the photo as texture */
  .hero {
    min-height: 0;
    align-items: stretch;
  }

  /* extra top padding keeps his face clear of the headline */
  .hero .wrap {
    padding-top: 232px;
    padding-bottom: 56px;
  }

  /* Mobile: full-bleed crop, no right-anchoring and no side mask */
  .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    opacity: 0.72;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* lighter over his face at the top, darker where the copy sits */
  .hero::after {
    background: linear-gradient(180deg,
      rgba(13,13,12,0.34) 0%,
      rgba(13,13,12,0.40) 24%,
      rgba(13,13,12,0.64) 42%,
      rgba(13,13,12,0.68) 80%,
      var(--ink) 100%);
  }

  .kicker { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 14px; }

  .hero h1 { font-size: 42px; margin-bottom: 18px; }

  .hero .tagline { font-size: 16.5px; margin-bottom: 28px; }

  /* Full-width stacked buttons — no ragged edges */
  .btn-row { flex-direction: column; gap: 12px; }

  .btn { width: 100%; text-align: center; padding: 16px 24px; }

  section { padding: 64px 0; }

  section[id] { scroll-margin-top: 72px; }

  .section-head { margin-bottom: 32px; }

  h2 { font-size: 27px; }

  .section-head p { font-size: 16.5px; }

  .story-grid { gap: 32px; }

  .story-copy .pull { font-size: 17px; padding-left: 16px; margin: 20px 0; }

  .triad { margin-top: 28px; }

  .triad > div { padding: 28px 22px; }

  .service { padding: 28px 22px; }

  .service h3 { font-size: 19px; }

  .gallery-grid { gap: 10px; }

  /* Contact rows: label above value, both left-aligned */
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 0;
  }

  .contact-item .value { font-size: 17px; word-break: break-word; }

  .contact-hero { padding: 92px 0 40px; }

  .contact-grid { gap: 40px; padding-bottom: 64px; }

  .site-footer { padding: 32px 0; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .logo { font-size: 12px; letter-spacing: 0.05em; }
}
