* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8f6f0;
  color: #292822;
  font-family: Georgia,serif;
}

header {
  padding: 25px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dcd7ce;
  flex-wrap: wrap;
}

.logo {
  font-size: 28px;
  font-style: italic;
  letter-spacing: -1px;
}

.logo small {
  display: block;
  font: 9px Arial;
  letter-spacing: 2px;
  margin-top: 5px;
}

nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

button {
  cursor: pointer;
  color: inherit;
  font-family: Arial,sans-serif;
}

nav button {
  border: 0;
  background: none;
  padding: 7px 0;
  font-size: 13px;
}

nav button.active {
  border-bottom: 1px solid;
}

main {
  max-width: 1500px;
  margin: auto;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 510px;
}

.intro {
  padding: 55px 10%;
  align-self: center;
}

.eyebrow {
  font: 10px Arial;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(36px,4.5vw,65px);
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.06;
  margin: 0 0 28px;
}

h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.7px;
  margin: 0 0 16px;
}

p {
  font: 15px/1.8 Arial;
  color: #655f55;
  max-width: 500px;
}

.cta {
  background: #272722;
  color: #fff;
  border: 0;
  font: 13px Arial;
  padding: 18px 27px;
  margin-top: 16px;
}

.visual {
  background: #bda589;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.portrait img {
  object-fit: contain;
  background: white;
}

.process {
  padding: 48px 6% 60px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  text-align: left;
  margin-top: 34px;
}

.step {
  border-top: 1px solid #c7c0b4;
  padding-top: 18px;
}

.num {
  font-size: 13px;
  color: #817565;
  font-style: italic;
}

h3 {
  font-weight: 400;
  font-size: 25px;
  margin: 14px 0 8px;
}

.step p {
  margin: 0;
  font-size: 14px;
}

.note {
  text-align: center;
  background: #eae5db;
  padding: 45px 8%;
  font-style: italic;
  font-size: 29px;
  line-height: 1.45;
}

.note p {
  font: italic 22px/1.55 Georgia;
  margin: 18px auto 0;
  max-width: 800px;
  color: #292822;
}

footer {
  text-align: center;
  font: 11px Arial;
  letter-spacing: 1px;
  border-top: 1px solid #ddd5c8;
  padding: 24px;
}

.shophead {
  text-align: center;
  padding: 50px 8% 20px;
}

.shophead p {
  margin: auto;
}

.products {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  padding: 25px 6% 65px;
}

.productart {
  background: #e4ddd0;
  padding: 12%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.productart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  box-shadow: 3px 6px 15px #665e4a35;
}

.products h3 {
  font-size: 21px;
}

.products p {
  margin: 0;
  font-size: 13px;
}

.contact {
  max-width: 620px;
  padding: 65px 7%;
  margin: auto;
}

label {
  display: block;
  font: 13px Arial;
  margin: 22px 0 8px;
}

input,textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #cfc8ba;
  background: transparent;
  font: 14px Arial;
  border-radius: 0;
}

textarea {
  height: 120px;
  resize: vertical;
}

.small {
  font-size: 11px;
  color: #817565;
}

.story {
  padding: 55px 6% 70px;
  text-align: center;
}

.story>p {
  margin: 0 auto 35px;
}

.storygrid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.flip {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  background: none;
  perspective: 1100px;
  padding: 0;
}

.inner {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .6s;
}

.flip[aria-pressed=true] .inner {
  transform: rotateY(180deg);
}

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back {
  transform: rotateY(180deg);
  background: #eae5db;
  padding: 9%;
  flex-direction: column;
  font: italic 19px/1.5 Georgia;
}

.back small {
  font: 10px Arial;
  letter-spacing: 1px;
  margin-top: 15px;
}

.year {
  font: italic 16px Georgia;
  margin-top: 12px;
}

.turn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #f8f6f0e8;
  padding: 6px 10px;
  font: 11px Arial;
}

.storyitem {
  text-align: center;
}

.story .small {
  margin: 30px auto 0;
}

@media(max-width:700px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .intro {
    padding: 38px 7%;
  }
  .visual {
    min-height: 390px;
  }
  .steps,.products {
    grid-template-columns: 1fr;
  }
  .storygrid {
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }
  .back {
    font-size: 14px;
  }
  nav {
    gap: 15px;
  }
  .note {
    font-size: 24px;
  }
  .note p {
    font-size: 19px;
  }
  .productart {
    max-height: 480px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .inner {
    transition: none;
  }
}

main {
  max-width: none;
}

.hero-full {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(850px, calc(100svh - 90px));
  isolation: isolate;
  overflow: hidden;
}

.hero-full .visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 0;
}

.hero-full .visual img {
  object-position: center;
}

.hero-full:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(22,19,15,.78) 0%,rgba(22,19,15,.61) 32%,rgba(22,19,15,.16) 65%,rgba(22,19,15,.03) 100%);
}

.hero-full .intro {
  padding: 72px 7%;
  width: min(650px,58%);
  color: #fffdf6;
}

.hero-full h1 {
  font-size: clamp(46px,6vw,88px);
  line-height: 1.02;
  letter-spacing: -2.5px;
}

.hero-full p {
  color: #fffdf6;
  font-size: 16px;
  max-width: 435px;
}

.hero-full .cta {
  background: #f8f6f0;
  color: #292822;
}

.hero-full .eyebrow {
  color: #fffdf6;
}

.statement {
  text-align: center;
  padding: 65px 8%;
  background: #eae5db;
}

.statement h2 {
  font-style: italic;
  max-width: 850px;
  margin: 0 auto 18px;
  font-size: clamp(28px,3.3vw,43px);
  line-height: 1.25;
}

.statement p {
  margin: 0 auto;
  max-width: 680px;
}

.process,.story,.products {
  max-width: 1500px;
  margin: auto;
}

@media(max-width:700px) {
  .hero-full {
    min-height: 650px;
    align-items: flex-end;
  }
  .hero-full .intro {
    width: 100%;
    padding: 70px 7% 50px;
  }
  .hero-full .visual img {
    object-position: 65% center;
  }
  .hero-full:after {
    background: linear-gradient(0deg,rgba(22,19,15,.88),rgba(22,19,15,.58) 47%,rgba(22,19,15,.06) 100%);
  }
  .hero-full h1 {
    font-size: clamp(42px,10vw,65px);
  }
  .statement {
    padding: 42px 7%;
  }
}

.hero-full {
  justify-content: center;
  align-items: center;
  min-height: calc(100svh - 90px);
}

.hero-full:after {
  background: rgba(22,19,15,.50);
}

.hero-full .intro {
  width: 100%;
  max-width: 1450px;
  padding: 70px 7%;
  text-align: center;
}

.hero-full h1 {
  font-size: clamp(38px,5vw,80px);
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -1.5px;
  max-width: 1250px;
  margin: 0 auto 32px;
}

.hero-full p {
  font-size: clamp(16px,1.5vw,22px);
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-full .visual img {
  object-position: center;
}

.hero-full .cta {
  margin-top: 20px;
}

@media(max-width:700px) {
  .hero-full {
    min-height: calc(100svh - 110px);
    align-items: center;
  }
  .hero-full .intro {
    padding: 55px 6%;
  }
  .hero-full h1 {
    font-size: clamp(34px,7.5vw,50px);
    letter-spacing: -.7px;
  }
  .hero-full:after {
    background: rgba(22,19,15,.58);
  }
}

.hero-full .intro {
  padding: 48px 7%;
}

.hero-full h1 {
  margin-bottom: 24px;
}

.hero-full p {
  max-width: 850px;
  margin-bottom: 15px;
  font-size: clamp(16px,1.35vw,20px);
  line-height: 1.65;
}

.hero-full .occasion {
  font-family: Georgia,serif;
  font-style: italic;
  margin-top: 24px;
  max-width: 850px;
}

.hero-full .cta {
  margin-top: 12px;
}

.hero-full:after {
  background: rgba(22,19,15,.56);
}

@media(max-width:700px) {
  .hero-full .intro {
    padding: 42px 7%;
  }
  .hero-full h1 {
    margin-bottom: 20px;
  }
  .hero-full p {
    font-size: 15px;
    line-height: 1.6;
  }
  .hero-full .occasion {
    margin-top: 18px;
  }
}

.step-emoji {
  font-size: .72em;
  vertical-align: 0.08em;
  margin-right: 3px;
}

.timeline-label {
  padding: 10%;
  color: #655f55;
  font: italic clamp(16px,2.4vw,25px)/1.25 Georgia;
}

.front {
  background: #eae5db;
}

.sample-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f8f6f0e8;
  padding: 6px 9px;
  font: 10px Arial;
}

.story-desc {
  display: block;
  margin-top: 12px;
  font: 14px/1.5 Arial;
}

.back {
  overflow-wrap: anywhere;
}

@media(max-width:700px) {
  .story-desc {
    font-size: 11px;
  }
}

.logo img {
  width: 68px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.print-open {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
}

.print-open:hover .productart {
  background: #dcd2c2;
}

.print-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.print-meta h3 {
  font-family: Georgia,serif;
  line-height: 1.2;
}

.print-meta span {
  font-size: 14px;
  white-space: nowrap;
}

.print-link {
  font-size: 12px;
  color: #655f55;
}

.shop-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px auto 0;
  max-width: 1300px;
  font: 12px Arial;
  color: #655f55;
  border-bottom: 1px solid #dcd7ce;
  padding-bottom: 12px;
}

.shop-tools button {
  background: none;
  border: 0;
  text-decoration: underline;
  font-size: 13px;
}

.shop-disclaimer {
  text-align: center;
  margin: 0 auto 35px;
  font-size: 11px;
}

.print-card .productart {
  transition: background .2s;
}

dialog {
  border: 1px solid #dcd7ce;
  background: #f8f6f0;
  color: #292822;
  padding: 32px;
  width: min(940px,94vw);
  max-height: 90vh;
  overflow: auto;
}

dialog::backdrop {
  background: #29251f99;
}

.close-dialog {
  position: absolute;
  right: 12px;
  top: 9px;
  background: none;
  border: 0;
  font-size: 28px;
  z-index: 1;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.detail-grid>img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: white;
}

.detail-info h2 {
  font-size: 38px;
}

.detail-price {
  font-size: 20px;
  color: #292822;
}

.detail-info input {
  width: 80px;
}

.detail-info .cta {
  display: block;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #ddd5c8;
  font: 14px Arial;
}

.cart-row img {
  width: 55px;
  height: 75px;
  object-fit: contain;
  background: white;
}

.cart-row button {
  margin-left: auto;
  border: 0;
  background: none;
  text-decoration: underline;
}

.cart-row span {
  flex: 1;
}

#cart-total {
  font: 18px Georgia;
  margin-top: 22px;
}

#cart-dialog {
  max-width: 560px;
}

@media(max-width:700px) {
  .products {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
  }
  .print-meta {
    display: block;
  }
  .print-meta h3 {
    font-size: 18px;
  }
  .print-link {
    display: block;
    margin-top: 8px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid>img {
    max-height: 45vh;
  }
  .logo img {
    width: 55px;
    height: 43px;
  }
}

.languages {
  font: 12px Arial;
  white-space: nowrap;
}

.languages button {
  border: 0;
  background: none;
  padding: 7px 3px;
}

.languages button[aria-pressed=true] {
  border-bottom: 1px solid;
  font-weight: bold;
}

.examples,.faq {
  padding: 65px 6%;
  max-width: 1500px;
  margin: auto;
  text-align: center;
}

.examples {
  border-top: 1px solid #dcd7ce;
}

.center {
  margin: 0 auto 35px;
}

.examplegrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px;
  text-align: left;
}

.examplegrid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.examplegrid p {
  font-size: 14px;
}

.examplegrid .dedication {
  font: italic 20px/1.5 Georgia;
  color: #292822;
  border-top: 1px solid #c7c0b4;
  padding-top: 15px;
}

.gift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eae5db;
  align-items: center;
}

.gift img {
  width: 100%;
  height: auto;
  display: block;
}

.gift>div {
  padding: 8%;
}

.gift .small {
  font-size: 12px;
}

.faq {
  max-width: 850px;
}

.faq details {
  text-align: left;
  border-bottom: 1px solid #dcd7ce;
  padding: 19px 0;
}

.faq summary {
  cursor: pointer;
  font: 18px Georgia;
}

.faq p {
  max-width: none;
  margin-bottom: 0;
}

.finalcta {
  text-align: center;
  background: #eae5db;
  padding: 50px 6%;
}

.finalcta .cta {
  margin-top: 0;
}

@media(max-width:700px) {
  .examplegrid,.gift {
    grid-template-columns: 1fr;
  }
  .examples,.faq {
    padding: 42px 6%;
  }
  .examplegrid {
    gap: 35px;
  }
  .gift>div {
    padding: 35px 7%;
  }
}

.front .timeline-self-portrait {
  object-fit: contain;
  background: #fff;
}
