:root {
  --canvas: #f2ece3;
  --sage: #c8c8b5;
  --olive: #596349;
  --wine: #70474d;
  --ink: #29291f;
  --white: #fffdf8;
  --line: rgba(41, 41, 31, .24);
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 9vw, 140px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(.82rem, 1vw, .98rem);
  line-height: 1.95;
}

.wp-site-blocks {
  margin: 0;
  padding: 0;
}

.wp-site-blocks>* {
  margin-block-start: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
a {
  transition: color .6s ease, background-color .6s ease, border-color .6s ease, opacity .6s ease, transform .6s ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

.is-latin,
.section-title {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: .08em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-main {
  min-height: 50vh;
  font-size: clamp(.82rem, 1vw, .98rem);
}

.section {
  position: relative;
  padding: var(--section) var(--gutter);
}

.section>* {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 901px) {
  .section {
    padding-right: max(var(--gutter), calc((100% - var(--max)) / 2));
    padding-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
}

.section--sage {
  background: var(--sage);
  overflow-x: clip;
  overflow-y: visible;
}

.section--sage::before,
.section--sage::after {
  content: "";
  position: absolute;
  left: -2%;
  width: 104%;
  height: 28px;
  background: inherit;
  border-radius: 50%;
}

.section--sage::before {
  top: -14px;
}

.section--sage::after {
  bottom: -14px;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 72px);
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  font-weight: 400;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .12em;
}

h2 {
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
}

.button,
.outline-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .75rem 2.4rem;
  border-radius: 999px;
  letter-spacing: .08em;
}

.button {
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--white);
}

.button:hover {
  border-color: var(--wine);
  background-color: transparent;
  color: var(--wine);
}

.outline-button {
  border: 1px solid currentColor;
}

.button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.placeholder-media {
  min-height: 300px;
  background: linear-gradient(145deg, #d8d4c8, #aeb39b);
  display: grid;
  place-items: center;
  color: rgba(41, 41, 31, .58);
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  background: rgba(242, 236, 227, .98);
  border-bottom: 1px solid rgba(41, 41, 31, .08);
}

.site-header>* {
  pointer-events: auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1.1;
}

.site-brand__mark {
  width: 64px;
  height: 64px;
  display: block;
  flex: 0 0 auto;
  background: url('../images/logo.png') center/contain no-repeat;
}

.site-brand b {
  display: block;
  font: 500 1.8rem/1 "Cormorant Garamond", serif;
  letter-spacing: .04em;
}

.site-brand small {
  display: block;
  margin-top: .5rem;
  font-size: .72rem;
  letter-spacing: .18em;
}

.menu-toggle {
  width: 54px;
  height: 54px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  height: 2px;
  background: var(--ink);
}

.menu-toggle i {
  transition: background-color .6s ease, transform .6s ease;
}

.menu-toggle:hover i {
  background-color: var(--wine);
}

.menu-toggle:hover i:first-of-type {
  transform: translateX(4px);
}

.menu-toggle:hover i:last-of-type {
  transform: translateX(-4px);
}

.drawer-backdrop {
  position: fixed;
  z-index: 89;
  inset: 0;
  background: rgba(22, 22, 17, .38);
}

.global-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(100%, 520px);
  height: 100dvh;
  padding: 34px clamp(30px, 6vw, 70px);
  overflow-y: auto;
  background: #f7f3ed;
  border-radius: 34px 0 0 34px;
  transform: translateX(105%);
  transition: transform .35s ease;
  visibility: hidden;
}

.global-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  border: 0;
  background: transparent;
  font: 300 3rem/1 "Cormorant Garamond", serif;
  cursor: pointer;
}

.global-drawer nav {
  display: grid;
  margin: 42px 0;
}

.global-drawer nav a {
  padding: .52rem .4rem;
  border-bottom: 1px dotted var(--line);
  font: 400 1.6rem/1.2 "Cormorant Garamond", serif;
  letter-spacing: .08em;
}

.drawer-contact {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.drawer-contact dl {
  margin: 0 0 30px;
}

.drawer-contact dl div {
  display: grid;
  grid-template-columns: 105px 1fr;
  padding: .4rem;
  border-bottom: 1px dotted var(--line);
}

.drawer-contact dt,
.drawer-contact dd {
  margin: 0;
}

.line-button {
  display: flex;
  min-height: 58px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: var(--olive);
  color: white;
  font: 1.5rem "Cormorant Garamond", serif;
  letter-spacing: .18em;
}

.line-button__icon {
  width: 32px;
  height: 31px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url('../images/line-global.svg') center/contain no-repeat;
  mask: url('../images/line-global.svg') center/contain no-repeat;
}

.instagram-button {
  display: flex;
  min-height: 54px;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  color: var(--olive);
  font: 1.35rem/1 "Cormorant Garamond", serif;
  letter-spacing: .12em;
}

.instagram-button:hover {
  background: var(--olive);
  color: var(--white);
}

.instagram-button__icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url('../images/instagram.svg') center/contain no-repeat;
  mask: url('../images/instagram.svg') center/contain no-repeat;
}

.drawer-illustration {
  height: 210px;
  margin-top: 35px;
  background: url('../images/menu-illustration.png') center bottom/contain no-repeat;
}

.has-open-drawer,
.has-open-drawer body {
  overflow: hidden;
}

.hero {
  min-height: min(1000px, 100vh);
  padding: clamp(160px, 15vw, 230px) var(--gutter) clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(480px, 1.25fr);
  align-items: center;
  gap: clamp(30px, 6vw, 96px);
}

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

.hero__copy {
  max-width: 570px;
  margin-left: auto;
}

.hero__copy>.is-latin,
.hero__copy>.eyebrow {
  font: 400 2rem "Cormorant Garamond", serif;
  letter-spacing: .08em;
}

.hero__copy>p {
  letter-spacing: .06em;
}

.hero__media {
  min-height: clamp(460px, 58vw, 760px);
  border-radius: 48% 44% 46% 42%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero--home {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--canvas) url('../images/top-fv-svg2.svg') center/100% 100% no-repeat;
}

.hero--home .hero__photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../images/top-fv-pic.png') center/100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(#fff 0 0), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M51 4C68 3 87 13 94 29c7 17 1 39-9 53-10 14-27 18-44 15C24 94 8 84 5 67 1 50 8 31 20 19 29 10 39 5 51 4Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%, 39% 68%;
  -webkit-mask-position: 0 0, calc(76% + var(--blob-x, 0px)) calc(49% + var(--blob-y, 0px));
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#fff 0 0), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M51 4C68 3 87 13 94 29c7 17 1 39-9 53-10 14-27 18-44 15C24 94 8 84 5 67 1 50 8 31 20 19 29 10 39 5 51 4Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: 100% 100%, 39% 68%;
  mask-position: 0 0, calc(76% + var(--blob-x, 0px)) calc(49% + var(--blob-y, 0px));
  mask-composite: exclude;
  animation: organic-mask 13s ease-in-out infinite alternate;
  will-change: mask-position, mask-size;
}

.hero--home .hero__copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 5.5%;
  width: min(31vw, 445px);
  padding: clamp(24px, 3vw, 42px);
  background: #d6c6ac;
  box-shadow: 10px 12px 24px rgba(41, 41, 31, .12);
  transform: translateY(-48%);
}

.hero--home .hero__copy .eyebrow {
  font-size: clamp(.82rem, 1vw, 1rem);
}

.hero--home .hero__copy h1 {
  margin: .7em 0;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.55;
}

.hero--home .hero__copy p:not(.eyebrow) {
  margin: .7em 0;
  font-size: clamp(.82rem, 1vw, .98rem);
  line-height: 1.85;
}

.hero--home .hero__copy .button {
  min-height: 46px;
  margin-top: .75rem;
  padding: .6rem 2rem;
  font-size: .9rem;
}

@keyframes organic-mask {
  0% {
    -webkit-mask-size: 100% 100%, 38% 66%;
    mask-size: 100% 100%, 38% 66%;
  }

  45% {
    -webkit-mask-size: 100% 100%, 40% 64%;
    mask-size: 100% 100%, 40% 64%;
  }

  100% {
    -webkit-mask-size: 100% 100%, 37% 69%;
    mask-size: 100% 100%, 37% 69%;
  }

}

.hero--home,
.hero--home .hero__photo {
  background-position: left top;
}

/* FV layer correction: illustration is the base; the photograph is visible only through the organic window. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

body.admin-bar .site-header {
  top: var(--sotolab-admin-bar-offset, 0px);
}

body.admin-bar .drawer-backdrop {
  top: var(--sotolab-admin-bar-offset, 0px);
}

body.admin-bar .global-drawer {
  top: var(--sotolab-admin-bar-offset, 0px);
  height: calc(100dvh - var(--sotolab-admin-bar-offset, 0px));
}

.site-header.is-past-hero {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}

.hero--home {
  height: calc(100vh - 99px);
  height: calc(100svh - 99px);
  min-height: 0;
  margin-top: 99px;
}

.hero--home .hero__photo {
  -webkit-mask-image: url('../images/organic-mask-vector-2.png');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 70% 100%;
  -webkit-mask-position: var(--blob-x, 86%) var(--blob-y, 49%);
  -webkit-mask-composite: source-over;
  mask-image: url('../images/organic-mask-vector-2.png');
  mask-repeat: no-repeat;
  mask-size: 70% 100%;
  mask-position: var(--blob-x, 86%) var(--blob-y, 49%);
  mask-composite: add;
  animation: organic-photo-mask 14.3s cubic-bezier(.37, .08, .63, .92) infinite alternate;
}

.hero--home .hero__copy {
  z-index: 4;
  top: 48%;
}

.hero--home .hero__copy h1 {
  font-size: clamp(1.5rem, 2.05vw, 2.2rem);
  letter-spacing: .08em;
  white-space: nowrap;
}

.hero--home .hero__copy h1,
.hero--home .hero__copy p:not(.eyebrow),
.hero--home .hero__copy .button {
  margin-top: 1rem;
}

.site-main>.hero:not(.hero--home) {
  height: calc(100vh - 99px);
  height: calc(100svh - 99px);
  min-height: 0;
  margin-top: 99px;
  padding: clamp(36px, 5vw, 72px) var(--gutter);
}

.site-main>.hero--contact:not(.hero--home) {
  height: 78vh;
  height: 78svh;
  overflow: hidden;
}

.site-main>.hero:not(.hero--home) .hero__media {
  height: 100%;
  min-height: 0;
}

.site-main>.hero:not(.hero--home) .hero__media {
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transform-origin: center;
}

.site-main>.hero--contact:not(.hero--home) .hero__media {
  transform: scale(1.1);
}

.hero:not(.hero--home) .hero__copy>.is-latin {
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
}

.hero:not(.hero--home) .hero__copy>p:not(.is-latin) {
  font-size: clamp(.82rem, 1vw, .98rem);
}

.hero:not(.hero--home) .hero__copy h1 {
  font-size: clamp(1.5rem, 2.05vw, 2.2rem);
}

@keyframes organic-photo-mask {
  0% {
    -webkit-mask-size: 67% 104%;
    mask-size: 67% 104%;
  }

  17% {
    -webkit-mask-size: 74% 94%;
    mask-size: 74% 94%;
  }

  39% {
    -webkit-mask-size: 64% 110%;
    mask-size: 64% 110%;
  }

  58% {
    -webkit-mask-size: 77% 97%;
    mask-size: 77% 97%;
  }

  73% {
    -webkit-mask-size: 70% 107%;
    mask-size: 70% 107%;
  }

  91% {
    -webkit-mask-size: 80% 92%;
    mask-size: 80% 92%;
  }

  100% {
    -webkit-mask-size: 68% 102%;
    mask-size: 68% 102%;
  }

}

.wp-block-button__link {
  border: 1px solid var(--wine) !important;
  background-color: var(--wine);
  color: var(--white);
  transition: color .6s ease, background-color .6s ease, border-color .6s ease, transform .6s ease;
}

.wp-block-button__link:hover {
  border-color: var(--wine) !important;
  background-color: transparent;
  color: var(--wine);
  transform: translateY(-2px);
}

.contact-form button {
  border: 1px solid var(--olive);
  transition: color .6s ease, background-color .6s ease, border-color .6s ease, transform .6s ease;
}

.contact-form button:hover {
  border-color: var(--olive);
  background-color: transparent;
  color: var(--olive);
  transform: translateY(-2px);
}

.line-button {
  border: 1px solid var(--olive);
}

.line-button:hover {
  border-color: var(--olive);
  background-color: transparent;
  color: var(--olive);
}

.section p {
  font-size: clamp(.82rem, 1vw, .98rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 8vw;
  align-items: center;
}

.intro-grid__copy p {
  margin: 0 0 1.35em;
  line-height: 2;
}

.intro-grid__copy .outline-button {
  min-height: 46px;
  margin-top: .75rem;
  padding: .6rem 2rem;
  border-color: var(--olive);
  color: var(--olive);
  font-size: .9rem;
}

.intro-grid__copy .outline-button:hover {
  border-color: var(--olive);
  background-color: var(--olive);
  color: var(--white);
}

.intro-grid__visual {
  min-width: 0;
}

.line-art {
  min-height: 340px;
  display: grid;
  place-items: center;
}

.line-art img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.intro-grid__message {
  position: relative;
  width: fit-content;
  margin: clamp(22px, 3vw, 42px) auto 0;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem) !important;
  letter-spacing: .12em;
  white-space: nowrap;
}

.intro-grid__message img {
  position: absolute;
  left: calc(100% - 2px);
  bottom: calc(100% - 2px);
  width: clamp(80px, 9vw, 132px);
  max-width: none;
  pointer-events: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.service-grid article {
  min-width: 0;
  text-align: center;
}

.service-grid article h3 {
  margin-bottom: .35em;
}

.service-grid article p {
  margin: 0 auto 1.8rem;
}

.service-grid .placeholder-media {
  aspect-ratio: 4/3;
  border: 1px solid var(--olive);
}

.service-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1201/994;
}

.service-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: url('../images/service-frame.svg');
  background-repeat: no-repeat;
  background-size: 200% 100%;
  pointer-events: none;
}

.service-grid article:first-child .service-frame::after {
  background-position: left center;
}

.service-grid article:last-child .service-frame::after {
  background-position: right center;
}

.service-frame img {
  position: absolute;
  z-index: 1;
  top: 5%;
  display: block;
  width: 76.5%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.service-grid article:first-child .service-frame img {
  left: 14.8%;
}

.service-grid article:last-child .service-frame img {
  left: 9.4%;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card a {
  display: block;
}

.work-card img,
.work-card .placeholder-media {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.work-card h3 {
  margin-bottom: 0;
}

.work-card p {
  margin-top: 0;
  opacity: .75;
}

.section-link {
  margin-top: 36px;
  text-align: right;
}

.section-link a,
.work-nav a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.section-link a:hover,
.section-link a:focus-visible {
  color: inherit;
}

.works-showcase {
  position: relative;
  width: min(100%, 1203px);
  aspect-ratio: 1203/801;
  margin: 0 auto;
  background: url('../images/top-works.svg') center/100% 100% no-repeat;
}

.works-showcase .section-head {
  position: absolute;
  top: 8%;
  right: 0;
  left: 0;
  margin: 0;
}

.works-showcase .works-grid {
  position: absolute;
  top: 33%;
  right: 10%;
  bottom: 13%;
  left: 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3.5% 3%;
}

.works-showcase .work-card,
.works-showcase .work-card a {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.works-showcase .work-card img {
  transition: filter .7s ease;
}

.works-showcase .work-card:hover img,
.works-showcase .work-card a:focus-visible img {
  filter: brightness(.76);
}

.works-showcase .work-card img,
.works-showcase .work-card .placeholder-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

.work-card__caption {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  padding: clamp(6px, 1vw, 12px);
  color: var(--white);
  font-size: clamp(.62rem, .9vw, .86rem);
  line-height: 1.6;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .48);
}

.work-card__caption b,
.work-card__caption small {
  display: block;
  font-size: inherit;
  font-weight: 400;
}

.works-coming-soon {
  position: absolute;
  z-index: 1;
  top: 54%;
  left: 50%;
  width: max-content;
  max-width: 80%;
  margin: 0;
  padding: 1.2rem 1.8rem;
  background: rgba(200, 200, 181, .76);
  letter-spacing: .1em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list a {
  display: grid;
  grid-template-columns: 150px 110px 1fr;
  gap: 22px;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.news-list span {
  padding: .25rem .8rem;
  background: var(--sage);
  border-radius: 10px;
  text-align: center;
}

.news-list b {
  font-weight: 400;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.about-story>* {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.about-story>h2 {
  grid-column: 1/-1;
  margin: 0;
}

.about-story__copy {
  position: relative;
}

.about-story__copy>p {
  margin: 0 0 1.35em;
  line-height: 2;
}

.about-story__ending {
  margin-top: 1.5rem;
  padding-right: 38%;
}

.about-story__ending p {
  margin: 0 0 1.35em;
}

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

.about-story__illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  max-width: 310px;
}

.list-panel,
.profile-panel {
  padding: clamp(28px, 4vw, 36px);
  border-radius: 36px;
  background: var(--canvas);
}

.list-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-panel h3 {
  margin: 0 0 clamp(24px, 3vw, 38px);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  text-align: center;
}

.list-panel li {
  display: grid;
  grid-template-columns: 26px 112px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 104px;
}

.list-panel li img {
  width: 140px;
  height: 120px;
  object-fit: contain;
}

.list-panel li b,
.list-panel li div>span {
  display: block;
}

.list-panel li b {
  margin-bottom: .35rem;
  font-size: clamp(1.05rem, 1.4vw, 1rem);
  font-weight: 400;
}

.list-panel__number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font: 1rem "Cormorant Garamond", serif;
  padding-bottom: 3px;
  line-height: 1rem;
  letter-spacing: .03em;
}

.profile-panel {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}

.profile-panel__identity {
  text-align: center;
}

.profile-portrait {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage);
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.profile-panel__identity h3 {
  margin: 18px 0 8px;
  font-size: clamp(.92rem, 1.05vw, 1.05rem);
  letter-spacing: .08em;
}

.profile-panel__identity p {
  margin: 0;
  font-size: clamp(.74rem, .85vw, .84rem);
  line-height: 2;
}

.profile-panel__message p {
  margin: 0 0 1.25em;
}

.profile-panel__message p:last-child {
  margin-bottom: 0;
}

.service-stack {
  display: grid;
  gap: 48px;
}

.service-stack article {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: stretch;
  border-radius: 36px;
  background: var(--sage);
  overflow: hidden;
}

.service-stack article:nth-child(even) .service-photo {
  order: 2;
}

.service-stack article:nth-child(even) {
  grid-template-columns: 1.35fr 1fr;
}

.service-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 36px);
}

.service-card__body h3 {
  margin: 0 0 .45rem;
}

.service-card__body>p {
  margin: 0 0 1.15em;
  line-height: 2;
}

.service-card__lead {
  margin-bottom: 1.6em !important;
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  letter-spacing: .06em;
}

.service-card__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(24px, 3vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}

.service-card__features li {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 6px;
  font-size: clamp(.68rem, .82vw, .8rem);
  line-height: 1.6;
  text-align: center;
}

.service-card__features li+li {
  border-left: 1px dashed var(--line);
}

.service-card__features img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.service-stack .service-photo {
  min-height: 480px;
  background-size: cover;
  background-position: center;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 1px dotted var(--line);
}

.flow-list li:last-child {
  border: 0;
}

.flow-list b {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 400;
}

.flow-list__number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font: 1rem/1 "Cormorant Garamond", serif;
  letter-spacing: .03em;
  padding-bottom: 3px;
}

.flow-list img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.featured-works {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 8px;
}

.featured-works a {
  position: relative;
  overflow: hidden;
}

.featured-works a:first-child,
.featured-works a:last-child {
  grid-column: span 3;
  grid-row: span 2;
}

.featured-works a:nth-child(2),
.featured-works a:nth-child(3) {
  grid-column: span 3;
}

.featured-works img,
.featured-works .placeholder-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-works span {
  position: absolute;
  inset: auto 0 0;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
  color: white;
}

.about-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, minmax(0, 1fr));
  width: min(100%, 1120px);
  aspect-ratio: 1119/1500;
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 36px);
}

.about-works-grid>a {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.about-works-grid>a:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.about-works-grid>a:nth-child(12) {
  grid-column: 2 / 4;
  grid-row: 5 / 7;
}

.about-works-grid img,
.about-works-grid .placeholder-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: filter .7s ease, transform .7s ease;
}

.about-work-card__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(12px, 2vw, 28px);
  background: rgba(41, 41, 31, .66);
  color: var(--white);
  opacity: 0;
  transition: opacity .7s ease;
}

.about-work-card__overlay b,
.about-work-card__overlay small {
  display: block;
  font-size: clamp(.72rem, 1vw, .95rem);
  font-weight: 400;
  letter-spacing: .08em;
}

.about-work-card__overlay b {
  margin: 0;
  font-size: clamp(.78rem, 1.1vw, 1rem);
}

.about-work-card__heading {
  display: flex;
  flex-direction: column;
  gap: .2em;
}

.about-work-card__heading small {
  font-size: clamp(.68rem, .85vw, .82rem);
}

.about-work-card__comment {
  display: -webkit-box;
  margin-top: clamp(10px, 1.25vw, 18px);
  overflow: hidden;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.about-works-grid>a:hover img,
.about-works-grid>a:focus-visible img {
  filter: brightness(.76);
  transform: scale(1.02);
}

.about-works-grid>a:hover .about-work-card__overlay,
.about-works-grid>a:focus-visible .about-work-card__overlay {
  opacity: 1;
}

.about-works__empty {
  padding: 80px 20px;
  text-align: center;
}

.company-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
}

.company-section dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-section dl div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-section dt,
.company-section dd {
  margin: 0;
  padding: 22px 30px;
}

.company-section dt {
  border-right: 1px solid var(--line);
  text-align: center;
}

.company-section__illustration {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.company-section__illustration img {
  width: min(100%, 260px);
  max-height: 620px;
  object-fit: contain;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: stretch;
}

.access-grid>* {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.address-card,
.access-map {
  min-height: 380px;
  border-radius: 32px;
}

.address-card {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--olive);
}

.address-card__heading {
  display: flex;
  align-items: center;
  gap: 26px;
}

.address-card__heading>img {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
}

.address-card__heading h2 {
  margin: 0;
}

.address-card>p {
  margin: clamp(30px, 4vw, 46px) 0;
  font-size: clamp(.92rem, 1.25vw, 1.12rem);
  line-height: 1.8;
}

.address-card__action {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px dotted var(--line);
}

.address-card__action .outline-button {
  width: 100%;
  min-height: 56px;
  gap: 12px;
  border-color: var(--olive);
  color: var(--olive);
}

.address-card__action .outline-button img {
  width: 16px;
  height: 16px;
  transition: filter .6s ease;
}

.address-card__action .outline-button:hover {
  border-color: var(--olive);
  background-color: var(--olive);
  color: var(--canvas);
}

.address-card__action .outline-button:hover img {
  filter: brightness(0) invert(1);
}

.access-map {
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
}

.meeting-section {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--max);
  margin: 0 auto var(--section);
  padding: clamp(44px, 6vw, 72px) clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: var(--sage);
}

.meeting-section>* {
  max-width: none;
}

.meeting-section h2 {
  margin-bottom: 60px;
  text-align: center;
}

.meeting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 52px);
  text-align: center;
}

.meeting-grid__icon {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 50%;
  background: var(--canvas);
}

.meeting-grid__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.meeting-grid article h3 {
  margin: 24px 0 12px;
}

.meeting-grid article p {
  margin: 0;
  line-height: 1.9;
}

.area-panel {
  margin-top: 50px;
  padding: 28px;
  border-radius: 24px;
  background: var(--canvas);
}

.contact-methods>header {
  text-align: center;
  margin-bottom: 55px;
}

.contact-methods>div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-method {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border-radius: 28px;
  background: var(--canvas);
  text-align: center;
}

.contact-method__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-method__icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.contact-method__body h3 {
  margin: 0 0 18px;
}

.contact-method__body p {
  margin: 0 0 1em;
}

.contact-method__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dotted var(--line);
  color: var(--olive);
}

.contact-method__link:hover,
.contact-method__link:focus-visible {
  color: var(--olive);
}

.contact-method__link img,
.link-arrow {
  width: 44px;
  height: 10px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: transform .6s ease;
}

.contact-method__link:hover img,
.section-link a:hover .link-arrow,
.work-nav a:hover .link-arrow:not(.link-arrow--previous) {
  transform: translateX(6px);
}

.link-arrow--previous {
  transform: rotate(180deg);
}

.work-nav a:hover .link-arrow--previous {
  transform: translateX(-6px) rotate(180deg);
}

.form-section>h2 {
  text-align: center;
}

.contact-form {
  max-width: 960px;
  margin: 40px auto 0;
  padding: clamp(28px, 5vw, 70px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  padding: 16px 0;
  border: 0;
}

.form-row>label:first-child,
.form-row legend,
.form-row__label {
  padding-top: .6rem;
}

.form-row span {
  padding: .2rem .45rem;
  border-radius: 5px;
  background: var(--olive);
  color: white;
  font-size: .75rem;
}

.form-row small {
  padding: .2rem .45rem;
  border-radius: 5px;
  background: #dfe5d7;
  color: var(--olive);
  font-size: .75rem;
}

.form-row input:not([type=radio]),
.form-row select,
.form-row textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  background: white;
}

.form-options {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.form-options label {
  margin: 0;
  white-space: nowrap;
}

.form-optional-group {
  --optional-group-padding: clamp(18px, 3vw, 28px);
  margin-top: 16px;
  margin-right: calc(var(--optional-group-padding) * -1);
  margin-left: calc(var(--optional-group-padding) * -1);
  padding: var(--optional-group-padding);
  border-radius: 24px;
  background: #f5f1ec;
}

.form-consent {
  display: block;
  margin: 35px 0 25px;
  text-align: center;
}

.contact-form button {
  display: block;
  min-width: min(100%, 380px);
  margin: auto;
  padding: .9rem 2rem;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: var(--olive);
  color: white;
  cursor: pointer;
}

.contact-form__response-note {
  max-width: 960px;
  margin: 24px auto 0;
  text-align: center;
  line-height: 2;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
}

.form-notice {
  max-width: 960px;
  margin: 30px auto;
  padding: 18px;
  border-radius: 8px;
}

.is-success {
  background: #e4eadc;
}

.is-error {
  background: #f3dddd;
}

.archive-works,
.prose-page {
  padding: clamp(170px, 15vw, 220px) var(--gutter) var(--section);
}

.works-query .wp-block-post-template {
  gap: 28px;
}

.archive-works>.works-query {
  width: 100%;
  max-width: var(--max) !important;
  margin-right: auto;
  margin-left: auto;
}

.archive-works__empty {
  padding: clamp(64px, 9vw, 120px) 20px;
  text-align: center;
  line-height: 2;
}

.works-query .wp-block-post-title {
  margin-top: 14px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.entry-card {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.archive-works__heading {
  margin-bottom: clamp(42px, 6vw, 80px);
  text-align: center;
}

.archive-works__heading h1,
.archive-works__heading p {
  margin-top: 0;
  margin-bottom: .25em;
}

.archive-works__heading h1,
.work-header h1 {
  font-size: clamp(1.5rem, 2.05vw, 2.2rem);
}

.work-single {
  padding: clamp(170px, 15vw, 220px) var(--gutter) var(--section);
}

.work-header,
.work-visual-gallery,
.work-content,
.work-nav {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.work-header {
  text-align: center;
}

.work-visual-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 18vw, 230px);
  gap: clamp(12px, 2vw, 28px);
  align-items: stretch;
  max-width: 920px;
}

.work-main-image {
  min-width: 0;
  margin: 0;
}

.work-main-image img {
  width: 100%;
  height: clamp(460px, 58vw, 760px);
  object-fit: cover;
  border-radius: 32px;
}

.work-thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.work-thumbnails button {
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.work-thumbnails button:hover,
.work-thumbnails button.is-active {
  border-color: var(--olive);
}

.work-thumbnails img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.work-content {
  max-width: 920px;
}

.work-content>section {
  margin: 80px 0;
}

.work-content h2 {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.work-gallery .wp-block-gallery {
  gap: 12px;
}

.before-after>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.before-after figure {
  margin: 0;
}

.before-after figcaption {
  margin-bottom: 10px;
  font: 2rem "Cormorant Garamond", serif;
}

.before-after img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.work-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-cta {
  position: relative;
  max-width: none !important;
  padding: 80px var(--gutter);
  background: var(--sage);
}

.contact-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
}

.contact-cta .has-large-font-size {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem) !important;
}

.contact-cta .wp-block-button__link {
  min-height: 46px;
  margin-top: clamp(28px, 3vw, 44px);
  padding: .6rem 2rem;
  font-size: .9rem;
}

.contact-cta::before,
.contact-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(80px, 12vw, 170px);
  height: 58%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.contact-cta::before {
  left: max(4vw, calc(50% - 420px));
  background-image: url('../images/cta-left.svg');
}

.contact-cta::after {
  right: max(4vw, calc(50% - 420px));
  background-image: url('../images/cta-right.svg');
}

.site-footer {
  padding: 48px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.05fr .9fr 1.2fr 1fr;
  column-gap: clamp(30px, 4vw, 68px);
  row-gap: 26px;
  align-items: center;
  background: var(--canvas);
  font-size: clamp(.72rem, .9vw, .88rem);
}

.footer-brand p {
  margin-top: 28px;
  line-height: 2;
}

.footer-scene {
  width: 100%;
  min-height: 165px;
  background: url('../images/about-illust.png') center/contain no-repeat;
}

.footer-menu,
.footer-contact {
  align-self: start;
}

.footer-menu>b,
.footer-contact>b {
  display: block;
  margin-bottom: 10px;
  font-weight: 400;
}

.footer-menu>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.footer-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: .32rem 0;
  white-space: nowrap;
}

.footer-menu a::before {
  content: "";
  width: 9px;
  height: 11px;
  flex: 0 0 auto;
  background: url('../images/arrow-footer.svg') center/contain no-repeat;
}

.footer-contact {
  display: grid;
  align-content: start;
}

.footer-contact a {
  position: relative;
  min-height: 32px;
  padding: .32rem 0 .32rem 29px;
  border-bottom: 1px dotted var(--line);
  letter-spacing: .08em;
}

.footer-contact a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  background: center/contain no-repeat;
  transform: translateY(-50%);
}

.footer-contact__mail::before {
  background-image: url('../images/footer-mail.svg') !important;
}

.footer-contact__line::before {
  background-image: url('../images/footer-line.svg') !important;
}

.footer-contact__phone::before {
  background-image: url('../images/footer-phone.svg') !important;
}

.footer-contact__form::before {
  background-image: url('../images/footer-form.svg') !important;
}

.site-footer>small {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-self: stretch;
  grid-column: 1/-1;
  margin: 0 calc(var(--gutter) * -1);
  padding: 10px var(--gutter);
  background: var(--canvas);
  color: #927332;
  text-align: center;
  letter-spacing: .04em;
}

.site-footer>small span {
  grid-column: 2;
  grid-row: 1;
}

.site-footer>small a {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.privacy-page {
  padding: clamp(170px, 15vw, 220px) var(--gutter) var(--section);
}

.privacy-hero,
.privacy-content {
  width: min(100%, 900px);
  margin-inline: auto;
}

.privacy-hero {
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.privacy-hero .is-latin {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
}

.privacy-hero h1 {
  margin: .45em 0 .8em;
  font-size: clamp(1.5rem, 2.05vw, 2.2rem);
  font-weight: 400;
}

.privacy-hero>p:last-child,
.privacy-content {
  font-size: clamp(.82rem, 1vw, .98rem);
  line-height: 2;
}

.privacy-content>section {
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px dotted var(--line);
}

.privacy-content h2 {
  margin: 0 0 1.1em;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 400;
}

.privacy-content p,
.privacy-content ul {
  margin: 0 0 1em;
}

.privacy-content p:last-child,
.privacy-content ul:last-child {
  margin-bottom: 0;
}

.privacy-content a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.privacy-contact dl {
  margin: 0;
}

.privacy-contact dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: .7rem 0;
  border-bottom: 1px dotted var(--line);
}

.privacy-contact dt,
.privacy-contact dd {
  margin: 0;
}

.privacy-updated {
  margin-top: 32px !important;
  text-align: right;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero__copy {
    max-width: none;
    margin: 0;
  }

  .hero__media {
    min-height: 58vw;
    order: -1;
  }

  .hero--home {
    height: calc(100svh - 99px);
    min-height: 0;
    margin-top: 99px;
    padding: 0;
  }

  .tb_invalid {
    display: none;
  }

  .hero--home .hero__copy {
    left: 4%;
    width: min(36vw, 390px);
    box-shadow: none;
  }

  .site-main>.hero:not(.hero--home) {
    height: auto;
    min-height: calc(100svh - 99px);
    margin-top: 99px;
    padding: 48px var(--gutter) 64px;
  }

  .site-main>.hero--contact:not(.hero--home) {
    height: auto;
    min-height: calc(78svh - 99px);
  }

  .site-main>.hero:not(.hero--home) .hero__media {
    height: auto;
    min-height: 0;
  }

  .hero--about .hero__media {
    aspect-ratio: 1024/722;
  }

  .hero--access .hero__media {
    aspect-ratio: 662/787;
  }

  .hero--company .hero__media {
    aspect-ratio: 1056/691;
  }

  .hero--contact .hero__media {
    aspect-ratio: 966/676;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-showcase .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    grid-column: auto;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }

  .service-stack article {
    grid-template-columns: 1fr;
  }

  .service-stack article:nth-child(even) .service-photo {
    order: 0;
  }

  .service-stack article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px dotted var(--line);
  }

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

  .company-section__illustration img {
    width: min(45vw, 240px);
  }

  .featured-works {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .featured-works a,
  .featured-works a:first-child,
  .featured-works a:last-child,
  .featured-works a:nth-child(2),
  .featured-works a:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .work-visual-gallery {
    grid-template-columns: 1fr;
  }

  .work-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-map {
    min-height: 380px;
  }

  .meeting-grid,
  .contact-methods>div {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

}

@media (max-width: 600px) {
  :root {
    --section: 72px;
  }

  .site-header {
    min-height: 82px;
    padding: 12px 20px;
  }

  .site-brand__mark {
    width: 48px;
    height: 48px;
  }

  .site-brand b {
    font-size: 1.5rem;
  }

  .site-brand small {
    margin-top: .3rem;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .global-drawer {
    width: 100%;
    border-radius: 28px;
  }

  .global-drawer .site-brand__mark {
    width: 54px;
    height: 54px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 120px;
    gap: 28px;
  }

  .hero__copy {
    order: 1;
  }

  .tb_invalid {
    display: block;
  }

  .hero__media {
    order: 0;
    min-height: 76vw;
    border-radius: 42% 42% 38% 38%;
  }

  .hero--home {
    display: block;
    height: calc(100svh - 77px);
    min-height: 0;
    margin-top: 77px;
    padding: 0;
    background-position: center top;
    background-size: 100% 100%;
  }

  .hero--home .hero__photo {
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-mask-size: auto;
    mask-size: auto;
    background-position: center;
    background-size: cover;
    animation: none;
  }

  .hero--home .hero__copy {
    position: absolute;
    top: auto;
    right: 20px;
    bottom: 5.5%;
    left: 20px;
    width: auto;
    padding: 20px;
    transform: none;
  }

  .hero--home .hero__copy h1 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    white-space: normal;
  }

  .hero--home .hero__copy p:not(.eyebrow) {
    font-size: .78rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .site-main>.hero:not(.hero--home) {
    height: auto;
    min-height: calc(100svh - 77px);
    margin-top: 77px;
    padding: 32px 20px 56px;
  }

  .site-main>.hero--contact:not(.hero--home) {
    height: auto;
    min-height: calc(78svh - 77px);
  }

  .site-main>.hero:not(.hero--home) .hero__media {
    height: auto;
    min-height: 0;
    transform: scale(1.03);
  }

  .site-main>.hero--contact:not(.hero--home) .hero__media {
    transform: scale(1.08);
  }

  .hero--about .hero__media {
    aspect-ratio: 1024/722;
  }

  .hero--access .hero__media {
    aspect-ratio: 662/787;
  }

  .hero--company .hero__media {
    aspect-ratio: 1056/691;
  }

  .hero--contact .hero__media {
    aspect-ratio: 966/676;
  }

  .hero:not(.hero--home) .hero__copy h1,
  .archive-works__heading h1,
  .work-header h1 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .intro-grid,
  .service-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-showcase .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid {
    gap: 72px;
  }

  .line-art {
    min-height: 180px;
  }

  .intro-grid__message {
    font-size: clamp(.88rem, 4vw, 1.05rem) !important;
    white-space: normal;
  }

  .intro-grid__message img {
    left: auto;
    right: -8px;
    bottom: calc(100% - 1px);
    width: clamp(68px, 22vw, 96px);
  }

  .service-grid {
    gap: 42px;
  }

  .news-list a {
    grid-template-columns: 1fr auto;
    gap: 8px 15px;
  }

  .news-list b {
    grid-column: 1/-1;
  }

  .news-list span {
    grid-column: 2;
    grid-row: 1;
  }

  .list-panel li {
    grid-template-columns: 24px 86px minmax(0, 1fr);
    gap: 10px;
  }

  .about-story>h2 {
    font-size: clamp(.92rem, 4.5vw, 1.1rem);
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .list-panel li img {
    width: 86px;
    height: 76px;
  }

  .about-story__ending {
    min-height: 0;
    padding-right: 0;
  }

  .about-story__copy {
    padding-bottom: clamp(190px, 55vw, 230px);
  }

  .about-story__illustration {
    right: 50%;
    width: min(78%, 300px);
    transform: translateX(50%);
  }

  .profile-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .profile-portrait {
    width: 140px;
    margin: auto;
  }

  .profile-panel__identity {
    text-align: center;
  }

  .service-card__features {
    grid-template-columns: 1fr;
  }

  .service-card__features li {
    justify-content: space-between;
    padding: 12px 0;
    text-align: left;
  }

  .service-card__features li+li {
    border-top: 1px dashed var(--line);
    border-left: 0;
  }

  .service-stack .service-photo {
    min-height: 68vw;
  }

  .featured-works {
    grid-template-columns: 1fr;
    grid-auto-rows: 66vw;
  }

  .about-works-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 42vw;
    aspect-ratio: auto;
  }

  .about-works-grid>a:first-child,
  .about-works-grid>a:nth-child(12) {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .about-work-card__overlay {
    padding: 12px;
  }

  .about-work-card__overlay b {
    font-size: .72rem;
  }

  .about-work-card__overlay small {
    font-size: .65rem;
  }

  .about-work-card__heading small {
    font-size: .6rem;
  }

  .about-work-card__comment {
    margin-top: 6px;
    -webkit-line-clamp: 2;
  }

  .company-section dl div {
    grid-template-columns: 1fr;
  }

  .company-section dt {
    padding-bottom: 5px;
    border-right: 0;
    text-align: left;
    font-weight: 600;
  }

  .company-section dd {
    padding-top: 5px;
  }

  .address-card,
  .access-map {
    min-height: 330px;
  }

  .address-card {
    padding: 30px;
  }

  .meeting-grid {
    text-align: left;
  }

  .meeting-grid__icon {
    width: 90px;
    height: 90px;
    margin-left: 0;
  }

  .meeting-grid__icon img {
    width: 44px;
    height: 44px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .form-row>label:first-child,
  .form-row legend,
  .form-row__label {
    padding-top: 0;
  }

  .form-options {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-form {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .before-after>div {
    grid-template-columns: 1fr;
  }

  .work-main-image img {
    height: 70vw;
    border-radius: 20px;
  }

  .work-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-cta::before,
  .contact-cta::after {
    opacity: .16;
  }

  .contact-cta::before {
    left: 3vw;
  }

  .contact-cta::after {
    right: 3vw;
  }

  .works-coming-soon {
    max-width: 82%;
    padding: .8rem 1rem;
    font-size: clamp(.68rem, 3vw, .82rem) !important;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 44px;
  }

  .footer-scene {
    max-width: 260px;
    min-height: 190px;
  }

  .footer-menu>div {
    max-width: 360px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .sp_only {
    display: block !important;
  }

}

@media (hover: none) {
  .about-work-card__overlay {
    background: linear-gradient(transparent 42%, rgba(41, 41, 31, .72));
    opacity: 1;
  }

}

/* Tablet and mobile: PC-only line breaks should flow naturally. */
.hero--access .hero__media-photo {
  display: none;
}

@media (max-width: 900px) {
  br.pc_only {
    display: none;
  }

  .company-section__illustration {
    display: none;
  }

  .flow-list li {
    align-items: center;
    text-align: center;
  }

  .flow-list b {
    justify-content: center;
  }
}

/* Tablet-specific composition. Keep the existing mobile layout below 600px. */
@media (min-width: 601px) and (max-width: 900px) {
  .hero--home {
    background: var(--canvas);
  }

  .hero--home .hero__photo {
    -webkit-mask-image: none;
    mask-image: none;
    background-position: center;
    background-size: cover;
    animation: none;
  }

  .hero--home .hero__copy {
    top: auto;
    right: auto;
    bottom: clamp(28px, 5vw, 48px);
    left: var(--gutter);
    width: min(calc(100% - (var(--gutter) * 2)), 680px);
    max-width: none;
    padding: clamp(20px, 3vw, 28px);
    transform: none;
  }

  .site-main>.hero--contact:not(.hero--home) .hero__media {
    transform: scale(.9);
  }

  .hero--access .hero__media {
    position: relative;
    aspect-ratio: 787 / 662;
    overflow: visible;
    background-image: none !important;
    transform: none !important;
  }

  .hero--access .hero__media-photo {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(65vw, 560px);
    aspect-ratio: 662 / 787;
    overflow: hidden;
    -webkit-mask: url('../images/access-fv-frame.png') center / contain no-repeat;
    mask: url('../images/access-fv-frame.png') center / contain no-repeat;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
  }

  .hero--access .hero__media-photo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 118.9%;
    height: 84.1%;
    background-image: var(--access-photo);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
  }

  .list-panel ol {
    justify-items: center;
  }

  .list-panel li {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .list-panel li div {
    text-align: center;
  }

  .contact-cta::before {
    left: max(6vw, calc(50% - 270px));
  }

  .contact-cta::after {
    right: max(6vw, calc(50% - 270px));
  }
}

/* Smartphone-specific composition. */
@media (max-width: 600px) {
  :root {
    --mobile-fv-height: min(700px, calc(100svh - 77px));
  }

  .address-card,
  .meeting-section,
  .meeting-grid {
    text-align: center;
  }

  .address-card__heading {
    justify-content: center;
  }

  .meeting-grid__icon {
    margin-inline: auto;
  }

  .global-drawer nav a {
    font-size: 1.25rem;
  }

  .global-drawer .drawer-contact {
    font-size: .82rem;
  }

  .global-drawer .line-button {
    font-size: 1.2rem;
  }

  .global-drawer .instagram-button {
    font-size: 1.1rem;
  }

  .hero--home {
    height: var(--mobile-fv-height);
  }

  .site-main>.hero:not(.hero--home) {
    min-height: var(--mobile-fv-height);
  }

  .hero--access .hero__media {
    width: min(75%, 270px);
    align-self: center;
  }

  .works-showcase.has-works {
    width: 100%;
    aspect-ratio: auto;
    background: none;
  }

  .works-showcase.has-works .section-head {
    position: static;
    margin-bottom: 20px;
  }

  .works-showcase.has-works .works-grid {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: clamp(12px, 4vw, 20px);
  }

  .works-showcase.has-works .work-card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1203 / 801;
    overflow: visible;
    background: url('../images/top-works.svg') center / 100% 100% no-repeat;
  }

  .works-showcase.has-works .work-card:nth-child(n+4) {
    display: none;
  }

  .works-showcase.has-works .work-card a {
    position: absolute;
    top: 33%;
    right: 10%;
    bottom: 13%;
    left: 10%;
    width: auto;
    height: auto;
    overflow: hidden;
  }

  .site-footer {
    justify-items: center;
    text-align: center;
  }

  .site-footer>small {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer>small span {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .site-footer>small a {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .footer-brand .site-brand {
    justify-content: center;
  }

  .footer-scene {
    margin-inline: auto;
  }

  .footer-menu,
  .footer-contact {
    width: min(100%, 360px);
    margin-inline: auto;
    text-align: center;
  }

  .footer-menu>div {
    width: 280px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    justify-items: stretch;
    margin-inline: auto;
  }

  .footer-menu a {
    justify-content: flex-start;
    padding-inline: 2px;
    font-size: .68rem;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
  }

  .footer-contact {
    justify-items: center;
  }

  .footer-contact a {
    width: min(100%, 280px);
    text-align: left;
  }

  .privacy-page {
    padding: 120px 20px 72px;
  }

  .privacy-contact dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .privacy-contact dt {
    font-weight: 600;
  }

  .company-section {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .global-drawer,
  .works-showcase .work-card img,
  .about-works-grid img,
  .about-work-card__overlay {
    transition: none;
  }

  .button:hover,
  .outline-button:hover,
  .about-works-grid>a:hover img {
    transform: none;
  }

  .hero--home .hero__photo {
    animation: none;
  }
}

.section--sage.intro-grid::before {
  display: none;
}

.hero__copy .is-latin {
  margin: 0;
}

.bigger-text {
  font-size: clamp(.84rem, 1.1vw, 1rem);
  font-weight: bold;
}

.sp_only {
  display: none;
}