:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --paper-deep: #ebe8dc;
  --ink: #1d2924;
  --muted: #68716a;
  --green: #16483d;
  --green-light: #dce5d8;
  --lime: #d6df79;
  --line: rgba(29, 41, 36, .17);
  --georgian: "Noto Sans Georgian", sans-serif;
  --latin: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--georgian);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #77903a;
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.5%;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

.brand-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #8eaa9b;
  border-radius: 50%;
  font-family: var(--latin);
  font-size: 15px;
  font-weight: 500;
}

.brand-wordmark {
  position: relative;
  font-family: var(--latin);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.brand-wordmark > span {
  font-weight: 400;
}

.brand-wordmark small {
  display: block;
  margin-top: 2px;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 3.2px;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-left: 70px;
}

.main-nav a,
.header-link {
  font-size: 10px;
  transition: color .2s ease;
}

.main-nav a:hover,
.header-link:hover,
.text-link:hover,
.back-to-top:hover {
  color: #77903a;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(710px, calc(100svh - 82px));
  grid-template-columns: 48% 52%;
  padding: 42px 7.5% 61px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 25px 3% 30px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 23px;
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #9baa4f;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -.07em;
}

h1 {
  margin-bottom: 21px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.3;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}

.hero-description {
  max-width: 430px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 0 19px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  transition: background .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #236251;
}

.hero-signature {
  position: absolute;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
}

.signature-line {
  width: 30px;
  height: 1px;
  background: #899a75;
}

.hero-visual {
  position: relative;
  min-height: 530px;
}

.hero-visual::before {
  position: absolute;
  top: 16px;
  right: -15px;
  bottom: -12px;
  left: 18px;
  border: 1px solid #c9d0bc;
  content: "";
}

.hero-visual > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero-photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  min-width: 208px;
  flex-direction: column;
  gap: 5px;
  padding: 14px 19px;
  background: var(--lime);
  color: var(--green);
}

.hero-photo-caption span:first-child {
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-photo-caption span:last-child {
  font-size: 9px;
}

.hero-number {
  position: absolute;
  top: 17px;
  left: 17px;
  padding: 8px 10px;
  background: var(--paper);
  color: var(--green);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 1px;
}

.hero-bottomline {
  position: absolute;
  right: 7.5%;
  bottom: 20px;
  left: 7.5%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.section-shell {
  padding-right: 10%;
  padding-left: 10%;
}

.products {
  padding-top: 112px;
  padding-bottom: 120px;
  background: #eeece3;
}

.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-topline .eyebrow {
  margin-bottom: 0;
}

.section-number {
  color: var(--muted);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: .09em;
}

.section-heading,
.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 41px 0 38px;
}

.section-heading h2,
.gallery-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.35;
}

.section-heading > p,
.gallery-heading > p {
  max-width: 280px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
}

.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: .88;
  background: #d2c8b3;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .75, .3, 1);
}

.product-image:hover img {
  transform: scale(1.045);
}

.image-count {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font-family: var(--latin);
  font-size: 9px;
}

.image-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font-family: var(--latin);
  font-size: 13px;
  transition: transform .2s ease;
}

.product-image:hover .image-arrow {
  transform: rotate(45deg);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: var(--green);
  font-size: 9px;
}

.product-meta span:last-child {
  color: var(--muted);
  font-family: var(--latin);
  font-size: 8px;
}

.product-card h3 {
  margin: 12px 0 9px;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -.045em;
}

.product-card > p {
  min-height: 35px;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--latin), var(--georgian);
  font-size: 9px;
  line-height: 1.8;
}

.product-footnote {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--green);
  color: var(--paper);
}

.about-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.about-photo > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.photo-tag {
  position: absolute;
  bottom: 23px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 13px;
  background: var(--paper);
  color: var(--green);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.photo-tag i {
  color: #8fa04b;
  font-size: 14px;
  font-style: normal;
}

.about-copy {
  position: relative;
  align-self: center;
  padding: 88px 13%;
}

.about-copy .eyebrow {
  color: #dbe5b6;
}

.about-copy h2 {
  margin-bottom: 17px;
  font-size: clamp(38px, 4.5vw, 58px);
}

.about-lead {
  max-width: 390px;
  margin-bottom: 16px;
  color: #f4f1e7;
  font-size: 15px;
  line-height: 1.8;
}

.about-description {
  max-width: 420px;
  margin-bottom: 27px;
  color: #c3d0c7;
  font-size: 10px;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--lime);
  font-size: 9px;
  transition: color .2s ease;
}

.about-index {
  position: absolute;
  right: 13%;
  bottom: 29px;
  color: #c3d0c7;
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: .1em;
}

.gallery {
  padding-top: 104px;
  padding-bottom: 116px;
}

.gallery-heading {
  padding-top: 41px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 13px;
  align-items: start;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: .82;
  margin-bottom: 0;
  background: #d2c8b3;
}

.gallery-wide {
  aspect-ratio: .94;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  width: fit-content;
  padding: 9px 11px;
  background: var(--paper);
  color: var(--green);
  font-size: 8px;
}

.closing {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: center;
  overflow: hidden;
  background: var(--green);
  color: var(--paper);
}

.closing::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 43, 35, .91) 0%, rgba(13, 43, 35, .78) 42%, rgba(13, 43, 35, .2) 100%);
  content: "";
}

.closing > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.closing-copy {
  position: relative;
  z-index: 1;
  padding: 70px 12%;
}

.closing-copy .eyebrow {
  color: #e2e8bc;
}

.closing-copy h2 {
  margin-bottom: 25px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.4;
}

.closing-copy h2 em {
  color: var(--lime);
}

.button-light {
  background: var(--paper);
  color: var(--green);
}

.button-light:hover {
  background: var(--lime);
  color: var(--green);
}

.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 7.5%;
  border-top: 1px solid var(--line);
}

.footer-brand .brand-symbol {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.footer-brand .brand-wordmark {
  font-size: 12px;
}

.footer-brand .brand-wordmark small {
  font-size: 6px;
}

.footer-note,
.copyright,
.back-to-top {
  color: var(--muted);
  font-size: 8px;
}

.back-to-top {
  transition: color .2s ease;
}

@media (min-width: 1500px) {
  .site-header,
  .hero,
  .site-footer {
    padding-right: max(7.5%, calc((100% - 1320px) / 2));
    padding-left: max(7.5%, calc((100% - 1320px) / 2));
  }

  .section-shell {
    padding-right: max(10%, calc((100% - 1180px) / 2));
    padding-left: max(10%, calc((100% - 1180px) / 2));
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-right: 5%;
    padding-left: 5%;
  }

  .hero {
    grid-template-columns: 47% 53%;
    padding-right: 5%;
    padding-left: 5%;
  }

  .hero-visual {
    min-height: 465px;
  }

  .section-shell {
    padding-right: 7%;
    padding-left: 7%;
  }

  .about-copy {
    padding-right: 9%;
    padding-left: 9%;
  }

  .gallery-grid {
    grid-template-columns: 1.15fr .9fr;
    gap: 9px;
  }

  .site-footer {
    padding-right: 5%;
    padding-left: 5%;
  }
}

@media (max-width: 650px) {
  .site-header {
    height: 70px;
  }

  .brand-symbol {
    width: 31px;
    height: 31px;
  }

  .brand-wordmark {
    font-size: 13px;
  }

  .main-nav {
    gap: 16px;
    margin-left: 0;
  }

  .main-nav a,
  .header-link {
    font-size: 8px;
  }

  .header-link {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding: 35px 6% 52px;
  }

  .hero-copy {
    padding: 26px 0 28px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 8px;
  }

  h1 {
    margin-bottom: 15px;
    font-size: clamp(47px, 12vw, 70px);
    line-height: 1.25;
  }

  .hero-description {
    max-width: 420px;
    margin-bottom: 19px;
    font-size: 10px;
    line-height: 1.9;
  }

  .button {
    min-height: 45px;
    gap: 14px;
    padding: 0 14px;
    font-size: 9px;
  }

  .hero-signature {
    display: none;
  }

  .hero-visual {
    min-height: 380px;
    margin: 0 5px 15px 0;
  }

  .hero-visual::before {
    top: 9px;
    right: -8px;
    bottom: -8px;
    left: 9px;
  }

  .hero-bottomline {
    right: 6%;
    bottom: 16px;
    left: 6%;
    font-size: 7px;
  }

  .products {
    padding-top: 74px;
    padding-bottom: 77px;
  }

  .section-topline {
    padding-bottom: 12px;
  }

  .section-number {
    font-size: 7px;
  }

  .section-heading,
  .gallery-heading {
    display: block;
    padding: 30px 0 27px;
  }

  .section-heading h2,
  .gallery-heading h2 {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .section-heading > p,
  .gallery-heading > p {
    max-width: 320px;
    margin-top: 14px;
    font-size: 9px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-card {
    display: grid;
    grid-template-columns: 43% 1fr;
    align-items: center;
    column-gap: 17px;
  }

  .product-image {
    grid-row: span 3;
    aspect-ratio: .9;
  }

  .product-meta {
    align-self: end;
    margin-top: 0;
    font-size: 8px;
  }

  .product-card h3 {
    align-self: center;
    margin: 10px 0 5px;
    font-size: 16px;
  }

  .product-card > p {
    align-self: start;
    min-height: 0;
    font-size: 8px;
  }

  .image-count {
    top: 8px;
    left: 8px;
    width: 25px;
    height: 25px;
    font-size: 8px;
  }

  .image-arrow {
    right: 8px;
    bottom: 8px;
    width: 27px;
    height: 27px;
  }

  .product-footnote {
    margin-top: 23px;
    font-size: 7px;
    line-height: 1.8;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 350px;
  }

  .about-copy {
    padding: 57px 7% 76px;
  }

  .about-copy h2 {
    font-size: 42px;
  }

  .about-lead {
    font-size: 13px;
  }

  .about-description {
    font-size: 9px;
  }

  .about-index {
    right: 7%;
    bottom: 28px;
  }

  .gallery {
    padding-top: 73px;
    padding-bottom: 78px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .gallery-wide {
    grid-column: span 2;
    aspect-ratio: 1.35;
  }

  .gallery-item {
    aspect-ratio: .8;
  }

  .gallery-item figcaption {
    right: 6px;
    bottom: 6px;
    left: 6px;
    padding: 7px 8px;
    font-size: 7px;
  }

  .closing {
    min-height: 370px;
  }

  .closing::after {
    background: linear-gradient(90deg, rgba(13, 43, 35, .87), rgba(13, 43, 35, .46));
  }

  .closing-copy {
    padding: 60px 7%;
  }

  .closing-copy h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 10px;
    padding: 20px 6%;
  }

  .footer-note {
    text-align: right;
  }

  .copyright {
    text-align: right;
  }
}

@media (max-width: 390px) {
  .main-nav {
    gap: 10px;
  }

  .main-nav a,
  .header-link {
    font-size: 7px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-photo-caption {
    min-width: 175px;
    padding: 11px 14px;
  }

  .product-card {
    column-gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
