:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #24221e;
  --muted: #5d574d;
  --rule: #c5bdae;
  --gutter: clamp(1.2rem, 5vw, 5rem);
  --sans: "Century Gothic", Futura, "Avenir Next", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: #80432e; }
a:focus-visible { outline: 2px solid #80432e; outline-offset: 5px; }
.frame { width: min(calc(100% - 2 * var(--gutter)), 90rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .5rem; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.3rem; }
.footer { flex-wrap: wrap; }
.header { border-bottom: 1px solid var(--rule); }
.brand { font-weight: 750; font-size: .875rem; letter-spacing: .15em; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 400; }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(.9rem, 3vw, 2.5rem); }
nav a, .footer a { font-size: .875rem; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.hero {
  padding-block: clamp(3rem, 5.5vw, 5.25rem) clamp(2.25rem, 4.5vw, 4rem);
  text-align: center;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1 {
  display: grid;
  justify-items: center;
  gap: clamp(.65rem, 1.3vw, 1.1rem);
}
.wordmark {
  position: relative;
  display: block;
  width: min(100%, 31rem);
  aspect-ratio: 966 / 250;
  overflow: hidden;
}
.wordmark img {
  position: absolute;
  top: -20%;
  left: -48.65%;
  width: 195.65%;
  height: auto;
}
.estudio-name {
  padding-inline-start: .46em;
  font-size: clamp(1.05rem, 1.65vw, 1.4rem);
  line-height: 1;
  letter-spacing: .46em;
}
.hero-subtitle {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(.875rem, 2.7vw, 1rem);
}
.subtitle-term { white-space: nowrap; }
.subtitle-dot {
  margin-inline: .18em;
  color: var(--ink);
  font: 700 1.25em/0 Arial, sans-serif;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.6rem; }
.action {
  display: inline-block;
  padding: .65rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.4;
}
a.action:hover { background: #58382a; border-color: #58382a; color: white; }
.action-outline { background: transparent; color: var(--ink); }
.showcase-link { display: block; position: relative; isolation: isolate; text-decoration: none; }
.showcase-link .action { position: absolute; right: 1rem; bottom: 1rem; }
.showcase-link:hover .action, .showcase-link:focus-visible .action { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.visual { position: relative; isolation: isolate; display: block; overflow: hidden; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.25rem 3rem; padding-block: clamp(2rem, 5vw, 5rem); scroll-margin-top: 1rem; }
.portfolio .entry, .footer { border-top: 1px solid var(--rule); }
.entry h2 { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }
.entry h3 { font-size: clamp(2rem, 4.5vw, 4.5rem); line-height: 1.1; letter-spacing: -.04em; }
.entry p { max-width: 43ch; margin-top: 1.25rem; }
.entry .note { font-size: .875rem; color: var(--muted); }
.about { background: #e8e1d3; }
.showcase { align-items: center; }
.showcase h2 { grid-column: 1 / -1; }
.showcase-title-link { text-decoration-thickness: 1px; text-underline-offset: .17em; }
.showcase-figure { margin: 0; }
.about-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center 88%;
}
.contact-topic { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--rule); scroll-margin-top: 1.5rem; }
.contact-topic h4 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.contact-topic p { margin-top: .35rem; }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-style: normal;
}
.contact .contact-location { margin-top: .75rem; }
.budget-link { display: inline-block; margin-top: .7rem; }
.budget-layout {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  padding-top: 0;
}
.budget-form { min-width: 0; padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid var(--rule); }
.budget-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.budget-form label { display: grid; gap: .35rem; }
.budget-form input:not([type="checkbox"]), .budget-form textarea {
  width: 100%;
  padding: .65rem .75rem;
  font: inherit;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--rule);
  border-radius: 0;
}
.budget-form textarea { resize: vertical; }
.budget-form :is(input, textarea, button):focus-visible { outline: 2px solid #80432e; outline-offset: 2px; }
.budget-form button { margin-top: 1rem; font-family: inherit; cursor: pointer; }
.budget-form button:hover { background: #58382a; border-color: #58382a; }
.budget-form p { margin-top: .65rem; font-size: .875rem; color: var(--muted); }
.budget-form .budget-privacy { margin-top: 1rem; }
.budget-form .budget-opt-in {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: .8rem;
  font-size: .875rem;
}
.budget-opt-in input { flex: none; margin: .22em 0 0; accent-color: var(--ink); }
.budget-contact { border-top: 1px solid var(--rule); padding-top: 1rem; }
.budget-contact address { display: grid; gap: .35rem; margin-top: .8rem; font-style: normal; }
.catalogue-heading { padding-block: clamp(2.5rem, 7vw, 6rem) 2.25rem; }
.catalogue-heading h1 { display: block; margin-top: .65rem; font-size: clamp(2.7rem, 8vw, 7rem); line-height: 1; letter-spacing: -.045em; }
.catalogue-heading p { margin-top: 1rem; max-width: 45ch; color: var(--muted); }
.catalogue-item { border-top: 1px solid var(--rule); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.legal-content { max-width: 68ch; border-top: 1px solid var(--rule); padding-block: 1.5rem 3rem; }
.legal-content section { margin-top: 1.75rem; }
.legal-content p + p, .legal-content h2 + p { margin-top: .55rem; }
.legal-content h2 { font-size: 1.25rem; }
.legal-details { display: grid; grid-template-columns: fit-content(40%) minmax(0, 1fr); gap: .35rem 1rem; }
.legal-details dt { font-weight: 600; }
.legal-details dd { margin: 0; overflow-wrap: anywhere; }
.catalogue-item .action { margin-top: 1.5rem; }
.render-listing, .render-intro { align-items: center; }
.render-listing h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.15; letter-spacing: -.025em; text-transform: none; }
.render-image { display: block; width: 100%; height: auto; }
.render-intro { grid-template-columns: minmax(0, 1fr); }
.render-intro, .render-gallery { width: min(100%, 66rem); margin-inline: auto; }
.render-intro p { max-width: none; }
.render-intro h3 {
  margin-top: 1.1rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
}
.render-gallery { display: grid; justify-items: center; gap: clamp(1.25rem, 4vw, 3rem); padding-block: clamp(1.5rem, 5vw, 4rem); }
.render-gallery img { width: auto; max-width: min(100%, 66rem); max-height: 85svh; object-fit: contain; }
.capsule { align-items: center; }
.capsule h2 {
  grid-column: 1 / -1;
  color: #000;
  font-weight: 700;
}
.capsule h3 a { text-decoration-thickness: 1px; text-underline-offset: .17em; }
.capsule .art-subtitle + p { margin-top: .35rem; }
.capsule-cover {
  width: min(100%, calc(38rem * 2 / 3));
  margin-inline: auto;
  background: #e8e1d3;
}
.capsule-cover img,
.art-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.art-availability { color: #395346; }
.entry .art-price { margin-top: .5rem; font-size: 1.625rem; }
.entry .art-price-terms { margin-top: .2rem; font-size: .875rem; color: var(--muted); }
.art-story {
  --image-gap: clamp(.4rem, 1vw, .9rem);
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.art-story img { display: block; width: 100%; height: auto; }
.art-story > img { max-width: 38rem; }
.art-story > .art-collage {
  max-width: 50rem;
  /* White gutters in the 1000 × 1500 px collage. */
  mask:
    linear-gradient(#000 32.6667%, transparent 32.6667% 33.6%, #000 33.6% 66.4%, transparent 66.4% 67.3333%, #000 67.3333%) left / 39.1% 100% no-repeat,
    linear-gradient(#000 49.5333%, transparent 49.5333% 50.4667%, #000 50.4667%) right / 59.4% 100% no-repeat;
}
.art-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: var(--image-gap);
  width: min(100%, 50rem);
}
.art-mosaic > div { display: grid; gap: var(--image-gap); }
.art-details { align-items: center; }
.art-preview { position: relative; display: block; width: min(100%, 26rem); justify-self: center; cursor: zoom-in; }
.art-preview span { position: absolute; right: .75rem; bottom: .75rem; padding: .45rem .7rem; background: var(--ink); color: var(--paper); font-size: .875rem; }
.art-viewer { width: fit-content; max-width: calc(100% - 2rem); max-height: calc(100% - 2rem); padding: 0; border: 0; background: transparent; }
.art-viewer::backdrop { background: rgb(27 24 21 / 92%); }
.art-viewer form { display: flex; justify-content: flex-end; margin-bottom: .5rem; }
.art-viewer button { padding: .4rem .75rem; border: 0; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.art-viewer img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 5rem); margin-inline: auto; }
.art-story-contact { text-align: center; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.art-email { display: block; width: fit-content; margin-top: .6rem; font-size: .875rem; }
.action-channel { display: inline-block; margin-inline-start: .45em; padding-inline-start: .6em; border-inline-start: 1px solid currentColor; font-weight: 700; }
.art-story-contact .art-email { margin-inline: auto; }
.art-specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem .8rem; margin: 1.25rem 0; }
.art-specs dt { font-weight: 600; }
.art-specs dd { margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .showcase-link .action { opacity: 0; }
  .showcase-link:hover .action, .showcase-link:focus-visible .action { opacity: 1; }
}
@media (max-width: 38rem) {
  .header { align-items: flex-start; flex-direction: column; }
  .hero-subtitle { margin-top: 1rem; }
  .entry { grid-template-columns: 1fr; }
  .budget-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
