@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Jost:wght@300;400;500&display=swap");

:root {
  --about-paper: #f2f2f2;
  --about-ink: #11110f;
  --about-sage: #78806a;
  --about-accent: #77816a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  color: var(--about-ink);
  background: var(--about-paper);
}

body {
  font-family: "Jost", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

.about-page {
  --about-page-padding-inline: 30px;
  position: relative;
  width: 100%;
  max-width: 680px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 36px var(--about-page-padding-inline) 42px;
  background: var(--about-paper);
}

.about-header {
  position: relative;
  z-index: 10;
  display: flex;
  height: 28px;
  margin: 0 calc(var(--about-page-padding-inline) * -1);
  padding: 0 36px;
  align-items: center;
  justify-content: space-between;
}

.about-brand {
  color: inherit;
  font-family: Didot, "Bodoni MT", "Times New Roman", serif;
  font-size: 20px;
  text-decoration: none;
}

.about-menu-button {
  position: relative;
  z-index: 12;
  display: flex;
  width: 34px;
  height: 28px;
  padding: 4px 2px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column;
}

.about-menu-button span {
  display: block;
  width: 23px;
  height: 2px;
  margin-left: auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    width 180ms ease,
    opacity 180ms ease;
}

.about-menu-button span:nth-child(2) {
  width: 19px;
}

.about-menu-button span:last-child {
  width: 15px;
}

.about-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(9px) rotate(45deg);
}

.about-menu-button[aria-expanded="true"] span:nth-child(2) {
  width: 0;
  opacity: 0;
}

.about-menu-button[aria-expanded="true"] span:last-child {
  width: 23px;
  transform: translateY(-9px) rotate(-45deg);
}

.about-menu-button:hover span:last-child,
.about-menu-button:focus-visible span:last-child {
  width: 23px;
}

.about-menu {
  position: fixed;
  z-index: 11;
  inset: 0;
  display: flex;
  visibility: hidden;
  padding: 110px 42px 54px;
  color: var(--about-paper);
  background: #758065;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.about-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.about-menu a {
  width: min(100%, 290px);
  padding: 4px 22px;
  color: inherit;
  text-align: center;
  font-size: clamp(25px, 7vw, 38px);
  font-weight: 300;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 260ms ease,
    transform 320ms ease,
    background-color 220ms ease;
}

.about-menu.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.about-menu a:hover,
.about-menu a:focus-visible,
.about-menu a[aria-current="page"] {
  background: rgb(242 242 242 / 14%);
}

body.menu-open .about-brand,
body.menu-open .about-menu-button {
  z-index: 12;
  color: var(--about-paper);
}

.about-story {
  padding-top: 26px;
}

.about-story__portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 193 / 279;
  margin: 0;
  overflow: hidden;
  background: #e3e4de;
}

.about-story__portrait::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
      105deg,
      transparent 28%,
      rgb(255 255 255 / 52%) 46%,
      transparent 64%
    )
    #e3e4de;
  background-position: 130% 0;
  background-size: 240% 100%;
  content: "";
  opacity: 1;
  pointer-events: none;
  animation: about-image-skeleton 1500ms ease-in-out infinite;
  transition: opacity 420ms ease;
}

.about-story__portrait.is-image-loaded::before {
  opacity: 0;
  animation: none;
}

@keyframes about-image-skeleton {
  to {
    background-position: -130% 0;
  }
}

.about-story__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

html:not(.about-images-has-reveal) .about-story__portrait img,
html:not(.about-images-has-reveal) .off-camera__photo img {
  transition: transform 500ms ease;
}

.about-images-has-reveal .about-story__portrait img,
.about-images-has-reveal .off-camera__photo img {
  opacity: 0.72;
  transform: scale(1.065);
  transition:
    opacity 750ms ease,
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-images-has-reveal .about-story__portrait.is-visible img,
.about-images-has-reveal .off-camera__photo.is-visible img {
  opacity: 1;
  transform: scale(1);
}

.about-story__portrait:hover img,
.off-camera__photo:hover img,
.about-images-has-reveal .about-story__portrait.is-visible:hover img,
.about-images-has-reveal .off-camera__photo.is-visible:hover img {
  transform: scale(1.065);
  transition-duration: 500ms;
}

.about-story__content {
  padding-top: 27px;
}

.about-story__heading {
  margin-bottom: 17px;
}

.about-story__heading p {
  margin: 0 0 -3px;
  font-size: 14px;
  text-transform: uppercase;
}

.about-story__heading h1 {
  margin: 0 0 0 -12px;
  color: #52541b;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(37px, 11vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.about-story__content > p {
  margin: 0 0 22px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.62;
}

.about-story__content > p:last-child {
  margin-bottom: 0;
}

.about-page-loading .about-story__portrait,
.about-page-loading .about-story__content {
  opacity: 0;
  transition:
    opacity 800ms ease,
    transform 1050ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page-loading .about-story__portrait {
  transform: translateY(30px) scale(0.975);
}

.about-page-loading .about-story__content {
  transform: translateY(34px);
  transition-delay: 180ms;
}

.about-page-loading.about-page-loaded .about-story__portrait,
.about-page-loading.about-page-loaded .about-story__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-values {
  margin: 36px calc(var(--about-page-padding-inline) * -1) 0;
  padding: 36px 20px 36px;
  color: #fff;
  background: #8e9a79;
  text-align: center;
}

.about-values__heading {
  margin-bottom: 28px;
}

.about-values__heading > p {
  margin: 0 0 3px;
  font-size: 14px;
  text-transform: uppercase;
}

.about-values__heading > div {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(26px, 1fr) auto minmax(26px, 1fr);
  gap: 36px;
}

.about-values__heading span {
  height: 1px;
  background: rgb(255 255 255 / 72%);
}

.about-values h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(27px, 8.5vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: #e6e0c3;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 34px;
  margin-top: 48px;
}

.about-value__icon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 7px;
  object-fit: contain;
}

.about-values-has-reveal .about-value {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 1200ms ease var(--about-value-delay, 0ms),
    filter 1050ms ease var(--about-value-delay, 0ms),
    transform 1450ms cubic-bezier(0.16, 1, 0.3, 1) var(--about-value-delay, 0ms);
  will-change: opacity, filter, transform;
}

.about-values-has-reveal .about-value.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.about-value h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.about-value p {
  max-width: 145px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.45;
}

.off-camera {
  padding-top: 34px;
}

.off-camera__heading {
  margin-bottom: 20px;
}

.off-camera__heading p {
  margin: 0 0 -2px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.off-camera__heading h2 {
  margin: 0 0 0 -12px;
  color: var(--about-accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(37px, 11vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.off-camera__copy p {
  margin: 0 0 22px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.62;
}

.off-camera__photo {
  width: 100%;
  aspect-ratio: 201 / 183;
  margin: 28px 0 0;
  overflow: hidden;
}

.off-camera__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.about-contact {
  padding: 42px 0 0;
  text-align: center;
}

.about-contact__heading > p {
  margin: 0 0 -2px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-contact__heading h2 {
  margin: 0;
  color: var(--about-accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(36px, 11vw, 48px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.about-contact__intro {
  margin: 17px 0 30px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.55;
}

.about-contact__cta {
  --button-sweep: #cec3a8;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 13px 22px;
  border-radius: 999px;
  color: #fff;
  background: #8e9a79;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 0 0 rgb(28 32 24 / 0%);
  transition:
    color 260ms ease,
    box-shadow 260ms ease,
    letter-spacing 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-contact__cta::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--button-sweep);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-contact__cta::after {
  display: inline-block;
  width: 0;
  overflow: hidden;
  vertical-align: -0.13em;
  content: "\00BB";
  font-size: 1.35em;
  line-height: 0.8;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    margin-left 260ms ease,
    opacity 220ms ease,
    transform 260ms ease,
    width 260ms ease;
}

.about-contact__cta:hover,
.about-contact__cta:focus-visible,
.about-contact__cta.is-attention {
  color: #fff;
  box-shadow: 0 10px 24px rgb(28 32 24 / 20%);
  letter-spacing: 0.02em;
  transform: translateY(-3px) scale(1.015);
}

.about-contact__cta:hover::before,
.about-contact__cta:focus-visible::before,
.about-contact__cta.is-attention::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.about-contact__cta:hover::after,
.about-contact__cta:focus-visible::after,
.about-contact__cta.is-attention::after {
  width: 1.05em;
  margin-left: 5px;
  opacity: 1;
  transform: translateX(0);
}

.about-contact__branch {
  display: block;
  width: 52px;
  height: 66px;
  margin: 36px auto;
  object-fit: contain;
}

.about-contact__details {
  width: min(100%, 360px);
  margin: 0 auto;
  font-style: normal;
}

.about-contact__details > div {
  position: relative;
  padding: 0 12px 45px;
}

.about-contact__details[data-contact-details-reveal] > div {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 520ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-contact__details[data-contact-details-reveal].is-visible > div {
  opacity: 1;
  transform: translateY(0);
}

.about-contact__details.is-visible > div:nth-child(2) {
  transition-delay: 70ms;
}

.about-contact__details.is-visible > div:nth-child(3) {
  transition-delay: 140ms;
}

.about-contact__details.is-visible > div:nth-child(4) {
  transition-delay: 210ms;
}

.about-contact__details > div::after {
  position: absolute;
  right: 50%;
  bottom: 22px;
  width: 58px;
  height: 1px;
  background: #a8ae9d;
  content: "";
  transform: translateX(50%);
}

.about-contact__details > div:last-child {
  padding-bottom: 0;
}

.about-contact__details > div:last-child::after {
  display: none;
}

.about-contact__details span {
  display: block;
  margin-bottom: 7px;
  color: #6f795f;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.about-contact__details a,
.about-contact__details p {
  margin: 0;
  color: inherit;
  font-size: 17px;
  font-style: normal;
  line-height: 1.4;
  text-decoration: none;
}

.about-contact__details em {
  display: block;
  margin-top: 5px;
  color: #8e9a79;
  font-family: "Jost", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.about-contact__socials {
  display: flex;
  margin-top: 45px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about-contact__socials a {
  display: grid;
  width: 22px;
  height: 22px;
  color: #111;
  place-items: center;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.about-contact__socials a:hover,
.about-contact__socials a:focus-visible {
  color: var(--about-sage);
  transform: translateY(-2px);
}

.about-contact__socials svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-contact__socials a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.about-contact__copyright {
  margin: 13px 0 0;
  font-size: 12px;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .about-page {
    --about-page-padding-inline: clamp(54px, 10vw, 78px);
  }
}

@media (min-width: 1024px) {
  .about-page {
    --about-page-padding-inline: clamp(48px, 6vw, 88px);
    max-width: none;
    padding: clamp(22px, 4vh, 42px) var(--about-page-padding-inline) 0;
  }

  .about-header {
    width: auto;
    margin-right: calc(var(--about-page-padding-inline) * -1);
    margin-left: calc(var(--about-page-padding-inline) * -1);
    padding: 0 clamp(36px, 4vw, 72px);
  }

  .about-brand {
    font-size: 24px;
  }

  .about-story {
    display: grid;
    width: min(100%, 1280px);
    height: calc(100svh - clamp(50px, 8vh, 84px));
    min-height: 620px;
    margin: 0 auto;
    padding: clamp(40px, 6vh, 72px) 0;
    align-items: stretch;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: clamp(54px, 7vw, 112px);
  }

  .about-story__portrait {
    height: 100%;
    aspect-ratio: auto;
  }

  .about-story__content {
    width: 100%;
    max-width: 560px;
    padding: 0;
    align-self: center;
  }

  .about-story__heading {
    margin-bottom: clamp(22px, 3vh, 34px);
  }

  .about-story__heading h1,
  .off-camera__heading h2,
  .about-contact__heading h2 {
    font-size: clamp(48px, 4.2vw, 66px);
  }

  .about-story__content > p,
  .off-camera__copy p {
    margin-bottom: clamp(16px, 2.2vh, 25px);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.55;
  }

  .about-values {
    display: flex;
    min-height: 100svh;
    margin: 0 calc(var(--about-page-padding-inline) * -1);
    padding: clamp(58px, 8vh, 92px) clamp(48px, 7vw, 110px);
    justify-content: center;
    flex-direction: column;
  }

  .about-values__heading {
    width: min(100%, 760px);
    margin: 0 auto clamp(54px, 7vh, 82px);
  }

  .about-values h2 {
    font-size: clamp(44px, 4vw, 62px);
  }

  .about-values__grid {
    width: min(100%, 1120px);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(48px, 7vw, 110px);
    row-gap: clamp(56px, 8vh, 90px);
  }

  .about-value__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
  }

  .about-value h3 {
    margin-bottom: 9px;
    font-size: 18px;
  }

  .about-value p {
    max-width: 230px;
    font-size: clamp(14px, 1.05vw, 16px);
  }

  .off-camera {
    display: grid;
    width: min(100%, 1280px);
    height: 100svh;
    min-height: 620px;
    margin: 0 auto;
    padding: clamp(58px, 8vh, 92px) 0;
    align-items: center;
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(60px, 8vw, 128px);
  }

  .off-camera__heading {
    margin: 0 0 clamp(26px, 4vh, 42px);
    align-self: end;
    grid-column: 1;
    grid-row: 1;
  }

  .off-camera__copy {
    max-width: 530px;
    align-self: start;
    grid-column: 1;
    grid-row: 2;
  }

  .off-camera__photo {
    height: 100%;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .about-contact {
    margin: 0 calc(var(--about-page-padding-inline) * -1);
    padding: clamp(72px, 9vh, 110px) var(--about-page-padding-inline) 36px;
  }

  .about-contact__intro {
    margin: 22px 0 34px;
    font-size: 17px;
  }

  .about-contact__cta {
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 15px 29px;
    font-size: 17px;
  }

  .about-contact__branch {
    width: 62px;
    height: 78px;
    margin: 34px auto 30px;
  }

  .about-contact__details {
    display: grid;
    width: min(100%, 1200px);
    max-width: 1200px;
    padding: clamp(34px, 5vh, 52px) 0;
    border-top: 1px solid #a8ae9d;
    border-bottom: 1px solid #a8ae9d;
    text-align: left;
    grid-template-columns: 1.25fr 0.85fr 1fr 1.4fr;
    align-items: stretch;
  }

  .about-contact__details > div {
    display: flex;
    padding: 0 clamp(22px, 2.5vw, 38px);
    justify-content: center;
    flex-direction: column;
  }

  .about-contact__details > div:first-child {
    padding-left: 0;
  }

  .about-contact__details > div:last-child {
    padding-right: 0;
  }

  .about-contact__details > div + div {
    border-left: 1px solid rgb(168 174 157 / 65%);
  }

  .about-contact__details > div::after {
    display: none;
  }

  .about-contact__details a,
  .about-contact__details p {
    font-size: clamp(15px, 1.25vw, 18px);
    overflow-wrap: anywhere;
  }

  .about-contact__socials {
    margin-top: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-menu,
  .about-menu a,
  .about-menu-button span,
  .about-contact__cta,
  .about-contact__socials a {
    transition: none;
  }

  .about-values-has-reveal .about-value {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .about-images-has-reveal .about-story__portrait img,
  .about-images-has-reveal .off-camera__photo img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-story__portrait:hover img,
  .off-camera__photo:hover img,
  .about-images-has-reveal .about-story__portrait.is-visible:hover img,
  .about-images-has-reveal .off-camera__photo.is-visible:hover img {
    transform: none;
  }

  .about-contact__cta::before,
  .about-contact__cta::after {
    transition: none;
  }

  .about-contact__details[data-contact-details-reveal] > div {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-page-loading .about-story__portrait,
  .about-page-loading .about-story__content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.scroll-top {
  position: fixed;
  z-index: 9;
  right: clamp(16px, 3vw, 30px);
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  visibility: hidden;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  color: #fff;
  background: rgb(117 128 101 / 68%);
  box-shadow: 0 8px 24px rgb(27 31 24 / 16%);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transform: translateY(12px);
  backdrop-filter: blur(10px);
  place-items: center;
  transition:
    opacity 240ms ease,
    transform 300ms ease,
    visibility 240ms ease,
    background-color 220ms ease;
}

.scroll-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: rgb(104 115 90 / 25%);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 599px) {
  .scroll-top {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
  }

  .about-story__portrait::before {
    animation: none;
  }
}

.about-contact__socials a:last-child svg path {
  fill: #fff;
}
