@font-face {
  font-family: "SVN Poppins";
  src: url("/assets/fonts/SVN-Poppins-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SVN Poppins";
  src: url("/assets/fonts/SVN-Poppins-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "SVN Poppins";
  src: url("/assets/fonts/SVN-Poppins-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --hoiana-ink: #17100f;
  --hoiana-wine: #2b0d12;
  --hoiana-night: #120d0d;
  --hoiana-green: #123e34;
  --hoiana-green-bright: #2f7258;
  --hoiana-red: #9a2628;
  --hoiana-gold: #c6a25e;
  --hoiana-gold-soft: #e6d2a6;
  --hoiana-cream: #f2eadc;
  --hoiana-paper: #fbf6ec;
  --hoiana-muted: #726862;
  --hoiana-line: rgba(43, 13, 18, 0.16);
  --hoiana-light-line: rgba(251, 246, 236, 0.18);
  --hoiana-sans: "SVN Poppins", "Helvetica Neue", Arial, sans-serif;
  --hoiana-display: Georgia, "Times New Roman", "Noto Serif", serif;
  --hoiana-wrap: 1380px;
  --hoiana-shadow: 0 30px 90px rgba(22, 10, 8, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--hoiana-night);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--portfolio-header-scrolled-height, 58px) + 64px);
  scrollbar-gutter: stable;
}

body.hoiana-case {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--hoiana-paper);
  color: var(--hoiana-ink);
  font-family: var(--hoiana-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.hoiana-case::before {
  position: fixed;
  z-index: 400;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.026;
}

body.hoiana-case.is-lightbox-open {
  overflow: hidden;
}

body.theme-hoiana-premium .portfolio-header {
  --portfolio-header-idle-top: rgba(18, 13, 13, 0.45);
  --portfolio-header-idle-bottom: rgba(18, 13, 13, 0.18);
  --portfolio-header-glass-top: rgba(28, 12, 14, 0.68);
  --portfolio-header-glass-bottom: rgba(28, 12, 14, 0.54);
  --portfolio-header-line: rgba(230, 210, 166, 0.16);
  --portfolio-header-brass: var(--hoiana-gold);
  --portfolio-header-brass-soft: rgba(198, 162, 94, 0.68);
  font-family: var(--hoiana-sans);
}

body.theme-hoiana-premium .portfolio-header.is-scrolled {
  background: linear-gradient(180deg, rgba(30, 12, 14, 0.7), rgba(30, 12, 14, 0.56));
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

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

picture {
  display: block;
}

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

ol,
ul {
  padding: 0;
}

::selection {
  background: var(--hoiana-gold);
  color: var(--hoiana-night);
}

:focus-visible {
  outline: 2px solid var(--hoiana-gold-soft);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(154, 38, 40, 0.45);
}

.hoiana-wrap {
  width: min(calc(100% - 64px), var(--hoiana-wrap));
  margin-inline: auto;
}

.hoiana-skip {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 12px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--hoiana-gold);
  color: var(--hoiana-night);
  font-size: 0.76rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.hoiana-skip:focus {
  transform: translateY(0);
}

.hoiana-kicker {
  color: var(--hoiana-red);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hoiana-section {
  position: relative;
  padding-block: clamp(96px, 10vw, 168px);
  scroll-margin-top: 126px;
}

.hoiana-heading {
  max-width: 980px;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.hoiana-heading--split,
.hoiana-heading--chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
  max-width: none;
  align-items: end;
  gap: clamp(54px, 9vw, 150px);
}

.hoiana-heading .hoiana-kicker {
  margin-bottom: 19px;
}

.hoiana-heading h2 {
  max-width: 14ch;
  font-family: var(--hoiana-display);
  font-size: clamp(3rem, 5.8vw, 6.35rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.96;
}

.hoiana-heading__copy {
  display: grid;
  gap: 22px;
  color: var(--hoiana-muted);
}

.hoiana-lead {
  max-width: 720px;
  color: currentColor;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.85;
}

.hoiana-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.35;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.hoiana-button--gold {
  background: var(--hoiana-gold);
  color: var(--hoiana-night);
}

.hoiana-button--gold:hover {
  background: var(--hoiana-gold-soft);
}

.hoiana-button--ghost {
  border-color: rgba(251, 246, 236, 0.36);
  color: var(--hoiana-paper);
}

.hoiana-button--ghost:hover {
  border-color: var(--hoiana-gold);
  color: var(--hoiana-gold-soft);
}

.hoiana-hero {
  position: relative;
  min-height: max(810px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 19% 22%, rgba(154, 38, 40, 0.27), transparent 34%),
    linear-gradient(135deg, #120d0d 0%, #251013 54%, #15100e 100%);
  color: var(--hoiana-paper);
}

.hoiana-hero::before {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 27%;
  background: linear-gradient(180deg, transparent, rgba(18, 13, 13, 0.78));
  content: "";
  pointer-events: none;
}

.hoiana-hero__copy {
  z-index: 3;
  display: flex;
  max-width: 850px;
  align-self: center;
  flex-direction: column;
  padding: clamp(150px, 16vh, 210px) clamp(42px, 7vw, 120px) 100px max(32px, calc((100vw - var(--hoiana-wrap)) / 2));
}

.hoiana-hero .hoiana-kicker {
  margin-bottom: 30px;
  color: var(--hoiana-gold);
}

.hoiana-hero h1 {
  max-width: 10ch;
  font-family: var(--hoiana-display);
  font-size: clamp(4rem, 7.15vw, 8.3rem);
  font-weight: 400;
  letter-spacing: -0.064em;
  line-height: 0.88;
}

.hoiana-hero__lead {
  max-width: 700px;
  margin-top: 36px;
  color: rgba(251, 246, 236, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.82;
}

.hoiana-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hoiana-hero__portrait {
  position: relative;
  z-index: 1;
  min-height: 100%;
  overflow: hidden;
}

.hoiana-hero__portrait picture,
.hoiana-hero__portrait img {
  width: 100%;
  height: 100%;
}

.hoiana-hero__portrait img {
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.9) contrast(1.04);
}

.hoiana-hero__portrait::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 13, 0.48), transparent 34%), linear-gradient(180deg, rgba(18, 13, 13, 0.18), transparent 27%);
  content: "";
  pointer-events: none;
}

.hoiana-hero__portrait figcaption {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 27px;
  left: 32px;
  color: rgba(251, 246, 236, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hoiana-hero__monogram {
  position: absolute;
  z-index: 2;
  right: 43%;
  bottom: -0.23em;
  color: transparent;
  font-family: var(--hoiana-display);
  font-size: clamp(17rem, 29vw, 34rem);
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(198, 162, 94, 0.2);
  pointer-events: none;
}

.hoiana-facts {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(230, 210, 166, 0.15);
  border-bottom: 1px solid rgba(230, 210, 166, 0.16);
  background: var(--hoiana-night);
  color: var(--hoiana-paper);
}

.hoiana-facts dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hoiana-facts dl > div {
  min-height: 138px;
  padding: 28px 24px;
  border-left: 1px solid rgba(230, 210, 166, 0.15);
}

.hoiana-facts dl > div:last-child {
  border-right: 1px solid rgba(230, 210, 166, 0.15);
}

.hoiana-facts dt {
  margin-bottom: 10px;
  color: var(--hoiana-gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hoiana-facts dd {
  color: rgba(251, 246, 236, 0.82);
  font-size: 0.87rem;
  line-height: 1.55;
}

.hoiana-chapter-nav {
  position: sticky;
  z-index: 60;
  top: var(--portfolio-header-scrolled-height, 58px);
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 13, 18, 0.12);
  background: rgba(251, 246, 236, 0.89);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.hoiana-chapter-nav .hoiana-wrap {
  display: flex;
  min-height: 58px;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.hoiana-chapter-nav .hoiana-wrap::-webkit-scrollbar {
  display: none;
}

.hoiana-chapter-nav a {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 22px;
  color: #6f625b;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.hoiana-chapter-nav a:first-child {
  padding-left: 0;
}

.hoiana-chapter-nav a::after {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 2px;
  background: var(--hoiana-red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.hoiana-chapter-nav a:first-child::after {
  left: 0;
}

.hoiana-chapter-nav a:hover,
.hoiana-chapter-nav a.is-active {
  color: var(--hoiana-wine);
}

.hoiana-chapter-nav a.is-active::after {
  transform: scaleX(1);
}

.hoiana-chapter-nav > [data-scroll-progress] {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hoiana-red) var(--hoiana-scroll-progress, 0%), transparent 0);
  pointer-events: none;
}

.hoiana-brief {
  background: var(--hoiana-paper);
}

.hoiana-brief .hoiana-heading__copy > p:last-child {
  padding-top: 20px;
  border-top: 1px solid var(--hoiana-line);
}

.hoiana-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hoiana-line);
  border-bottom: 1px solid var(--hoiana-line);
}

.hoiana-metrics article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-right: 1px solid var(--hoiana-line);
}

.hoiana-metrics article:last-child {
  border-right: 0;
}

.hoiana-metrics strong {
  font-family: var(--hoiana-display);
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.hoiana-metrics span {
  color: var(--hoiana-muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hoiana-system {
  overflow: hidden;
  background: var(--hoiana-green);
  color: var(--hoiana-paper);
}

.hoiana-system::before {
  position: absolute;
  top: -28vw;
  right: -12vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(230, 210, 166, 0.12);
  border-radius: 50%;
  content: "";
}

.hoiana-system .hoiana-kicker {
  color: var(--hoiana-gold);
}

.hoiana-system .hoiana-heading h2 {
  max-width: 12ch;
}

.hoiana-system .hoiana-lead {
  margin-top: 28px;
  color: rgba(251, 246, 236, 0.69);
}

.hoiana-system__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.3vw, 34px);
}

.hoiana-system__grid article {
  position: relative;
  display: grid;
  align-content: start;
}

.hoiana-system__grid article:nth-child(2) {
  margin-top: 72px;
}

.hoiana-system__grid article:nth-child(3) {
  margin-top: 144px;
}

.hoiana-system__grid article > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(251, 246, 236, 0.36);
  border-radius: 50%;
  background: rgba(18, 13, 13, 0.36);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hoiana-system__grid figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0b2b24;
}

.hoiana-system__grid picture,
.hoiana-system__grid img {
  width: 100%;
  height: 100%;
}

.hoiana-system__grid img {
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hoiana-system__grid article:nth-child(2) img {
  object-fit: contain;
  background: #f5f4ef;
}

.hoiana-system__grid article:hover img {
  transform: scale(1.025);
}

.hoiana-system__grid h3 {
  margin-top: 27px;
  font-family: var(--hoiana-display);
  font-size: clamp(1.7rem, 2.3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hoiana-system__grid p {
  margin-top: 13px;
  color: rgba(251, 246, 236, 0.65);
  font-size: 0.92rem;
  line-height: 1.75;
}

.hoiana-chapter .hoiana-heading h2 {
  max-width: 12.6ch;
}

.hoiana-chapter__note {
  margin-top: 24px;
  color: var(--hoiana-red);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hoiana-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 46px) clamp(18px, 2.4vw, 34px);
}

.hoiana-shot {
  grid-column: span 6;
}

.hoiana-shot--wide {
  grid-column: span 8;
}

.hoiana-shot--portrait {
  grid-column: span 4;
}

.hoiana-shot__button {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #e8ddcd;
  cursor: zoom-in;
}

.hoiana-shot__button::after,
.hoiana-library__item button::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(251, 246, 236, 0.4);
  border-radius: 50%;
  background: rgba(18, 13, 13, 0.55);
  color: var(--hoiana-paper);
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hoiana-shot__button:hover::after,
.hoiana-library__item button:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.hoiana-shot picture,
.hoiana-shot img {
  width: 100%;
}

.hoiana-shot img {
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hoiana-shot__button:hover img {
  transform: scale(1.018);
}

.hoiana-shot figcaption {
  max-width: 82%;
  margin-top: 15px;
  color: var(--hoiana-muted);
  font-size: 0.78rem;
  line-height: 1.62;
}

.hoiana-gallery--space .hoiana-shot:nth-child(1) {
  grid-column: 1 / span 8;
}

.hoiana-gallery--space .hoiana-shot:nth-child(2) {
  grid-column: 9 / span 4;
  margin-top: 9vw;
}

.hoiana-gallery--space .hoiana-shot:nth-child(3) {
  grid-column: 1 / span 5;
}

.hoiana-gallery--space .hoiana-shot:nth-child(4) {
  grid-column: 6 / span 7;
  margin-top: 8vw;
}

.hoiana-gallery--space .hoiana-shot:nth-child(5) {
  grid-column: 1 / span 6;
  margin-top: 4vw;
}

.hoiana-gallery--space .hoiana-shot:nth-child(6) {
  grid-column: 7 / span 6;
}

.hoiana-gallery--space .hoiana-shot:nth-child(7) {
  grid-column: 2 / span 10;
  margin-top: 5vw;
}

.hoiana-chapter--objects {
  background: var(--hoiana-night);
  color: var(--hoiana-paper);
}

.hoiana-chapter--objects .hoiana-kicker,
.hoiana-chapter--objects .hoiana-chapter__note {
  color: var(--hoiana-gold);
}

.hoiana-chapter--objects .hoiana-lead {
  color: rgba(251, 246, 236, 0.66);
}

.hoiana-gallery--objects {
  gap: clamp(22px, 2.4vw, 34px);
}

.hoiana-gallery--objects .hoiana-shot {
  grid-column: span 3;
}

.hoiana-gallery--objects .hoiana-shot:nth-child(1) {
  grid-column: span 6;
}

.hoiana-gallery--objects .hoiana-shot:nth-child(2),
.hoiana-gallery--objects .hoiana-shot:nth-child(3) {
  margin-top: 8vw;
}

.hoiana-gallery--objects .hoiana-shot:nth-child(6),
.hoiana-gallery--objects .hoiana-shot:nth-child(8) {
  grid-column: span 6;
}

.hoiana-gallery--objects .hoiana-shot__button {
  background: #f1efe8;
}

.hoiana-gallery--objects .hoiana-shot figcaption {
  color: rgba(251, 246, 236, 0.6);
}

.hoiana-chapter--portraits {
  overflow: hidden;
  background: #3b0c12;
  color: var(--hoiana-paper);
}

.hoiana-chapter--portraits::before {
  position: absolute;
  top: 3%;
  left: -10vw;
  color: transparent;
  content: "EDITORIAL";
  font-family: var(--hoiana-display);
  font-size: clamp(8rem, 20vw, 24rem);
  letter-spacing: -0.08em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(230, 210, 166, 0.11);
}

.hoiana-chapter--portraits .hoiana-heading,
.hoiana-gallery--portraits {
  position: relative;
}

.hoiana-chapter--portraits .hoiana-kicker,
.hoiana-chapter--portraits .hoiana-chapter__note {
  color: var(--hoiana-gold);
}

.hoiana-chapter--portraits .hoiana-lead {
  color: rgba(251, 246, 236, 0.68);
}

.hoiana-gallery--portraits .hoiana-shot {
  grid-column: span 4;
}

.hoiana-gallery--portraits .hoiana-shot:nth-child(2),
.hoiana-gallery--portraits .hoiana-shot:nth-child(5) {
  margin-top: 9vw;
}

.hoiana-gallery--portraits .hoiana-shot:nth-child(3),
.hoiana-gallery--portraits .hoiana-shot:nth-child(6) {
  margin-top: 4vw;
}

.hoiana-gallery--portraits .hoiana-shot figcaption {
  color: rgba(251, 246, 236, 0.62);
}

.hoiana-library {
  background:
    radial-gradient(circle at 90% 5%, rgba(47, 114, 88, 0.12), transparent 28%),
    var(--hoiana-paper);
}

.hoiana-library__disclosure {
  border-top: 1px solid var(--hoiana-line);
  border-bottom: 1px solid var(--hoiana-line);
}

.hoiana-library__disclosure > summary {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  cursor: pointer;
  list-style: none;
}

.hoiana-library__disclosure > summary::-webkit-details-marker {
  display: none;
}

.hoiana-library__disclosure > summary > span {
  display: grid;
  gap: 5px;
}

.hoiana-library__disclosure summary b {
  font-family: var(--hoiana-display);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hoiana-library__disclosure summary small {
  color: var(--hoiana-muted);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hoiana-library__disclosure summary i {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid var(--hoiana-line);
  border-radius: 50%;
}

.hoiana-library__disclosure summary i::before,
.hoiana-library__disclosure summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--hoiana-wine);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.hoiana-library__disclosure summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hoiana-library__disclosure[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

[data-gallery-summary-open] {
  display: none;
}

.hoiana-library__disclosure[open] [data-gallery-summary-closed] {
  display: none;
}

.hoiana-library__disclosure[open] [data-gallery-summary-open] {
  display: block;
}

.hoiana-library__content {
  padding-block: 32px 72px;
}

.hoiana-library__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hoiana-library__filters button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(43, 13, 18, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--hoiana-muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease;
}

.hoiana-library__filters button[aria-pressed="true"],
.hoiana-library__filters button:hover {
  border-color: var(--hoiana-green);
  background: var(--hoiana-green);
  color: var(--hoiana-paper);
}

.hoiana-library__status {
  margin: 22px 0 30px;
  color: var(--hoiana-red);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hoiana-library__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 20px;
}

.hoiana-library__item[hidden] {
  display: none;
}

.hoiana-library__item button {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.5;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #e6ddcf;
  cursor: zoom-in;
}

.hoiana-library__item picture,
.hoiana-library__item img {
  width: 100%;
  height: 100%;
}

.hoiana-library__item img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hoiana-library__item[data-gallery-category="detail"] img {
  object-fit: contain;
  background: #f5f4ef;
}

.hoiana-library__item button:hover img {
  transform: scale(1.025);
}

.hoiana-library__item figcaption {
  margin-top: 12px;
  color: var(--hoiana-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.hoiana-proof {
  background: var(--hoiana-cream);
}

.hoiana-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hoiana-line);
}

.hoiana-proof__grid article {
  min-height: 330px;
  padding: 30px 26px;
  border-right: 1px solid var(--hoiana-line);
}

.hoiana-proof__grid article:first-child {
  border-left: 1px solid var(--hoiana-line);
}

.hoiana-proof__grid article > span {
  display: block;
  margin-bottom: 82px;
  color: var(--hoiana-red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hoiana-proof__grid h3 {
  font-family: var(--hoiana-display);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hoiana-proof__grid p {
  margin-top: 17px;
  color: var(--hoiana-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.hoiana-applications {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(50px, 8vw, 120px);
  margin-top: clamp(72px, 8vw, 120px);
  padding: clamp(38px, 5vw, 70px);
  background: var(--hoiana-green);
  color: var(--hoiana-paper);
  box-shadow: var(--hoiana-shadow);
}

.hoiana-applications .hoiana-kicker {
  color: var(--hoiana-gold);
}

.hoiana-applications h3 {
  max-width: 12ch;
  margin-top: 18px;
  font-family: var(--hoiana-display);
  font-size: clamp(2.4rem, 4.7vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hoiana-applications p:not(.hoiana-kicker) {
  max-width: 680px;
  margin-top: 25px;
  color: rgba(251, 246, 236, 0.67);
}

.hoiana-applications ul {
  display: grid;
  align-content: center;
  list-style: none;
}

.hoiana-applications li {
  padding: 17px 0;
  border-bottom: 1px solid rgba(251, 246, 236, 0.17);
  color: rgba(251, 246, 236, 0.86);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hoiana-applications li::before {
  margin-right: 14px;
  color: var(--hoiana-gold);
  content: "↗";
}

.hoiana-faq {
  background: var(--hoiana-paper);
}

.hoiana-faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 150px);
}

.hoiana-faq .hoiana-heading {
  margin: 0;
}

.hoiana-faq .hoiana-heading h2 {
  max-width: 8ch;
}

.hoiana-faq__list {
  border-top: 1px solid var(--hoiana-line);
}

.hoiana-faq__list details {
  border-bottom: 1px solid var(--hoiana-line);
}

.hoiana-faq__list summary {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: var(--hoiana-display);
  font-size: clamp(1.25rem, 1.65vw, 1.68rem);
  line-height: 1.3;
  list-style: none;
}

.hoiana-faq__list summary::-webkit-details-marker {
  display: none;
}

.hoiana-faq__list summary span {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--hoiana-line);
  border-radius: 50%;
}

.hoiana-faq__list summary span::before,
.hoiana-faq__list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--hoiana-red);
  content: "";
  transform: translate(-50%, -50%);
}

.hoiana-faq__list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease;
}

.hoiana-faq__list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.hoiana-faq__list details p {
  max-width: 780px;
  padding: 0 60px 29px 0;
  color: var(--hoiana-muted);
  font-size: 0.91rem;
  line-height: 1.78;
}

.hoiana-related {
  background: #e9dfcf;
  padding-block: clamp(70px, 8vw, 110px);
}

.hoiana-related > a {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.hoiana-related figure {
  overflow: hidden;
}

.hoiana-related img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hoiana-related a:hover img {
  transform: scale(1.02);
}

.hoiana-related h2 {
  max-width: 9ch;
  margin-top: 16px;
  font-family: var(--hoiana-display);
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 0.97;
}

.hoiana-related p:not(.hoiana-kicker) {
  max-width: 560px;
  margin-top: 23px;
  color: var(--hoiana-muted);
}

.hoiana-related div > span {
  display: inline-block;
  margin-top: 27px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--hoiana-red);
  color: var(--hoiana-red);
  font-size: 0.75rem;
  font-weight: 700;
}

.hoiana-cta {
  position: relative;
  min-height: min(900px, 92svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--hoiana-night);
  color: var(--hoiana-paper);
}

.hoiana-cta__media,
.hoiana-cta__media::after {
  position: absolute;
  inset: 0;
}

.hoiana-cta__media picture,
.hoiana-cta__media img {
  width: 100%;
  height: 100%;
}

.hoiana-cta__media img {
  object-fit: cover;
  object-position: 73% 36%;
  filter: saturate(0.68) brightness(0.7);
}

.hoiana-cta__media::after {
  background: linear-gradient(90deg, rgba(18, 13, 13, 0.96) 0%, rgba(18, 13, 13, 0.82) 42%, rgba(18, 13, 13, 0.28) 78%), linear-gradient(180deg, rgba(18, 13, 13, 0.3), rgba(18, 13, 13, 0.68));
  content: "";
}

.hoiana-cta .hoiana-wrap {
  position: relative;
  z-index: 2;
}

.hoiana-cta .hoiana-kicker {
  color: var(--hoiana-gold);
}

.hoiana-cta h2 {
  max-width: 11ch;
  margin-top: 20px;
  font-family: var(--hoiana-display);
  font-size: clamp(3.4rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.92;
}

.hoiana-cta p:not(.hoiana-kicker) {
  max-width: 650px;
  margin-top: 29px;
  color: rgba(251, 246, 236, 0.72);
  font-size: 1rem;
}

.hoiana-cta .hoiana-button {
  margin-top: 38px;
}

.hoiana-cta small {
  display: block;
  margin-top: 22px;
  color: rgba(251, 246, 236, 0.48);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hoiana-footer {
  padding-block: 34px;
  border-top: 1px solid rgba(230, 210, 166, 0.15);
  background: var(--hoiana-night);
  color: rgba(251, 246, 236, 0.58);
}

.hoiana-footer .hoiana-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hoiana-footer img {
  width: 132px;
  height: auto;
}

.hoiana-footer p {
  font-size: 0.69rem;
  letter-spacing: 0.035em;
}

.hoiana-footer p a:hover {
  color: var(--hoiana-gold-soft);
}

.hoiana-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hoiana-paper);
}

.hoiana-lightbox::backdrop {
  background: rgba(8, 5, 5, 0.91);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hoiana-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

.hoiana-lightbox__panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 34px 92px 78px;
  pointer-events: none;
}

.hoiana-lightbox__panel > * {
  pointer-events: auto;
}

.hoiana-lightbox__close {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(251, 246, 236, 0.3);
  border-radius: 50%;
  background: rgba(18, 13, 13, 0.6);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.hoiana-lightbox figure {
  width: min(86vw, 1480px);
  height: min(80dvh, 900px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
}

.hoiana-lightbox figure > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 120ms ease;
}

.hoiana-lightbox figure > img.is-loading {
  opacity: 0.2;
}

.hoiana-lightbox figcaption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  color: rgba(251, 246, 236, 0.7);
  font-size: 0.75rem;
  text-align: center;
}

.hoiana-lightbox figcaption span {
  color: var(--hoiana-gold);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hoiana-lightbox__controls {
  position: absolute;
  top: 50%;
  right: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.hoiana-lightbox__controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(251, 246, 236, 0.27);
  border-radius: 50%;
  background: rgba(18, 13, 13, 0.55);
  cursor: pointer;
  pointer-events: auto;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hoiana-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  }

  .hoiana-hero__copy {
    padding-right: 48px;
  }

  .hoiana-facts dl {
    grid-template-columns: repeat(3, 1fr);
  }

  .hoiana-facts dl > div:nth-child(4),
  .hoiana-facts dl > div:nth-child(5) {
    border-top: 1px solid rgba(230, 210, 166, 0.15);
  }

  .hoiana-facts dl > div:nth-child(3) {
    border-right: 1px solid rgba(230, 210, 166, 0.15);
  }

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

  .hoiana-proof__grid article:nth-child(3),
  .hoiana-proof__grid article:nth-child(4) {
    border-top: 1px solid var(--hoiana-line);
  }
}

@media (max-width: 880px) {
  .hoiana-wrap {
    width: min(calc(100% - 40px), var(--hoiana-wrap));
  }

  .hoiana-heading--split,
  .hoiana-heading--chapter,
  .hoiana-faq__layout,
  .hoiana-applications,
  .hoiana-related > a {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hoiana-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hoiana-hero__copy {
    min-height: 760px;
    padding: 156px 32px 86px;
  }

  .hoiana-hero__portrait {
    min-height: 86svh;
  }

  .hoiana-hero__monogram {
    right: auto;
    bottom: 39%;
    left: -0.06em;
  }

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

  .hoiana-metrics article:nth-child(2) {
    border-right: 0;
  }

  .hoiana-metrics article:nth-child(3),
  .hoiana-metrics article:nth-child(4) {
    border-top: 1px solid var(--hoiana-line);
  }

  .hoiana-system__grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .hoiana-system__grid article,
  .hoiana-system__grid article:nth-child(2),
  .hoiana-system__grid article:nth-child(3) {
    margin-top: 0;
  }

  .hoiana-system__grid figure {
    aspect-ratio: 4 / 3.25;
  }

  .hoiana-system__grid article:nth-child(3) figure {
    aspect-ratio: 4 / 5;
  }

  .hoiana-gallery--space .hoiana-shot,
  .hoiana-gallery--space .hoiana-shot:nth-child(n),
  .hoiana-gallery--objects .hoiana-shot,
  .hoiana-gallery--objects .hoiana-shot:nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }

  .hoiana-gallery--portraits .hoiana-shot,
  .hoiana-gallery--portraits .hoiana-shot:nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }

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

  .hoiana-applications ul {
    margin-top: 12px;
  }

  .hoiana-related h2 {
    max-width: 13ch;
  }
}

@media (max-width: 620px) {
  body.hoiana-case {
    font-size: 15px;
  }

  .hoiana-wrap {
    width: calc(100% - 32px);
  }

  .hoiana-section {
    padding-block: 86px;
  }

  .hoiana-heading {
    margin-bottom: 48px;
  }

  .hoiana-heading h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .hoiana-heading--split,
  .hoiana-heading--chapter {
    gap: 28px;
  }

  .hoiana-hero__copy {
    min-height: 680px;
    padding: 138px 18px 70px;
  }

  .hoiana-hero h1 {
    font-size: clamp(3.55rem, 17vw, 5.4rem);
  }

  .hoiana-hero__lead {
    margin-top: 27px;
    font-size: 0.94rem;
  }

  .hoiana-hero__actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 32px;
  }

  .hoiana-button {
    width: 100%;
  }

  .hoiana-hero__portrait {
    min-height: 720px;
  }

  .hoiana-hero__portrait figcaption {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .hoiana-facts dl {
    grid-template-columns: 1fr;
  }

  .hoiana-facts dl > div,
  .hoiana-facts dl > div:nth-child(n) {
    min-height: auto;
    padding: 21px 0;
    border: 0;
    border-bottom: 1px solid rgba(230, 210, 166, 0.15);
  }

  .hoiana-chapter-nav a {
    padding-inline: 15px;
  }

  .hoiana-chapter-nav a:first-child {
    padding-left: 0;
  }

  .hoiana-metrics article {
    min-height: 158px;
    padding: 22px 17px;
  }

  .hoiana-metrics strong {
    font-size: 3.7rem;
  }

  .hoiana-system__grid figure,
  .hoiana-system__grid article:nth-child(3) figure {
    aspect-ratio: auto;
  }

  .hoiana-gallery {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hoiana-gallery--space .hoiana-shot,
  .hoiana-gallery--space .hoiana-shot:nth-child(n),
  .hoiana-gallery--objects .hoiana-shot,
  .hoiana-gallery--objects .hoiana-shot:nth-child(n),
  .hoiana-gallery--portraits .hoiana-shot,
  .hoiana-gallery--portraits .hoiana-shot:nth-child(n) {
    grid-column: 1;
  }

  .hoiana-shot figcaption {
    max-width: none;
  }

  .hoiana-shot__button::after,
  .hoiana-library__item button::after {
    opacity: 0.86;
    transform: none;
  }

  .hoiana-library__disclosure > summary {
    min-height: 110px;
  }

  .hoiana-library__disclosure summary i {
    width: 44px;
    height: 44px;
  }

  .hoiana-library__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .hoiana-library__filters::-webkit-scrollbar {
    display: none;
  }

  .hoiana-library__filters button {
    flex: 0 0 auto;
  }

  .hoiana-library__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }

  .hoiana-library__item figcaption {
    display: none;
  }

  .hoiana-proof__grid {
    grid-template-columns: 1fr;
  }

  .hoiana-proof__grid article,
  .hoiana-proof__grid article:first-child,
  .hoiana-proof__grid article:nth-child(n) {
    min-height: auto;
    padding: 28px 0;
    border: 0;
    border-bottom: 1px solid var(--hoiana-line);
  }

  .hoiana-proof__grid article > span {
    margin-bottom: 32px;
  }

  .hoiana-applications {
    margin-right: -16px;
    margin-left: -16px;
    padding: 42px 24px;
  }

  .hoiana-faq__list summary {
    min-height: 82px;
    font-size: 1.18rem;
  }

  .hoiana-faq__list details p {
    padding-right: 0;
  }

  .hoiana-related {
    padding-block: 70px;
  }

  .hoiana-cta {
    min-height: 840px;
    align-items: end;
    padding-bottom: 78px;
  }

  .hoiana-cta__media img {
    object-position: 58% top;
  }

  .hoiana-cta__media::after {
    background: linear-gradient(180deg, rgba(18, 13, 13, 0.18) 0%, rgba(18, 13, 13, 0.8) 50%, rgba(18, 13, 13, 0.98) 100%);
  }

  .hoiana-cta h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hoiana-footer .hoiana-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .hoiana-footer p {
    line-height: 1.8;
  }

  .hoiana-lightbox__panel {
    padding: 60px 14px 80px;
  }

  .hoiana-lightbox figure {
    width: 100%;
    height: 76dvh;
  }

  .hoiana-lightbox figcaption {
    align-items: center;
    flex-direction: column;
    gap: 6px;
  }

  .hoiana-lightbox__controls {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: 18px;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
