:root {
  --navy: #072e5b;
  --navy-dark: #051d38;
  --blue: #0b66ad;
  --sky: #8dc7ef;
  --rose: #d88c94;
  --rose-dark: #a94f62;
  --blush: #fff3f4;
  --paper: #fffdfb;
  --ink: #1c2631;
  --muted: #67717c;
  --line: #e7dfe0;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(50, 36, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: 0; }
h1 { margin-bottom: 20px; font-size: 4.75rem; line-height: .98; }
h2 { margin-bottom: 16px; color: var(--navy-dark); font-size: 3rem; line-height: 1.08; }

.personal-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 78px; padding: 10px 5vw;
  background: rgba(255, 253, 251, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.personal-brand { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.brand-mark { width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: var(--blush); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(2.15); }
.personal-brand > span:last-child { display: grid; line-height: 1; }
.personal-brand strong { color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; }
.personal-brand small { margin-top: 6px; color: var(--rose-dark); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.personal-nav { display: flex; align-items: center; gap: 20px; font-size: .86rem; font-weight: 700; }
.personal-nav a:hover, .personal-nav button:hover { color: var(--rose-dark); }
.personal-nav button { padding: 0; border: 0; color: inherit; background: transparent; }
.personal-cta, .personal-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 700;
}
.personal-cta, .personal-button.primary { color: var(--white); background: var(--rose-dark); }
.personal-button.light { color: var(--navy-dark); background: var(--white); }
.personal-button.dark { color: var(--white); background: var(--navy-dark); }
.personal-button.full { width: 100%; }

.personal-hero { position: relative; display: flex; align-items: end; min-height: calc(100vh - 78px); overflow: hidden; color: var(--white); isolation: isolate; }
.personal-hero > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 67%; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5, 29, 56, .95) 0%, rgba(5, 29, 56, .74) 42%, rgba(5, 29, 56, .08) 74%); }
.personal-hero-copy { width: min(100%, 780px); padding: 100px 5vw 86px; }
.personal-hero-copy > p:not(.personal-eyebrow) { max-width: 650px; margin-bottom: 30px; color: #edf5fb; font-size: 1.22rem; line-height: 1.6; }
.personal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.personal-eyebrow { margin-bottom: 12px; color: var(--rose-dark); font-size: .76rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.personal-hero .personal-eyebrow, .process-section .personal-eyebrow { color: #ffc4cc; }

.personal-trust { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.personal-trust span { display: grid; gap: 4px; padding: 20px 5vw; color: var(--muted); border-right: 1px solid var(--line); font-size: .88rem; }
.personal-trust span:last-child { border-right: 0; }
.personal-trust strong { color: var(--navy); font-size: 1rem; }

.personal-section, .personal-story, .process-section, .delivery-section, .quote-section, .tracking-banner { padding: 88px 5vw; }
.personal-heading { max-width: 790px; margin-bottom: 38px; }
.personal-heading > p:last-child, .story-copy > p, .delivery-section p, .quote-copy > p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filters button, .catalog-refresh {
  min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 5px;
  color: var(--navy); background: var(--white); font-size: .84rem; font-weight: 700;
}
.catalog-filters button:hover, .catalog-filters button:focus-visible,
.catalog-refresh:hover, .catalog-refresh:focus-visible {
  border-color: var(--rose-dark); color: var(--rose-dark); outline: none;
}
.catalog-filters button.is-active { color: var(--white); border-color: var(--navy); background: var(--navy); }
.catalog-refresh { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.catalog-refresh span { font-size: 1.2rem; line-height: 1; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; min-height: 560px; }
.catalog-card { display: grid; grid-template-rows: 275px 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.catalog-card[hidden] { display: none; }
.catalog-card > img { width: 100%; height: 100%; object-fit: cover; background: #edf3f8; }
.catalog-card.catalog-art > img { object-fit: contain; padding: 18px; }
.catalog-card > div { display: grid; grid-template-rows: auto auto 1fr auto; align-items: start; padding: 22px; }
.catalog-card div > span { margin-bottom: 9px; color: var(--rose-dark); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.catalog-card h3 { margin-bottom: 10px; color: var(--navy-dark); font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; line-height: 1.15; }
.catalog-card p { margin-bottom: 18px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.catalog-card button { justify-self: start; padding: 0; border: 0; color: var(--rose-dark); background: transparent; font-size: .84rem; font-weight: 700; }
.catalog-card:hover { border-color: #dbc6ca; box-shadow: var(--shadow); }
.personal-story { background: var(--blush); }
.story-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.personal-text-link { display: inline-flex; gap: 12px; margin-top: 12px; color: var(--rose-dark); font-weight: 700; }

.gallery-section { background: var(--white); }
.personal-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.personal-gallery figure { display: grid; grid-template-rows: 250px minmax(64px, auto); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.work-image-button { display: block; width: 100%; height: 250px; padding: 14px; overflow: hidden; border: 0; background: #f3f6f9; cursor: zoom-in; }
.work-image-button:hover, .work-image-button:focus-visible { background: #e8f0f7; }
.work-image-button:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: -3px; }
.personal-gallery img { width: 100%; height: 100%; object-fit: contain; }
.personal-gallery figcaption { display: flex; align-items: center; padding: 14px 16px; color: var(--navy); background: var(--white); font-size: .88rem; font-weight: 700; line-height: 1.4; }

.process-section { color: var(--white); background: var(--navy-dark); }
.light-heading h2 { color: var(--white); }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 0; margin: 0; list-style: none; background: rgba(255, 255, 255, .16); }
.process-list li { min-height: 270px; padding: 28px; background: var(--navy-dark); }
.process-list li > span { display: block; margin-bottom: 38px; color: var(--sky); font-size: .82rem; font-weight: 700; }
.process-list strong { display: block; margin-bottom: 12px; font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; }
.process-list p { color: #c8d7e5; line-height: 1.6; }

.delivery-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 64px; align-items: start; background: #f2f7fb; }
.delivery-section > div { max-width: 720px; }
.delivery-section address { display: grid; gap: 7px; padding: 26px; border: 1px solid #d8e4ee; border-radius: 6px; color: var(--muted); background: var(--white); font-style: normal; }
.delivery-section address strong { margin-bottom: 8px; color: var(--navy); }

.quote-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(480px, 1fr); gap: 70px; align-items: start; }
.quote-copy { position: sticky; top: 118px; }
.quote-copy > a { color: var(--rose-dark); font-weight: 700; }
.quote-form { display: grid; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quote-form label, .personal-modal-panel label { display: grid; gap: 7px; color: var(--navy-dark); font-size: .86rem; font-weight: 700; }
.quote-form input, .quote-form textarea, .quote-form select, .personal-modal-panel input { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #d8d2d4; border-radius: 5px; color: var(--ink); background: var(--white); outline: none; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus, .personal-modal-panel input:focus { border-color: var(--rose-dark); box-shadow: 0 0 0 3px rgba(169, 79, 98, .12); }
.quote-form .consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.45; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.form-note { margin: -4px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

.tracking-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--blush); }
.tracking-banner h2 { max-width: 760px; margin-bottom: 0; }

.personal-footer { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 34px; padding: 48px 5vw; color: #d1dfec; background: #041529; font-size: .88rem; }
.personal-footer > div { display: grid; align-content: start; gap: 8px; }
.personal-footer strong { color: var(--white); }
.footer-brand strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; }
.personal-footer a:hover { color: var(--white); }
.footer-back { align-self: start; color: var(--sky); font-weight: 700; }

.personal-modal { position: fixed; inset: 0; z-index: 40; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 29, 56, .68); }
.personal-modal.is-open { display: flex; }
.personal-modal-panel { position: relative; width: min(100%, 540px); padding: 30px; border-radius: 6px; background: var(--white); box-shadow: 0 28px 80px rgba(5, 29, 56, .34); }
.personal-modal-panel h2 { font-size: 2.2rem; }
.personal-modal-panel form { display: grid; gap: 15px; }
.modal-close { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: var(--white); font-size: 1.5rem; }
.inspiration-panel { width: min(100%, 980px); max-height: calc(100vh - 40px); overflow-y: auto; }
.inspiration-panel h2 { margin-bottom: 10px; }
.inspiration-description { max-width: 720px; margin-bottom: 24px; color: var(--muted); line-height: 1.6; }
.inspiration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.inspiration-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #edf3f8; }
.inspiration-image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #edf3f8; cursor: zoom-in; }
.inspiration-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .22s ease; }
.inspiration-image-button:hover img, .inspiration-image-button:focus-visible img { transform: scale(1.035); }
.inspiration-image-button:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: -3px; }
.inspiration-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.inspiration-actions { display: flex; justify-content: flex-end; margin-top: 24px; }

.image-lightbox { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2, 12, 24, .94); }
.image-lightbox.is-open { display: flex; }
.image-lightbox-panel { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; width: min(100%, 1400px); height: min(92vh, 980px); gap: 16px; }
.image-lightbox-panel figure { grid-column: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100%; min-height: 0; margin: 0; }
.image-lightbox-panel img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.image-lightbox-panel figcaption { min-height: 44px; padding: 14px 10px 0; color: var(--white); font-size: .92rem; line-height: 1.4; text-align: center; }
.image-lightbox-close, .image-lightbox-nav { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: var(--white); background: rgba(5, 29, 56, .8); }
.image-lightbox-close:hover, .image-lightbox-nav:hover, .image-lightbox-close:focus-visible, .image-lightbox-nav:focus-visible { border-color: var(--white); background: var(--rose-dark); }
.image-lightbox-close { position: absolute; z-index: 2; top: 0; right: 0; font-size: 1.6rem; }
.image-lightbox-nav { font-size: 2.25rem; line-height: 1; }
.image-lightbox-nav.is-previous { grid-column: 1; }
.image-lightbox-nav.is-next { grid-column: 3; }
.image-lightbox-nav[hidden] { display: none; }

@media (max-width: 1050px) {
  .personal-nav { display: none; }
  h1 { font-size: 3.8rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 800px; }
  .quote-section { grid-template-columns: 1fr; }
  .quote-copy { position: static; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  .personal-header { min-height: 70px; padding-left: 16px; padding-right: 16px; }
  .personal-brand { min-width: 0; }
  .personal-brand > span:last-child { display: none; }
  .personal-cta { min-height: 42px; padding: 0 13px; font-size: .82rem; }
  .personal-hero { min-height: 690px; }
  .personal-hero > img { object-position: 55% center; }
  .hero-shade { background: linear-gradient(to top, rgba(5, 29, 56, .96) 10%, rgba(5, 29, 56, .42) 76%, rgba(5, 29, 56, .18)); }
  .personal-hero-copy { padding: 76px 20px 48px; }
  .personal-hero-copy > p:not(.personal-eyebrow) { font-size: 1.05rem; }
  .personal-trust { grid-template-columns: 1fr; }
  .personal-trust span { border-right: 0; border-bottom: 1px solid var(--line); }
  .personal-section, .personal-story, .process-section, .delivery-section, .quote-section, .tracking-banner { padding: 64px 20px; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-grid, .personal-gallery, .process-list, .delivery-section, .form-row { grid-template-columns: 1fr; min-height: 0; }
  .catalog-card { grid-template-rows: 270px auto; }
  .personal-gallery figure { grid-template-rows: 270px minmax(64px, auto); }
  .work-image-button { height: 270px; }
  .inspiration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-lightbox { padding: 12px; }
  .image-lightbox-panel { grid-template-columns: 42px minmax(0, 1fr) 42px; height: 94vh; gap: 6px; }
  .image-lightbox-close, .image-lightbox-nav { width: 40px; height: 40px; }
  .image-lightbox-close { top: 4px; right: 4px; }
  .process-list li { min-height: 220px; }
  .quote-section { gap: 30px; }
  .quote-form { padding: 22px; }
  .tracking-banner { align-items: flex-start; flex-direction: column; }
  .personal-footer { grid-template-columns: 1fr; padding: 42px 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  .personal-actions .personal-button { width: 100%; }
  .catalog-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .catalog-filters button { flex: 0 0 auto; }
  .inspiration-grid { grid-template-columns: 1fr; }
  .inspiration-actions .personal-button { width: 100%; }
  .personal-gallery figure { grid-template-rows: 240px minmax(64px, auto); }
  .work-image-button { height: 240px; }
}
