:root {
  --ink: #15312f;
  --sea: #16655e;
  --mint: #cce6db;
  --sky: #d9ede8;
  --sand: #f7f5ee;
  --white: #fffefa;
  --line: #d6ded6;
  --muted: #677772;
  --lime: #dcf28b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

figure,
h1,
h2,
p {
  margin: 0;
}

button {
  font: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 4px;
}

.container {
  width: min(100% - 96px, 1440px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--lime);
  padding: 12px 18px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: var(--sand);
  border-bottom: 1px solid #dde3da;
  position: relative;
  z-index: 10;
}

.header-inner {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 216px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--sea);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.brand-mark:before,
.brand-mark:after,
.brand-mark span {
  content: "";
  position: absolute;
  width: 35px;
  height: 19px;
  border: 2px solid var(--white);
  border-color: var(--white) transparent transparent transparent;
  border-radius: 50%;
  top: 16px;
  left: 3px;
  transform: rotate(-24deg);
}

.brand-mark:after {
  top: 23px;
  left: 6px;
}

.brand-mark span {
  top: 9px;
  left: 0;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: -0.05em;
}

.brand-copy small {
  font-size: 13px;
  color: #52645d;
}

.desktop-nav {
  display: flex;
  gap: 31px;
  margin: auto;
}

.desktop-nav a {
  font-size: 12px;
  font-weight: 650;
  color: #53645d;
  transition: color 0.2s;
}

.desktop-nav a:hover,
.header-link:hover {
  color: var(--sea);
}

.header-link {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
  padding: 7px 0;
  font-size: 12px;
  font-weight: 800;
}

.header-link span {
  font-size: 20px;
  line-height: 0.5;
}

.mobile-menu {
  display: none;
}

.hero {
  background: var(--sand);
}

.hero-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 670px;
}

.hero-copy {
  padding: 85px 8% 43px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sea);
  margin-bottom: 72px;
}

.dot {
  height: 7px;
  width: 7px;
  background: #79b39b;
  border-radius: 50%;
}

h1,
h2 {
  letter-spacing: -0.065em;
  font-weight: 600;
}

h1 {
  font-size: clamp(68px, 6.6vw, 112px);
  line-height: 1.05;
  margin-bottom: 30px;
  max-width: 750px;
}

h1 em,
h2 em,
.quote em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.075em;
}

h1 em {
  color: #47887b;
}

.hero-lead {
  max-width: 475px;
  font-size: 16px;
  line-height: 1.78;
  color: #566b60;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 38px;
  font-size: 12px;
  font-weight: 800;
}

.round-link {
  height: 56px;
  width: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sea);
  border-radius: 50%;
  font-size: 27px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.round-link:hover {
  background: var(--sea);
  color: white;
  transform: rotate(45deg);
}

.hero-index {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #75857d;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 50px;
}

.hero-index span {
  width: 75px;
  height: 1px;
  background: #a4b5a8;
}

.hero-photo {
  margin: 34px 0 34px 0;
  position: relative;
  min-height: 595px;
  background: #8eb9ae;
  overflow: hidden;
}

.hero-photo img {
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: saturate(0.75);
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(7, 38, 43, 0.65));
  pointer-events: none;
}

.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  color: #fff;
}

.hero-photo figcaption span {
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.hero-photo figcaption small {
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.marquee {
  background: var(--lime);
  overflow: hidden;
}

.marquee .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.marquee span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.marquee i {
  font-size: 23px;
  font-style: normal;
  color: #54836c;
}

.section-space {
  padding: 112px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 73px;
}

.section-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.section-line {
  height: 1px;
  background: #bdcec3;
  flex: 1;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 11%;
}

.intro h2,
.gallery h2,
.company h2,
.contacts h2 {
  font-size: clamp(52px, 5.1vw, 86px);
  line-height: 1.12;
}

.intro h2 {
  max-width: 670px;
}

.intro h2 em,
.gallery h2 em,
.company h2 em {
  color: #589786;
}

.intro-copy {
  padding-top: 4px;
}

.intro-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: #65736b;
  max-width: 500px;
}

.intro-copy .intro-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--sea);
  font-size: 12px;
  font-weight: 800;
  padding: 11px 0;
  margin-top: 25px;
}

.text-link span {
  font-size: 19px;
}

.text-link:hover {
  color: var(--sea);
}

.gallery {
  background: #e6f0eb;
}

.gallery .section-line {
  background: #bbd1c4;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 53px;
}

.gallery-heading p {
  max-width: 345px;
  font-size: 14px;
  line-height: 1.8;
  color: #5e756b;
  padding-bottom: 9px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: start;
}

.gallery-photo {
  position: relative;
  overflow: hidden;
  background: #8bb2a9;
}

.gallery-large {
  height: 600px;
}

.gallery-small {
  height: 450px;
  margin-top: 80px;
}

.gallery-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: saturate(0.8);
}

.gallery-photo:hover img {
  transform: scale(1.035);
}

.gallery-photo:after {
  content: "";
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(transparent, rgba(2, 22, 26, 0.68));
  pointer-events: none;
}

.gallery-photo figcaption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 27px;
  right: 27px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
}

.gallery-photo figcaption span {
  font-size: 16px;
  font-weight: 700;
}

.gallery-photo figcaption small {
  font-size: 10px;
  white-space: nowrap;
}

.photo-note {
  font-size: 11px;
  color: #647b70;
  line-height: 1.6;
  margin-top: 26px;
  max-width: 630px;
}

.quote {
  background: var(--sea);
  color: #f7f8ed;
}

.quote-inner {
  min-height: 305px;
  display: flex;
  align-items: center;
  gap: 70px;
}

.quote-inner > span {
  font-size: 74px;
  color: var(--lime);
  font-weight: 200;
}

.quote p {
  font-size: clamp(42px, 4.8vw, 82px);
  line-height: 1.15;
  letter-spacing: -0.06em;
  font-weight: 600;
  flex: 1;
}

.quote em {
  color: var(--lime);
}

.quote small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  align-self: flex-end;
  margin-bottom: 48px;
  white-space: nowrap;
}

.company {
  background: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11%;
}

.company-copy h2 {
  margin-bottom: 35px;
}

.company-copy p {
  font-size: 15px;
  line-height: 1.85;
  max-width: 440px;
  color: #5e6e65;
}

.details-list {
  margin: 0;
}

.details-list > div {
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}

.details-list > div:first-child {
  border-top: 1px solid var(--line);
}

dt {
  font-size: 12px;
  color: #73827a;
}

dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contacts {
  background: var(--ink);
  color: #f4f7ee;
}

.contacts .section-line {
  background: #42605a;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}

.contact-kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 25px;
}

.contacts h2 em {
  color: var(--lime);
}

.contact-side {
  padding-top: 26px;
}

.contact-side > p {
  font-size: 16px;
  line-height: 1.7;
  color: #becfc2;
  max-width: 450px;
  margin-bottom: 30px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #92aa9c;
  padding: 0 0 20px;
  font-size: clamp(22px, 2.7vw, 37px);
  font-weight: 600;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.contact-email span {
  font-size: 28px;
  color: var(--lime);
}

.contact-email:hover {
  color: var(--lime);
}

.contact-address {
  margin-top: 44px;
}

.contact-address span {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #94b2a2;
}

.contact-address p {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 13px;
  max-width: 410px;
  color: #d6e0d5;
}

.footer {
  background: #0f2524;
  color: #bfd0c2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 7%;
  padding: 58px 0 38px;
}

.footer-brand {
  font-size: 25px;
  color: #f5f6ea;
  font-weight: 800;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.footer-brand span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.footer p {
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-registry {
  max-width: 500px;
  color: #9fb4a6;
}

.footer a:hover {
  color: var(--lime);
}

.back-top {
  font-size: 12px;
  white-space: nowrap;
}

.footer-bottom {
  padding: 19px 0 25px;
  border-top: 1px solid #31504b;
  font-size: 10px;
  line-height: 1.6;
  color: #89a297;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1150px) {
  .container {
    width: min(100% - 64px, 1440px);
  }
  .desktop-nav {
    gap: 17px;
  }
  .hero-grid {
    grid-template-columns: 50% 50%;
  }
  h1 {
    font-size: clamp(60px, 6.2vw, 84px);
  }
  .hero-copy {
    padding-right: 6%;
  }
  .gallery-large {
    height: 530px;
  }
  .gallery-small {
    height: 390px;
  }
}

@media (max-width: 850px) {
  .header-inner {
    height: 76px;
  }
  .desktop-nav,
  .header-link {
    display: none;
  }
  .mobile-menu {
    display: block;
    margin-left: auto;
    position: relative;
  }
  .mobile-menu summary {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border: 1px solid #a9beb1;
    padding: 10px;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary span {
    height: 2px;
    background: var(--ink);
    width: 100%;
  }
  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 57px;
    min-width: 230px;
    background: var(--sand);
    border: 1px solid var(--line);
    padding: 13px 20px;
    box-shadow: 0 18px 32px #152e2b24;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu nav a {
    padding: 12px 0;
    font-size: 14px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 65px 0 50px;
  }
  .eyebrow {
    margin-bottom: 38px;
  }
  h1 {
    font-size: clamp(64px, 9vw, 90px);
    max-width: 650px;
  }
  .hero-index {
    display: none;
  }
  .hero-photo {
    height: 500px;
    min-height: 0;
    margin: 0 0 30px;
  }
  .intro-grid,
  .company-grid,
  .contacts-grid {
    gap: 7%;
  }
  .gallery-large {
    height: 470px;
  }
  .gallery-small {
    height: 350px;
  }
  .quote small {
    display: none;
  }
  .quote-inner {
    gap: 32px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 40px, 1440px);
  }
  .brand {
    min-width: 0;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
  }
  .brand-copy strong {
    font-size: 18px;
  }
  .brand-copy small {
    font-size: 11px;
  }
  .hero-copy {
    padding: 55px 0 43px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 33px;
  }
  h1 {
    font-size: clamp(56px, 13vw, 74px);
    line-height: 1.08;
    margin-bottom: 23px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-actions {
    margin-top: 26px;
  }
  .round-link {
    height: 50px;
    width: 50px;
  }
  .hero-photo {
    height: 390px;
  }
  .hero-photo figcaption {
    left: 17px;
    right: 17px;
    bottom: 17px;
  }
  .hero-photo figcaption span {
    font-size: 20px;
  }
  .hero-photo figcaption small {
    font-size: 9px;
  }
  .marquee .container {
    width: max-content;
    gap: 20px;
    min-height: 56px;
  }
  .marquee span {
    font-size: 9px;
  }
  .marquee i {
    font-size: 15px;
  }
  .section-space {
    padding: 75px 0;
  }
  .section-heading {
    margin-bottom: 42px;
  }
  .intro-grid,
  .company-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro h2,
  .gallery h2,
  .company h2,
  .contacts h2 {
    font-size: clamp(46px, 10vw, 64px);
  }
  .intro-copy .intro-lead {
    font-size: 19px;
  }
  .gallery-heading {
    display: block;
    margin-bottom: 28px;
  }
  .gallery-heading p {
    margin-top: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-large,
  .gallery-small {
    height: 370px;
    margin: 0;
  }
  .gallery-photo figcaption {
    left: 17px;
    right: 17px;
    bottom: 16px;
  }
  .gallery-photo figcaption span {
    font-size: 13px;
  }
  .gallery-photo figcaption small {
    font-size: 9px;
  }
  .quote-inner {
    min-height: 200px;
    gap: 16px;
  }
  .quote-inner > span {
    font-size: 37px;
  }
  .quote p {
    font-size: clamp(31px, 7vw, 48px);
  }
  .details-list > div {
    grid-template-columns: 36% 64%;
    gap: 12px;
  }
  .contact-side {
    padding: 0;
  }
  .contact-email {
    font-size: clamp(21px, 6vw, 30px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 45px 0 25px;
  }
  .footer-brand {
    font-size: 22px;
  }
  .back-top {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
