/* -------------------------------------------------------------------------- */
/* Base styles                                                                */
/* -------------------------------------------------------------------------- */

:root {
  --ink: #261c1b;
  --rose: #b96f70;
  --blush: #f4e9e5;
  --cream: #fcf9f6;
  --line: #e4d4ce;
  --white: #fff;
}

* { 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.55; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; font-family: "Playfair Display", serif; font-weight: 500; line-height: .99; letter-spacing: -.055em; }

/* -------------------------------------------------------------------------- */
/* Header and navigation                                                      */
/* -------------------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 0 5vw; background: rgb(252 249 246 / 92%); border-bottom: 1px solid rgb(38 28 27 / 8%); backdrop-filter: blur(12px); }
.brand { display: block; width: 112px; }
.brand img { height: auto; aspect-ratio: 1; object-fit: contain; }
.site-navigation { display: flex; align-items: center; gap: 28px; font-size: .78rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.site-navigation > a:not(.nav-order) { position: relative; padding: 8px 0; }
.site-navigation > a:not(.nav-order)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--rose); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-navigation > a:hover::after, .site-navigation > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-order { padding: 12px 17px; color: var(--white); background: var(--ink); border-radius: 999px; transition: background .2s, transform .2s; }
.nav-order:hover { background: var(--rose); transform: translateY(-2px); }
.nav-order span { margin-left: 4px; }
.menu-toggle { display: none; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px; background: var(--ink); }

/* -------------------------------------------------------------------------- */
/* Shared layout and components                                               */
/* -------------------------------------------------------------------------- */

.section, .hero { max-width: 1300px; margin: auto; padding-right: 5vw; padding-left: 5vw; }
.eyebrow { margin: 0 0 16px; color: var(--rose); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.button { display: inline-flex; gap: 22px; align-items: center; padding: 15px 20px; border: 0; font: 700 .76rem "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.button-dark { color: #fff; background: var(--ink); transition: background .2s, transform .2s; }
.button-dark:hover { background: var(--rose); transform: translateY(-2px); }
.text-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 700; }
.text-link span { margin-left: 7px; color: var(--rose); }
.image-frame { position: relative; }
.hero-image::before, .story-image::before { position: absolute; z-index: -1; width: 100%; height: 100%; background: var(--blush); content: ""; transform: translate(18px, 18px); }

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; min-height: calc(100vh - 80px); padding-top: 6vw; padding-bottom: 6vw; }
h1 { max-width: 620px; font-size: clamp(3.6rem, 7.5vw, 7rem); }
h1 em { color: var(--rose); font-weight: 500; }
.hero-text { max-width: 460px; margin: 28px 0; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 24px; align-items: center; }
.hero-image { height: min(680px, 70vh); }
.image-note { position: absolute; right: -28px; bottom: 30px; padding: 16px 19px; background: #fff; box-shadow: 0 8px 30px rgb(38 28 27 / 10%); font-family: "Playfair Display", serif; font-style: italic; line-height: 1.1; }
.image-note span { font-family: "DM Sans", sans-serif; font-size: .65rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

/* -------------------------------------------------------------------------- */
/* Creations and story                                                        */
/* -------------------------------------------------------------------------- */

.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10vw; padding-top: 130px; padding-bottom: 70px; }
.intro h2, .story h2, .gallery h2, .order h2 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
.intro > p { margin: 30px 0 0; font-size: 1.08rem; }
.creation-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; padding-bottom: 130px; }
.creation-card { position: relative; min-height: 430px; overflow: hidden; background: #dac4bf; }
.creation-card.card-tall { min-height: 610px; }
.creation-card img { transition: transform .5s ease; }
.creation-card:hover img { transform: scale(1.045); }
.card-content { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 50px 21px 21px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 78%)); }
.card-title { font-family: "Playfair Display", serif; font-size: 1.6rem; line-height: 1.08; }
.instagram-link { display: inline-flex; gap: 7px; align-items: center; padding: 8px 11px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 999px; background: rgb(38 28 27 / 35%); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s; }
.creation-card:hover .instagram-link { color: var(--ink); background: #fff; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; max-width: none; padding-top: 100px; padding-bottom: 100px; background: var(--blush); }
.story-image { height: 580px; }
.story-copy { max-width: 500px; }
.story-copy > p:not(.eyebrow) { margin: 25px 0; }

/* -------------------------------------------------------------------------- */
/* Gallery, form and footer                                                   */
/* -------------------------------------------------------------------------- */

.gallery { padding-top: 130px; padding-bottom: 130px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 45px; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery-grid a { height: 300px; overflow: hidden; }
.gallery-grid img { transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.order { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; padding-top: 115px; padding-bottom: 115px; color: #fff; background: var(--ink); }
.order .eyebrow { color: #e4a6a2; }
.order h2 { margin-bottom: 25px; }
.order > div > p:not(.eyebrow) { max-width: 400px; color: #dfd3d0; }
.order-form { display: grid; gap: 17px; }
.order-form label { display: grid; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.order-form input, .order-form select, .order-form textarea { width: 100%; padding: 12px 0; color: #fff; background: transparent; border: 0; border-bottom: 1px solid #756562; outline: 0; font: 400 1rem "DM Sans", sans-serif; }
.order-form select option { color: var(--ink); }
.order-form .button { justify-self: start; margin-top: 8px; color: var(--ink); background: #fff; }
.order-form .button:hover { color: #fff; background: var(--rose); }
.form-message { min-height: 1.5em; margin: 0; color: #e4a6a2; font-size: .85rem; }
.form-note { margin: 0; color: #bcaeaa; font-size: .72rem; }

/* Hidden spam-trap field. It must stay in the HTML for Netlify Forms. */
.honeypot-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; padding: 35px 5vw; font-size: .78rem; }
.site-footer p { color: #6d5a56; }
.site-footer div { display: flex; justify-content: end; gap: 18px; font-weight: 700; }
.site-footer div a:hover { color: var(--rose); }

/* -------------------------------------------------------------------------- */
/* Responsive layout                                                          */
/* -------------------------------------------------------------------------- */

@media (max-width: 800px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-navigation { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 18px 5vw 25px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .site-navigation.open { display: flex; }
  .site-navigation > a:not(.nav-order) { padding: 13px 0; }
  .nav-order { margin-top: 8px; text-align: center; }
  .hero, .intro, .story, .order { grid-template-columns: 1fr; }
  .hero { gap: 45px; min-height: auto; padding-top: 70px; }
  .hero-image { height: 520px; }
  .intro { gap: 15px; padding-top: 85px; padding-bottom: 45px; }
  .creation-grid { grid-template-columns: 1fr; padding-bottom: 85px; }
  .creation-card, .creation-card.card-tall { min-height: 440px; }
  .story { gap: 50px; padding-top: 75px; padding-bottom: 75px; }
  .story-image { height: 440px; }
  .gallery { padding-top: 85px; padding-bottom: 85px; }
  .gallery-heading { display: block; }
  .gallery-heading h2 { margin-top: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid a { height: 220px; }
  .order { gap: 45px; padding-top: 75px; padding-bottom: 75px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer div { justify-content: start; }
  .site-footer p { margin: 0; }
}

@media (max-width: 430px) {
  h1 { font-size: 3.25rem; }
  .hero-actions { flex-wrap: wrap; gap: 16px; }
  .hero-image { height: 420px; }
  .image-note { right: 10px; }
  .gallery-grid a { height: 165px; }
  .card-title { font-size: 1.4rem; }
}
