:root {
  --ink: #392c2e;
  --muted: #806e70;
  --cream: #fffaf7;
  --paper: #f8eee9;
  --blush: #df7f8c;
  --blush-dark: #b95f6d;
  --sky: #78c8e7;
  --sky-soft: #dff4fb;
  --line: rgba(57, 44, 46, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(82, 49, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand img,
.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
}

nav {
  display: flex;
  gap: 36px;
}

nav a,
.header-order {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

nav a {
  padding: 12px 0;
}

nav a:hover {
  color: var(--blush-dark);
}

.header-order {
  justify-self: end;
  color: var(--blush-dark);
  border-bottom: 1px solid currentColor;
}

.hero {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0 110px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blush-dark);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(4rem, 7vw, 7rem);
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--blush);
  font-weight: 600;
}

.hero-intro {
  max-width: 610px;
  margin: 34px 0 36px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--blush-dark);
}

.text-link {
  text-underline-offset: 5px;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-collage {
  height: 610px;
  position: relative;
}

.hero-main {
  position: absolute;
  top: 28px;
  right: 0;
  width: 65%;
  height: 515px;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-main img,
.hero-small img,
.contact-photo img {
  height: 100%;
  object-fit: cover;
}

.hero-small {
  position: absolute;
  left: 0;
  width: 33%;
  height: 230px;
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--cream);
}

.hero-small-top {
  top: 0;
}

.hero-small-bottom {
  bottom: 14px;
}

.hero-note {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 210px;
  padding: 18px 22px;
  background: var(--sky-soft);
  border-left: 3px solid var(--sky);
  transform: rotate(-2deg);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
}

.story {
  padding: 110px max(32px, calc((100% - 1376px) / 2));
  background: var(--paper);
  display: grid;
  grid-template-columns: 0.45fr 1.25fr 0.72fr;
  gap: 70px;
}

.story-label span,
.section-number {
  font-family: "Playfair Display", serif;
  color: var(--blush);
  font-size: 3rem;
}

.story-label p {
  margin-top: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.story h2,
.section-heading h2,
.order-guide h2,
.contact h2 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  letter-spacing: -0.035em;
}

.story-copy > p {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--muted);
}

blockquote {
  margin: 0;
  align-self: center;
  padding: 28px 0 28px 28px;
  color: var(--blush-dark);
  border-left: 1px solid var(--blush);
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.4;
}

.featured-note {
  width: min(950px, calc(100% - 64px));
  margin: 90px auto 0;
  padding: 30px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-note .eyebrow {
  margin-bottom: 10px;
}

.featured-note > p:last-child {
  margin: 0;
  color: var(--muted);
}

.catalogue {
  width: min(1376px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0 130px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.section-heading > p {
  width: 350px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-row {
  display: flex;
  gap: 10px;
  margin: 45px 0 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-button {
  padding: 9px 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}

.filter-button:hover,
.filter-button.active {
  color: var(--ink);
  border-color: var(--blush);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 68px;
}

.product-card {
  min-width: 0;
}

.product-image-link {
  display: block;
  height: 430px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.product-image-link img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}

.product-image-link:hover img {
  transform: scale(1.035);
}

.image-action {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 250, 247, 0.93);
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(5px);
  transition: 180ms ease;
}

.product-image-link:hover .image-action {
  opacity: 1;
  transform: none;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}

.product-meta h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.product-price {
  margin: 1px 0 0;
  flex: none;
  color: var(--blush-dark);
  font-weight: 600;
}

.product-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.product-card.is-hidden {
  display: none;
}

.order-guide {
  padding: 105px max(32px, calc((100% - 1376px) / 2));
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.22fr 0.9fr 1fr;
  gap: 60px;
}

.order-guide .section-number {
  color: var(--sky);
}

.order-guide .eyebrow {
  color: var(--sky);
}

.order-guide ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.order-guide li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.order-guide li span {
  color: var(--sky);
  font-size: 0.75rem;
}

.order-guide li p {
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.contact {
  width: min(1180px, calc(100% - 64px));
  margin: 130px auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 570px;
  box-shadow: var(--shadow);
}

.contact-photo {
  min-height: 570px;
}

.contact-card {
  padding: 75px;
  background: var(--paper);
}

.contact-card > p:not(.eyebrow) {
  color: var(--muted);
}

dl {
  margin: 35px 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

dd {
  margin: 0;
  font-weight: 500;
}

.contact-button {
  width: 100%;
}

footer {
  width: min(1376px, calc(100% - 64px));
  min-height: 170px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  align-items: center;
  gap: 30px;
  font-size: 0.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
footer p {
  color: var(--muted);
}

.footer-contact,
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact a,
.footer-socials a {
  width: fit-content;
  text-underline-offset: 4px;
}

.footer-socials {
  align-items: flex-end;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found {
  width: min(1180px, calc(100% - 64px));
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: stretch;
  box-shadow: var(--shadow);
}

.not-found-copy {
  padding: 70px;
  background: var(--paper);
}

.not-found-brand {
  margin-bottom: 90px;
}

.not-found-number {
  margin: 0 0 10px;
  color: var(--sky);
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  line-height: 1;
}

.not-found h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.not-found-copy > p:not(.eyebrow):not(.not-found-number) {
  max-width: 560px;
  margin: 28px 0 35px;
  color: var(--muted);
}

.not-found-photo {
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.not-found-photo img {
  height: 100%;
  object-fit: cover;
}

.not-found-photo span {
  position: absolute;
  right: 25px;
  bottom: 25px;
  padding: 12px 16px;
  background: rgba(255, 250, 247, 0.94);
  font-family: "Playfair Display", serif;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .story {
    grid-template-columns: 0.3fr 1.4fr;
  }

  .story blockquote {
    grid-column: 2;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-guide {
    grid-template-columns: 0.2fr 1fr;
  }

  .order-guide ol {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .catalogue,
  footer {
    width: min(100% - 36px, 1376px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 52px 0 70px;
    gap: 45px;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-collage {
    height: 500px;
  }

  .hero-main {
    width: 76%;
    height: 420px;
  }

  .hero-small {
    width: 38%;
    height: 180px;
    border-width: 6px;
  }

  .story {
    padding: 75px 24px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story blockquote {
    grid-column: auto;
  }

  .featured-note {
    width: calc(100% - 36px);
    padding: 25px 12px;
  }

  .catalogue {
    padding: 90px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-heading > p {
    width: auto;
  }

  .filter-row {
    overflow-x: auto;
    white-space: nowrap;
  }

  .product-grid {
    grid-template-columns: 1fr;
    row-gap: 55px;
  }

  .product-image-link {
    height: 430px;
  }

  .image-action {
    opacity: 1;
    transform: none;
  }

  .order-guide {
    padding: 75px 24px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .order-guide ol {
    grid-column: auto;
  }

  .contact {
    width: calc(100% - 36px);
    margin: 85px auto;
    grid-template-columns: 1fr;
  }

  .contact-photo {
    min-height: 390px;
  }

  .contact-card {
    padding: 48px 25px;
  }

  footer {
    padding: 25px 0;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-socials {
    align-items: flex-start;
  }

  .not-found {
    width: calc(100% - 36px);
    margin: 18px auto;
    grid-template-columns: 1fr;
  }

  .not-found-copy {
    padding: 45px 25px;
  }

  .not-found-brand {
    margin-bottom: 55px;
  }

  .not-found-photo {
    min-height: 420px;
  }
}
