@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* 1. Theme tokens: change these colours to rebrand the whole site. */
:root {
  --page: #f7f9ff;
  --surface: #ffffff;
  --ink: #14213e;
  --muted: #687b99;
  --blue: #2959ec;
  --blue-dark: #1644d0;
  --line: #dce5f4;
  --radius: 18px;
  --shadow: 0 16px 50px #4b68a312;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    14px/1.7 "Manrope",
    "Segoe UI",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #75a0ff;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.shell {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.blue-text {
  color: var(--blue);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #536fa8;
}
.gradient-text {
  color: var(--blue);
  background: linear-gradient(110deg, #087ce7, #4b42e4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 7px 18px #2959ec24;
}
.button-primary:hover:not(:disabled) {
  background: var(--blue-dark);
  box-shadow: 0 9px 24px #2959ec35;
}
.button-secondary {
  background: white;
  color: #345fc4;
  border-color: #c7d6f6;
}
.button-white {
  background: white;
  color: var(--blue);
}
.full-width {
  width: 100%;
  justify-content: space-between;
}
.text-link,
.link-button {
  color: #325bca;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.link-button {
  background: none;
  border: 0;
  padding: 0;
}
[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}

/* 2. Header: a solid fallback keeps the buttons readable without backdrop-filter. */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 20px;
  left: 50%;
  width: min(1280px, calc(100% - 96px));
  height: 50px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.1;
  white-space: nowrap;
}
.brand > span {
  color: var(--blue);
  font-size: 31px;
  font-weight: 400;
}
.brand > img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.header-caption {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #4b6391;
  background: #ffffffba;
  border: 1px solid #ffffffb0;
  padding: 10px 14px;
  border-radius: 24px;
}
.brand sup {
  font-size: 8px;
  align-self: flex-start;
  margin-top: 3px;
  letter-spacing: 0;
}
.site-header .brand {
  pointer-events: auto;
  padding: 9px 14px;
  border-radius: 30px;
  background: #f7faffea;
  box-shadow: 0 3px 20px #4164a510;
}
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: #ffffffed;
  border: 1px solid #d6e1f8;
  box-shadow: 0 6px 25px #42649f20;
  border-radius: 40px;
  pointer-events: auto;
  backdrop-filter: blur(16px);
}
.main-nav a {
  display: block;
  padding: 11px 23px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #435c86;
  line-height: 1.5;
  white-space: nowrap;
}
.main-nav a:hover {
  background: #ebf1ff;
  color: var(--blue);
}
.main-nav a[aria-current="page"] {
  background: var(--blue);
  color: white;
}
.menu-toggle {
  display: none;
  pointer-events: auto;
  border: 1px solid #dce5f6;
  border-radius: 10px;
  background: white;
  color: #294a85;
  padding: 7px 13px;
  font-size: 22px;
}

/* 3. Hero: the original artwork stays static, without zoom or scene animation. */
.hero {
  height: 100svh;
  min-height: 580px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eaf1ff;
}
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    #f1f6ffec 0%,
    #eef4ffb5 30%,
    #dce9ff20 60%
  );
}

.hero-content {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: 49%;
  padding-bottom: 30px;
  position: relative;
  z-index: 2;
}
.kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 7px 12px;
  margin: 0 0 22px;
  border-radius: 30px;
  border: 1px solid white;
  background: #ffffffba;
  color: #4b6493;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.kicker span {
  color: var(--blue);
  font-size: 13px;
}
.hero h1 {
  font-size: clamp(48px, 4.8vw, 70px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -4px;
  margin: 0 0 25px;
}
.hero-description {
  font-size: 13px;
  color: #52698e;
  line-height: 1.9;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}
.how-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #415c88;
  font-size: 11px;
  font-weight: 600;
}
.how-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #bcd0f2;
  border-radius: 50%;
  background: #ffffffa8;
  font-size: 17px;
}
.scene-note {
  position: absolute;
  right: 0;
  top: 25%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #ffffffbd;
  border: 1px solid #fff;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.scene-note > span {
  display: grid;
  place-items: center;
  background: var(--blue);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: white;
  font-size: 22px;
}
.scene-note strong {
  display: block;
  font-size: 11px;
}
.scene-note small {
  display: block;
  color: #7890b2;
  font-size: 9px;
  margin-top: 4px;
}
.hero-features {
  display: flex;
  gap: 25px;
  position: absolute;
  left: 0;
  bottom: 28px;
}
.hero-features p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
.hero-features p > span:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #ffffffa6;
  border: 1px solid white;
  border-radius: 9px;
  color: #5073bb;
  font-size: 18px;
}
.hero-features strong {
  display: block;
  font-size: 9px;
}
.hero-features small {
  display: block;
  color: #7c91b0;
  font-size: 8px;
  margin-top: 3px;
}

/* 4. Home page sections and continuous marquee. */
.ticker {
  overflow: hidden;
  background: white;
  border-block: 1px solid var(--line);
  padding-block: 17px;
  color: #6d83ac;
  font-size: 13px;
  letter-spacing: 1px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker-group {
  display: flex;
  flex: 0 0 auto;
  min-width: 100vw;
  width: max-content;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  padding-right: 40px;
}
.ticker-group b {
  color: var(--blue);
  font-weight: 400;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.section {
  padding-top: 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 35px;
}
h2 {
  font-weight: 500;
  letter-spacing: -1.6px;
  font-size: 39px;
  line-height: 1.2;
  margin: 15px 0 0;
}
.section-heading > p {
  color: var(--muted);
  font-size: 12px;
}

/* Photo-to-keepsake showcase. The supplied image stays intact at its natural ratio. */
.keepsakes-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 32px;
}
.keepsakes h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -1.8px;
  line-height: 1.14;
}
.keepsakes-intro {
  max-width: 355px;
  justify-self: end;
}
.keepsakes-intro > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 16px;
}
.keepsakes-intro .text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.keepsakes-showcase {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 55px #1836650d;
}
.keepsakes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 51px;
  padding: 14px 26px;
  color: #6e82a7;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.keepsakes-toolbar > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.keepsakes-toolbar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.keepsakes-toolbar b {
  margin-inline: 5px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1;
}
.keepsakes-showcase > img {
  width: 100%;
  height: auto;
}
.keepsakes-showcase figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 27px 20px;
}
.keepsake-category {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 14px;
}
.keepsake-category + .keepsake-category {
  border-left: 1px solid var(--line);
}
.keepsake-symbol {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}
.keepsake-category h3 {
  margin: 0 0 3px;
  font-size: 13px;
  letter-spacing: -0.2px;
}
.keepsake-category p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.keepsakes-note {
  margin: 13px 5px 0;
  color: #7b8ca9;
  font-size: 9px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 25px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.step:hover {
  box-shadow: var(--shadow);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #edf2ff;
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 28px;
}
.step > small {
  position: absolute;
  top: 32px;
  right: 25px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #8598b8;
}
h3 {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 12px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.gallery-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: right center;
}
.gallery-card > div {
  padding: 24px 28px;
}
.gallery-card small {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #7c91b1;
}
.gallery-card h3 {
  font-size: 24px;
  margin: 7px 0;
}
.gallery-card p {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.relief-card img {
  background: #acb99e;
  object-fit: contain;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding-bottom: 70px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 21px 0;
  font-size: 13px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  color: var(--blue);
}
.faq details p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 22px;
}
.closing {
  overflow: hidden;
  position: relative;
  background: linear-gradient(110deg, #254bd8, #5472ed);
  border-radius: 20px;
  padding: 46px 50px;
  margin-bottom: 65px;
  color: white;
}
.closing .eyebrow {
  color: #cedbff;
}
.closing h2 {
  font-size: 46px;
  margin-bottom: 25px;
}
.closing > span {
  position: absolute;
  right: 50px;
  top: -25px;
  font-size: 260px;
  line-height: 1.4;
  color: #ffffff13;
  pointer-events: none;
}

/* 5. Shared form controls. Frontend checks improve feedback; PHP validates again. */
.inner-page {
  padding-top: 125px;
  padding-bottom: 60px;
  min-height: calc(100vh - 150px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 35px;
}
.page-heading h1 {
  margin: 12px 0 8px;
  font-size: 45px;
  letter-spacing: -2px;
  line-height: 1.2;
  font-weight: 500;
}
.page-heading > div > p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.badge {
  border: 1px solid #d1dcf5;
  border-radius: 30px;
  background: #eef3ff;
  color: #5878b8;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 6px 11px;
  white-space: nowrap;
}
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #4f6995;
  margin-bottom: 9px;
}
input:not([type="checkbox"]):not([type="range"]):not([type="file"]),
select,
textarea {
  width: 100%;
  display: block;
  padding: 12px 13px;
  border: 1px solid #d6e1f3;
  border-radius: 7px;
  background: #f8faff;
  color: #38547e;
  font-size: 12px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
  min-height: 125px;
}
::placeholder {
  color: #8c9bb5;
  opacity: 1;
}
.field-help {
  color: #7a8ca8;
  font-size: 10px;
  line-height: 1.9;
  margin: 10px 0 18px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #6c80a3;
  font-size: 10px;
  line-height: 1.8;
}
.checkbox-label input {
  margin: 5px 0 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.consent-box {
  padding: 13px;
  background: #f3f7ff;
  border: 1px solid #dfe8fa;
  border-radius: 8px;
  margin: 16px 0 22px;
}
.status {
  font-size: 11px;
  line-height: 1.8;
  color: #4876b3;
  overflow-wrap: anywhere;
}
.status.error {
  color: #b34354;
}
.privacy-note {
  color: #8395b2;
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

/* 6. Upload panel and 3D viewport. */
.studio-layout {
  display: grid;
  grid-template-columns: 345px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* A single customer journey, with colour included rather than paid add-on choices. */
.studio-journey {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: -14px 0 24px;
  padding: 0;
  font-size: 11px;
  color: #536987;
}
.studio-journey li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-journey li > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: var(--blue);
  background: #e9efff;
  font-size: 9px;
  font-weight: 800;
}
.generation-choice {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #d9e4ff;
  background: linear-gradient(135deg, #f0f5ff, #fafbff);
  border-radius: 14px;
}
.generation-choice-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.generation-choice strong,
.generation-choice small {
  display: block;
}
.generation-choice strong {
  font-size: 12px;
  font-weight: 800;
}
.generation-choice small {
  font-size: 9px;
  color: #61799e;
  margin-top: 2px;
}
.generation-choice p {
  font-size: 10px;
  line-height: 1.8;
  color: #586e91;
  margin: 12px 0 0;
}
.colour-orbit {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: conic-gradient(
    from 20deg,
    #4763f6,
    #a96bf0,
    #f19c86,
    #6eb6e7,
    #4763f6
  );
  box-shadow: inset 0 0 12px #ffffff5c;
  color: white;
  font-size: 27px;
}
.choice-check {
  margin-left: auto;
  color: var(--blue);
  font-size: 16px;
}
#resume-preview {
  margin-top: 12px;
  font-size: 10px;
}
.inline-info,
.footer-info {
  background: transparent;
  border: 0;
  padding: 0;
  color: #4568a3;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-info {
  font-size: 11px;
}
.photo-info-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 100px #152b5b35;
}
.photo-info-dialog::backdrop {
  background: #14213e75;
  backdrop-filter: blur(5px);
}
.photo-info-dialog h2 {
  font-size: 36px;
  line-height: 1.15;
  margin: 18px 0 24px;
}
.photo-info-dialog > p:not(.eyebrow) {
  color: #536987;
  font-size: 12px;
  line-height: 1.9;
}
.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f5f8ff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.dialog-note {
  padding: 16px;
  margin: 20px 0;
  background: #f1f5ff;
  border-radius: 12px;
  color: #4c6594;
  font-size: 11px;
  line-height: 1.9;
}
.noscript-note {
  padding: 100px 24px 0;
  text-align: center;
  color: #84453e;
}
.upload-panel {
  background: white;
  padding: 25px;
  border-right: 1px solid var(--line);
}
.upload-panel h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
  margin: 0 0 23px;
}
.upload-panel h2 > span {
  font-size: 11px;
  margin-right: 9px;
}
.filepond--root {
  font-family: inherit;
  font-size: 12px;
}
.filepond--panel-root {
  background: #eff4ff;
  border-radius: 10px;
  border: 1px dashed #bccff2;
}
.filepond--drop-label {
  color: #5b76a4;
  min-height: 120px;
}
.filepond--credits {
  display: none;
}
.photo-preview {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  background: #eff4ff;
  border-radius: 8px;
  margin-top: 10px;
}
.file-meta {
  color: #899ab5;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.sample-line {
  font-size: 10px;
  color: #8c9ab2;
  margin: 17px 0 25px;
}
.sample-line .link-button {
  font-size: 10px;
}
.range-heading,
.range-ends {
  display: flex;
  justify-content: space-between;
}
.range-heading {
  font-size: 11px;
  color: #59729a;
  margin-top: 18px;
}
.range-heading output {
  color: var(--blue);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}
.range-ends {
  color: #8a9bbb;
  font-size: 9px;
  margin-bottom: 22px;
}
.prepared-tools {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #6c83ac;
  font-size: 10px;
}
.prepared-tools summary {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  list-style: none;
  color: #496bb0;
  font-weight: 600;
}
.prepared-tools p {
  font-size: 10px;
  line-height: 1.8;
}
.prepared-tools label {
  display: block;
  margin: 12px 0 8px;
}
.prepared-tools input {
  width: 100%;
  font-size: 10px;
}
.prepared-tools input::file-selector-button {
  background: #eff4ff;
  border: 1px solid #c9d9f5;
  color: #4164ad;
  border-radius: 20px;
  padding: 8px 12px;
}
.photo-tips {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
}
.photo-tips strong {
  color: #55709c;
  font-size: 10px;
}
.photo-tips p {
  color: #8798b3;
  font-size: 10px;
  line-height: 1.8;
}
.preview-panel {
  background: #eef3fc;
  min-width: 0;
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 22px;
  background: #f7faff;
  border-bottom: 1px solid var(--line);
  color: #6b84ae;
  font-size: 8px;
  letter-spacing: 1px;
}
.preview-toolbar span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-toolbar i {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.viewer-wrap {
  height: 460px;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at center, white, #e5edfc);
}
model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
}
.viewport-grid {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 35%;
  bottom: 0;
  background-image:
    linear-gradient(#7d98c217 1px, transparent 1px),
    linear-gradient(90deg, #7d98c217 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(250px) rotateX(35deg);
  transform-origin: bottom;
}
.viewer-watermark {
  position: absolute;
  bottom: 18px;
  right: 22px;
  color: #7891c259;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.5px;
  pointer-events: none;
}
.viewer-watermark sup {
  font-size: 8px;
}
.viewer-watermark small {
  display: block;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 2px;
}
.viewer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 22px;
  border-block: 1px solid var(--line);
  background: #f7faff;
}
.viewer-controls > div {
  display: flex;
  gap: 7px;
}
.icon-button {
  border: 1px solid #cfddf3;
  border-radius: 6px;
  background: white;
  color: #5678bb;
  width: 33px;
  height: 32px;
  font-size: 17px;
}
.viewer-controls p {
  color: #7b91b2;
  font-size: 10px;
  margin: 0;
}
.preview-info {
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.preview-info .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.preview-info h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 10px 0 5px;
}
.preview-info p:last-child {
  color: #7b8fae;
  font-size: 11px;
  max-width: 365px;
}
.preview-info .button {
  white-space: nowrap;
  font-size: 10px;
  padding: 11px 16px;
  min-height: 42px;
}
.studio-footnote {
  font-size: 9px;
  color: #899cba;
  margin-top: 22px;
}
.processing-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #eff5fff2;
  color: #4566a5;
}
.processing-overlay strong {
  font-size: 15px;
  margin-top: 20px;
}
.processing-overlay p {
  max-width: 380px;
  font-size: 12px;
}
.processing-overlay small {
  font-size: 9px;
  color: #8396b4;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 2px solid #cedbf3;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.viewer-error {
  position: absolute;
  inset: 25%;
  padding: 20px;
  border-radius: 12px;
  background: #fffe;
  color: #b04c5a;
  font-size: 12px;
}
.viewer-wrap:fullscreen {
  width: 100vw;
  height: 100vh;
}

/* 7. Contact page. */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact-intro h1 {
  font-size: 63px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -3px;
  margin: 28px 0;
}
.contact-intro > p:not(.eyebrow) {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.contact-intro > img {
  margin-top: 30px;
  width: min(390px, 100%);
  border-radius: 12px;
}
.contact-note {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 390px;
  margin-top: 24px;
}
.contact-note > span {
  color: var(--blue);
  font-size: 34px;
}
.contact-note p {
  color: #7d90ae;
  font-size: 10px;
  line-height: 1.8;
}
.contact-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-panel h2 {
  font-size: 22px;
  letter-spacing: -0.8px;
  margin: 0;
}
.contact-panel > p {
  font-size: 11px;
  margin-bottom: 28px;
}
.contact-panel form > label,
.form-row > label {
  display: block;
  font-size: 11px;
  color: #526e97;
  margin-bottom: 20px;
}
.contact-panel label input:not([type="checkbox"]),
.contact-panel label textarea,
.contact-panel label select {
  margin-top: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-panel label small {
  font-size: 8px;
  color: #91a1bc;
  margin-left: 5px;
}
.contact-panel .checkbox-label {
  display: flex;
  font-size: 10px;
  color: #7a8ca9;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.approved-summary {
  border: 1px solid #c4d7fa;
  border-radius: 7px;
  padding: 12px;
  font-size: 11px;
  color: #5a7bb4;
  background: #f0f6ff;
  overflow-wrap: anywhere;
  margin-bottom: 25px;
}
.enquiry-result > p {
  color: #758aaa;
  font-size: 12px;
}
.enquiry-result pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    11px/1.9 "Manrope",
    Arial,
    sans-serif;
  color: #617ca6;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #eaf2ff;
  color: #476bd0;
  border-radius: 50%;
  margin-bottom: 22px;
}

/* 8. Footer and responsive adjustments. */
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 28px;
}
.site-footer > p,
.site-footer nav {
  color: #7488a7;
  font-size: 11px;
}
.site-footer nav {
  display: flex;
  gap: 25px;
}
.site-footer > small {
  width: 100%;
  color: #96a5bd;
  font-size: 9px;
}
@media (max-width: 1100px) {
  .header-caption {
    display: none;
  }
  .shell,
  .site-header {
    width: calc(100% - 64px);
  }
  .hero h1 {
    font-size: 60px;
    letter-spacing: -3.2px;
  }
  .scene-note {
    padding: 13px;
    top: 20%;
  }
  .scene-note small {
    font-size: 8px;
  }
  .hero-features {
    gap: 17px;
  }
  .hero-features strong {
    font-size: 8px;
  }
  .hero-features small {
    font-size: 7px;
  }
  .studio-layout {
    grid-template-columns: 310px minmax(0, 1fr);
  }
  .upload-panel {
    padding: 22px;
  }
  .preview-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .viewer-wrap {
    height: 420px;
  }
  .contact-layout {
    gap: 45px;
  }
  .contact-intro h1 {
    font-size: 55px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (min-width: 768px) and (max-height: 740px) {
  .hero {
    min-height: 500px;
  }
  .hero h1 {
    font-size: 54px;
    margin-bottom: 18px;
  }
  .kicker {
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.7;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero-copy {
    padding-bottom: 20px;
  }
  .hero-features {
    bottom: 20px;
  }
}
@media (max-width: 767px) {
  .studio-journey {
    gap: 8px;
    align-items: flex-start;
    margin: -8px 0 22px;
  }
  .studio-journey li {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    font-size: 9px;
    gap: 7px;
  }
  .photo-info-dialog {
    padding: 26px;
  }
  .keepsakes-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }
  .keepsakes h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .keepsakes-intro {
    justify-self: start;
    max-width: 360px;
  }
  .keepsakes-intro > p {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .keepsakes-showcase {
    border-radius: 15px;
  }
  .keepsakes-toolbar {
    min-height: 40px;
    padding: 11px 15px;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .keepsakes-toolbar > span:last-child {
    display: none;
  }
  .keepsakes-showcase figcaption {
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }
  .keepsake-category {
    justify-content: flex-start;
    padding: 15px 0;
    gap: 12px;
  }
  .keepsake-category + .keepsake-category {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .keepsake-symbol {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
  .keepsake-category h3 {
    font-size: 12px;
  }
  .keepsakes-note {
    font-size: 8px;
    line-height: 1.8;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    top: 12px;
    width: calc(100% - 32px);
    height: 45px;
  }
  .site-header .brand {
    font-size: 26px;
    padding: 8px 10px;
  }
  .brand > span {
    font-size: 27px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    left: auto;
    right: 0;
    top: 57px;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    min-width: 180px;
    background: white;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 20px;
    font-size: 13px;
  }
  .hero {
    min-height: 690px;
    max-height: 940px;
  }
  .hero-content {
    align-items: flex-start;
  }
  .hero-copy {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 0;
  }
  .kicker {
    font-size: 6px;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  .hero h1 {
    font-size: clamp(43px, 11vw, 60px);
    letter-spacing: -2.8px;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 11px;
    line-height: 1.8;
  }
  .hero-actions {
    gap: 17px;
    margin-top: 20px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding-inline: 17px;
    min-height: 44px;
    gap: 15px;
  }
  .how-link {
    font-size: 10px;
    gap: 7px;
  }
  .how-link span {
    width: 28px;
    height: 28px;
  }

  .hero-poster {
    inset: auto 0 0 0;
    height: 55%;
    object-position: 87% center;
    mask-image: linear-gradient(transparent, #000 15%);
  }
  .hero-sky {
    background: linear-gradient(#f0f6ff 0%, #f0f6ff 45%, transparent 70%);
  }
  .hero-features,
  .scene-note {
    display: none;
  }

  .ticker {
    padding-block: 12px;
    font-size: 11px;
  }
  .ticker-group {
    gap: 27px;
    padding-right: 27px;
  }
  .section {
    padding-top: 60px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -1.1px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .step {
    padding: 22px 22px 22px 80px;
  }
  .step-icon {
    position: absolute;
    left: 22px;
    top: 25px;
    width: 39px;
    height: 39px;
  }
  .step > small {
    position: static;
    font-size: 7px;
  }
  .step h3 {
    font-size: 17px;
    margin-top: 7px;
  }
  .step p {
    font-size: 11px;
    margin-bottom: 0;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-card img {
    height: 240px;
  }
  .gallery-card > div {
    padding: 23px;
  }
  .gallery-card h3 {
    font-size: 22px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 50px;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq summary {
    font-size: 12px;
  }
  .closing {
    padding: 30px 24px;
    margin-bottom: 40px;
  }
  .closing h2 {
    font-size: 34px;
    max-width: 250px;
  }
  .closing > span {
    font-size: 190px;
    right: -30px;
    top: 30px;
  }
  .inner-page {
    padding-top: 100px;
    padding-bottom: 35px;
  }
  .page-heading {
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .page-heading > div > p:last-child {
    font-size: 11px;
    max-width: 250px;
  }
  .badge {
    font-size: 6px;
    letter-spacing: 0.4px;
    padding: 5px 7px;
    margin-top: 6px;
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .upload-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .viewer-wrap {
    height: 350px;
  }
  .preview-toolbar {
    font-size: 7px;
    padding-inline: 16px;
  }
  .viewer-controls {
    padding-inline: 16px;
  }
  .viewer-controls p {
    font-size: 9px;
  }
  .preview-info {
    padding: 22px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-intro h1 {
    font-size: 50px;
    letter-spacing: -2.5px;
  }
  .contact-intro > img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: right;
  }
  .contact-panel {
    padding: 24px;
  }
  .contact-panel h2 {
    font-size: 21px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .site-footer {
    gap: 18px;
  }
  .site-footer .brand {
    font-size: 27px;
  }
  .site-footer nav {
    width: 100%;
    font-size: 10px;
  }
  .site-footer > p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
