/* Portfolio extensions share the typography, colour and spacing of the main chapters. */
.works-cta {
  display: flex;
  justify-content: flex-end;
  padding-top: 38px;
  margin-top: 45px;
  border-top: 1px solid var(--line);
}
.works-cta .text-link {
  font-size: 15px;
  gap: 64px;
  white-space: nowrap;
}
.discipline-label {
  margin-bottom: 20px;
}
.editorial-heading {
  margin-bottom: 64px;
  max-width: 900px;
}
.editorial-heading > .eyebrow {
  display: block;
  margin-bottom: 26px;
}
.editorial-heading > p:not(.eyebrow) {
  max-width: 490px;
  color: var(--muted);
  margin-top: 27px;
}
.built-work {
  padding-bottom: 90px;
}
.architecture-wide {
  display: block;
  overflow: hidden;
}
.architecture-wide img {
  width: 100%;
  height: auto;
  transition: transform 1s var(--ease);
}
.architecture-wide:hover img {
  transform: scale(1.02);
}
.architecture-caption {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 25px 0 45px;
}
.architecture-caption h3 {
  font-size: clamp(26px, 3vw, 42px);
}
.architecture-caption p {
  color: var(--muted);
  margin-left: auto;
  font-size: 12px;
}
.architecture-studies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.architecture-studies a {
  display: block;
}
.architecture-studies img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.accolades {
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.recognition-spread {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 13%;
  align-items: start;
}
.recognition-event {
  max-width: 640px;
}
.recognition-event > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
}
.recognition-spread figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 17px;
}
.recognition-aside {
  padding-top: 120px;
}
.recognition-aside figure {
  width: 85%;
  margin-left: auto;
}
.recognition-aside figure > img {
  width: 100%;
}
.recognition-note {
  max-width: 350px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.035em;
  margin-top: 52px;
}
.certificate-archive {
  margin-top: 100px;
}
.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.archive-toolbar h3 {
  font-size: clamp(25px, 3vw, 38px);
}
.certificate-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 31%;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  padding-bottom: 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--soft);
}
.certificate-item {
  min-width: 0;
  scroll-snap-align: start;
}
.certificate-image {
  display: flex;
  position: relative;
  background: var(--soft);
  height: 390px;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 48px;
}
.certificate-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.certificate-open {
  position: absolute;
  bottom: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.certificate-image:hover .certificate-open {
  color: var(--accent);
}
.certificate-meta {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 22px;
}
.certificate-item h4 {
  font-weight: 400;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 16px 0 10px;
}
.certificate-recipient {
  font-size: 12px;
}
.certificate-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 16px;
}
.studio-news {
  border-top: 1px solid var(--line);
}
.news-row {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.55fr) 48px;
  gap: 6%;
  align-items: center;
}
.news-image {
  display: block;
  background: var(--soft);
  height: 230px;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.news-copy time {
  font-size: 11px;
  color: var(--muted);
}
.news-copy h3 {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.2;
  margin: 17px 0;
  max-width: 620px;
}
.news-copy p {
  color: var(--muted);
  font-size: 13px;
  max-width: 490px;
}
.news-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 0.2s,
    background 0.2s;
}
.news-arrow:hover {
  background: var(--ink);
  color: white;
}
.news-arrow .arrow {
  font-size: 24px;
}
.news-row:last-child {
  border-bottom: 1px solid var(--line);
}
.studio-news .works-cta {
  border-top: 0;
  margin-top: 0;
}
.works-page,
.news-page,
.story-page {
  padding-top: 65px;
  padding-bottom: 120px;
}
.works-page h1,
.news-page h1 {
  font-size: clamp(52px, 6.5vw, 96px);
}
.work-filters {
  display: flex;
  gap: 35px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.work-filters a {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.work-filters a[aria-current='true'] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 10px;
}
.work-filters a:last-child {
  margin-left: auto;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 80px;
}
.work-image {
  display: block;
  overflow: hidden;
}
.works-grid:has(> .work-card:only-child) {
  grid-template-columns: 1fr;
}
.works-grid:has(> .work-card:only-child) .work-image img {
  aspect-ratio: 16 / 9;
}
.work-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work-image:hover img {
  transform: scale(1.035);
}
.work-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 23px;
}
.work-caption p,
.work-location {
  font-size: 11px;
  color: var(--muted);
}
.work-caption h2 {
  font-size: clamp(25px, 2.5vw, 38px);
  margin-top: 8px;
}
.work-location {
  margin-top: 10px;
}
.story-heading {
  max-width: 1080px;
  margin-bottom: 65px;
}
.story-heading > .back-link {
  margin-bottom: 40px;
  display: inline-block;
}
.story-heading time {
  font-size: 12px;
  color: var(--muted);
}
.story-heading h1 {
  font-size: clamp(43px, 5.5vw, 80px);
  line-height: 1.12;
  margin-top: 20px;
}
.story-excerpt {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
  margin-top: 30px;
}
.story-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: start;
}
.story-feature {
  background: var(--soft);
  padding: 25px;
}
.story-feature img {
  max-height: 640px;
  margin: auto;
  object-fit: contain;
}
.story-body .prose {
  font-size: 16px;
  padding-top: 20px;
}
.story-body .prose p + p {
  margin-top: 25px;
}
.story-documents {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.story-documents h2 {
  font-size: 38px;
  margin-bottom: 38px;
}
.story-document-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.story-document-grid img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: var(--soft);
  padding: 20px;
}
.story-document-grid .text-link {
  display: flex;
  margin-top: 16px;
}
.news-pagination {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.news-pagination a,
.news-pagination .current {
  padding: 8px 15px;
  border: 1px solid var(--line);
}
.news-pagination .current {
  background: var(--ink);
  color: white;
}
.menu-dialog nav > a {
  font-size: clamp(25px, 4vw, 55px);
  padding-top: 14px;
  padding-bottom: 14px;
}
.desktop-nav {
  gap: clamp(14px, 2vw, 32px);
}
@media (max-width: 1100px) {
  .certificate-rail {
    grid-auto-columns: 43%;
  }
  .certificate-image {
    height: 350px;
  }
  .recognition-aside {
    padding-top: 70px;
  }
  .news-image {
    height: 190px;
  }
}
@media (max-width: 767px) {
  .works-cta {
    padding-top: 26px;
    margin-top: 30px;
  }
  .works-cta .text-link {
    font-size: 14px;
    gap: 40px;
  }
  .editorial-heading {
    margin-bottom: 35px;
  }
  .editorial-heading > .eyebrow {
    margin-bottom: 20px;
  }
  .editorial-heading > p:not(.eyebrow) {
    font-size: 13px;
    margin-top: 22px;
  }
  .built-work {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .architecture-caption {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 26px;
  }
  .architecture-caption p {
    order: 3;
    width: 100%;
  }
  .architecture-caption .arrow {
    margin-left: auto;
  }
  .architecture-studies {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .recognition-spread {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .recognition-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 0;
    align-items: center;
  }
  .recognition-aside figure {
    width: 100%;
  }
  .recognition-spread figcaption {
    font-size: 10px;
  }
  .recognition-note {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
  }
  .certificate-archive {
    margin-top: 60px;
  }
  .archive-toolbar h3 {
    font-size: 26px;
    max-width: 200px;
  }
  .archive-toolbar .rail-controls {
    gap: 8px;
  }
  .archive-toolbar .rail-controls button {
    width: 36px;
    height: 36px;
  }
  .certificate-rail {
    grid-auto-columns: 85%;
    gap: 20px;
  }
  .certificate-image {
    height: 320px;
    padding: 15px 15px 45px;
  }
  .certificate-item h4 {
    font-size: 22px;
  }
  .news-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    align-items: start;
  }
  .news-image {
    height: 135px;
  }
  .news-copy time {
    font-size: 10px;
  }
  .news-copy h3 {
    font-size: 23px;
    margin: 12px 0;
  }
  .news-copy p {
    font-size: 12px;
  }
  .news-arrow {
    display: none;
  }
  .works-page,
  .news-page,
  .story-page {
    padding-top: 35px;
    padding-bottom: 80px;
  }
  .work-filters {
    gap: 20px;
    margin-bottom: 35px;
  }
  .work-filters a:last-child {
    margin-left: 0;
    width: 100%;
  }
  .works-grid {
    grid-template-columns: 1fr;
    row-gap: 45px;
  }
  .story-heading {
    margin-bottom: 40px;
  }
  .story-heading > .back-link {
    margin-bottom: 30px;
  }
  .story-excerpt {
    font-size: 15px;
  }
  .story-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story-body .prose {
    font-size: 15px;
    padding: 0;
  }
  .story-documents {
    margin-top: 60px;
  }
  .story-documents h2 {
    font-size: 30px;
  }
  .story-document-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story-document-grid img {
    height: 380px;
  }
  .media-top h2 {
    font-size: 12px;
    max-width: 70%;
  }
  .menu-dialog nav > a {
    font-size: 29px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .architecture-wide img,
  .work-image img,
  .news-arrow {
    transition: none;
  }
}

/* Micro-motion: slow, settling image hovers, a catalogue study revealed over each piece,
   drawn underlines on text links and a soft fade as lazy images arrive. */
:root {
  --ease-settle: cubic-bezier(0.2, 0.7, 0.3, 1.12);
}
.piece-image > img.piece-study {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
  background: var(--soft);
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}
.piece-image .piece-explore {
  z-index: 1;
}
.text-link {
  position: relative;
}
.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
img.is-arriving {
  animation: aavran-arrive 0.9s var(--ease);
}
@keyframes aavran-arrive {
  from {
    opacity: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .architecture-wide img,
  .work-image img,
  .image-link img,
  .certificate-image img {
    transition: transform 1.6s var(--ease-settle);
  }
  .architecture-wide:hover img {
    transform: scale(1.03);
  }
  .work-image:hover img {
    transform: scale(1.05);
  }
  .certificate-image {
    overflow: hidden;
  }
  .certificate-image:hover img {
    transform: scale(1.04);
  }
  .piece-image > img.piece-study {
    transition:
      opacity 0.6s ease,
      transform 2s var(--ease-settle);
  }
  .piece-image:hover > img.piece-study,
  .piece-image:focus-visible > img.piece-study {
    opacity: 1;
    transform: scale(1);
  }
  .text-link:hover::after,
  .text-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  img.is-arriving {
    animation: none;
  }
  .piece-image > img.piece-study,
  .text-link::after {
    transition: none;
  }
}

/* Piece page: every angle, the room, craft and materials, close details and heritage. */
.piece-section-head {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) 1fr;
  gap: 30px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 54px;
}
.piece-section-head h2 {
  margin: 0;
}
.angle-viewer {
  display: grid;
  grid-template-columns: minmax(0, 900px) 260px;
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.angle-stage {
  display: grid;
  gap: 24px;
}
.angle-frame {
  margin: 0;
}
.angle-frame a {
  display: block;
  background: var(--soft);
  aspect-ratio: 16 / 10;
  padding: clamp(18px, 4%, 48px);
  overflow: hidden;
}
.angle-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.angle-frame figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.angle-picker {
  display: none;
}
/* With scripts, the views stack into one stage and the picker switches between them. */
.has-js .angle-stage {
  grid-template-areas: 'stage';
}
.has-js .angle-frame {
  grid-area: stage;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0s 0.6s;
}
.has-js .angle-frame.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}
.has-js .angle-frame img {
  transform: scale(1.03);
  transition: transform 1.4s var(--ease-settle);
}
.has-js .angle-frame.is-active img {
  transform: none;
}
.has-js .angle-picker {
  display: grid;
  gap: 10px;
}
.angle-picker button {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  background: none;
  text-align: left;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  transition:
    border-color 0.3s,
    color 0.3s,
    background-color 0.3s;
}
.angle-picker button[aria-pressed='true'] {
  border-color: var(--line);
  background: var(--soft);
  color: var(--ink);
}
.angle-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--soft);
  overflow: hidden;
}
.angle-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.angle-label {
  font-size: 13px;
  display: grid;
  gap: 4px;
}
.angle-label span {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.piece-room {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  gap: 8%;
  align-items: end;
  margin: 0;
}
.piece-room img {
  width: 100%;
  height: auto;
}
.piece-room figcaption {
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 12em;
}
.craft-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8%;
}
.craft-grid h3 {
  margin: 0 0 22px;
}
.craft-features ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: feature;
}
.craft-features li {
  counter-increment: feature;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.craft-features li::before {
  content: counter(feature, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.5em;
}
.craft-palette ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 28px 20px;
}
.craft-palette li {
  display: grid;
  gap: 12px;
}
.swatch {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px #2325211a;
}
.swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swatch-name {
  font-size: 13px;
  line-height: 1.4;
}
.swatch-name small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.piece-closeups {
  padding-bottom: clamp(60px, 9vw, 140px);
}
.closeup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 250px));
  gap: 24px;
}
.closeup-grid figure {
  margin: 0;
}
.closeup-grid a {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}
.closeup-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closeup-grid figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.piece-heritage {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 8%;
  align-items: center;
  border-top: 1px solid var(--line);
}
.piece-heritage.no-image {
  grid-template-columns: minmax(0, 1fr);
}
.piece-heritage figure {
  margin: 0;
}
.piece-heritage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.heritage-text {
  margin-top: 26px;
  max-width: 30em;
  font-size: clamp(21px, 2.2vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.next-piece {
  margin-top: 40px;
}
@media (hover: hover) and (pointer: fine) {
  .angle-picker button:hover {
    color: var(--ink);
  }
  .closeup-grid img {
    transition: transform 1.6s var(--ease-settle);
  }
  .closeup-grid a:hover img {
    transform: scale(1.06);
  }
}
@media (max-width: 1100px) {
  .angle-viewer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .has-js .angle-picker {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
  .angle-picker button {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 6px;
  }
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
@media (max-width: 767px) {
  .piece-section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 34px;
  }
  .has-js .angle-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .angle-label {
    font-size: 10px;
  }
  .angle-label span {
    display: none;
  }
  .piece-room {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 calc(-1 * var(--gutter));
  }
  .piece-room figcaption {
    padding: 0 var(--gutter);
    gap: 8px;
    font-size: 15px;
    letter-spacing: 0;
    color: var(--muted);
  }
  .craft-features li {
    grid-template-columns: 40px 1fr;
    font-size: 16px;
    padding: 16px 0;
  }
  .craft-palette ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .swatch {
    width: 56px;
  }
  .closeup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .piece-heritage {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .piece-heritage figure {
    max-width: 70%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .has-js .angle-frame,
  .has-js .angle-frame img {
    transition: none;
  }
}

/* Footer: a dark close to the page, with the site's sections as an arcade of pol-house arches. */
.site-footer {
  --footer-ink: #f1f0ea;
  --footer-muted: #a4a79c;
  --footer-line: #ffffff24;
  background: #1f211d;
  color: var(--footer-ink);
  padding-top: 46px;
  overflow: hidden;
}
.site-footer .eyebrow {
  color: var(--footer-muted);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-top a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-top .arrow {
  font-size: 14px;
}
.footer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin: 80px 0 72px;
}
.footer-heading h2 {
  font-size: clamp(42px, 6.7vw, 112px);
  max-width: 10.5em;
  line-height: 1.1;
}
.footer-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(76px, 9vw, 140px);
  aspect-ratio: 1;
  border: 1px solid var(--footer-line);
  border-radius: 50%;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}
.footer-arrow .arrow {
  font-size: clamp(34px, 4vw, 60px);
  transition: transform 0.6s var(--ease-settle);
}
.footer-arcade {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding-top: 34px;
  border-top: 1px solid var(--footer-line);
}
.arch {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(150px, 15vw, 230px);
  padding: 42% 16px 18px;
  border: 1px solid var(--footer-line);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.arch::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, #b9a77a3d, #b9a77a00 85%);
  transform: translateY(101%);
  transition: transform 0.9s var(--ease);
}
.arch-number {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--footer-muted);
  text-align: center;
}
.arch-name {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.3;
  text-align: center;
}
.footer-info {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 30px;
  padding: 44px 0 70px;
  border-top: 1px solid var(--footer-line);
  font-size: 13px;
}
.footer-info .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.footer-contact {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-info a {
  text-underline-offset: 5px;
}
.footer-tagline {
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.social-links a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--footer-line);
  transition:
    border-color 0.4s,
    background-color 0.4s;
}
.social-links small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--footer-muted);
}
.social-icon {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: #ffffff10;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-wordmark {
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 0.82;
  white-space: nowrap;
  padding: 0 0 0 calc(var(--gutter) - 0.04em);
  font-size: 17.5vw;
  color: transparent;
  -webkit-text-stroke: 1px #ffffff40;
  user-select: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 10px;
  color: var(--footer-muted);
  border-top: 1px solid var(--footer-line);
  padding-top: 22px;
  padding-bottom: 22px;
}
@media (hover: hover) and (pointer: fine) {
  .footer-heading:hover .footer-arrow {
    background: var(--footer-ink);
    color: #1f211d;
  }
  .footer-heading:hover .footer-arrow .arrow {
    transform: translate(4px, -4px);
  }
  .arch:hover::before,
  .arch:focus-visible::before {
    transform: none;
  }
  .arch:hover .arch-number {
    color: var(--footer-ink);
  }
  .social-links a:hover {
    border-color: #ffffff59;
    background: #ffffff0a;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
}
@media (max-width: 1100px) {
  .footer-arcade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }
  .footer-info {
    grid-template-columns: 1fr 1fr;
  }
  .footer-studio {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .site-footer {
    padding-top: 30px;
  }
  .footer-top {
    font-size: 9px;
  }
  .footer-heading {
    margin: 46px 0 40px;
    gap: 16px;
    align-items: flex-end;
  }
  .footer-heading h2 {
    font-size: 40px;
    max-width: 7.5em;
  }
  .footer-arrow {
    width: 64px;
  }
  .footer-arrow .arrow {
    font-size: 28px;
  }
  .footer-arcade {
    gap: 10px;
    row-gap: 18px;
    padding-top: 26px;
  }
  .arch {
    min-height: 118px;
    padding: 46% 8px 12px;
  }
  .arch-name {
    font-size: 12px;
  }
  .footer-info {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 0 44px;
  }
  .social-links {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
  }
}
@media print {
  .site-footer {
    break-before: page;
    background: none;
    color: var(--ink);
  }
}

/* More architecture projects, after the featured one. */
.architecture-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 34px;
  margin-top: 70px;
}
.architecture-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--soft);
}
.architecture-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.architecture-card-caption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-top: 16px;
}
.architecture-card-caption .eyebrow {
  margin-bottom: 8px;
}
.architecture-card-caption h3 {
  font-size: clamp(19px, 1.7vw, 25px);
  letter-spacing: -0.03em;
}
.architecture-card-caption .arrow {
  font-size: 20px;
}
/* Social links in the menu and on the Alaya page. */
.menu-social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-social a {
  display: block;
  color: var(--ink);
}
.menu-social .social-icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  background: var(--soft);
}
.menu-bottom {
  align-items: center;
}
.collection-follow {
  margin-left: 34px;
}
@media (hover: hover) and (pointer: fine) {
  .architecture-card-image img {
    transition: transform 1.6s var(--ease-settle);
  }
  .architecture-card-image:hover img {
    transform: scale(1.05);
  }
}
@media (max-width: 1100px) {
  .architecture-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .architecture-more {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 44px;
  }
  .collection-follow {
    margin: 14px 0 0;
  }
}

/* Opening film: the heritage walk plays beneath a faint structural mesh and an arch line. */
.hero-film {
  position: relative;
  display: flex;
  min-height: max(560px, calc(100svh - var(--header)));
  color: #f6f4ee;
  background: #1f211d;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1f211d url('../images/hero-film-poster-960.webp') center / cover no-repeat;
}
@media (min-width: 901px) {
  .hero-media {
    background-image: url('../images/hero-film-poster.webp');
  }
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #14151266 0%, #1415121a 30%, #14151233 58%, #141512cc 100%),
    linear-gradient(90deg, #14151266 0%, #14151200 60%);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  padding: 0 var(--gutter);
  pointer-events: none;
}
.hero-mesh span {
  position: relative;
  border-left: 1px solid #ffffff1c;
  border-top: 1px solid #ffffff12;
}
.hero-mesh span:nth-child(6n) {
  border-right: 1px solid #ffffff1c;
}
.hero-mesh span:nth-child(-n + 6) {
  border-top-color: transparent;
}
.hero-mesh .is-marked::before,
.hero-mesh .is-marked::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  background: #ffffff8c;
}
.hero-mesh .is-marked::before {
  width: 15px;
  height: 1px;
  transform: translate(-7px, 0);
}
.hero-mesh .is-marked::after {
  width: 1px;
  height: 15px;
  transform: translate(0, -7px);
}
.hero-arch {
  position: absolute;
  left: calc(var(--gutter) + (100% - 2 * var(--gutter)) / 3);
  width: calc((100% - 2 * var(--gutter)) / 3);
  top: 12%;
  height: 88%;
  overflow: visible;
  fill: none;
  stroke: #ffffff2e;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-arch path {
  vector-effect: non-scaling-stroke;
}
.hero-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 24px;
}
.hero-film .hero-meta {
  display: flex;
  justify-content: space-between;
  color: #f6f4eecc;
}
.hero-film .hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  align-items: end;
  gap: 6vw;
  margin-top: auto;
  padding-bottom: 46px;
}
.hero-film h1 {
  font-size: clamp(56px, 6.95vw, 116px);
  letter-spacing: -0.065em;
  line-height: 1.04;
  font-weight: 400;
  text-shadow: 0 1px 30px #14151240;
}
.hero-film .hero-aside {
  max-width: 360px;
}
.hero-film .hero-aside > p {
  font-size: 13px;
  line-height: 1.75;
  color: #f6f4eed9;
}
.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 15px 18px 15px 22px;
  border: 1px solid #f6f4ee80;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f6f4ee;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: #1415122e;
  transition:
    background-color 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease;
}
.hero-button.is-solid {
  background: #f6f4ee;
  border-color: #f6f4ee;
  color: var(--ink);
}
.hero-button .arrow {
  font-size: 18px;
  transition: transform 0.6s var(--ease-settle);
}
.hero-film .hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #ffffff2e;
  color: #f6f4eecc;
}
.hero-film .hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-film .hero-foot .arrow {
  font-size: 14px;
}
.hero-film-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.hero-film-toggle[hidden] {
  display: none;
}
.film-toggle-icon {
  position: relative;
  width: 9px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.hero-film-toggle[aria-pressed='true'] .film-toggle-icon {
  border: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  width: 0;
}
/* The mesh draws itself once, slowly, after the film appears. */
@media (prefers-reduced-motion: no-preference) {
  .hero-mesh span {
    animation: mesh-fade 1.6s ease both;
    animation-delay: calc(var(--i, 0) * 40ms + 0.3s);
  }
  .hero-arch path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: arch-draw 2.6s 0.8s var(--ease) forwards;
  }
}
@keyframes mesh-fade {
  from {
    opacity: 0;
  }
}
@keyframes arch-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .hero-button:hover {
    background: #f6f4ee;
    border-color: #f6f4ee;
    color: var(--ink);
  }
  .hero-button.is-solid:hover {
    background: transparent;
    color: #f6f4ee;
  }
  .hero-button:hover .arrow {
    transform: translate(3px, -3px);
  }
  .hero-film-toggle:hover .film-toggle-label,
  .hero-film .hero-foot a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
@media (max-width: 1100px) {
  .hero-film .hero-copy {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-mesh {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-mesh span:nth-child(n + 17) {
    display: none;
  }
  .hero-mesh span:nth-child(6n) {
    border-right: 0;
  }
  .hero-mesh span:nth-child(4n) {
    border-right: 1px solid #ffffff1c;
  }
  .hero-mesh span:nth-child(-n + 4) {
    border-top-color: transparent;
  }
  .hero-mesh span:nth-child(n + 5):nth-child(-n + 6) {
    border-top-color: #ffffff12;
  }
  .hero-arch {
    left: calc(var(--gutter) + (100% - 2 * var(--gutter)) / 4);
    width: calc((100% - 2 * var(--gutter)) / 2);
  }
}
@media (max-width: 767px) {
  .hero-film {
    min-height: max(520px, calc(100svh - var(--header)));
  }
  .hero-frame {
    padding-top: 20px;
    padding-bottom: 18px;
  }
  .hero-film .hero-meta {
    font-size: 9px;
  }
  .hero-film h1 {
    font-size: clamp(44px, 12.5vw, 60px);
    letter-spacing: -0.06em;
  }
  .hero-film .hero-copy {
    padding-bottom: 28px;
  }
  .hero-film .hero-aside > p {
    font-size: 12px;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero-mesh .is-marked::before,
  .hero-mesh .is-marked::after {
    display: none;
  }
  .hero-button {
    padding: 14px 14px 14px 16px;
    gap: 10px;
  }
  .hero-film .hero-foot > span:first-child {
    display: none;
  }
  .hero-mesh {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-mesh span:nth-child(n + 9) {
    display: none;
  }
  .hero-mesh span:nth-child(4n) {
    border-right: 0;
  }
  .hero-mesh span:nth-child(2n) {
    border-right: 1px solid #ffffff1c;
  }
  .hero-mesh span:nth-child(-n + 2) {
    border-top-color: transparent;
  }
  .hero-mesh span:nth-child(n + 3):nth-child(-n + 4) {
    border-top-color: #ffffff12;
  }
  .hero-arch {
    left: calc(var(--gutter) + (100% - 2 * var(--gutter)) / 6);
    width: calc((100% - 2 * var(--gutter)) * 2 / 3);
    top: 18%;
    height: 82%;
  }
}

/* The official Alaya by Aavran logo, shown at its own proportions. */
.alaya-logo {
  margin: 0;
  line-height: 0;
}
.alaya-mark {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.alaya-mark path {
  fill: #654b34;
}
.am-petal {
  stroke: #654b34;
  stroke-opacity: 0;
  stroke-width: 1.2px;
  vector-effect: non-scaling-stroke;
}
.am-rule {
  stroke: #654b34;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}
.am-emblem {
  transform-box: view-box;
  transform-origin: 1200px 475px;
}
.am-bead,
.am-dash,
.am-dot {
  transform-box: fill-box;
  transform-origin: center;
}

/* The reveal: the woven ring draws itself, the ink settles in, the beads are strung one by one,
   the letters rise from the rule and the byline follows. Each run ends on the original logo. */
.has-js .alaya-mark.is-ready:not(.is-revealed) .am-petal {
  fill-opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.has-js .alaya-mark.is-ready:not(.is-revealed) :is(.am-dash, .am-bead, .am-dot, .am-by),
.has-js .alaya-mark.is-ready:not(.is-revealed) .am-letter {
  opacity: 0;
}
.alaya-mark.is-revealed .am-emblem {
  animation: am-emblem 2.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.alaya-mark.is-revealed .am-petal {
  animation:
    am-draw 1.5s cubic-bezier(0.45, 0, 0.2, 1) calc(var(--n) * 70ms) both,
    am-ink 0.9s ease calc(0.95s + var(--n) * 70ms) both;
}
.alaya-mark.is-revealed .am-dash {
  animation: am-settle 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(1.35s + var(--n) * 45ms) both;
}
.alaya-mark.is-revealed .am-bead {
  animation: am-bead 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.5s + var(--n) * 75ms) both;
}
.alaya-mark.is-revealed .am-rule {
  animation: am-rule 2.1s cubic-bezier(0.65, 0, 0.35, 1) 0.65s both;
}
.alaya-mark.is-revealed .am-letter {
  animation: am-rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) calc(1.05s + var(--n) * 95ms) both;
}
.alaya-mark.is-revealed .am-dot {
  animation: am-bead 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.95s both;
}
.alaya-mark.is-revealed .am-by {
  animation: am-by 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(1.9s + var(--n) * 45ms) both;
}
@keyframes am-emblem {
  from {
    transform: rotate(-24deg) scale(0.9);
  }
}
@keyframes am-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes am-ink {
  from {
    fill-opacity: 0;
    stroke-opacity: 1;
  }
  to {
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}
@keyframes am-settle {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-20deg);
  }
}
@keyframes am-bead {
  from {
    opacity: 0;
    transform: scale(0);
  }
}
@keyframes am-rule {
  0% {
    opacity: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  45% {
    opacity: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes am-rise {
  from {
    opacity: 1;
    transform: translateY(600px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes am-by {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .alaya-mark * {
    animation: none !important;
  }
}
.alaya-heading .alaya-logo {
  width: clamp(200px, 22vw, 320px);
}
.collection-intro .alaya-logo {
  width: clamp(220px, 24vw, 340px);
  margin: 26px 0 34px;
}

/* The practice: the people behind Aavran, set like the principles above. */
.team {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) 3fr;
  gap: 25px;
  margin-top: 46px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.team h3 {
  margin: 0;
}
.team ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-name {
  display: block;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.team-role {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 767px) {
  .team {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }
  .team ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
