:root {
  --gold: #d7b84f;
}

#features,
#plan,
#delivery,
#company,
#technology {
  scroll-margin-top: 24px;
}

.section-kicker {
  color: #9c7928;
}

.section-kicker.light,
.eyebrow {
  color: #e0c76f;
}

.text-link {
  color: #927021;
  border-bottom-color: #c8a844;
}

.btn-primary {
  background: #d7b84f;
}

.btn-primary:hover {
  background: #e3c967;
}

.topbar nav {
  gap: 18px;
}

.topbar,
.privacy-header {
  background: #064e3b;
}

footer {
  background: #043f30;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 15, 10, 0.26) 0%, rgba(7, 15, 10, 0.11) 34%, rgba(7, 15, 10, 0.02) 52%, rgba(7, 15, 10, 0) 62%),
    linear-gradient(0deg, rgba(7, 15, 10, 0.10) 0%, transparent 28%);
}

.hero-content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.brand-with-logo {
  align-self: stretch;
  gap: 16px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 16px;
  border-left: 1px solid rgba(194, 154, 91, 0.48);
  white-space: nowrap;
  line-height: 1.1;
}

.brand-copy strong {
  margin-bottom: 5px;
  font-size: 21px;
  letter-spacing: 0.035em;
}

.brand-copy .brand-focus {
  color: #c9d0cb;
  font-size: 10px;
  letter-spacing: 0.055em;
}

.brand-copy .brand-since {
  margin-top: 4px;
  color: #d7b84f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-logo {
  width: auto;
  height: 72px;
  object-fit: contain;
}

.footer-logo {
  height: 86px;
}

.footer-brand {
  justify-self: start;
}

.footer-legal {
  margin-top: 28px;
  font-size: 13px;
  color: #aab4ad;
}

.footer-legal a {
  border-bottom: 1px solid rgba(215, 184, 79, .45);
  padding-bottom: 2px;
}

.footer-legal a:hover {
  color: #e0c76f;
}

.privacy-page {
  background: #f7f4ec;
}

.privacy-header {
  background: #0f1b14;
  color: #fff;
}

.privacy-header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.privacy-back {
  color: #e0c76f;
  border-bottom: 1px solid rgba(224, 199, 111, .5);
  font-size: 14px;
}

.privacy-main {
  max-width: 900px;
  padding-top: 90px;
  padding-bottom: 110px;
}

.privacy-main > h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
}

.privacy-lead {
  max-width: 720px;
  margin: 26px 0 65px;
  color: var(--muted);
  font: 400 21px/1.55 Georgia, serif;
}

.privacy-main section {
  padding: 31px 0;
  border-top: 1px solid var(--line);
}

.privacy-main section h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.25;
}

.privacy-main section p,
.privacy-main section li {
  color: #4f5852;
}

.privacy-main section a {
  color: #80611d;
  border-bottom: 1px solid #c8a844;
}

.privacy-main section ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.privacy-date {
  font-weight: 700;
}

.privacy-footer {
  padding: 34px 0;
}

.privacy-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #aab4ad;
  font-size: 13px;
}

.plan-card img {
  aspect-ratio: auto;
  height: auto;
}

.gallery {
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, minmax(250px, 1fr));
}

.gallery .gallery-main {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.gallery figure:nth-child(2),
.gallery figure:nth-child(3) {
  grid-column: 8 / 13;
}

.gallery figure:nth-child(4) {
  grid-column: 1 / 5;
}

.gallery figure:nth-child(5) {
  grid-column: 5 / 9;
}

.gallery figure:nth-child(6) {
  grid-column: 9 / 13;
}

.gallery figcaption {
  font-size: 14px;
  line-height: 1.45;
}

.company-section {
  padding: 110px 0;
  background: #f3efe5;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 90px;
  align-items: start;
}

.company h2 {
  max-width: 680px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.025em;
}

.company-copy > p {
  max-width: 740px;
  color: var(--muted);
}

.company-copy .company-lead {
  margin-top: 18px;
  color: var(--ink);
  font: 400 21px/1.55 Georgia, serif;
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 34px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.company-facts li {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 16px;
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts li:nth-child(odd) {
  margin-right: 28px;
}

.company-facts strong {
  color: #927021;
  font: 400 18px Georgia, serif;
}

.company-facts span {
  color: #4e5650;
  line-height: 1.45;
}

.company-geography {
  margin-bottom: 30px;
}

.company-director {
  margin: 0;
  position: relative;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.company-director img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.company-director figcaption {
  position: static;
  padding: 15px 0 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.technology-section { padding: 110px 0 120px; background: var(--paper); }
.technology-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); column-gap: 70px; align-items: end; margin-bottom: 48px; }
.technology-heading .section-kicker { grid-column: 1 / -1; }
.technology-heading h2 { max-width: 760px; font-size: clamp(42px, 5vw, 68px); letter-spacing: -.025em; }
.technology-heading > p { max-width: 420px; margin: 0 0 6px; color: var(--muted); font: 400 20px/1.5 Georgia, serif; }
.technology-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 390px; gap: 18px; }
.technology-card { position: relative; overflow: hidden; background: var(--forest2); color: #fff; }
.technology-card-wide { grid-column: span 7; }
.technology-card-narrow { grid-column: span 5; }
.technology-card-third { grid-column: span 4; }
.technology-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.technology-card:nth-child(2) > img { object-position: center 50%; }
.technology-card:nth-child(4) > img { object-position: center 58%; }
.technology-card:nth-child(6) > img { object-position: center 45%; }
.technology-card::after { content: ''; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.technology-card-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px 26px 20px; background: linear-gradient(180deg, transparent 0, rgba(42, 44, 43, .18) 36%, rgba(38, 41, 40, .58) 70%, rgba(34, 37, 36, .78) 100%); }
.technology-card-copy > span { display: block; margin-bottom: 5px; color: #e0c76f; font: 400 12px Georgia, serif; letter-spacing: .12em; }
.technology-card h3 { max-width: 100%; margin: 0; font: 400 clamp(19px, 1.65vw, 23px)/1.15 Georgia, serif; }
.technology-card:hover > img { transform: scale(1.025); }
.technology-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.spec-section {
  background: var(--cream);
  color: var(--ink);
}

.spec-section .section-kicker.light { color: #9c7928; }
.spec-title p { color: var(--muted); }
.spec-list { border-top-color: var(--line); }
.spec-list div { border-bottom-color: var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { color: var(--ink); }

.comparison-section {
  padding: 110px 0;
  background: var(--cream);
  color: var(--ink);
}

.comparison-section .section-kicker.light { color: #9c7928; }

.comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.comparison-heading h2 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.025em;
}

.comparison-heading p,
.comparison-footer p {
  color: var(--muted);
}

.comparison-heading p {
  margin: 0 0 5px;
  max-width: 420px;
}

.comparison-slider {
  --position: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111a14;
  box-shadow: 0 22px 55px rgba(23, 35, 27, .16);
  touch-action: pan-y;
}

.comparison-image,
.comparison-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison-image {
  object-fit: cover;
  object-position: center;
}

.comparison-before {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.comparison-before .comparison-image {
  object-position: center 51%;
}

.comparison-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, .92);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest2);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .25);
}

.comparison-range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-label {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  padding: 9px 14px;
  background: rgba(15, 27, 20, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.comparison-label-before { left: 24px; }
.comparison-label-after { right: 24px; }

.comparison-footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: baseline;
  margin-top: 28px;
}

.comparison-footer p { margin: 0; }

.comparison-footer .text-link {
  flex: none;
  color: #927021;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(224, 199, 111, .72);
  border-radius: 50%;
  background: #064e3b;
  color: #e0c76f;
  font: 400 27px/1 Georgia, serif;
  box-shadow: 0 10px 28px rgba(6, 78, 59, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, visibility .2s, transform .2s, background .2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: #07634b; }
.back-to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

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

  .gallery .gallery-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .gallery figure:nth-child(n) {
    grid-column: auto;
  }

  .company {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .company-director {
    width: min(480px, 100%);
  }

  .comparison-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .technology-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .technology-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 380px;
  }

  .technology-card-wide,
  .technology-card-narrow,
  .technology-card-third {
    grid-column: span 1;
  }

  .technology-card:nth-child(2),
  .technology-card:nth-child(6) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 24px; }
}

@media (max-width: 1120px) {
  .topbar nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    height: 60px;
  }

  .brand-copy {
    padding-left: 12px;
  }

  .brand-copy strong {
    margin: 0;
    font-size: 17px;
  }

  .footer-brand .brand-copy small {
    display: block;
  }

  .privacy-header-inner {
    min-height: 94px;
  }

  .privacy-header .brand-copy {
    display: none;
  }

  .privacy-back {
    font-size: 12px;
  }

  .privacy-main {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .privacy-lead {
    margin-bottom: 45px;
    font-size: 18px;
  }

  .privacy-main section h2 {
    font-size: 24px;
  }

  .privacy-footer .wrap {
    flex-direction: column;
  }

  .gallery {
    display: block;
  }

  .company-section {
    padding: 80px 0;
  }

  .company-facts {
    grid-template-columns: 1fr;
  }

  .company-facts li:nth-child(odd) {
    margin-right: 0;
  }

  .company-facts li {
    grid-template-columns: 92px 1fr;
    padding-right: 0;
  }

  .comparison-section { padding: 80px 0; }
  .comparison-heading { margin-bottom: 30px; }
  .comparison-slider { aspect-ratio: 4 / 3; }
  .comparison-label { bottom: 14px; padding: 7px 9px; font-size: 10px; }
  .comparison-label-before { left: 14px; }
  .comparison-label-after { right: 14px; }
  .comparison-divider span { width: 46px; height: 46px; }
  .comparison-footer { display: block; margin-top: 22px; }
  .comparison-footer .text-link { margin-top: 12px; }

  .technology-section { padding: 80px 0; }
  .technology-heading { margin-bottom: 30px; }
  .technology-heading > p { font-size: 18px; }
  .technology-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; gap: 14px; }
  .technology-card:nth-child(2),
  .technology-card:nth-child(6),
  .technology-card-wide,
  .technology-card-narrow,
  .technology-card-third { grid-column: 1; }
  .technology-card-copy { padding: 26px 20px 18px; }
  .technology-card h3 { font-size: 21px; }
}
