:root {
  --cream: #f8f4eb;
  --paper: #fffcf6;
  --ink: #222820;
  --muted: #566356;
  --forest: #253f34;
  --rose: #b74f39;
  --border: #d9cfbf;
  --accent-soft: #ead9c9;
  --focus: #195fc2;
  --shadow: 0 24px 64px #3f39221c;
}

html { scroll-padding-top: 30px; }
body { background: var(--cream); color: var(--ink); }
body, button, input, select { font-family: 'DM Sans', Arial, sans-serif; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, label:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 8px; background: var(--forest); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.demo-strip { background: #263e33; color: #faf4e8; font-size: 10px; font-weight: 600; letter-spacing: .1em; padding: 9px 16px; }
.demo-strip span { opacity: .55; padding: 0 8px; }
.site-header { height: 86px; max-width: none; padding: 0 clamp(20px,5vw,88px); border-bottom: 1px solid #dfd7c9; background: var(--paper); }
.brand { gap: 0; min-height: 44px; align-items: center; color: var(--ink); font-family: 'DM Sans',Arial,sans-serif; font-size: 22px; font-weight: 700; letter-spacing: .115em; line-height: 1; }
.brand-dot { color: var(--rose); font-size: 28px; letter-spacing: 0; transform: translateY(-2px); }
.site-header nav { gap: clamp(18px,2.5vw,44px); color: #445247; font-size: 12px; }
.site-header nav a { padding: 14px 0; }
.locale-choice { display: inline-flex; align-items: center; flex: none; }
.locale-choice select { min-width: 65px; min-height: 44px; padding: 9px 8px; border: 1px solid var(--border); border-radius: 7px; background: var(--paper); color: var(--forest); font-size: 12px; font-weight: 700; cursor: pointer; }
.mobile-languages { display: none; }
.mobile-nav { display: none; }
.header-cta { padding: 13px 17px; border: 1px solid var(--forest); border-radius: 100px; background: var(--forest); box-shadow: none; color: #fffaf0; font-size: 12px; font-weight: 700; }
.header-cta:hover { background: #355546; color: white; }
.header-cta span { margin-left: 14px; }

.hero { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(34px,5vw,94px); max-width: 1520px; min-height: 680px; margin: auto; padding: clamp(48px,5.5vw,96px) clamp(22px,6vw,96px) 86px; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 24px; color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow-line { background: var(--rose); }
.hero h1 { max-width: 750px; margin: 0 0 25px; font-family: 'Playfair Display',Georgia,serif; font-size: clamp(58px,6vw,94px); font-weight: 500; letter-spacing: -.058em; line-height: 1.08; }
.hero h1 em { display: inline-block; color: var(--forest); font-family: 'Playfair Display',Georgia,serif; font-weight: 500; font-style: italic; letter-spacing: -.064em; }
.hero-description { max-width: 520px; margin: 0 0 30px; color: #4c5a4f; font-size: clamp(16px,1.3vw,19px); line-height: 1.65; }
.hero-actions { align-items: center; gap: 22px; }
.hero-actions .button { min-height: 56px; padding: 17px 23px; font-size: 13px; }
.button-dark { border: 1px solid var(--forest); border-radius: 100px; background: var(--forest); box-shadow: none; color: white; }
.button-dark:hover { background: #365747; box-shadow: 0 8px 24px #253f3433; transform: translateY(-2px); }
.button-dark:disabled { border-color: #a4b2a7; background: #becbbf; box-shadow: none; color: #294033; }
.hero .text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: 12px; font-weight: 700; }
.hero-footnote { margin-top: 19px; color: var(--muted); font-size: 11px; }
.hero-art { position: relative; width: 100%; height: min(42vw,580px); min-height: 490px; }
.hero-art-halo { position: absolute; top: 2%; right: 0; width: 79%; height: 88%; border-radius: 48% 47% 46% 47%; background: #e9e1d2; }
.hero-frame { position: absolute; height: auto; margin: 0; aspect-ratio: auto; border: 0; background: var(--paper); box-shadow: 0 24px 50px #312d2140; transform: none; }
.hero-frame-front { z-index: 1; top: 3%; right: 5%; width: min(82%,500px); padding: 11px 11px 0; transform: rotate(2deg); }
.hero-frame-front img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.hero-frame figcaption { display: flex; align-items: center; justify-content: space-between; padding: 11px 4px 13px; color: #566152; font-family: 'DM Sans',Arial,sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-frame figcaption span { font-size: 17px; line-height: .7; }
.hero-frame-back { z-index: 2; top: auto; left: 0; bottom: 6%; width: min(39%,215px); padding: 7px 7px 0; transform: rotate(-6deg); }
.hero-frame-back img { width: 100%; height: auto; aspect-ratio: 1.1; object-fit: contain; background: #e8e4d8; }
.hero-frame-back figcaption { padding: 8px 2px 10px; font-size: 9px; }
.hero-caption { position: absolute; z-index: 3; right: 5%; bottom: 0; left: auto; color: #3a473b; font-family: 'Playfair Display',Georgia,serif; font-size: 16px; font-style: italic; }
.hero-caption span { display: block; margin-top: 4px; color: var(--muted); font-family: 'DM Sans',Arial,sans-serif; font-size: 9px; font-style: normal; text-align: right; text-transform: uppercase; letter-spacing: .1em; }

.section-label { display: block; color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.atelier-steps { display: grid; grid-template-columns: minmax(250px,.65fr) 1.35fr; align-items: center; gap: 50px; padding: 44px clamp(22px,6vw,96px); background: var(--forest); color: #fffaf0; }
.atelier-steps-heading h2 { margin: 10px 0 0; font-family: 'Playfair Display',Georgia,serif; font-size: clamp(27px,3vw,42px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.atelier-steps-heading h2 em { color: #ead4b8; font-weight: 400; }
.atelier-steps .section-label { color: #e5bda5; }
.atelier-steps ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px,2vw,40px); margin: 0; padding: 0; list-style: none; }
.atelier-steps li { display: flex; gap: 13px; min-width: 0; }
.atelier-steps li > span { color: #dda891; font-family: 'Playfair Display',Georgia,serif; font-size: 22px; }
.atelier-steps strong { font-size: 13px; }
.atelier-steps p { margin: 7px 0 0; color: #d5dfd4; font-size: 11px; line-height: 1.55; }

.featured-styles { max-width: 1520px; margin: auto; padding: 100px clamp(22px,6vw,96px) 110px; }
.featured-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 32px; }
.featured-heading h2 { margin: 12px 0 0; font-family: 'Playfair Display',Georgia,serif; font-size: clamp(34px,4.4vw,62px); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; }
.featured-heading h2 em { color: var(--rose); font-weight: 400; }
.featured-heading > p { max-width: 260px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.featured-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.featured-style { min-width: 0; padding: 0; overflow: hidden; border: 1px solid #d8cebd; border-radius: 4px; background: #fffdf7; color: var(--ink); text-align: left; transition: transform .18s ease, box-shadow .18s ease; }
.featured-style:hover { transform: translateY(-4px); box-shadow: 0 16px 38px #3d3c2b20; }
.featured-style.selected { outline: 2px solid var(--rose); outline-offset: 2px; }
.featured-style img { width: 100%; height: clamp(230px,30vw,410px); object-fit: cover; object-position: center 30%; }
.featured-style > span { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 17px 19px 19px; }
.featured-style strong { font-family: 'Playfair Display',Georgia,serif; font-size: 26px; font-weight: 500; }
.featured-style small { grid-column: 1; color: var(--muted); font-size: 11px; }
.featured-style b { grid-column: 2; grid-row: 1/3; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--border); border-radius: 50%; font-size: 17px; font-weight: 400; }
.featured-all { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; margin-top: 25px; padding-bottom: 5px; border-bottom: 1px solid var(--forest); color: var(--forest); font-size: 12px; font-weight: 700; }
.featured-all:hover { color: var(--rose); border-color: var(--rose); }

.product-inspiration { background: #eee5d7; }
.product-inspiration .section-label { color: #85503d; }
.product-inspiration-inner { max-width: 1520px; margin: auto; padding: 100px clamp(22px,6vw,96px) 105px; }
.product-inspiration .featured-heading h2 { max-width: 660px; }
.product-inspiration .featured-heading h2 em { color: var(--forest); }
.product-inspiration-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.inspiration-card { display: block; min-width: 0; overflow: hidden; border: 1px solid #d6c9b6; border-radius: 4px; background: var(--paper); color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.inspiration-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.inspiration-card img { display: block; width: 100%; height: clamp(280px,31vw,440px); object-fit: cover; object-position: center; background: #e0d5c3; }
.inspiration-card > span { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 18px 20px 20px; align-items: center; }
.inspiration-card strong { font-family: 'Playfair Display',Georgia,serif; font-size: 25px; font-weight: 500; }
.inspiration-card small { grid-column: 1; color: var(--muted); font-size: 11px; }
.inspiration-card b { grid-column: 2; grid-row: 1/3; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--border); border-radius: 50%; font-size: 17px; font-weight: 400; }
.product-inspiration-foot { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: 20px; }
.product-inspiration-foot p { max-width: 590px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.product-inspiration-foot .featured-all { flex: none; margin: 0; }

.builder-section { padding-top: 83px; background: #efe9dc; }
.builder-intro { margin-bottom: 33px; }
.builder-intro .eyebrow, .auto-section-top, .auto-eyebrow { color: #85503d; }
.builder-intro p:last-child, .auto-time, .auto-upload small, .auto-input .auto-styles-heading p, .auto-input .template-heading > span, .auto-input .template-style small, .style-detail-label span, .style-detail-hint, .demo-source-note, .auto-result-foot p { color: var(--muted); }
.auto-input .template-style.selected small { color: #fff4e7; }
.builder-intro h2 { font-family: 'Playfair Display',Georgia,serif; font-weight: 500; letter-spacing: -.045em; }
.builder-intro h2 em { color: var(--rose); font-family: 'Playfair Display',Georgia,serif; font-weight: 400; font-style: italic; }
.auto-layout { border-color: #d2c4ae; background: var(--paper); box-shadow: 0 30px 65px #302b1d12; }
.auto-result { background: #e8dfce; }
.auto-upload { background: #fbf8f0; border-color: #a69883; }
.auto-upload strong { max-width: 100%; overflow-wrap: anywhere; }
.studio-gallery-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 9px; color: var(--forest); font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.studio-template-choice[hidden] { display: none; }
.studio-template-choice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid #b9a287; border-radius: 8px; background: #f0e5d5; }
.studio-template-choice > div:first-child { display: grid; gap: 4px; }
.studio-template-choice strong { color: var(--forest); font-family: 'Playfair Display',Georgia,serif; font-size: 20px; font-weight: 500; }
.studio-template-choice small { max-width: 330px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.studio-template-choice details { width: 100%; }
.studio-template-choice summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.template-personalization[hidden] { display: none; }
.template-personalization { margin-top: 18px; padding: 0 18px; border: 1px solid var(--border); border-radius: 8px; background: #fffcf6; }
.template-personalization summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; color: var(--forest); font-size: 12px; font-weight: 700; cursor: pointer; }
.template-personalization summary span { color: var(--muted); font-size: 10px; font-weight: 400; }
.template-personalization-body { display: grid; gap: 16px; padding: 0 0 18px; }
.template-personalization fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.template-personalization legend { width: 100%; margin-bottom: 7px; color: var(--forest); font-size: 11px; font-weight: 700; }
.template-personalization label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 30px; font-size: 11px; cursor: pointer; }
.template-personalization label:has(input:checked) { border-color: var(--forest); background: #e7ede4; }
.template-personalization input { accent-color: var(--forest); }
.template-personalization-body p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
#studio-template-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding-top: 8px; }
#studio-template-options button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 5px; background: var(--paper); color: var(--forest); font: inherit; font-size: 11px; font-weight: 700; text-align: left; cursor: pointer; }
#studio-template-options button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: white; }
.real-demo-picker summary { display: flex; align-items: center; min-height: 44px; }
.sample-link { display: inline-flex; align-items: center; min-height: 44px; }
.result-products-link { display: inline-flex; align-items: center; min-height: 44px; }
.portrait-download { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; color: var(--forest); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.portrait-download[hidden] { display: none; }
.portrait-source a { display: inline-flex; align-items: center; min-height: 30px; }
.portrait-fullscreen-button, .portrait-lightbox-header button, .product-lightbox-header button, .product-expand, .product-retry { min-height: 44px; }
.auto-input .template-style, .royal-role { background: #fffcf6; }
.auto-input .template-style.selected { background: var(--forest); border-color: var(--rose); box-shadow: none; }
.auto-input .quick-style:hover, .auto-input .quick-style.selected { background: var(--forest); border-color: var(--forest); }
.product-card { border-color: #d2c4ae; background: var(--paper); }
.auto-products-heading p, .product-card small, .product-card-body .print-area-note, .auto-product-note { color: var(--muted); }
.product-card-kicker { color: #85503d; }
.product-art { background: #eae2d3; }
.product-gallery-toolbar { background: var(--paper); }
.portrait-save { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #cdbfa9; }
.portrait-save[hidden] { display: none; }
.portrait-save label { display: grid; gap: 4px; color: var(--ink); font-size: 13px; font-weight: 700; }
.portrait-save label span, .portrait-save small { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.portrait-save > div { display: flex; flex-wrap: wrap; gap: 10px; }
.portrait-save input { flex: 1 1 150px; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #b9aa94; border-radius: 5px; background: var(--paper); color: var(--ink); }
.portrait-save button { min-height: 44px; padding: 10px 16px; font-size: 12px; }
.portrait-save [role="status"] { margin: 0; font-size: 12px; }
.portrait-library { max-width: 1520px; margin: auto; padding: 95px clamp(22px,6vw,96px) 105px; }
.portrait-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.portrait-library h2 { margin: 12px 0 14px; font-family: 'Playfair Display',Georgia,serif; font-size: clamp(38px,4vw,58px); font-weight: 500; letter-spacing: -.05em; }
.portrait-library h2 em { color: var(--rose); font-weight: 400; }
.portrait-library-heading p:last-child { max-width: 580px; color: var(--muted); font-size: 14px; line-height: 1.6; }
#library-count { flex: none; color: var(--forest); font-size: 12px; font-weight: 700; }
.library-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.library-tools button, .library-tools label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--paper); color: var(--forest); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.library-tools button:hover, .library-tools label:hover { border-color: var(--forest); }
.library-notice { max-width: 780px; margin: 25px 0 20px; padding: 14px 18px; border-left: 2px solid var(--rose); background: #f2eadc; color: var(--muted); font-size: 12px; line-height: 1.6; }
#library-status:empty { display: none; }
#library-status { color: var(--forest); font-size: 12px; }
.library-empty { padding: 38px 24px; border: 1px dashed #c9bba7; border-radius: 8px; color: var(--muted); text-align: center; }
.library-collection { margin-top: 34px; }
.library-collection h3 { margin-bottom: 16px; color: var(--forest); font-family: 'Playfair Display',Georgia,serif; font-size: 26px; font-weight: 500; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 18px; }
.library-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; background: var(--paper); }
.library-card > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e8dfce; }
.library-card-meta { display: grid; gap: 3px; padding: 14px 15px 10px; }
.library-card-meta strong { color: var(--ink); font-size: 13px; }
.library-card-meta small { color: var(--muted); font-size: 11px; }
.library-card-actions { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 10px 12px; }
.library-card-actions button, .library-card-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 9px; border: 1px solid var(--border); border-radius: 5px; background: transparent; color: var(--forest); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: none; }
.library-card-actions button:hover, .library-card-actions a:hover { border-color: var(--forest); background: #edf0e9; }
.library-delete-dialog { width: min(440px,calc(100% - 32px)); padding: 28px; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); box-shadow: 0 22px 75px #17231c4d; color: var(--ink); }
.library-delete-dialog::backdrop { background: #14231db3; }
.library-delete-dialog h2 { margin: 0 0 10px; font-family: 'Playfair Display',Georgia,serif; font-size: 28px; font-weight: 500; }
.library-delete-dialog p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.library-delete-dialog form { display: flex; flex-wrap: wrap; gap: 8px; }
.library-delete-dialog button { min-height: 44px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 5px; background: transparent; color: var(--forest); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.library-delete-dialog .library-delete-confirm { border-color: #aa4b30; background: #aa4b30; color: white; }
.atelier-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,8vw,140px); max-width: 1520px; margin: auto; padding: 100px clamp(22px,6vw,96px) 110px; }
.atelier-faq h2 { max-width: 500px; margin: 12px 0 17px; font-family: 'Playfair Display',Georgia,serif; font-size: clamp(34px,4vw,56px); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; }
.atelier-faq h2 em { color: var(--rose); font-weight: 400; }
.atelier-faq > div > p:last-child { max-width: 400px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--rose); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 600px; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.closing { background: var(--forest); }
.closing h2 { font-family: 'Playfair Display',Georgia,serif; font-weight: 500; letter-spacing: -.04em; }
.closing h2 em { color: #e7bba2; font-weight: 400; }
.closing .eyebrow { color: #e7bba2; }
.closing .button-light { border-radius: 100px; }
footer { background: #182b23; color: #f8f3e9; }
footer .brand { color: #f8f3e9; }
footer p { max-width: 390px; color: #c8d1c8; line-height: 1.5; }
.analytics-choice { display: flex; align-items: start; gap: 11px; max-width: 510px; color: #c8d1c8; font-size: 11px; line-height: 1.55; }
.analytics-choice input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #d1a48c; }

@media (max-width: 1100px) {
  .site-header nav { gap: 18px; }
  .hero { min-height: 610px; gap: 25px; }
  .hero h1 { font-size: clamp(52px,6.8vw,75px); }
  .hero-art { min-height: 415px; height: 43vw; }
  .atelier-steps { grid-template-columns: 1fr; gap: 27px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .site-header { gap: 10px; padding-right: 16px; padding-left: 16px; }
  .site-header .desktop-nav { display: flex; }
  .site-header .desktop-nav { gap: 10px; font-size: 10px; }
  .site-header .header-cta { padding: 10px 12px; font-size: 10px; }
}
@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; }
  .site-header .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .locale-choice { display: none; }
  .mobile-nav summary { display: flex; align-items: center; min-height: 44px; padding: 12px 7px; color: var(--forest); font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { display: grid; position: absolute; z-index: 20; top: calc(100% + 10px); right: -85px; width: min(235px,85vw); gap: 0; padding: 10px 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
  .mobile-nav nav a { padding: 12px 2px; border-bottom: 1px solid #ede4d8; font-size: 13px; }
  .mobile-nav nav > a:last-of-type { border-bottom: 0; }
  .mobile-nav .mobile-languages { display: flex; justify-content: space-between; gap: 3px; padding-top: 11px; }
  .mobile-nav .mobile-languages a { display: grid; place-items: center; flex: 1; min-width: 31px; min-height: 40px; padding: 6px 3px; border: 1px solid var(--border); border-radius: 5px; font-size: 11px; }
  .mobile-nav .mobile-languages a[aria-current="page"] { border-color: var(--forest); background: var(--forest); color: white; }
  .brand { font-size: 18px; }
  .header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 13px; font-size: 10px; }
  .header-cta span { margin-left: 5px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 55px 22px 50px; gap: 33px; }
  .hero h1 { font-size: clamp(46px,10.8vw,69px); }
  .hero .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero-description { font-size: 15px; }
  .hero-art { width: min(100%,580px); height: min(100vw,555px); min-height: 355px; margin: auto; }
  .hero-frame-front { width: 78%; right: 3%; }
  .hero-frame-back { width: 37%; bottom: 8%; }
  .hero-caption { right: 3%; bottom: 0; font-size: 13px; }
  .atelier-steps { padding: 40px 22px; gap: 25px; }
  .atelier-steps ol { grid-template-columns: 1fr; gap: 18px; }
  .atelier-steps li { align-items: baseline; }
  .featured-styles { padding: 70px 22px 78px; }
  .featured-heading { display: block; }
  .featured-heading > p { margin-top: 15px; }
  .featured-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px,75vw); grid-template-columns: none; gap: 12px; margin-right: -22px; padding: 0 22px 12px 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .featured-style { scroll-snap-align: start; }
  .featured-style img { height: 265px; }
  .product-inspiration-inner { padding: 72px 22px 78px; }
  .product-inspiration-grid { grid-template-columns: repeat(3,minmax(225px,76vw)); gap: 12px; margin-right: -22px; padding: 0 22px 12px 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .inspiration-card { scroll-snap-align: start; }
  .inspiration-card img { height: 290px; }
  .product-inspiration-foot { display: block; }
  .product-inspiration-foot .featured-all { margin-top: 16px; }
  .builder-section { padding-top: 65px; }
  .builder-intro h2 { font-size: clamp(34px,8vw,50px); }
  .auto-layout { overflow: hidden; }
  .auto-input .template-style strong { font-size: 12px; }
  .auto-input .template-style small { font-size: 11px; }
  .portrait-library { padding: 70px 22px 75px; }
  .portrait-library-heading { display: block; }
  .library-tools { justify-content: flex-start; margin-top: 16px; }
  .library-grid { grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 12px; }
  .atelier-faq { grid-template-columns: 1fr; gap: 27px; padding: 72px 22px 80px; }
}
@media (max-width: 390px) {
  .demo-strip { font-size: 8px; }
  .site-header { gap: 8px; padding: 0 14px; }
  .brand { font-size: 16px; }
  .header-cta { font-size: 9px; padding: 9px 10px; }
  .header-cta { white-space: nowrap; }
  .header-cta span { display: none; }
  .mobile-nav summary { font-size: 10px; padding-right: 5px; padding-left: 5px; }
  .hero { padding-right: 17px; padding-left: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero h1 { font-size: 45px; }
  .hero-art { min-height: 315px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .featured-style, .inspiration-card, .button-dark { transition: none; }
  .featured-style:hover, .inspiration-card:hover, .button-dark:hover { transform: none; }
}
