@font-face {
    font-family: Manrope;
    src: url("portrait-landing-fonts/Manrope-Medium.ttf") format("truetype");
    font-weight: 400 550;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url("portrait-landing-fonts/Manrope-SemiBold.ttf") format("truetype");
    font-weight: 600 800;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("portrait-landing-fonts/PlayfairDisplay-SemiBold.ttf") format("truetype");
    font-weight: 500 800;
    font-display: swap;
}
:root {
    --paper: #faf7f1;
    --ink: #302421;
    --muted: #685951;
    --line: #ded5c9;
    --wine: #692d3d;
    --serif: "Playfair Display", Georgia, serif;
    --sans: Manrope, system-ui, sans-serif;
    color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8b4355; outline-offset: 3px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 8px; left: 8px; z-index: 10; background: white; padding: 8px; }
.wrap { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.studio-header { border-bottom: 1px solid var(--line); }
.nav-row, .studio-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-row { min-height: 70px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
.wordmark { display: inline-flex; align-items: center; gap: 7px; font: 600 1.95rem/1 var(--serif); letter-spacing: -.075em; }
.wordmark svg { width: 31px; height: 31px; }
.wordmark b { color: #99704d; }
.home-hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 5vw, 70px); padding: 40px 0 44px; }
.eyebrow { margin: 0; color: var(--wine); font-size: .78rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p, figure { margin: 0; }
h1, .section-head h2, .how-section > h2 { font-family: var(--serif); }
h1 { margin: 14px 0 15px; font-weight: 600; font-size: clamp(3.4rem, 5.45vw, 5.4rem); letter-spacing: -.062em; line-height: .99; }
h1 em { color: var(--wine); }
.lead { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.hero-pricing { max-width: 48ch; margin-top: 12px; font-size: .87rem; line-height: 1.5; color: var(--muted); }
.hero-pricing a { font-weight: 700; color: var(--wine); text-decoration: underline; text-underline-offset: .17em; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; padding: 12px 21px; background: var(--wine); color: white; font-size: .96rem; font-weight: 700; border-radius: 9px; }
.button:hover { background: #542331; }
.hint { font-size: .82rem; color: var(--muted); }
.hero-card { min-width: 0; padding: 9px; border: 1px solid #d7c9b9; border-radius: 16px; background: #e9ddd0; scroll-margin-top: 10px; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.comparison-panel { position: relative; aspect-ratio: 4 / 5; background: #d8d2ca; }
.comparison-panel img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.tag { position: absolute; left: 9px; bottom: 9px; padding: 3px 10px; color: #fff; background: #352822df; border-radius: 20px; font-size: .76rem; font-weight: 700; }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 3px 3px; min-height: 60px; }
.caption-stack { display: grid; min-width: 0; }
.caption-stack > div { grid-area: 1 / 1; align-self: center; }
.caption-measure { visibility: hidden; pointer-events: none; }
figcaption h2, .caption-title { display: block; font-weight: 700; font-size: 1.03rem; line-height: 1.23; }
figcaption p { font-size: .82rem; margin-top: 3px; color: var(--muted); }
.pager { display: flex; align-items: center; gap: 6px; flex: none; }
.pager span { font-size: .78rem; font-variant-numeric: tabular-nums; }
.pager button { width: 38px; height: 38px; background: #faf7f177; border: 1px solid #bdaea0; border-radius: 50%; font: 500 25px/.8 var(--sans); }
.pager button:hover { border-color: var(--ink); }
.examples-section, .how-section { border-top: 1px solid var(--line); padding: 28px 0 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2, .how-section > h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); letter-spacing: -.047em; font-weight: 600; line-height: 1.18; }
.rail-controls { display: flex; align-items: center; gap: 12px; }
.motion-toggle { min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--muted); font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.rail-controls .pager button:disabled { opacity: .35; cursor: default; }
.section-head p { font-size: .82rem; color: var(--muted); }
.example-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(145px, 1fr); gap: 15px; align-items: start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #bcac9d transparent; padding: 3px 2px 10px; }
.rail-item { min-width: 0; scroll-snap-align: start; }
.example-card { display: grid; grid-template-rows: auto 2.65em auto; align-items: start; row-gap: 3px; border-radius: 10px; font-size: .93rem; }
.card-comparison { position: relative; display: block; aspect-ratio: 6 / 7; overflow: hidden; border-radius: 9px; background: #bcb9b5; }
.card-comparison img, .card-wipe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.card-comparison img { object-fit: cover; }
.card-wipe { overflow: hidden; transform: translateX(-50%); --after-edge: -94%; --before-edge: -14%; }
.card-wipe img { transform: translateX(50%); --after-edge: 94%; --before-edge: 14%; }
.card-wipe::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: #fff; box-shadow: 0 0 2px #332822; }
.example-rail[data-motion] .card-wipe, .example-rail[data-motion] .card-wipe img { animation: studio-wipe 5.8s ease-in-out var(--offset, -3.4s) infinite; }
.rail-item:nth-child(even) { --offset: -2.8s; }
.example-rail[data-motion="paused"] .card-wipe, .example-rail[data-motion="paused"] .card-wipe img { animation-play-state: paused; }
@keyframes studio-wipe {
    0%, 23%, 100% { transform: translateX(var(--after-edge)); }
    60% { transform: translateX(var(--before-edge)); }
}
.example-card strong { line-height: 1.23; margin-top: 5px; }
.example-card > span { color: var(--muted); font-size: .84rem; }
.example-card[aria-current="true"] .card-comparison::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--wine); border-radius: inherit; pointer-events: none; }
.example-card:hover strong { text-decoration: underline; text-underline-offset: 2px; }
.how-grid { margin-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.how-grid > div { padding-left: 14px; border-left: 2px solid #c8a994; }
.how-grid h3 { font-size: 1rem; }
.how-grid p { margin-top: 4px; color: var(--muted); font-size: .94rem; }
.studio-footer { border-top: 1px solid var(--line); padding-block: 14px; color: var(--muted); font-size: .84rem; }
.studio-footer nav { gap: 16px; }
.studio-footer nav a { font-size: .82rem; }
@media (max-width: 900px) {
    .wrap { width: calc(100% - 48px); }
    .home-hero { gap: 25px; }
    .example-rail { grid-auto-columns: 154px; gap: 12px; }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 32px); }
    .nav-row { min-height: 56px; }
    .wordmark { font-size: 1.53rem; gap: 5px; }
    .wordmark svg { width: 25px; height: 25px; }
    nav { gap: 15px; }
    .wide-link { display: none; }
    .home-hero { grid-template-columns: 1fr; padding: 21px 0 22px; gap: 18px; }
    .eyebrow { font-size: .73rem; }
    h1 { font-size: clamp(2.8rem, 11.6vw, 4.6rem); margin: 9px 0 11px; }
    .lead { font-size: 1rem; line-height: 1.48; }
    .hero-actions { margin-top: 14px; gap: 9px; }
    .button { min-height: 43px; padding: 9px 14px; font-size: .9rem; }
    .hero-card { padding: 6px; border-radius: 12px; }
    .comparison { gap: 2px; border-radius: 7px; }
    .tag { left: 6px; bottom: 6px; }
    figcaption { padding: 8px 3px 2px; min-height: 55px; }
    figcaption h2, .caption-title { font-size: .95rem; }
    figcaption p { font-size: .76rem; }
    .pager { gap: 4px; }
    .pager button { width: 35px; height: 35px; }
    .examples-section, .how-section { padding: 20px 0 22px; }
    .section-head { margin-bottom: 10px; }
    .example-rail { grid-auto-columns: clamp(136px, 38vw, 164px); gap: 10px; }
    .how-grid { grid-template-columns: 1fr; gap: 14px; }
    .studio-footer { flex-wrap: wrap; gap: 2px 12px; }
}
@media (max-width: 380px) {
    .rail-controls { gap: 5px; }
    .motion-toggle { max-width: 54px; line-height: 1.1; }
    .wrap { width: calc(100% - 24px); }
    .hero-actions .hint { max-width: 112px; font-size: .75rem; line-height: 1.3; }
    .section-head p { font-size: .76rem; }
}
@media (max-width: 680px) {
    .rail-controls > p { display: none; }
    .pager button { width: 44px; height: 44px; }

}

@supports (grid-template-rows: subgrid) {
    .example-rail { grid-template-rows: auto auto auto; row-gap: 4px; }
    .rail-item, .example-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 4px; }
    .rail-item { align-self: stretch; }
}

.pager .next-example { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: auto; padding-inline: 12px; border-radius: 22px; font: 700 .82rem/1 var(--sans); }
.next-example span { font-size: 1.25rem; }

.studio-offer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-block:1px solid var(--line,#dfd5cc);padding:18px 0;margin:10px 0 26px}
.studio-offer h2{font-size:clamp(1.3rem,2.4vw,1.9rem);margin:0}.studio-offer p{margin:.3em 0 0}.studio-offer a{flex-shrink:0;color:inherit;font-weight:700;text-underline-offset:3px}
@media(max-width:680px){.studio-offer{display:block}.studio-offer a{display:inline-block;margin-top:8px}}

.example-actions { display:flex; gap:8px; margin:5px 4px 0; }
.example-actions button, .saved-filter { display:inline-flex; align-items:center; gap:5px; min-height:36px; padding:4px 10px; border:1px solid #cdbcae; border-radius:18px; background:var(--paper); font-size:.79rem; font-weight:650; }
.example-actions button[aria-pressed="true"], .saved-filter[aria-pressed="true"] { color:var(--wine); border-color:var(--wine); background:#fff5f5; }
.example-actions svg { width:14px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; }
.example-actions [aria-pressed="true"] svg { fill:currentColor; }
.example-actions [data-like-example] > span { font-size:1.25rem; line-height:1; }
.saved-filter { margin-bottom:8px; }
.pager [data-autoplay] { font:700 .78rem/1 var(--sans); }
@media (max-width:680px) {
    .hero-card figcaption { flex-wrap:wrap; gap:4px 12px; }
    .hero-card .caption-stack { flex:1 1 135px; }
    .hero-card .pager { margin-left:auto; }
    .example-actions button, .saved-filter { min-height:44px; }
}

.wordmark .wm-com { font-size: .6em; letter-spacing: 0; margin-left: 1px; }
