:root {
  --bg: #fbf5eb;
  --surface: #fffaf3;
  --text: #392921;
  --muted: #695548;
  --primary: #993f24;
  --accent: #cf6842;
  --line: #e3d4bf;
  --focus: #93371f;
  --radius: 26px;
  --display: Georgia, "Times New Roman", serif;
  --space: 1rem;
  --body-size: 16px;
  color: var(--text);
  background: var(--bg);
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 8px; top: -80px; background: var(--surface); padding: 12px; }
.skip:focus { top: 8px; }
.mast, footer { background: var(--surface); }
.mast { border-bottom: 1px solid var(--line); }
.navline, .foot, .navlinks, .foot nav, .actions { display: flex; align-items: center; }
.navline, .foot { justify-content: space-between; gap: 16px; }
.navline { min-height: 70px; }
.brand { display: inline-flex; gap: 8px; align-items: center; color: var(--text); text-decoration: none; font-size: 1.25rem; font-weight: 820; letter-spacing: -.055em; }
.brand img, .brand svg { width: 28px; height: 28px; }
.navlinks, .foot nav { gap: clamp(12px, 3vw, 30px); }
.navlinks a, .foot nav a { color: var(--text); text-decoration: none; font-weight: 630; font-size: .94rem; }
.navlinks a:hover, .foot nav a:hover { text-decoration: underline; }
.nav-cta { padding: 9px 17px; border: 1px solid var(--line); border-radius: 99px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.1vw, 5rem); font-weight: 820; letter-spacing: -.045em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); letter-spacing: -.052em; }
h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.hero { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: clamp(12px, 4vw, 56px); padding-block: clamp(32px, 5vw, 72px); }
.intro p { max-width: 47ch; margin: 20px 0 26px; color: var(--muted); font-size: clamp(1.04rem, 1.7vw, 1.22rem); }
.actions { flex-wrap: wrap; gap: 10px; }
.cta, .secondary, .panel button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; border: 1px solid transparent; border-radius: 99px; font: inherit; font-weight: 730; text-decoration: none; cursor: pointer; }
.cta, .panel button[type="submit"] { color: var(--surface); background: var(--primary); box-shadow: 0 7px 18px #55331e22; }
.secondary, .panel button { color: var(--text); background: var(--surface); border-color: var(--line); }
.cta:hover, .panel button:hover, .secondary:hover { filter: brightness(.96); }
.filmstrip { display: flex; justify-content: center; align-items: center; padding: 20px 12px 18px; min-width: 0; }
.print { width: 44%; max-width: 148px; padding: 6px 6px 0; background: var(--surface); border-radius: 15px; box-shadow: 0 13px 36px #55331e22; }
.print img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 3.8; object-fit: cover; border-radius: 10px; }
.print figcaption { padding: 7px 4px 9px; text-align: center; font-size: .8rem; font-weight: 700; }
.source { transform: rotate(-4deg); }
.take { margin-left: -8%; transform: translateY(8px) rotate(5deg); }
.workspace, .examples, .guide, .faq { margin-bottom: clamp(30px, 5vw, 64px); scroll-margin-top: 18px; }
.workspace, .article, .guide, .faq, .sample { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.workspace, .guide, .article, .faq { padding: clamp(22px, 4vw, 52px); }
.workspace { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 5.5vw, 74px); align-items: start; box-shadow: 0 12px 40px #55331e12; }
.editor-copy > p { color: var(--muted); margin: 14px 0 22px; }
.specs div { padding: 9px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 5.2em 1fr; gap: 6px; }
.specs dt, summary { font-weight: 700; }
.specs dd, .panel small { color: var(--muted); }
.panel { min-width: 0; }
.panel form { display: grid; gap: 9px; }
.panel label { font-weight: 730; }
.panel label:not(:first-child) { margin-top: 7px; }
.panel input, .panel textarea { min-width: 0; width: 100%; border: 1px solid #b49d87; border-radius: 12px; background: var(--surface); padding: 11px 13px; color: inherit; font: inherit; }
.panel textarea { resize: vertical; }
.panel input::file-selector-button { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; margin-right: 10px; font-weight: 650; }
.panel [data-save] { justify-self: start; font-size: .86rem; padding: 5px 0; background: none; border: 0; color: var(--primary); text-decoration: underline; text-underline-offset: .18em; }
.panel button:disabled { opacity: .6; cursor: wait; }
.panel video, .panel img { display: block; max-width: 100%; max-height: 360px; margin: 12px auto; border-radius: 12px; }
.panel [role="status"]:not(:empty) { padding: 9px 0; font-weight: 630; }
.examples > h2 { text-align: center; margin: 0 auto clamp(24px, 4vw, 48px); }
.gallery { display: grid; gap: clamp(20px, 4vw, 46px); }
.sample { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); min-width: 0; padding: clamp(16px, 3vw, 38px); box-shadow: 0 14px 36px #55331e12; }
.sample:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }
.sample:nth-child(even) .sample-screen { order: 2; }
.sample-screen { display: grid; place-items: center; aspect-ratio: 4/3; min-width: 0; background: var(--bg); border-radius: 17px; padding: clamp(10px, 2vw, 23px); }
.sample:nth-child(even) .sample-screen { background: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
.sample video { display: block; width: auto; height: auto; max-width: 100%; max-height: clamp(190px, 26vw, 320px); border-radius: 8px; background: var(--text); box-shadow: 0 5px 16px #55331e22; }
.caption h3 { font-size: clamp(1.6rem, 3.1vw, 2.7rem); }
.caption > p { font-size: .92rem; color: var(--muted); margin: 6px 0 14px; }
.caption .shot-note { font-size: 1.05rem; line-height: 1.65; margin: 14px 0; color: var(--text); }
.caption > a { display: inline-block; margin-top: 14px; font-weight: 670; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-shot { animation: shot-arrival .65s cubic-bezier(.22,1,.36,1) both; }
  @keyframes shot-arrival { from { opacity: .65; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
}
summary { cursor: pointer; }
details p { margin: 10px 0 4px; }
.guide, .faq { margin-inline: auto; }
.guide p, .article p, .article li, .faq details { max-width: 72ch; }
.guide h2:not(:first-child), .article h2 { margin-top: 1.3em; }
.guide h3 { margin-top: 22px; }
.guide p, .article p { margin-top: 12px; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.faq details:first-child { padding-top: 0; }
.article { max-width: 860px; margin: clamp(26px, 5vw, 66px) auto; }
.article h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.article h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
footer { border-top: 1px solid var(--line); }
.foot { padding-block: 25px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hero, .workspace, .faq { grid-template-columns: 1fr; }
  .hero { text-align: center; gap: 14px; }
  .intro p { margin-inline: auto; }
  .actions { justify-content: center; }
  .filmstrip { padding-block: 9px 13px; }
  .print { width: 41%; max-width: 126px; }
  .take { margin-left: 2px; }
  .print figcaption { font-size: .75rem; }
  .workspace { gap: 22px; }
  .sample, .sample:nth-child(even) { grid-template-columns: 1fr; }
  .sample:nth-child(even) .sample-screen { order: 0; }
  .navline { min-height: 59px; }
}
@media (max-width: 500px) {
  .navlinks { gap: 13px; }
  .navlinks a, .foot nav a { font-size: .84rem; }
  .navlinks .nav-cta { display: none; }
  .foot { flex-wrap: wrap; }
  .brand { font-size: 1.12rem; }
  .specs { font-size: .93rem; }
  .cta, .secondary { padding: 11px 17px; }
}

.editor-sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.panel .editor-sample video { width: 100%; height: auto; margin: 0; background: var(--text); }
.editor-sample figcaption { display: grid; gap: 3px; font-size: .92rem; }
.editor-sample figcaption span { color: var(--muted); }
.article table { width: 100%; margin: 18px 0; border-collapse: collapse; line-height: 1.5; }
.article th, .article td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.article th { background: var(--bg); }
.article td:first-child { width: 40%; }
@media (max-width: 430px) {
  .editor-sample { grid-template-columns: 1fr; gap: 8px; }
  .article th, .article td { padding: 8px 5px; }
}

.guide-crumb { margin-bottom: 1.4rem; color: var(--muted); font-size: .93rem; }
.editorial summary { cursor: pointer; font-weight: 650; }
.editorial details { margin: .9em 0; }
.editorial table:has(th:nth-child(3)) td:first-child { width: auto; }
.editorial.wide-guide { max-width: 1120px; }
.wide-guide table { display: block; overflow-x: auto; }
.wide-guide th, .wide-guide td { min-width: 8.5rem; overflow-wrap: normal; }
.wide-guide p, .wide-guide li { max-width: 77ch; }

.blog-index { padding-block: clamp(36px, 6vw, 78px); }
.blog-intro { margin-bottom: clamp(24px, 4vw, 48px); }
.blog-intro h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.blog-intro p { max-width: 58ch; margin-top: 14px; color: var(--muted); font-size: 1.12rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.post-card a { display: block; border-radius: inherit; height: 100%; color: inherit; text-decoration: none; }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200/630; object-fit: cover; object-position: 50% 35%; border-radius: 17px 17px 0 0; }
.post-copy { padding: 22px; }
.post-copy h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.post-copy p, .article .post-byline { color: var(--muted); margin-top: 12px; }
.post-card a:hover h2, .post-card a:focus-visible h2 { text-decoration: underline; text-underline-offset: .12em; }
.article .post-byline { font-size: .88rem; margin-top: 18px; }

body { background: radial-gradient(ellipse 80% 660px at 72% 0, color-mix(in srgb, var(--accent) 13%, var(--bg)), transparent), var(--bg); }
.mast { background: var(--bg); }
.navline { min-height: 72px; }
.navlinks .nav-cta { color: var(--surface); background: var(--text); border-color: var(--text); }
.hero { padding-block: clamp(30px, 5.6vw, 78px); }
.hero h1, .blog-intro h1, .article h1 { font-family: var(--display); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; }
.hero h1 { font-size: clamp(3.3rem, 5.9vw, 5.7rem); }
.hero h1 em { display: block; color: var(--primary); font-weight: inherit; }
.hero-art { margin: 0; position: relative; isolation: isolate; }
.hero-art picture { display: block; overflow: hidden; border: 5px solid var(--surface); border-radius: var(--radius); box-shadow: 0 16px 42px #55331e22; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art figcaption { position: absolute; bottom: 16px; left: 16px; color: var(--surface); background: var(--text); padding: 5px 12px; border-radius: 99px; font-size: .74rem; }
.workspace { background: linear-gradient(110deg, var(--bg), var(--surface) 57%); }
.filmstrip { margin-top: 18px; padding-block: 8px; }
.examples > h2, .workspace h2, .guide h2, .faq h2, .caption h3, .post-copy h2, .article h2, .story-card h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.04em; }
.sample-screen { background: color-mix(in srgb, var(--line) 58%, var(--bg)); }
.guide.shots { background: none; border: 0; padding: 0; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px,2.4vw,32px); margin-top: 26px; }
.story-card { min-width: 0; background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); padding-bottom: 22px; }
.story-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; object-position: 50% 42%; }
.story-card h3, .story-card p { margin-inline: 20px; }
.story-card h3 { font-size: 1.65rem; }
.article-lead { display: grid; grid-template-columns: minmax(0,1fr) minmax(150px,30%); align-items: center; gap: clamp(20px,4vw,48px); padding-block: 8px 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-lead:not(:has(img)) { grid-template-columns: 1fr; }
.article-lead img { width: 100%; height: auto; border-radius: 14px; }
.blog-intro { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-card img { aspect-ratio: 1.68; object-position: 50% 42%; }
footer { background: var(--text); }
.foot .brand, .foot nav a { color: var(--surface); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: coastal-light 1.1s ease-out both; }
  @keyframes coastal-light { from { transform: scale(1.035); } to { transform: scale(1); } }
  .post-card, .actions a { transition: transform .22s ease, box-shadow .22s ease; }
  @media (hover: hover) { .post-card:hover, .actions a:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #55331e22; } }
}
@media (max-width: 760px) {
  .navline { min-height: 58px; }
  .hero-art { margin: 8px auto 0; width: min(100%, 560px); }
  .hero h1 { font-size: clamp(3rem,9vw,4rem); }
  .hero h1 em { display: inline; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card img { aspect-ratio: 1.8; }
  .article-lead { grid-template-columns: 1fr; }
  .article-lead img { aspect-ratio: 2.2; object-fit: cover; object-position: 50% 40%; }
}

.style-library { padding-block: clamp(20px,3vw,38px); margin-bottom: clamp(32px,5vw,66px); border-block: 1px solid var(--line); }
.style-library h2, .style-card h3 { font-family: var(--display); font-weight: 500; }
.style-library > p { color: var(--muted); max-width: 66ch; margin: 14px 0 22px; }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px,2.3vw,30px); }
.style-card img { display: block; width: 100%; height: auto; border-radius: 16px; }
.style-card figcaption { padding: 13px 0 8px; }
.style-card h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.style-card p { margin-top: 8px; color: var(--muted); }
.more-styles { margin-top: 20px; }
.more-styles summary { width: fit-content; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--primary); background: var(--surface); }
.more-styles[open] .style-grid { margin-top: 20px; }
.more-styles:not([open]) .when-open, .more-styles[open] .when-closed { display: none; }
@media (max-width: 700px) { .style-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 470px) { .style-grid { grid-template-columns: 1fr; } }
