
:root {
  --gallery: #f4f0e9;
  --paper: #fffdf8;
  --ink: #261b24;
  --aubergine: #421d38;
  --lacquer: #c65e50;
  --font-display: Georgia, "Times New Roman", serif;
  --font-ui: Arial, Helvetica, sans-serif;
  --space-page: clamp(1.25rem, 4vw, 5.5rem);
  --space-section: clamp(5.5rem, 12vw, 11rem);
  --rule: 1px solid rgba(38, 27, 36, 0.24);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gallery);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lacquer);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: var(--space-page);
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-110%);
}

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

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem var(--space-page);
  border-bottom: var(--rule);
  background: var(--gallery);
}

.wordmark {
  width: fit-content;
  min-width: 0;
  line-height: 1;
}

.wordmark span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.wordmark strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 6vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.header-action,
.primary-action,
.contact-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-action {
  padding: 0.65rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  width: 60px;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0;
  border: 1px solid rgba(38, 27, 36, 0.35);
  background: transparent;
  cursor: pointer;
}

.menu-label {
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-lines {
  display: grid;
  width: 17px;
  gap: 3px;
}

.menu-lines i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
  transform: translateY(2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
  transform: translateY(-2px) rotate(-45deg);
}

.site-navigation {
  grid-column: 1 / -1;
  padding: 0.7rem 0 0.2rem;
  border-top: var(--rule);
}

.site-navigation[hidden] {
  display: none;
}

.site-navigation a {
  display: flex;
  min-height: 46px;
  align-items: center;
  border-bottom: var(--rule);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  gap: 1.6rem;
  padding: clamp(2.6rem, 10vw, 5rem) var(--space-page) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 7.2em;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 12.5vw, 8.5rem);
  line-height: 0.94;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 29rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.primary-action {
  gap: 2.5rem;
  padding: 0.85rem 1rem;
  background: var(--lacquer);
  border-color: var(--lacquer);
  color: var(--paper);
}

.exhibit-frame {
  margin: 0;
  background: var(--paper);
  animation: frame-arrival 520ms ease both;
}

.hero-frame {
  animation-delay: 80ms;
}

.exhibit-frame figcaption.template-layout-1 {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  border: var(--rule);
  border-top: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-axis {
  display: grid;
  border-top: var(--rule);
  border-bottom: var(--rule);
}

.hero-axis span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: var(--rule);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-axis span:last-child {
  border-bottom: 0;
}

.hero-axis span::after {
  content: "—";
  color: var(--lacquer);
}

.services-section {
  padding: var(--space-section) var(--space-page);
  background: var(--paper);
}

.section-heading {
  margin-bottom: clamp(3rem, 9vw, 7rem);
}

.catalogue-number {
  margin-bottom: 1.15rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-heading h2,
.material-copy h2,
.atelier-title-block h2,
.atmosphere-caption h2,
.faq-intro h2,
.contact-copy h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 10vw, 6.8rem);
  line-height: 0.98;
}

.section-heading > p:last-child,
.material-copy > p:last-child {
  max-width: 35rem;
  margin-bottom: 0;
}

.service-rail.template-layout-2 {
  border-top: 1px solid var(--ink);
}

.service-item {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0.6rem 1rem;
  padding: 1.6rem 0;
  border-bottom: var(--rule);
  animation: frame-arrival 500ms ease both;
}

.service-item:nth-child(2) { animation-delay: 90ms; }
.service-item:nth-child(3) { animation-delay: 180ms; }

.service-number {
  grid-row: 1 / span 2;
  color: var(--lacquer);
  font-family: var(--font-display);
  font-size: 1rem;
}

.service-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service-item p {
  max-width: 30rem;
  margin: 0;
  color: rgba(38, 27, 36, 0.78);
}

.material-study.template-layout-3 {
  display: grid;
  gap: 2.5rem;
  padding: var(--space-section) var(--space-page);
  background: var(--aubergine);
  color: var(--paper);
}

.material-copy {
  max-width: 41rem;
}

.material-copy h2 {
  max-width: 8.7em;
}

.material-copy > p:last-child {
  color: rgba(255, 253, 248, 0.78);
}

.material-frame {
  border: 0.7rem solid var(--paper);
  animation-delay: 100ms;
}

.material-frame figcaption.template-layout-1 {
  margin: 0 -0.7rem -0.7rem;
  border: 0;
}

.atelier-section {
  display: grid;
  gap: 3rem;
  padding: var(--space-section) var(--space-page);
  background: var(--gallery);
}

.atelier-title-block h2 {
  max-width: 7.5em;
  margin-bottom: 0;
}

.atelier-statement {
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.atelier-statement .lead {
  max-width: 30rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6.5vw, 2.7rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 2rem;
  margin-top: 1.2rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tone-register {
  display: grid;
  border: var(--rule);
}

.tone-register span {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  padding: 1rem;
  border-bottom: var(--rule);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.tone-register span:last-child {
  border-bottom: 0;
}

.tone-register span:nth-child(2) {
  background: var(--lacquer);
  color: var(--paper);
}

.atmosphere-section {
  padding: 0 var(--space-page) var(--space-section);
  background: var(--gallery);
}

.atmosphere-caption {
  position: relative;
  z-index: 2;
  max-width: 43rem;
  margin-bottom: 2.1rem;
}

.atmosphere-caption h2 {
  margin-bottom: 0;
}

.atmosphere-frame {
  border: 0.7rem solid var(--paper);
}

.atmosphere-frame figcaption.template-layout-1 {
  margin: 0 -0.7rem -0.7rem;
  border: 0;
}

.faq-section {
  display: grid;
  gap: 2.5rem;
  padding: var(--space-section) var(--space-page);
  background: var(--paper);
}

.faq-intro h2 {
  margin-bottom: 0;
}

.faq-list.template-layout-4 {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: var(--rule);
}

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  min-height: 68px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: var(--rule);
  font-family: var(--font-ui);
  font-size: 1rem;
}

.faq-list details[open] summary::after {
  content: "";
  background: var(--lacquer);
  color: var(--paper);
}

.faq-list details p {
  max-width: 36rem;
  margin: 0 3.75rem 1.5rem 0;
  color: rgba(38, 27, 36, 0.78);
}

.contact-section {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: var(--space-section) var(--space-page) clamp(4rem, 9vw, 7rem);
  background: var(--aubergine);
  color: var(--paper);
}

.contact-index {
  position: absolute;
  top: 1.1rem;
  right: var(--space-page);
  color: rgba(255, 253, 248, 0.18);
  font-family: var(--font-display);
  font-size: clamp(5rem, 26vw, 14rem);
  line-height: 1;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 8em;
}

.contact-copy > p:last-child {
  max-width: 31rem;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.77);
}

.address-block {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 253, 248, 0.35);
  font-style: normal;
}

.address-block span:first-child {
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.contact-action {
  width: fit-content;
  gap: 2.5rem;
  padding: 0.9rem 1.1rem;
  border-color: var(--paper);
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 1.5rem var(--space-page);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
}

.site-footer p {
  margin: 0;
  max-width: 46rem;
}

@keyframes frame-arrival {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .header-action:hover,
  .primary-action:hover {
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-2px);
  }

  .contact-action:hover {
    background: var(--paper);
    color: var(--aubergine);
    transform: translateY(-2px);
  }

  .site-navigation a:hover,
  .text-link:hover {
    color: var(--lacquer);
  }
}

@media (min-width: 48rem) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 2rem;
    min-height: 88px;
  }

  .wordmark strong {
    font-size: 1.75rem;
  }

  .header-action {
    grid-column: 3;
    grid-row: 1;
    padding-inline: 1.25rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-navigation,
  .site-navigation[hidden] {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    gap: clamp(1rem, 3vw, 2.4rem);
    padding: 0;
    border: 0;
  }

  .site-navigation a {
    min-height: 44px;
    border: 0;
    font-size: 0.66rem;
  }

  .hero {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 4rem;
  }

  .hero-copy {
    grid-column: 1 / 6;
    grid-row: 1;
    align-self: center;
  }

  h1 {
    max-width: 6.5em;
    font-size: clamp(5rem, 10vw, 7.5rem);
  }

  .section-heading h2,
  .material-copy h2,
  .atelier-title-block h2,
  .atmosphere-caption h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(3.1rem, 7vw, 5.3rem);
  }

  .hero-copy > p {
    max-width: 24rem;
  }

  .hero-frame {
    grid-column: 2 / 7;
    grid-row: 2;
  }

  .hero-frame img,
  .material-frame img,
  .atmosphere-frame img {
    object-fit: cover;
  }

  .hero-frame img {
    height: 32rem;
  }

  .material-frame img,
  .atmosphere-frame img {
    height: 30rem;
  }

  .hero-axis {
    grid-column: 1;
    grid-row: 2;
    align-content: end;
  }

  .hero-axis span {
    min-height: 64px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 1.5rem;
  }

  .section-heading .catalogue-number {
    grid-row: 1 / span 2;
  }

  .section-heading h2,
  .section-heading > p:last-child {
    grid-column: 2;
  }

  .section-heading h2 {
    max-width: 9em;
  }

  .service-item {
    grid-template-columns: 3.5rem minmax(12rem, 1fr) minmax(15rem, 1fr);
    align-items: baseline;
    gap: 2rem;
    padding: 2.25rem 0;
  }

  .service-number {
    grid-row: auto;
  }

  .service-item p {
    justify-self: end;
  }

  .material-study {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
  }

  .atelier-section {
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(4rem, 10vw, 11rem);
  }

  .atelier-statement {
    align-self: end;
  }

  .tone-register {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .tone-register span {
    min-height: 7rem;
    border-right: var(--rule);
    border-bottom: 0;
  }

  .tone-register span:last-child {
    border-right: 0;
  }

  .atmosphere-section {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
  }

  .atmosphere-caption {
    grid-column: 1 / 5;
    grid-row: 1;
    margin: 0 0 -4rem;
    padding: 2.5rem 2.5rem 3rem 0;
    background: var(--gallery);
  }

  .atmosphere-frame {
    grid-column: 2 / 7;
    grid-row: 2;
  }

  .faq-section {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
    gap: clamp(4rem, 10vw, 10rem);
  }

  .contact-section {
    grid-template-columns: 1.7fr 1fr;
    gap: 4rem;
  }

  .contact-copy {
    grid-row: 1 / span 2;
  }

  .address-block {
    align-self: end;
  }

  .contact-action {
    align-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 70rem) {
  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    min-height: min(52rem, calc(100vh - 88px));
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-copy {
    grid-column: 1 / 8;
    grid-row: 1;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(6.2rem, 8vw, 8.5rem);
  }

  .hero-frame {
    grid-column: 5 / 13;
    grid-row: 1;
    align-self: stretch;
    height: 42rem;
  }

  .hero-frame img {
    height: calc(100% - 44px);
    object-position: center;
  }

  .hero-axis {
    z-index: 3;
    grid-column: 11 / 13;
    grid-row: 1;
    align-self: end;
    padding: 0 1rem;
    background: var(--paper);
  }

  .services-section {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: clamp(5rem, 10vw, 11rem);
  }

  .section-heading {
    display: block;
    margin: 0;
  }

  .section-heading h2,
  .section-heading > p:last-child {
    max-width: 30rem;
  }

  .section-heading h2 {
    font-size: clamp(3.4rem, 4.5vw, 4.8rem);
  }

  .service-rail {
    align-self: center;
  }

  .service-item {
    grid-template-columns: 3rem minmax(12rem, 1.2fr) minmax(13rem, 1fr);
  }

  .material-study {
    grid-template-columns: 4fr 6fr;
  }

  .material-copy h2,
  .atelier-title-block h2 {
    font-size: clamp(3.5rem, 5vw, 5.2rem);
  }

  .material-frame img {
    height: 38rem;
  }

  .atelier-section {
    grid-template-columns: 5fr 3fr 2fr;
    align-items: end;
  }

  .tone-register {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: 1fr;
  }

  .tone-register span {
    min-height: 8rem;
    border-right: 0;
    border-bottom: var(--rule);
  }

  .tone-register span:last-child {
    border-bottom: 0;
  }

  .atmosphere-frame img {
    height: 42rem;
    object-position: center 55%;
  }

  .contact-section {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: end;
  }

  .contact-copy {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
