/* The Gallery Wall: a quiet gallery. White wall, big art, a museum wall label
   beside every piece. Colours and type are custom properties on :root. */
:root {
  --wall: #f7f6f3;
  --ink: #1c1a18;
  --muted: #615c55;
  --line: #d9d5cd;
  --rust: #a4481f;
  --card: #ffffff;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  line-height: 1.05;
}
p {
  margin: 0;
}
figure {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

/* Preview strip: says plainly that nothing is sent yet. */
.bar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 6px clamp(16px, 4vw, 56px);
  text-align: center;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 400 27px/1 var(--display);
}
.brand img {
  width: 42px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 15px;
}
.site-nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover {
  color: var(--rust);
}
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}
.site-nav a.cta {
  color: var(--rust);
  font-weight: 600;
}
.site-nav a.cta[aria-current="page"] {
  border-bottom-color: var(--rust);
}

.hero {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: 12px 0 72px;
}
.hero h1 {
  font-size: clamp(46px, 6.1vw, 88px);
  margin-bottom: 24px;
}
.hero p {
  max-width: 32em;
  color: var(--muted);
  margin-bottom: 28px;
}
.pagehead {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: 24px 0 56px;
}
.pagehead h1 {
  font-size: clamp(44px, 5.4vw, 76px);
}
.pagehead p {
  color: var(--muted);
  max-width: 38em;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font: 600 15px/1 var(--body);
  padding: 17px 26px;
  border: 0;
  cursor: pointer;
}
.btn:hover {
  background: var(--rust);
}
.more {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
}
.more:hover {
  color: var(--rust);
  border-color: var(--rust);
}
.label {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}
.label b {
  display: block;
  color: var(--ink);
  font: italic 500 18px/1.25 var(--display);
}

section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}
.head {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: 48px;
  align-items: end;
}
.head h2 {
  font-size: clamp(36px, 4.2vw, 58px);
}
.head p {
  color: var(--muted);
  max-width: 38em;
}
.head .more {
  margin-top: 14px;
}

/* Customer photo pinned to the corner of the finished portrait. */
.pairs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.pair {
  position: relative;
}
.pair .ph {
  width: 38%;
  position: absolute;
  left: 0;
  top: 0;
  border: 6px solid #fff;
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.16);
  mix-blend-mode: normal;
  z-index: 1;
}
.pair .art {
  padding: 13% 0 0 13%;
}

.hang {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px clamp(20px, 3vw, 44px);
  align-items: end;
}
.s6 {
  grid-column: span 6;
}
.s5 {
  grid-column: span 5;
}
.s4 {
  grid-column: span 4;
}
.s3 {
  grid-column: span 3;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}
.steps li::before {
  content: counter(s);
  font: 400 34px/1 var(--display);
  display: block;
  margin-bottom: 12px;
  color: var(--rust);
}
.steps b {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.steps span {
  color: var(--muted);
  font-size: 15.5px;
}

/* Sizes and prices, as a price list rather than a form. */
.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.prices a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 210px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
}
.prices a:hover {
  border-color: var(--ink);
}
.prices i,
.size i {
  display: block;
  background: #e8e4dc;
  border: 1px solid #bdb7ab;
}
.prices b {
  font-weight: 600;
}
.prices span {
  color: var(--muted);
  font-size: 15px;
}

.faq {
  max-width: 52em;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font: 400 24px/1.2 var(--display);
  cursor: pointer;
}
.faq details p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 42em;
}

/* Commission form */
.orderwrap {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 40px;
}
legend {
  font: 400 28px/1.15 var(--display);
  padding: 0;
  margin-bottom: 16px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
label {
  font-size: 14.5px;
  font-weight: 500;
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: 400 16px/1.4 var(--body);
  padding: 12px 13px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid #a8a298;
  border-radius: 0;
}
textarea {
  min-height: 104px;
  resize: vertical;
}
.sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
.size {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 190px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
}
.size input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.size:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.size:has(input:focus-visible) {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
.size b {
  font-weight: 600;
  font-size: 15px;
}
.size span {
  color: var(--muted);
  font-size: 14.5px;
}
.drop {
  border: 1px dashed #8f897f;
  background: var(--card);
  padding: 26px;
  display: grid;
  gap: 12px;
  justify-items: start;
}
.drop.over {
  border-color: var(--rust);
  background: #fbf1eb;
}
.previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.previews:empty {
  display: none;
}
.previews figure {
  display: grid;
  gap: 4px;
  width: 96px;
}
.previews img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  mix-blend-mode: normal;
}
.previews button {
  font: 500 13px/1 var(--body);
  background: none;
  border: 0;
  padding: 6px 0;
  text-decoration: underline;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}
.tips {
  font-size: 14.5px;
  color: var(--muted);
}
.error {
  color: #a1261a;
  font-weight: 500;
  min-height: 1.4em;
  margin-top: 8px;
}
aside.sum {
  position: sticky;
  top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px;
}
aside.sum h2 {
  font-size: 30px;
  margin-bottom: 14px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 9px 0;
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
}
.note {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 12px;
}
.tbc {
  background: #fff2c9;
  border: 1px dashed #a97f12;
  color: #5b4507;
  padding: 0 5px;
  font-size: 0.92em;
}
.success {
  background: var(--card);
  border: 1px solid var(--ink);
  padding: 30px;
}
.success h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

/* Originals */
.works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px clamp(20px, 2.6vw, 36px);
}
.work {
  display: flex;
  flex-direction: column;
}
.work .label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.reserve {
  margin-top: 8px;
  align-self: flex-start;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
  font: 600 14.5px/1.2 var(--body);
  color: var(--ink);
  cursor: pointer;
}
.reserve:hover {
  color: var(--rust);
  border-color: var(--rust);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 4fr 4fr 3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.about h2 {
  font-size: clamp(36px, 4.2vw, 58px);
}
.about p + p {
  margin-top: 14px;
}
.about ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 15px;
}
.about li {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.about h3 {
  font-size: 25px;
}
.story {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.story .text p + p {
  margin-top: 16px;
}
.story .text p:first-child {
  font: 400 26px/1.35 var(--display);
}
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.contact div {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}
.contact h3 {
  font-size: 25px;
  margin-bottom: 6px;
}
.contact p {
  color: var(--muted);
}

/* A last word before the footer. */
.closing {
  text-align: center;
  padding: 96px 0;
}
.closing h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  margin-bottom: 18px;
}
.closing p {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.reserve-dialog {
  border: 1px solid var(--ink);
  padding: 30px;
  max-width: 440px;
  width: calc(100% - 32px);
  background: var(--wall);
  color: var(--ink);
}
.reserve-dialog::backdrop {
  background: rgb(28 26 24 / 0.5);
}
.reserve-dialog h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.reserve-dialog label {
  display: block;
  margin: 14px 0 5px;
}
.reserve-dialog input {
  width: 100%;
  font: 400 16px var(--body);
  padding: 11px;
  border: 1px solid #a8a298;
}
.reserve-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 20px;
}
.reserve-actions button {
  font: 600 15px var(--body);
  padding: 13px 17px;
  border: 1px solid var(--ink);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.reserve-actions .primary {
  background: var(--ink);
  color: #fff;
}
.reserve-done {
  margin-top: 14px;
  font-size: 14.5px;
}

@media (max-width: 900px) {
  .hero,
  .head,
  .pagehead,
  .orderwrap,
  .about,
  .story {
    grid-template-columns: 1fr;
  }
  .pairs,
  .steps,
  .prices,
  .contact {
    grid-template-columns: 1fr 1fr;
  }
  .works {
    grid-template-columns: repeat(2, 1fr);
  }
  .s6,
  .s5,
  .s4,
  .s3 {
    grid-column: span 6;
  }
  aside.sum {
    position: static;
  }
}
@media (max-width: 560px) {
  .pairs,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }
  .sizes {
    grid-template-columns: 1fr 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
  section {
    padding: 54px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Size swatches, drawn to scale against the largest. */
.sw-20 {
  width: 30%;
  aspect-ratio: 1;
}
.sw-30 {
  width: 45%;
  aspect-ratio: 1;
}
.sw-50 {
  width: 75%;
  aspect-ratio: 1;
}
.sw-65 {
  width: 75%;
  aspect-ratio: 50 / 65;
}
.closing h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  margin-bottom: 18px;
}
