/* paper.css: the one look of scooscoo.homes (docs/design-system.md).
   Stationery boutique: a cream page, forest green for the brand, headings and every action,
   soft beige panels, white cards with 16 px corners; Playfair Display for headings and prices,
   Inter for everything else. Chosen by Daniel on 2026-11-13 from three Google Stitch
   directions. A page loads this file and nothing from style.css. A company partner's page sets
   --accent, --accent-press and --brand on <body> and changes nothing else. */
:root {
    --paper: #FEF9EF;
    --surface: #FFFFFF;
    --panel: #F3EADF;           /* soft beige behind the order form and the gift tiles */
    --ink: #1D1C16;
    --muted: #5B574F;
    --line: #E6DFD3;
    --field-line: #8D877B;      /* 3.4:1 on paper, so a field's edge is seen */
    --accent: #1E4D3A;          /* forest green: filled buttons, links, selected choices */
    --accent-press: #013625;
    --mark: #5E8B76;            /* sage: link underlines and small marks (3.7:1 on paper), never text */
    --brand: #1E4D3A;           /* the wordmark and headings */
    --success: #2F6B4F;
    --display: "Playfair Display", Georgia, "Times New Roman", serif;
    --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 16px;
    --gutter: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.55 var(--text);
    /* Playfair Display draws old-style figures by default, so prices and house numbers dipped
       below the line; lining figures keep "$12.49" and "946" level. */
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    text-decoration-color: var(--mark);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent-press);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.skip {
    position: absolute;
    left: var(--gutter);
    top: -80px;
    z-index: 10;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--field-line);
    border-radius: var(--radius);
}

.skip:focus {
    top: 8px;
}

h1,
h2 {
    font-family: var(--display);
    font-optical-sizing: auto;
    font-weight: 500;
    color: var(--brand);
    letter-spacing: -0.012em;
    text-wrap: balance;
}

h1 {
    font-size: 33px;
    line-height: 1.08;
}

h2 {
    font-size: 28px;
    line-height: 1.14;
}

h3 {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
}

.quiet {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

/* Header */
/* A cream bar with a hairline under it; the wordmark in the brand green. */
.site-head {
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.site-head a {
    text-decoration-color: var(--mark);
}

.site-head .brand {
    color: var(--brand);
    text-decoration: none;
}

.site-head .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 16px;
    padding-top: 14px;
    padding-bottom: 12px;
}

.brand {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-head .quiet {
    line-height: 1.3;
}

/* The one action: address field and button */
.start label {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
}

.start-row {
    display: grid;
    gap: 10px;
}

.start input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid var(--field-line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font: 400 17px/1.2 var(--text);
}

.start input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.start input:focus-visible {
    outline-offset: 1px;
    border-color: var(--accent);
    border-radius: var(--radius);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #FFFFFF;
    font: 600 17px/1 var(--text);
    white-space: nowrap;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-press);
}

.btn:focus-visible {
    border-radius: 999px;
}

.start .quiet {
    margin-top: 10px;
}

/* The other way in: a photo of the house instead of the street photo we would find. A plain
   text button under the main one, so the address stays the one obvious action. */
.start-photo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 500 15px/1.3 var(--text);
    text-decoration: underline;
    text-decoration-color: var(--mark);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* The order form in one soft panel: who it is for, the address, the button, the photo start. */
.order-panel {
    display: grid;
    gap: 16px;
    padding: 18px 16px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.order-panel .start .quiet {
    margin-top: 8px;
}

/* In the panel the field and the button stack at every width, as one column. */
.order-panel .start-row {
    grid-template-columns: minmax(0, 1fr);
}

.order-panel .start-row .btn {
    width: 100%;
}

/* Who it is for: two segments in one white pill. The chosen one is outlined in green, not filled,
   so the solid green "Paint it, free" stays the one button on the screen. */
.doors {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

/* Worded like the address label below it, because both are questions on the same form. */
.doors legend {
    padding: 0;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
}

.doors > div,
.doors .door-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.doors label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    color: var(--muted);
    cursor: pointer;
}

.doors input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.doors label:has(input:checked) {
    background: var(--panel);
    color: var(--ink);
    font-weight: 600;
    box-shadow: inset 0 0 0 1.5px var(--accent);
}

.doors label:has(input:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* The gifts, as picture tiles with their price. Each tile is a link to the price list, so it
   looks like one: a card that takes a hover border. */
.gift-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.gift-tiles li {
    min-width: 0;
}

.gift-tiles a {
    display: grid;
    align-content: start;
    gap: 2px;
    height: 100%;
    padding: 4px 4px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--ink);
    text-decoration: none;
}

.gift-tiles a:hover {
    border-color: var(--mark);
    color: var(--ink);
}

.gift-tiles a:focus-visible {
    border-radius: var(--radius);
}

.gift-tiles img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--surface);
}

.gt-name,
.gt-price {
    padding: 0 4px;
}

.gt-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.gt-price {
    font: 600 15px/1.3 var(--text);
    color: var(--accent);
}

.gt-price .from {
    font-weight: 400;
    color: var(--muted);
}

/* Clips */
.clip {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.clip video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pause and play: a 36 px disc inside a 44 px target. */
.clip-toggle {
    position: absolute;
    right: 4px;
    bottom: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #FFFFFF;
    cursor: pointer;
}

.clip-disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(27, 26, 23, 0.62);
    font: 600 15px/1 var(--text);
}

.clip-word {
    display: none;
}

.clip-toggle:hover .clip-disc {
    background: rgba(27, 26, 23, 0.82);
}

.clip-toggle:focus-visible {
    outline: 0;
}

.clip-toggle:focus-visible .clip-disc {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
    background: rgba(27, 26, 23, 0.9);
}

.clip-toggle svg {
    width: 18px;
    height: 18px;
}

.clip .i-pause,
.clip.is-playing .i-play {
    display: none;
}

.clip.is-playing .i-pause {
    display: block;
}

/* Reduced motion: the poster stays put, with a worded Play button in the corner so the
   picture itself is not covered. */
@media (prefers-reduced-motion: reduce) {
    .clip:not(.is-playing) .clip-toggle {
        right: 10px;
        bottom: 10px;
        width: auto;
    }

    .clip:not(.is-playing) .clip-disc {
        width: auto;
        height: 44px;
        padding: 0 18px 0 14px;
        background: rgba(27, 26, 23, 0.86);
    }

    .clip:not(.is-playing) .clip-word {
        display: inline;
    }
}

figcaption {
    margin-top: 10px;
}

/* Hero */
.hero {
    padding: 22px 0 36px;
}

.lede {
    margin-top: 12px;
}

.hero-clip {
    margin: 20px 0;
}



.price {
    font-family: var(--display);
    font-optical-sizing: auto;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.from {
    font-family: var(--text);
    font-size: 15px;
    letter-spacing: 0;
    color: var(--muted);
}

/* Under the gift tiles: one row to the full price list, not a sentence with a link in it. */
.row-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    margin-top: 12px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--brand);
    font: 600 17px/1.3 var(--text);
    text-decoration: none;
}

.row-link::after {
    content: "\203A";
    font-size: 22px;
    line-height: 1;
}

.row-link-note {
    margin-left: auto;
    white-space: nowrap;
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
}

.row-link:hover {
    border-color: var(--mark);
}

.prices-cta {
    margin-top: 16px;
}

a.btn {
    text-decoration: none;
}

/* Sections: a hairline, then room */
.band-in {
    padding: 48px 0 52px;
    border-top: 1px solid var(--line);
}

.band h2+p {
    max-width: 40em;
    margin-top: 12px;
}

/* Prices */
.prices-head {
    max-width: 620px;
}

.prices .clip-fig {
    margin: 24px 0 10px;
}

.price-list.main {
    border-top: 1px solid var(--line);
}

.price-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 4px 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.price-list li p:not(.price) {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.price-list .sizes {
    color: var(--ink);
}

/* The rest of the gifts as picture tiles: the picture, then the name, the price and a line. */
.price-list.more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding-top: 16px;
}

.price-list.more li {
    display: block;
    padding: 0;
    border-bottom: 0;
}

.price-list.more img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.price-list.more h3 {
    font-weight: 400;
}

.price-list.more .price {
    margin-top: 2px;
}

.price-list.more li p:not(.price) {
    margin-top: 4px;
}

.more-title {
    margin-top: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.prices .fine {
    margin-top: 16px;
}

/* Sender */
.sender-copy p+p {
    margin-top: 12px;
}

.sender .clip-fig {
    margin-top: 24px;
}

/* Questions */
.qa {
    margin-top: 20px;
}

.qa li {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.qa li:last-child {
    padding-bottom: 0;
}

.qa p {
    margin-top: 6px;
}

.qa .more-link {
    display: inline-block;
    padding: 10px 0;
    margin-top: 0;
}

/* Closing: a white sheet with the painting on it */
.closing {
    padding: 28px 0 52px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.painting {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 76%;
    filter: brightness(1.02);
}

.closing h2 {
    margin-top: 12px;
}

.closing h2+p {
    margin-top: 12px;
}

.closing .start {
    margin-top: 24px;
}

/* Footer */
.site-foot {
    padding: 36px 0 44px;
}

.site-foot .brand {
    font-size: 20px;
}

.site-foot .about {
    margin-top: 8px;
    max-width: 460px;
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-top: 10px;
}

.foot-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-size: 15px;
}

.site-foot .legal {
    margin-top: 12px;
}

@media (min-width: 560px) {
    :root {
        --gutter: 32px;
    }

    .start-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .hero h1,
    .lede,
    .hero-start,
    .closing-copy {
        max-width: 560px;
    }

}

@media (min-width: 960px) {
    h1 {
        font-size: 58px;
        line-height: 1.03;
    }

    h2 {
        font-size: 38px;
        line-height: 1.1;
    }

    .site-head .wrap {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .brand {
        font-size: 24px;
    }

    /* Hero: the headline runs across the top, then the field sits beside the clip. */
    .hero {
        padding: 52px 0 64px;
    }

    /* The gift tiles sit under the clip, in the column that was empty beside the form, so the
       prices show on the first screen. */
    .hero .wrap {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas: "head head" "lede clip" "start clip" "start gifts";
        align-items: start;
        column-gap: 56px;
    }

    .hero .gift-tiles {
        grid-area: gifts;
        gap: 12px;
        margin-top: 24px;
    }

    .hero h1 {
        grid-area: head;
        max-width: 920px;
        margin-bottom: 40px;
    }

    .lede {
        grid-area: lede;
        margin-top: 0;
        font-size: 20px;
        line-height: 1.5;
    }

    .hero-start {
        grid-area: start;
        max-width: none;
        margin-top: 28px;
    }

    .hero-clip {
        grid-area: clip;
        align-self: start;
        margin: 0;
    }

    .band-in {
        padding: 80px 0 88px;
    }

    .band h2+p {
        margin-top: 20px;
    }

    .two {
        display: grid;
        column-gap: 64px;
    }

    /* Prices: the three featured gifts sit beside the clip that shows them; the rest
       run in a strip underneath. */
    .prices .two {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-areas: "head head" "clip list" "more more";
    }

    .prices-head {
        grid-area: head;
        max-width: 780px;
    }

    .prices .clip-fig {
        grid-area: clip;
        margin: 40px 0 0;
    }

    .prices-list-col {
        grid-area: list;
        margin-top: 40px;
    }

    .price-list.main li:first-child {
        padding-top: 16px;
    }

    .prices-more {
        grid-area: more;
        margin-top: 40px;
    }

    .more-title {
        margin-top: 0;
    }

    .price-list.more {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 32px;
        padding-top: 24px;
    }

    .prices .fine {
        margin-top: 28px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }

    .sender .two {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        align-items: center;
    }

    .sender-copy p+p {
        margin-top: 14px;
    }

    .sender .clip-fig {
        margin-top: 0;
    }

    .qa {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 64px;
        margin-top: 32px;
    }

    .qa li {
        padding: 26px 0;
    }

    .qa li:last-child {
        padding-bottom: 26px;
    }

    .closing {
        padding: 64px 0 72px;
    }

    .closing .wrap {
        display: grid;
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
        column-gap: 64px;
        align-items: center;
    }

    .closing h2 {
        margin-top: 0;
    }

    .closing-copy {
        max-width: none;
    }

    .site-foot {
        padding: 44px 0 52px;
    }
}

/* Components added with the landing pages (index, loan-officers, realtors). Any page may use them. */

[hidden] {
    display: none !important;
}

/* The wordmark as the link home. */
a.brand {
    display: inline-block;
    padding: 8px 0;
    margin: -8px 0;
    color: var(--ink);
    text-decoration: none;
}

a.brand:hover {
    color: var(--ink);
}

/* Price slots stay empty until app.js fills them from the API. An empty slot keeps its line
   height, and the words that only make sense next to a price ("from", the size list) wait. */
[data-price]:empty::before {
    content: "\00a0";
}

.from:has(+ [data-price]:empty),
.sizes:has([data-price]:empty) {
    visibility: hidden;
}

/* Paths: two or three pages a visitor picks between, each a heading, a line and a link. */
.paths {
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

/* Each path is a column whose link sits at the bottom, so the links line up across a row. */
.paths li {
    display: flex;
    flex-direction: column;
    padding: 20px 0 10px;
    border-bottom: 1px solid var(--line);
}

.paths h3 {
    font-family: var(--display);
    font-optical-sizing: auto;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.paths p {
    margin-top: 6px;
}

.paths a {
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 0;
    font-weight: 500;
}

/* Styles: one house painted in each style, on a white sheet. */
.styles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.styles figure {
    padding: 8px;
}

.styles figure:first-child {
    grid-column: 1 / -1;
}

/* The samples are square with white margins: crop the margins, and let any off-white
   background melt into the sheet. */
.styles img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.styles figcaption {
    margin-top: 0;
    text-align: center;
}

@media (min-width: 960px) {
    .paths {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 64px;
        margin-top: 32px;
        border-top: 0;
    }

    .paths li {
        padding: 26px 0 10px;
        border-top: 1px solid var(--line);
        border-bottom: 0;
    }

    .styles {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin-top: 40px;
        padding: 16px;
    }

    .styles figure:first-child {
        grid-column: auto;
    }
}
