@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --plaster: #e9ebec;
  --plaster-2: #dcdfe1;
  --graphite: #1e2023;
  --graphite-2: #2a2d31;
  --ink: #1e2023;
  --ink-soft: #596067;
  --line: #c4c9cd;
  --red: #b3202e;
  --red-deep: #931a26;
  --white: #fff;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: normal; color: var(--red); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--graphite); color: var(--white); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 1.5em;
  background: var(--red); color: var(--white);
  border: 1.5px solid var(--red); border-radius: 2px;
  font: 600 1rem/1 "Archivo", sans-serif; font-stretch: 106%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--graphite); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--red); }
.btn--light:hover { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 1.15em; font-size: .9375rem; }
.btn--wide { width: 100%; }

/* header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  color: var(--white);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.is-solid { background: rgba(233,235,236,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr__in {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; gap: 32px;
}
.hdr__logo { flex: none; width: 132px; color: var(--white); transition: color .35s var(--ease); }
.hdr.is-solid .hdr__logo { color: var(--red); }
.logo { display: block; background: currentColor; -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain; }
.logo--mark { --m: url("../img/jaraks-mark.svg"); aspect-ratio: 4945 / 1304; }
.logo--full { --m: url("../img/jaraks-logo.svg"); aspect-ratio: 4945 / 1484; }
.nav { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-weight: 520; font-size: .9688rem; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.nav__m { display: none; }
.hdr__end { display: flex; align-items: center; gap: 20px; }
.lng { display: flex; gap: 8px; font-size: .875rem; font-weight: 600; letter-spacing: .04em; }
.lng span { opacity: 1; }
.lng a { text-decoration: none; opacity: .55; transition: opacity .2s; }
.lng a:hover { opacity: 1; }
.lng span + a::before { content: "/"; margin-right: 8px; opacity: .5; display: inline-block; }
.burger { display: none; }

/* hero */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px;
  color: var(--white); background: var(--graphite); overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,21,23,.48) 0%, rgba(20,21,23,0) 22%),
    linear-gradient(0deg, rgba(20,21,23,.78) 0%, rgba(20,21,23,.35) 38%, rgba(20,21,23,0) 62%);
}
.hero__in {
  position: relative; height: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-bottom: clamp(36px, 6vh, 72px);
}
.hero__copy { max-width: 820px; }
.hero__title {
  font-size: clamp(2.9rem, 7.4vw, 7.2rem); line-height: .92; font-weight: 760; font-stretch: 112%;
  letter-spacing: -.028em; text-wrap: balance;
}
.hero__text { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: rgba(255,255,255,.88); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.reel { flex: none; width: 260px; padding-bottom: 6px; }
.reel__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.reel__bars i { position: relative; height: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.reel__bars i::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.reel__cap { margin-top: 12px; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.9); transition: opacity .3s; }
.reel__cap.is-swap { opacity: 0; }

/* intro */
.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px);
  padding-block: clamp(80px, 12vw, 170px);
  align-items: start;
}
.intro__text {
  font-size: clamp(1.6rem, 3.1vw, 2.85rem); line-height: 1.16; font-weight: 560; font-stretch: 104%;
  letter-spacing: -.018em; text-wrap: pretty;
}
.intro__sign { aspect-ratio: 3 / 2; overflow: hidden; background: var(--plaster-2); }
.intro__sign img { width: 100%; height: 100%; object-fit: cover; }
.facts { margin-top: 28px; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-size: .9375rem; }
.facts dd { font-weight: 600; }

/* chapters */
.ch__media {
  position: relative; height: clamp(440px, 82vh, 860px); overflow: hidden; background: var(--graphite);
}
.ch__media > img, .ch__media > video { width: 100%; height: 100%; object-fit: cover; }
.ch__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,21,23,.62) 0%, rgba(20,21,23,0) 46%);
}
.ch__title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding-bottom: clamp(26px, 4.4vw, 60px);
  color: var(--white);
  font-size: clamp(2.6rem, 8.2vw, 8.4rem); line-height: .9; font-weight: 780; font-stretch: 116%;
  letter-spacing: -.03em;
}
.ch__body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px);
  padding-block: clamp(56px, 8vw, 120px) clamp(80px, 11vw, 160px);
}
.ch__lead { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.38; font-weight: 450; text-wrap: pretty; max-width: 30em; }
.ch__aside { margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 3 / 2; overflow: hidden; max-width: 640px; }
.ch__aside img { width: 100%; height: 100%; object-fit: cover; }

.list { counter-reset: n; }
.list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 1.125rem; font-weight: 560;
}
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before {
  content: ""; flex: none; width: 8px; height: 8px; background: var(--red); transform: translateY(-2px);
}
.more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-weight: 640; text-decoration: none; color: var(--red);
}
.more svg { width: 22px; height: 12px; transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(5px); }

/* titles */
.ch__title, .h2, .rent__title { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: .2em; }
.ch__title::after, .h2::after, .rent__title::after {
  content: ""; flex: 1 0 1.4em; height: max(3px, .055em); margin-bottom: .37em;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 1.3s var(--ease) .25s;
}
.ch__title::after { margin-right: calc(-1 * var(--pad)); }
.rent__title::after { background: var(--white); }
.rv.in::after, .no-rv::after { transform: scaleX(1); }

/* projects */
.obj { background: var(--plaster-2); padding-block: clamp(80px, 11vw, 160px); }
.obj__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.h2 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: .94; font-weight: 770; font-stretch: 114%; letter-spacing: -.028em; }
.obj__lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 26em; }
.obj__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; }
.card__img { overflow: hidden; background: var(--line); flex: 1; min-height: clamp(300px, 34vw, 520px); }
.card__img img, .card__img video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img, .card:hover .card__img video { transform: scale(1.035); }
.card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.card figcaption strong { font-weight: 640; font-size: 1.0625rem; }
.card figcaption span { color: var(--ink-soft); font-size: .9375rem; }

/* farm gallery */
.gal {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 21vw, 330px);
  gap: clamp(8px, 1vw, 14px); padding-bottom: clamp(80px, 11vw, 160px); margin-top: calc(-1 * clamp(32px, 5vw, 80px));
}
.gal__i { overflow: hidden; background: var(--line); }
.gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__i:hover img { transform: scale(1.03); }
.gal__w { grid-column: span 2; }
.gal__t { grid-row: span 2; }

/* rent */
.rent { background: var(--red); color: var(--white); }
.rent__in {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px);
  padding-block: clamp(80px, 11vw, 160px); align-items: end;
}
.rent__title { font-size: clamp(2.8rem, 7.6vw, 7.6rem); line-height: .9; font-weight: 780; font-stretch: 116%; letter-spacing: -.03em; text-wrap: balance; }
.rent__copy p { color: rgba(255,255,255,.88); max-width: 30em; }
.rent__copy .rent__lead { color: var(--white); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.4; font-weight: 500; margin-bottom: 14px; }
.rent__copy .btn { margin-top: 30px; }
.rent__pics {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(8px, 1vw, 14px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.rent__pics figure { overflow: hidden; aspect-ratio: 3 / 2; background: var(--red-deep); }
.rent__pics figure:last-child { aspect-ratio: auto; }
.rent__pics img { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact { background: var(--graphite); color: var(--white); }
.contact__in {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 130px);
  padding-block: clamp(80px, 11vw, 160px);
}
.contact__lead { margin-top: 22px; font-size: 1.125rem; color: rgba(255,255,255,.75); max-width: 28em; }
.cdl { margin-top: 40px; }
.cdl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.cdl dt { color: rgba(255,255,255,.55); font-size: .9375rem; }
.cdl dd { line-height: 1.5; }
.cdl a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .2s; }
.cdl a:hover { border-color: var(--white); }
.map { margin-top: 36px; height: 280px; background: var(--graphite-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(.85); }

.form { align-self: start; background: var(--graphite-2); padding: clamp(24px, 3.2vw, 44px); }
.fld { display: block; margin-bottom: 18px; }
.fld span { display: block; font-size: .875rem; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.25);
  background: transparent; color: var(--white); font: inherit; border-radius: 0;
  transition: border-color .2s;
}
.fld textarea { resize: vertical; min-height: 110px; }
.fld select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.fld select option { color: var(--ink); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--white); }
.fld.is-bad input, .fld.is-bad textarea { border-color: #f08a92; }
.form .btn { margin-top: 10px; }
.form__note { margin-top: 14px; min-height: 1.6em; font-size: .9375rem; color: rgba(255,255,255,.8); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.ftr { background: #17181a; color: rgba(255,255,255,.6); }
.ftr__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 48px; }
.ftr__logo { width: 190px; color: var(--white); }
.ftr__meta { text-align: right; font-size: .875rem; line-height: 1.7; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .ch__title::after, .h2::after, .rent__title::after { transform: none; transition: none; }
  .card__img img, .card__img video { transition: none; }
}

/* tablet / mobile */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: .9063rem; }
  .hdr__end .btn--sm { display: none; }
}

@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .hdr__logo { width: 112px; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .nav {
    position: fixed; inset: var(--hdr) 0 0; z-index: -1;
    flex-direction: column; gap: 0; margin: 0; padding: 18px var(--pad) 40px;
    background: var(--plaster); color: var(--ink);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav a { font-size: 1.75rem; font-weight: 700; font-stretch: 110%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__m { display: block; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .menu-open .hdr { background: var(--plaster); color: var(--ink); }
  .menu-open .hdr__logo { color: var(--red); }
  .menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .hdr__end { margin-left: auto; gap: 14px; }

  .hero__in { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 28px; }
  .reel { width: 100%; }
  .intro, .ch__body, .obj__head, .rent__in, .contact__in { grid-template-columns: 1fr; }
  .obj__grid { grid-template-columns: 1fr; }
  .card__img { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .gal { grid-template-columns: 1fr; grid-auto-rows: auto; margin-top: 0; }
  .gal__w, .gal__t { grid-column: auto; grid-row: auto; }
  .gal__i { aspect-ratio: 4 / 3; }
  .gal__t { aspect-ratio: 4 / 5; }
  .rent__pics { grid-template-columns: 1fr; }
  .rent__pics figure:last-child { aspect-ratio: 3 / 2; }
  .ch__media { height: clamp(380px, 70vh, 640px); }
  .ftr__in { flex-direction: column; align-items: flex-start; }
  .ftr__meta { text-align: left; }
}

@media (max-width: 520px) {
  .hero__btns .btn { flex: 1 1 auto; }
  .facts div, .cdl div { grid-template-columns: 1fr; gap: 2px; }
  .list li { font-size: 1.0625rem; }
}
