:root {
  --primary: #053543;
  --secondary: #c6651a;
  --accent: #21303e;
  --cream: #fdf5e6;
  --text: #7a7a7a;
  --muted: #96989b;
  --white: #ffffff;
  --max: 1200px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Palanquin, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: Amiri, serif;
  font-weight: 400;
  color: var(--primary);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(42px, 7vw, 90px);
  line-height: 1;
}

h2 {
  font-size: clamp(32px, 4.5vw, 58px);
}

h3 {
  font-size: 28px;
  font-weight: 500;
}

h4 {
  font-size: 21px;
  font-family: Palanquin, sans-serif;
  font-weight: 500;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  font-family: Palanquin, sans-serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 12px;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 8px;
  background: var(--secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 20px 40px;
  font-family: Palanquin, sans-serif;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn--solid {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.btn--cream {
  background: var(--cream);
  color: var(--primary);
  border-color: var(--cream);
}

.btn--cream:hover,
.btn--cream:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  user-select: none;
  opacity: 0.45;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
}

.header__inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 64px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.nav a,
.nav__drop-btn {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav a.is-active {
  box-shadow: inset 0 2px 0 var(--primary);
}

.nav__drop {
  position: relative;
}

.nav__drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--white);
  padding: 12px 0;
  box-shadow: 0 12px 30px rgba(5, 53, 67, 0.08);
}

.nav__drop:hover .nav__drop-menu,
.nav__drop:focus-within .nav__drop-menu {
  display: grid;
}

.nav__drop-menu a {
  padding: 8px 20px;
  text-transform: none;
  letter-spacing: 0;
}

.nav__drop-menu a:hover {
  color: var(--secondary);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang__btn {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang__btn:hover {
  color: var(--secondary);
}

.lang__btn.is-active {
  color: var(--primary);
}

.lang__sep {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  user-select: none;
}

.social {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 14px;
}

.menu-toggle {
  width: 36px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  align-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 55;
  width: min(360px, 86vw);
  background: var(--white);
  padding: 80px 32px 32px;
  box-shadow: -12px 0 40px rgba(5, 53, 67, 0.12);
}

.drawer[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.drawer-backdrop {
  background: rgba(5, 53, 67, 0.35);
}

.drawer__nav {
  display: grid;
  gap: 16px;
}

.drawer__nav a {
  font-size: 18px;
  color: var(--primary);
}

.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding: 60px var(--gutter) 90px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.15;
  max-width: 15em;
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 3;
}

.hero__copy p {
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero__photos {
  position: relative;
  z-index: 1;
  min-height: 500px;
}

.hero__photo--main {
  width: 100%;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  min-height: 400px;
  object-fit: cover;
}

.hero__photo--side {
  position: absolute;
  left: 0;
  top: -28px;
  width: 44%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(5, 53, 67, 0.12);
}

.deco--hero-tl {
  top: 20px;
  left: 0;
  width: 120px;
}

.deco--hero-tr {
  top: 0;
  right: 0;
  width: 140px;
}

.deco--hero-bl {
  bottom: 40px;
  left: 52%;
  width: 110px;
}

.about {
  position: relative;
  padding: 110px var(--gutter);
  overflow: hidden;
}

.about__fade {
  position: absolute;
  left: 0;
  top: 10%;
  width: min(46vw, 560px);
  opacity: 0.12;
  filter: grayscale(0.2);
  pointer-events: none;
}

.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0 32px;
}

.stat__num {
  font-family: Palanquin, sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
  margin: 0 0 6px;
}

.stat__label {
  font-size: 21px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

.master {
  position: relative;
  padding: 0 var(--gutter) 110px;
  overflow: hidden;
}

.master__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--cream);
  padding: 40px;
}

.master__photo {
  margin: 0;
}

.master__photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 50% 12%;
}

.master__role {
  font-size: 21px;
  font-weight: 500;
  color: var(--primary);
  margin: -4px 0 20px;
}

.master__facts {
  list-style: none;
  margin: 8px 0 32px;
  padding: 0;
}

.master__facts li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--primary);
  font-weight: 500;
  border-bottom: 1px solid rgba(198, 101, 26, 0.25);
}

.master__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--secondary);
  transform: translateY(-50%);
}

.deco--master {
  top: 20px;
  right: 4%;
  width: 120px;
}

.services {
  position: relative;
  padding: 40px var(--gutter) 110px;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.deco--services {
  top: 40px;
  right: 6%;
  width: 90px;
}

.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card__body {
  padding: 22px 8px 0;
}

.card__body p {
  margin: 0;
}

.prices {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  max-width: var(--max);
  margin: 0 auto 110px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.prices__panel {
  background: var(--cream);
  padding: 64px 48px;
}

.price-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.price-list li {
  margin-bottom: 22px;
}

.price-list li > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
}

.price-list__dots {
  border-bottom: 1px dotted var(--secondary);
  height: 0.7em;
}

.price-list li p {
  margin: 4px 0 0;
  font-size: 15px;
}

.prices__photo {
  margin: 0;
}

.prices__photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.reviews {
  position: relative;
  padding: 40px var(--gutter) 110px;
  overflow: hidden;
}

.reviews__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.reviews__head .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.deco--reviews-l {
  left: 0;
  top: 80px;
  width: 110px;
}

.deco--reviews-r {
  right: 0;
  top: 40px;
  width: 120px;
}

.slider {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 16px;
  align-items: center;
}

.slider__viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.slider__viewport.is-dragging {
  cursor: grabbing;
}

.slider__track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

.quote {
  flex: 0 0 calc(50% - 14px);
  background: var(--white);
}

.quote p {
  font-size: 18px;
  color: var(--text);
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.quote footer img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.quote strong {
  display: block;
  color: var(--primary);
}

.quote span {
  font-size: 14px;
  color: var(--muted);
}

.slider__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.slider__btn:hover {
  background: var(--primary);
  color: var(--white);
}

.hours {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  max-width: var(--max);
  margin: 0 auto 110px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hours__photo img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hours__list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}

.hours__list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  color: var(--primary);
  font-weight: 500;
}

.blog {
  padding: 0 var(--gutter) 110px;
}

.blog__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.blog__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.post__body {
  padding-top: 18px;
}

.post__meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.post__meta span {
  color: var(--secondary);
  font-weight: 600;
}

.post h3 {
  font-size: 26px;
}

.post h3 a:hover {
  color: var(--secondary);
}

.more {
  color: var(--primary);
  font-weight: 600;
}

.more:hover {
  color: var(--secondary);
}

.instagram {
  padding: 0 var(--gutter) 80px;
}

.instagram__head {
  text-align: center;
  margin-bottom: 36px;
}

.instagram__head .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.instagram__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.instagram__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.find {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.find__address {
  font-style: normal;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
  margin: 20px 0 28px;
}

.find__map {
  min-height: 420px;
  background: var(--cream);
}

.find__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  max-width: var(--max);
  margin: 0 auto 110px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--primary);
}

.contact__list li {
  margin-bottom: 8px;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
}

.form input,
.form select,
.form textarea,
.footer__news input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d8d8;
  font: inherit;
  color: var(--primary);
  background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus,
.footer__news input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.form__ok {
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

.footer {
  background: var(--primary);
  color: #c9d3d6;
  padding: 72px var(--gutter) 28px;
}

.footer h4,
.footer a,
.footer p {
  color: var(--cream);
}

.footer p {
  color: #c9d3d6;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 36px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.logo--light img {
  filter: brightness(0) invert(1);
  height: 58px;
  margin-bottom: 16px;
}

.footer__news-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer__copy {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 245, 230, 0.15);
  text-align: center;
  color: #9aa8ad;
}

.reveal {
  opacity: 0;
}

.reveal.is-in {
  animation-duration: 2s;
  animation-fill-mode: both;
}

.reveal--left.is-in {
  animation-name: fadeInLeft;
}

.reveal--right.is-in {
  animation-name: fadeInRight;
}

.reveal--up.is-in {
  animation-name: fadeInUp;
}

.reveal--fade.is-in {
  animation-name: fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-80px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(80px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-in {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .social {
    display: none;
  }

  .lang {
    gap: 6px;
  }

  .lang__btn,
  .lang__sep {
    font-size: 12px;
  }

  .hero__grid,
  .about__inner,
  .master__inner,
  .section-head,
  .cards,
  .prices,
  .hours,
  .blog__grid,
  .contact,
  .find,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__photos {
    min-height: 0;
  }

  .hero__actions {
    justify-content: center;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hours__copy .btn,
  .find__copy .btn,
  .master__copy .btn {
    display: flex;
    width: min(280px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .deco--hero-tl {
    width: 72px;
  }

  .deco--hero-tr {
    width: 80px;
  }

  .deco--hero-bl {
    left: auto;
    right: 8%;
    bottom: 12px;
    width: 70px;
  }

  .deco--master,
  .deco--reviews-l,
  .deco--reviews-r {
    width: 70px;
  }

  .deco--services {
    width: 56px;
  }

  .hero__photo--main {
    width: 100%;
    min-height: 280px;
  }

  .hero__photo--side {
    display: none;
  }

  .about__visual,
  .about__fade {
    display: none;
  }

  .master__inner {
    padding: 0 0 40px;
    background: transparent;
  }

  .master__photo {
    margin: 0;
  }

  .master__photo img {
    min-height: 420px;
  }

  .master__copy {
    background: var(--cream);
    padding: 36px 22px;
  }

  .prices__photo {
    margin: 0;
  }

  .prices__photo img {
    min-height: 420px;
  }

  .quote {
    flex: 0 0 100%;
  }

  .instagram__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__news-row {
    flex-direction: column;
  }

  .slider {
    grid-template-columns: 1fr;
  }

  .slider__btn {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero,
  .about,
  .master,
  .services,
  .reviews {
    padding-left: 16px;
    padding-right: 16px;
  }

  .prices__panel {
    padding: 36px 22px;
  }

  .header__inner {
    padding: 12px 0;
    width: min(var(--max), calc(100% - 32px));
  }

  .prices,
  .hours,
  .contact,
  .find {
    width: min(var(--max), calc(100% - 32px));
  }

  .logo img {
    height: 52px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
