/* Portelle product page.
   Brand: deep green #032c1d, ivory #f6f2ea, gold #a07a3f. Type: Fraunces (display, SIL OFL) with Manrope (text, SIL OFL).
   Design rules for this page: editorial and unhurried. Asymmetric layouts, full-bleed photography, hairline rules
   instead of card shadows, sentence-case labels, no gradients except the scrims that keep text legible over images.
   site.css is still loaded for the shared Waxley Graham footer. */
body.pt-page {
    --green: #032c1d;
    --green-deep: #021d13;
    --green-soft: #0d3a28;
    --ivory: #f6f2ea;
    --paper: #efe9dd;
    --gold: #a07a3f;
    --gold-light: #d6b67e;
    --ink: #17221c;
    --text: #3c4741;
    --soft: #6b746f;
    --rule: rgba(3, 44, 29, .14);
    --rule-light: rgba(246, 242, 234, .18);
    --max: 1240px;
    background: var(--ivory);
    color: var(--text);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}
body.pt-page::before { display: none; }
.pt-page main img { height: auto; }
.pt-page h1, .pt-page h2, .pt-page h3, .pt-page h4 { margin: 0; color: var(--ink); font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-optical-sizing: auto; letter-spacing: -.015em; }
.pt-page p { margin: 0; }
.pt-wrap { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.pt-label { display: block; font-size: .86rem; font-weight: 600; letter-spacing: .02em; color: var(--gold); }
.pt-on-green .pt-label { color: var(--gold-light); }
.pt-on-green, .pt-on-green p { color: rgba(246, 242, 234, .78); }
.pt-on-green h2, .pt-on-green h3, .pt-on-green h4 { color: var(--ivory); }

/* Links & buttons */
.pt-btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 2px; background: var(--green); color: var(--ivory); font: 600 .98rem 'Manrope', sans-serif; letter-spacing: .01em; text-decoration: none; transition: background .2s, color .2s; }
.pt-btn:hover { background: var(--green-soft); }
.pt-btn svg { width: 18px; height: 18px; transition: transform .25s; }
.pt-btn:hover svg { transform: translateX(3px); }
.pt-btn.gold { background: var(--gold-light); color: var(--green); }
.pt-btn.gold:hover { background: #e2c693; }
.pt-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(3, 44, 29, .3); text-underline-offset: 6px; transition: text-decoration-color .2s; }
.pt-link:hover { text-decoration-color: var(--ink); }
.pt-on-green .pt-link { color: var(--ivory); text-decoration-color: rgba(246, 242, 234, .4); }
.pt-on-green .pt-link:hover { text-decoration-color: var(--ivory); }
.pt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.pt-page a:focus-visible, .pt-page button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Nav */
.pt-nav { position: sticky; top: 0; z-index: 100; background: var(--ivory); border-bottom: 1px solid var(--rule); }
.pt-nav-inner { display: flex; align-items: center; height: 76px; gap: 44px; }
.pt-nav-logo img { display: block; height: 30px; width: auto; }
.pt-nav-links { display: flex; gap: 32px; }
.pt-nav-links a { color: var(--text); font-size: .93rem; font-weight: 500; text-decoration: none; }
.pt-nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--gold); }
.pt-nav-right { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.pt-nav-by { color: var(--soft); font-size: .86rem; text-decoration: none; }
.pt-nav-by:hover { color: var(--ink); }
.pt-nav-right .pt-btn { height: 44px; padding: 0 18px; font-size: .9rem; }
.pt-nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 11px; border: 0; background: none; color: var(--green); cursor: pointer; }
.pt-nav-toggle span { display: block; height: 1.5px; margin: 6px 0; background: currentColor; transition: transform .2s, opacity .2s; }
.pt-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.pt-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pt-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero: a green column with the animated mark, and the sea running to the right edge */
.pt-hero { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); min-height: min(calc(100vh - 76px), 900px); background: var(--green); }
.pt-hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 80px) clamp(44px, 5vw, 72px) max(32px, calc((100vw - var(--max)) / 2)); }
.pt-hero-logo { display: block; width: min(340px, 72%); height: auto; margin-left: calc(min(340px, 72%) * -.0625); } /* the GIF has a 1/16 margin built in; align its mark with the text */
.pt-hero h1 { color: var(--ivory); font-weight: 300; font-size: clamp(2.9rem, 5.2vw, 5rem); line-height: 1.02; letter-spacing: -.025em; max-width: 11ch; font-variation-settings: 'opsz' 144; }
.pt-hero h1 span { color: var(--gold-light); }
.pt-hero-copy p { margin-top: 26px; max-width: 34rem; font-size: 1.12rem; color: rgba(246, 242, 234, .8); }
.pt-hero-copy .pt-actions { margin-top: 36px; }
.pt-hero-media { position: relative; overflow: hidden; background: #0b4a3c; }
.pt-hero-media video, .pt-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-hero-caption { position: absolute; left: 32px; bottom: 30px; z-index: 1; display: flex; align-items: center; gap: 12px; color: var(--ivory); font-size: .84rem; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.pt-hero-caption::before { content: ''; width: 34px; height: 1px; background: currentColor; }

/* Sections */
.pt-section { padding: 128px 0; }
.pt-section.paper { background: var(--paper); }
.pt-section.green { background: var(--green); }
.pt-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; margin-bottom: 64px; }
.pt-intro h2, .pt-h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 300; font-variation-settings: 'opsz' 120; }
.pt-intro .pt-label + h2, .pt-label + .pt-h2 { margin-top: 16px; }
.pt-intro p { font-size: 1.1rem; padding-top: 8px; max-width: 36rem; }

/* Before / after */
.pt-compare { width: 100%; border-collapse: collapse; }
.pt-compare th { padding: 0 0 18px; text-align: left; font-size: .86rem; font-weight: 600; color: var(--soft); letter-spacing: .02em; }
.pt-compare th:last-child { color: var(--gold); }
.pt-compare td { padding: 26px 32px 26px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.pt-compare td:first-child { width: 21%; font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--ink); }
.pt-compare td:nth-child(2) { width: 36%; color: var(--soft); }
.pt-compare td:last-child { color: var(--ink); }

/* The film */
.pt-film { display: grid; grid-template-columns: .62fr 1.38fr; gap: 72px; align-items: center; }
.pt-film p { margin-top: 20px; font-size: 1.06rem; }
.pt-film .pt-meta { margin-top: 30px; font-size: .88rem; color: var(--gold-light); }
.pt-video { position: relative; overflow: hidden; background: var(--green-deep); }
.pt-video button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.pt-video img, .pt-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pt-video button img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.pt-video button:hover img { transform: scale(1.02); }
.pt-play { position: absolute; left: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 14px; padding: 13px 22px 13px 13px; background: var(--ivory); color: var(--green); font: 600 .95rem 'Manrope', sans-serif; transition: background .2s; }
.pt-video button:hover .pt-play { background: #fff; }
.pt-play-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.pt-play-icon::before { content: ''; margin-left: 3px; border-left: 10px solid var(--ivory); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Full-bleed photographic interludes */
.pt-plate { position: relative; height: min(86vh, 820px); min-height: 520px; overflow: hidden; background: var(--green); }
.pt-plate img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.pt-plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 29, 19, .66) 0%, rgba(2, 29, 19, .32) 46%, rgba(2, 29, 19, 0) 72%); }
.pt-plate .pt-wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 8vw, 104px); }
.pt-plate blockquote { margin: 0; max-width: 15ch; color: var(--ivory); font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; }
.pt-plate blockquote span { color: var(--gold-light); }
.pt-plate cite { display: block; margin-top: 26px; font-style: normal; font-size: .9rem; color: rgba(246, 242, 234, .78); }

/* Platform tour */
.pt-tabs { display: flex; gap: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.pt-tab { flex: none; padding: 0 0 18px; margin-bottom: -1px; border: 0; border-bottom: 1.5px solid transparent; background: none; font: 500 1rem 'Manrope', sans-serif; color: var(--soft); cursor: pointer; }
.pt-tab:hover { color: var(--ink); }
.pt-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.pt-panel { display: grid; grid-template-columns: 1.6fr .4fr; gap: 52px; align-items: start; }
.pt-panel[hidden] { display: none; }
.pt-panel h3 { font-size: 1.6rem; line-height: 1.15; font-weight: 400; }
.pt-panel p { margin-top: 14px; }
.pt-panel ul { margin: 22px 0 0; padding: 0; list-style: none; }
.pt-panel li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink); }
.pt-shot { display: block; width: 100%; border: 1px solid var(--rule); box-shadow: 0 40px 80px -48px rgba(3, 44, 29, .55); }

/* One request, start to finish */
.pt-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin: 0; padding: 38px 0 0; list-style: none; border-top: 1px solid var(--green); }
.pt-timeline li { position: relative; }
.pt-timeline li::before { content: ''; position: absolute; top: -44px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--green); }
.pt-timeline li:last-child::before { background: var(--gold); border-color: var(--gold); }
.pt-when { display: block; font-size: .86rem; font-weight: 600; color: var(--gold); }
.pt-timeline h3 { margin-top: 10px; font-size: 1.35rem; line-height: 1.2; }
.pt-timeline p { margin-top: 10px; font-size: .96rem; }

/* Split sections */
.pt-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.pt-split.flip { grid-template-columns: .95fr 1.05fr; }
.pt-split p { margin-top: 20px; font-size: 1.06rem; }
.pt-points { margin: 32px 0 0; padding: 0; list-style: none; }
.pt-points li { display: grid; grid-template-columns: 10.5rem 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--rule); font-size: .97rem; }
.pt-points li b { font-weight: 600; color: var(--ink); }
.pt-on-green .pt-points li { border-color: var(--rule-light); }
.pt-on-green .pt-points li b { color: var(--ivory); }
.pt-figure { position: relative; margin: 0; }
.pt-figure img { display: block; width: 100%; }
.pt-figure.card img { border: 1px solid var(--rule); box-shadow: 0 40px 80px -48px rgba(3, 44, 29, .55); }
.pt-figure figcaption { margin-top: 14px; font-size: .84rem; color: var(--soft); }
.pt-figure.photo { aspect-ratio: 4 / 5; overflow: hidden; }
.pt-figure.photo img { height: 100%; object-fit: cover; }

/* Spec list */
.pt-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 52px; }
.pt-spec h3 { padding-bottom: 16px; border-bottom: 1px solid var(--green); font-size: 1.3rem; }
.pt-spec dl { margin: 0; }
.pt-spec dt { padding-top: 18px; font-weight: 600; color: var(--ink); }
.pt-spec dd { margin: 4px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--rule); font-size: .95rem; }

/* Configured for your agency: core and bespoke around one hub */
.pt-config { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; margin-bottom: 68px; }
.pt-config-copy p + p { margin-top: 18px; }
.pt-config-copy p { font-size: 1.08rem; }
.pt-key { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-bottom: 30px; font-size: .9rem; color: var(--ivory); }
.pt-key span { display: inline-flex; align-items: center; gap: 12px; }
.pt-key b { width: 26px; height: 0; border-top: 1px solid; }
.pt-key .core b { border-color: rgba(246, 242, 234, .6); }
.pt-key .custom b { border-color: var(--gold-light); border-top-style: dashed; }
.pt-map { position: relative; width: 100%; aspect-ratio: 1100 / 640; }
.pt-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pt-map line { stroke-width: 1; vector-effect: non-scaling-stroke; }
.pt-map line.core { stroke: rgba(246, 242, 234, .35); }
.pt-map line.custom { stroke: rgba(214, 182, 126, .75); stroke-dasharray: 4 6; animation: pt-flow 3s linear infinite; }
@keyframes pt-flow { to { stroke-dashoffset: -20; } }
.pt-hub { position: absolute; left: 50%; top: 50%; z-index: 2; width: 24%; transform: translate(-50%, -50%); padding: 24px; background: var(--ivory); text-align: left; }
.pt-hub img { display: block; width: 40px; height: auto; }
.pt-hub h3 { margin-top: 14px; font-size: 1.3rem; color: var(--ink) !important; }
.pt-hub p { margin-top: 6px; font-size: .84rem; color: var(--soft); }
.pt-node { position: absolute; z-index: 2; width: 19%; transform: translate(-50%, -50%); padding: 13px 15px; background: var(--green); border: 1px solid rgba(246, 242, 234, .3); }
.pt-node.custom { border: 1px dashed rgba(214, 182, 126, .8); }
.pt-node h4 { font: 600 .9rem 'Manrope', sans-serif; line-height: 1.3; letter-spacing: 0; }
.pt-node p { margin-top: 3px; font-size: .78rem; line-height: 1.45; color: rgba(246, 242, 234, .66); }
.pt-node.custom h4 { color: var(--gold-light); }

/* Offer */
.pt-offer { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); background: #fbf8f2; }
.pt-offer > div { padding: 52px; }
.pt-offer > div + div { background: var(--green); }
.pt-offer h3 { margin-top: 12px; font-size: 1.8rem; line-height: 1.12; font-weight: 300; }
.pt-offer p { margin-top: 14px; }
.pt-offer ul { margin: 26px 0 0; padding: 0; list-style: none; }
.pt-offer li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: .96rem; color: var(--ink); }
.pt-offer > div + div ul { columns: 2; column-gap: 32px; }
.pt-offer > div + div li { break-inside: avoid; border-color: var(--rule-light); color: var(--ivory); }

/* FAQ */
.pt-faq { margin: 0; }
.pt-faq > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; padding: 28px 0; border-top: 1px solid var(--rule); }
.pt-faq dt { font-family: 'Fraunces', serif; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.pt-faq dd { margin: 0; }

/* Closing plate */
.pt-close { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; background: var(--green); }
.pt-close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-close::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 29, 19, .86) 0%, rgba(2, 29, 19, .55) 48%, rgba(2, 29, 19, .12) 78%); }
.pt-close .pt-wrap { position: relative; z-index: 1; padding: 120px 0 104px; }
.pt-close h2 { max-width: 13ch; color: var(--ivory); font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1.04; font-weight: 300; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; }
.pt-close p { margin-top: 20px; max-width: 40ch; color: rgba(246, 242, 234, .82); font-size: 1.08rem; }
.pt-close .pt-actions { margin-top: 36px; }

/* Gentle reveals */
.pt-reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.pt-reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .pt-reveal { opacity: 1; transform: none; transition: none; }
    .pt-map line.custom { animation: none; }
    .pt-plate img { top: 0; height: 100%; }
}

/* Shared Waxley Graham footer on this page */
.pt-page .site-footer { background: #07111f; color: var(--white, #f7f9fc); font-family: 'Manrope', sans-serif; font-weight: 400; }
.pt-page .site-footer h2 { color: #f7f9fc; font-family: 'Manrope', sans-serif; font-weight: 700; letter-spacing: -.05em; }

@media (max-width: 1080px) {
    .pt-nav-links { display: none; }
    .pt-hero { grid-template-columns: 1fr; min-height: 0; }
    .pt-hero-copy { padding: 56px 32px 56px; }
    .pt-hero-media { aspect-ratio: 16 / 10; }
    .pt-intro, .pt-film, .pt-config, .pt-split, .pt-split.flip { grid-template-columns: 1fr; gap: 36px; }
    .pt-panel { grid-template-columns: 1fr; gap: 28px; }
    .pt-spec { grid-template-columns: 1fr 1fr; gap: 44px; }
    .pt-timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; border-top: 0; padding-top: 0; }
    .pt-timeline li { padding-top: 28px; border-top: 1px solid var(--green); }
    .pt-timeline li::before { top: -6px; }
}
@media (max-width: 860px) {
    .pt-section { padding: 88px 0; }
    .pt-wrap { width: min(calc(100% - 40px), var(--max)); }
    .pt-nav-toggle { display: block; }
    .pt-nav-by, .pt-nav-right .pt-btn { display: none; }
    .pt-nav-links.open { display: grid; position: absolute; top: 76px; left: 0; right: 0; gap: 0; padding: 6px 20px 18px; background: var(--ivory); border-bottom: 1px solid var(--rule); }
    .pt-nav-links.open a { padding: 15px 0; border-bottom: 1px solid var(--rule); }
    .pt-hero-copy { padding: 48px 20px; }
    .pt-compare thead { display: none; }
    .pt-compare tr { display: block; padding: 20px 0; border-top: 1px solid var(--rule); }
    .pt-compare td { display: block; width: auto !important; padding: 4px 0; border: 0; }
    .pt-compare td:nth-child(2)::before { content: 'Before: '; font-weight: 600; }
    .pt-compare td:last-child::before { content: 'With Portelle: '; font-weight: 600; color: var(--gold); }
    .pt-offer { grid-template-columns: 1fr; }
    .pt-offer > div { padding: 36px 26px; }
    .pt-faq > div { grid-template-columns: 1fr; gap: 8px; }
    .pt-map { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .pt-map > svg { display: none; }
    .pt-hub, .pt-node { position: static; width: auto; transform: none; }
    .pt-hub { grid-column: 1 / -1; }
    .pt-plate { height: 70vh; min-height: 460px; }
    .pt-plate::after, .pt-close::after { background: linear-gradient(0deg, rgba(2, 29, 19, .85) 0%, rgba(2, 29, 19, .35) 55%, rgba(2, 29, 19, .1) 100%); }
    .pt-close { min-height: 560px; }
    .pt-close .pt-wrap { padding: 96px 0 72px; }
}
@media (max-width: 600px) {
    body.pt-page { font-size: 16px; }
    .pt-spec, .pt-timeline, .pt-map { grid-template-columns: 1fr; }
    .pt-points li { grid-template-columns: 1fr; gap: 2px; }
    .pt-offer > div + div ul { columns: 1; }
    .pt-play { left: 14px; bottom: 14px; }
    .pt-hero-caption { left: 20px; bottom: 18px; }
}
