@font-face {
  font-family: Instrument;
  src: url("./instrument-sans.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: Roman;
  src: url("./roman.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: Roman;
  src: url("./roman-italic.otf") format("opentype");
  font-style: italic;
  font-display: swap;
}

:root {
  --plum: #4b1835;
  --pink: #ecdfe5;
  --light: #f7f2f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--pink);
  color: var(--plum);
  margin: 0;
  font-family: Instrument, Arial, sans-serif;
}

p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline-offset: 6px;
  outline: 3px solid;
}

.skip {
  background: var(--light);
  z-index: 60;
  padding: 14px;
  position: fixed;
  top: 0;
  left: 18px;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.header {
  z-index: 30;
  background: var(--pink);
  border-bottom: 1px solid #4b183522;
  align-items: center;
  gap: 32px;
  padding: 18px 4vw;
  display: flex;
  position: sticky;
  top: 0;
}

.small-brand {
  letter-spacing: -.05em;
  font-family: Roman, Georgia, serif;
  font-size: 2.75rem;
  line-height: 1;
}

.header > span {
  font-size: .875rem;
}

.header nav {
  gap: 32px;
  margin-left: auto;
  font-size: 1rem;
  display: flex;
}

.header nav a:hover {
  text-underline-offset: 6px;
  text-decoration: underline;
}

.cover {
  position: relative;
  overflow: hidden;
}

.cover > img {
  aspect-ratio: 1.5;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.cover h1 {
  letter-spacing: -.075em;
  font-family: Roman, Georgia, serif;
  font-size: clamp(8rem, 22vw, 23rem);
  line-height: .8;
  position: absolute;
  top: 4vw;
  left: 4vw;
}

.cover-note {
  font-size: .9375rem;
  line-height: 1.5;
  position: absolute;
  bottom: 7%;
  left: 4vw;
}

.object-label {
  background: var(--light);
  color: var(--plum);
  border: 0;
  min-height: 46px;
  padding: 11px 18px;
  font-size: .9375rem;
  position: absolute;
  box-shadow: 0 3px 20px #4b183515;
}

.object-label:before {
  content: "+";
  margin-right: 12px;
  font-size: 1.2rem;
}

.object-label:hover {
  background: var(--plum);
  color: var(--light);
}

.label-jug {
  top: 29%;
  left: 66%;
}

.label-bowls {
  top: 71%;
  left: 34%;
}

.eyebrow {
  font-size: .875rem;
}

.collection {
  background: var(--light);
  grid-template-columns: 1fr 1.1fr;
  gap: 9vw;
  padding: 65px 4vw 80px;
  display: grid;
}

.collection h2 {
  letter-spacing: -.04em;
  margin-top: 20px;
  font-family: Roman, Georgia, serif;
  font-size: clamp(3.3rem, 6vw, 7rem);
  line-height: 1.02;
}

.collection-copy {
  max-width: 51ch;
}

.collection-copy p + p {
  margin-top: 20px;
}

.product-links {
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 29px;
  display: flex;
}

.product-links button, .text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid;
  width: fit-content;
  padding: 0 0 7px;
  font-size: 1rem;
  display: inline-block;
}

.product-links button:hover, .text-link:hover {
  color: #862552;
}

.studio {
  background: var(--pink);
  grid-template-columns: .9fr 1.65fr;
  gap: 0;
  display: grid;
}

.studio-heading {
  padding: 58px 4vw;
}

.studio h2 {
  letter-spacing: -.04em;
  margin: 23px 0 30px;
  font-family: Roman, Georgia, serif;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 1.05;
}

.studio-heading > p:last-child {
  max-width: 31ch;
}

.studio figure {
  margin: 0;
  position: relative;
}

.studio img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: block;
}

.studio figcaption {
  background: var(--pink);
  max-width: 85%;
  padding: 10px 14px;
  font-size: .875rem;
  line-height: 1.5;
  position: absolute;
  bottom: 20px;
  left: 25px;
}

.studio-note {
  border-top: 1px solid #4b18352a;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  padding: 40px 4vw;
  display: flex;
}

.studio-note p {
  max-width: 65ch;
}

.studio-note a {
  flex-shrink: 0;
}

.workshop {
  background: var(--plum);
  color: var(--pink);
  padding: 70px 4vw 80px;
}

.workshop-main {
  grid-template-columns: 1.2fr 1fr;
  gap: 8vw;
  margin-top: 26px;
  display: grid;
}

.workshop h2 {
  letter-spacing: -.03em;
  font-family: Roman, Georgia, serif;
  font-size: clamp(3.5rem, 6.3vw, 7.4rem);
  line-height: 1.06;
}

.workshop-main > div > p {
  max-width: 47ch;
}

dl {
  margin: 30px 0 27px;
}

dl > div {
  border-top: 1px solid #ecdfe540;
  grid-template-columns: 1fr 1.2fr;
  gap: 25px;
  padding: 15px 0;
  font-size: .9375rem;
  line-height: 1.55;
  display: grid;
}

dd {
  margin: 0;
}

details {
  border-top: 1px solid #ecdfe540;
}

summary {
  cursor: pointer;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  font-size: 1rem;
  line-height: 1.5;
  list-style: none;
  display: flex;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  font-size: 1.5rem;
}

details[open] summary:after {
  content: "−";
}

details p {
  padding: 0 20px 23px 0;
  font-size: 1rem;
}

footer {
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 42px 4vw;
  display: flex;
}

.footer-brand {
  letter-spacing: -.06em;
  font-family: Roman, Georgia, serif;
  font-size: clamp(6rem, 13vw, 14rem);
  line-height: .8;
}

footer p {
  font-size: 1rem;
}

footer nav {
  gap: 28px;
  margin-top: 20px;
  font-size: .875rem;
  display: flex;
}

footer nav a:hover {
  text-underline-offset: 6px;
  text-decoration: underline;
}

dialog {
  background: var(--light);
  width: min(1000px, 92vw);
  max-height: 90svh;
  color: var(--plum);
  border: 0;
  padding: 60px 30px 30px;
}

dialog[open] {
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  display: grid;
}

dialog::backdrop {
  background: #29101eda;
}

dialog > img {
  align-self: center;
  width: 100%;
  height: auto;
  display: block;
}

.dialog-close {
  background: none;
  border: 0;
  padding: 10px;
  position: absolute;
  top: 14px;
  right: 20px;
}

.product-detail {
  align-self: center;
}

.product-detail h2 {
  letter-spacing: -.03em;
  margin: 17px 0 20px;
  font-family: Roman, Georgia, serif;
  font-size: 3rem;
  line-height: 1.08;
}

.dialog-back {
  margin-top: 25px;
}

@media (width <= 900px) {
  .header > span {
    display: none;
  }

  .collection {
    gap: 6vw;
  }

  .studio {
    grid-template-columns: 1fr 1.4fr;
  }

  .studio-heading {
    padding: 45px 4vw;
  }

  .studio h2 {
    font-size: 3.2rem;
  }

  .studio img {
    min-height: 560px;
  }

  .workshop-main {
    gap: 5vw;
  }

  .workshop h2 {
    font-size: 5.9vw;
  }
}

@media (width <= 650px) {
  html {
    scroll-padding-top: 90px;
  }

  .header {
    gap: 20px;
    padding: 17px 6vw;
  }

  .small-brand {
    font-size: 2.25rem;
  }

  .header nav {
    gap: 14px;
    font-size: .875rem;
  }

  .header nav a {
    white-space: nowrap;
  }

  .cover h1 {
    font-size: 26vw;
    line-height: .85;
    top: 6vw;
    left: 6vw;
  }

  .cover > img {
    background: var(--pink);
    aspect-ratio: auto;
    padding-top: 70px;
  }

  .cover-note {
    display: none;
  }

  .object-label {
    min-height: 44px;
    padding: 9px 13px;
    font-size: .875rem;
  }

  .object-label:before {
    margin-right: 7px;
  }

  .label-jug {
    top: 41%;
    left: 65%;
  }

  .label-bowls {
    top: 75%;
    left: 21%;
  }

  .collection {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 42px 6vw 48px;
  }

  .collection h2 {
    margin-top: 18px;
    font-size: 3.4rem;
    line-height: 1.05;
  }

  .collection h2 br {
    display: none;
  }

  .collection-copy {
    max-width: none;
  }

  .product-links {
    margin-top: 25px;
    display: block;
  }

  .product-links button {
    margin-top: 21px;
    line-height: 1.4;
    display: block;
  }

  .studio {
    display: block;
  }

  .studio-heading {
    padding: 46px 6vw 36px;
  }

  .studio h2 {
    margin: 19px 0 25px;
    font-size: 3.4rem;
  }

  .studio-heading > p:last-child {
    max-width: none;
  }

  .studio img {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
  }

  .studio figcaption {
    max-width: 88%;
    padding: 9px 11px;
    font-size: .8125rem;
    bottom: 18px;
    left: 6vw;
  }

  .studio-note {
    border: 0;
    padding: 30px 6vw 40px;
    display: block;
  }

  .studio-note a {
    margin-top: 25px;
  }

  .workshop {
    padding: 46px 6vw 50px;
  }

  .workshop-main {
    margin-top: 21px;
    display: block;
  }

  .workshop h2 {
    margin-bottom: 30px;
    font-size: 3.45rem;
  }

  dl > div {
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
  }

  footer {
    padding: 34px 6vw;
    display: block;
  }

  .footer-brand {
    font-size: 6.5rem;
    display: inline-block;
  }

  footer > div {
    margin-top: 30px;
  }

  footer nav {
    gap: 25px;
  }

  dialog {
    width: 94vw;
    padding: 59px 22px 25px;
  }

  dialog[open] {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .product-detail h2 {
    font-size: 2.6rem;
  }
}

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

[hidden] {
  display: none !important;
}

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

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 5px;
}

button:disabled {
  cursor: default;
  opacity: .55;
}

.product-links button, .text-link {
  align-items: center;
  min-height: 44px;
  line-height: 1.4;
  display: inline-flex;
}

.button {
  border: 1px solid var(--plum);
  background: var(--plum);
  min-height: 50px;
  color: var(--light);
  font: inherit;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding: 13px 22px;
  line-height: 1.4;
  display: inline-flex;
}

.button:hover {
  background: #692349;
  border-color: #692349;
}

.button:focus-visible {
  outline-color: var(--plum);
}

.workshop .button {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--plum);
}

.workshop .button:hover {
  background: var(--light);
  border-color: var(--light);
}

.workshop .button:focus-visible {
  outline-color: var(--pink);
}

.workshop-contact {
  margin-top: 25px;
}

.enquiry {
  background: var(--light);
  padding: 65px 4vw 70px;
}

.enquiry h2 {
  letter-spacing: -.04em;
  margin: 20px 0 25px;
  font-family: Roman, Georgia, serif;
  font-size: clamp(3.2rem, 5.3vw, 6.4rem);
  line-height: 1.05;
}

.enquiry-intro {
  max-width: 65ch;
}

.form-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 38px;
  display: grid;
}

.form-fields label {
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  font-size: .9375rem;
  display: flex;
}

.form-fields input, .form-fields select, .form-fields textarea {
  background: var(--pink);
  border: 0;
  border-bottom: 1px solid #4b183570;
  border-radius: 0;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 1rem;
}

.form-fields select {
  padding-right: 30px;
}

.form-fields textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.55;
}

.message-field {
  grid-column: 1 / -1;
}

.form-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
}

.form-send {
  align-items: center;
  gap: 25px;
  margin-top: 28px;
  display: flex;
}

.form-send p {
  max-width: 42ch;
  font-size: .875rem;
}

.form-error {
  border-left: 3px solid var(--plum);
  background: var(--pink);
  margin-top: 22px;
  padding: 15px 18px;
}

.form-success {
  max-width: 65ch;
  margin-top: 35px;
  padding: 25px 0;
}

.form-success h3 {
  margin-bottom: 18px;
  font-family: Roman, Georgia, serif;
  font-size: 2.4rem;
  line-height: 1.15;
}

.form-success p + p {
  margin-top: 12px;
}

.form-success button {
  margin-top: 20px;
}

.privacy {
  border-color: #4b183540;
  max-width: 70ch;
  margin-top: 32px;
}

.privacy p {
  max-width: 65ch;
}

.no-script {
  margin-top: 20px;
  font-size: .9375rem;
}

.header nav a {
  align-items: center;
  min-height: 44px;
  display: inline-flex;
}

footer nav {
  flex-wrap: wrap;
  gap: 10px 28px;
}

footer nav a {
  align-items: center;
  min-height: 44px;
  display: inline-flex;
}

.dialog-close {
  min-width: 64px;
  min-height: 44px;
}

.product-image {
  align-self: center;
  min-width: 0;
  margin: 0;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-image figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  line-height: 1.5;
}

.product-detail dl > div {
  border-color: #4b183540;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
}

.product-detail .dialog-back {
  margin-top: 18px;
  display: flex;
}

@media (width <= 900px) {
  .form-fields {
    gap: 22px;
  }
}

@media (width <= 650px) {
  html {
    scroll-padding-top: 132px;
  }

  .header {
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
    padding: 14px 6vw 8px;
    display: grid;
  }

  .header > span {
    justify-self: end;
    font-size: .75rem;
    display: block;
  }

  .header nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
  }

  .header nav a {
    min-height: 44px;
  }

  .enquiry {
    padding: 46px 6vw 48px;
  }

  .enquiry h2 {
    margin: 18px 0 24px;
    font-size: 3.2rem;
  }

  .form-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    margin-top: 28px;
  }

  .message-field {
    grid-column: auto;
  }

  .form-send {
    display: block;
  }

  .form-send p {
    margin-top: 17px;
  }

  .form-success h3 {
    font-size: 2.2rem;
  }

  .studio figcaption {
    background: var(--pink);
    max-width: none;
    padding: 13px 6vw;
    position: static;
  }

  .product-detail dl {
    margin: 23px 0;
  }
}
