/* NoWeekends: a studio portfolio, with the offer kept close to the work. */
::selection { background: var(--lime); color: var(--ink); }
.hero { grid-template-columns: 1fr 1.12fr; column-gap: 56px; row-gap: 0; padding-block: 72px 68px; align-items: start; }
.hero h1 { font-size: clamp(3.1rem, 5.55vw, 5.25rem); letter-spacing: -.04em; line-height: 1.02; }
.hero h1 span { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .13em; text-underline-offset: .09em; text-decoration-skip-ink: none; }
.hero-intro { grid-column: 1; grid-row: 1; align-self: end; }
.hero-context { max-width: 34ch; margin: 22px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.hero-copy { grid-column: 1; grid-row: 2; align-self: start; }
.hero .lead { max-width: 42ch; margin-top: 30px; }
.hero-copy .button { border-radius: 0; min-height: 58px; }
/* Each preview is a complete, independent composition. Shared chrome stays outside. */
.sample-preview { grid-column: 2; grid-row: 1 / 3; margin-top: 8px; min-width: 0; }
.preview-bar { background: var(--ink); color: var(--paper, #f5f6ef); padding: 15px 18px; margin: 0; gap: 16px; border-bottom: 1px solid #405043; }
.preview-bar > span { color: #d5dfd2; }
.preview-bar a { color: var(--lime); min-height: 44px; align-items: center; flex-shrink: 0; white-space: nowrap; }
.preview-current-design { display: grid; gap: 3px; line-height: 1.35; }
.preview-count { font-size: 12px; font-variant-numeric: tabular-nums; }
.demo-stage { container-type: inline-size; background: #f1eddd; }
.demo-panel { height: 470px; position: relative; display: block; overflow: hidden; color: var(--preview-ink); background: var(--preview-paper); text-decoration: none; isolation: isolate; }
.demo-panel[hidden] { display: none; }
.demo-panel:focus-visible { outline: 3px solid currentColor; outline-offset: -6px; }
.demo-panel picture { position: absolute; display: block; overflow: hidden; }
.demo-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-brand, .preview-headline, .preview-detail, .preview-visit { position: absolute; }
.preview-brand { inset: 24px 26px auto; display: flex; align-items: center; justify-content: space-between; font-size: 20px; line-height: 1.1; }
.preview-brand svg { width: 28px; height: 28px; }
.preview-brand > span { font: 400 11px/1.4 Manrope, sans-serif; }
.preview-headline { font-weight: 400; letter-spacing: -.025em; line-height: 1.03; z-index: 1; }
.preview-detail { font: 400 11px/1.5 Manrope, sans-serif; }
.preview-visit { bottom: 18px; left: 26px; right: 26px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; }
.preview-visit svg { transition: transform .25s ease; }
.demo-panel:hover .preview-visit { text-decoration: underline; text-underline-offset: 5px; }
.demo-panel:hover .preview-visit svg { transform: translateX(4px); }
.preview-garden { --preview-paper: #f1eddd; --preview-ink: #223b28; }
.preview-garden .preview-brand { font-family: Fraunces, Georgia, serif; border-bottom: 1px solid #b7bca9; padding-bottom: 15px; }
.preview-garden .preview-headline { top: 91px; left: 26px; font: 400 clamp(40px, 8.8cqw, 54px)/1.02 Fraunces, Georgia, serif; letter-spacing: -.035em; }
.preview-garden .preview-headline em { font-style: normal; color: #456337; }
.preview-garden picture { right: 26px; top: 114px; bottom: 76px; width: 46%; border-radius: 50% 50% 0 0; }
.preview-garden img { object-position: 72% center; }
.preview-garden .preview-detail { left: 26px; bottom: 95px; }
.preview-garden .preview-visit { border-top: 1px solid #b7bca9; padding-top: 8px; }
.preview-ember { --preview-paper: #a83220; --preview-ink: #fff4df; }
.preview-ember .preview-brand { font-family: Fraunces, Georgia, serif; }
.preview-ember .preview-headline { top: 72px; left: 26px; font: 700 clamp(64px, 13cqw, 82px)/.88 BarlowCondensed, sans-serif; text-transform: uppercase; }
.preview-ember picture { width: 56%; aspect-ratio: 1; right: -5%; top: 141px; border-radius: 50%; }
.preview-ember img { object-position: 65% 65%; }
.ember-invitation { position: absolute; top: 280px; left: 26px; z-index: 1; font: 400 clamp(29px, 7.8cqw, 42px)/1.06 Fraunces, Georgia, serif; max-width: 5.5ch; }
.preview-ember .preview-detail { bottom: 72px; left: 26px; right: 26px; border-block: 1px solid #d9907c; padding-block: 10px; display: flex; justify-content: space-between; gap: 12px; background: #a83220; }
.preview-ember .preview-visit { bottom: 14px; }
.preview-still { --preview-paper: #eddfd0; --preview-ink: #3b1c32; }
.preview-still .preview-brand { font: 400 24px/1.1 Fraunces, Georgia, serif; }
.preview-still picture { top: 94px; bottom: 89px; left: 26px; width: 47%; }
.preview-still img { object-position: center 48%; }
.example-still img { object-position: center 48%; }
.preview-still .preview-headline { top: 122px; left: 57%; font: 400 clamp(27px, 6.5cqw, 38px)/1.16 Manrope, sans-serif; letter-spacing: -.03em; }
.preview-still .preview-detail { left: 11px; top: 100px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .02em; }
.preview-still .preview-visit { border-top: 1px solid #bda899; padding-top: 10px; }
.preview-current { --preview-paper: #163ccd; --preview-ink: #fff; }
.preview-current .preview-brand { font: 700 15px/1.05 Manrope, sans-serif; letter-spacing: .035em; }
.preview-current .preview-brand svg { color: #e6ff79; stroke-width: 1.4; }
.preview-current .preview-headline { top: 95px; left: 26px; font: 700 clamp(35px, 8.5cqw, 48px)/1.02 Manrope, sans-serif; letter-spacing: -.04em; }
.current-trace { position: absolute; width: 23%; top: 91px; right: 26px; height: 142px; stroke: #e6ff79; stroke-width: 1; transform-origin: top; }
.preview-current .preview-detail { left: 26px; right: 48%; top: 274px; }
.preview-current .preview-detail > span { display: block; border-top: 1px solid #7c94ee; padding: 9px 0; font-size: 11px; }
.preview-current picture { width: 35%; right: 26px; top: 275px; height: 112px; }
.preview-current img { object-position: 15% center; }
.preview-current .preview-visit { color: #e6ff79; border-top: 1px solid #7c94ee; padding-top: 8px; }
.preview-form { --preview-paper: #101b19; --preview-ink: #ff845b; }
.preview-form .preview-brand { font: 700 23px/1 BarlowCondensed, sans-serif; }
.preview-form .preview-brand > span { color: #f3e8dc; }
.preview-form .preview-headline { top: 74px; left: 26px; right: 18px; font: 700 clamp(58px, 13.4cqw, 80px)/.9 BarlowCondensed, sans-serif; letter-spacing: -.025em; white-space: nowrap; }
.preview-form picture { top: 157px; height: 131px; left: 0; width: 100%; }
.preview-form img { object-position: center 65%; }
.form-finish { position: absolute; top: 278px; right: 26px; font: 700 clamp(72px, 16cqw, 96px)/.9 BarlowCondensed, sans-serif; letter-spacing: -.025em; }
.preview-form .preview-detail { top: 366px; left: -2%; width: 104%; text-align: center; color: #101b19; background: #ff845b; transform: rotate(-3deg); padding: 7px; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.preview-form .preview-visit { bottom: 9px; color: #f3e8dc; }
.showcase-controls { display: flex; flex-wrap: wrap; gap: 0; background: var(--ink); padding: 8px; }
.showcase-controls[hidden] { display: none; }
.showcase-controls button { border: 0; background: transparent; color: #d5dfd2; padding: 12px 10px; min-height: 44px; font: 700 12px/1.4 Manrope, sans-serif; cursor: pointer; flex: 1 1 auto; }
.showcase-controls button:hover { background: #293b30; color: #fff; }
.showcase-controls button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.showcase-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; text-decoration: underline; text-underline-offset: 4px; }
.showcase-controls button[aria-pressed="true"]:focus-visible { outline-color: var(--ink); }
.sample-preview figcaption { margin-top: 14px; line-height: 1.6; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.examples-section { padding-block: 52px 80px; border-top: 1px solid var(--ink); }
.examples-heading { grid-template-columns: 1.2fr 1fr; gap: 56px; margin-bottom: 40px; }
.examples-heading h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); }
.examples-heading p { margin-bottom: 4px; }
.examples-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 24px; }
.example-card:first-child { grid-column: span 4; }
.example-card:nth-child(2) { grid-column: span 2; }
.example-card:nth-child(n+3) { grid-column: span 2; }
.example-card:nth-child(-n+2) .example-image { height: 380px; }
.example-card .example-image { height: 310px; }
.example-name { letter-spacing: -.035em; }
.example-ember .example-name { letter-spacing: -.035em; }
.example-garden .example-name { border-radius: 52% 52% 0 0; padding: 42px 26px 24px; max-width: 220px; font-size: 46px; line-height: .95; }
.example-ember .example-name { top: auto; bottom: 14px; font-size: 44px; max-width: 210px; }
.example-current .example-name { font-size: clamp(24px, 2.8vw, 38px); }
.example-form .example-name { font-size: 64px; }
.example-card:hover .example-image img { transform: scale(1.035); }
.example-image img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.example-caption { border-bottom: 1px solid var(--line); padding-block: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .hero { column-gap: 32px; padding-block: 48px; }
  .hero h1 { font-size: clamp(2.9rem, 5.6vw, 4.7rem); }
  .example-card .example-image { height: 280px; }
  .example-name { max-width: calc(100% - 28px); }
  .example-still .example-name { font-size: 32px; }
  .example-form .example-name { font-size: 48px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 44px; }
  .hero-intro, .hero-copy, .sample-preview { grid-column: 1; grid-row: auto; }
  .hero .lead { margin-top: 0; }
  .hero h1 { font-size: clamp(3rem, 9vw, 4.8rem); max-width: 15ch; }
  .hero-copy { max-width: 650px; }
  .sample-preview { width: 100%; max-width: none; margin-top: 0; }
  .examples-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px; }
  .examples-heading p { max-width: 60ch; }
  .examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .example-card:first-child { grid-column: 1 / -1; }
  .example-card:nth-child(n+2) { grid-column: span 1; }
  .example-card:first-child .example-image { height: 360px; }
  .example-card:nth-child(n+2) .example-image { height: 280px; }
  .example-ember .example-name { font-size: 34px; }
  .site-footer .footer-links { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 3.5rem); }
  .hero .lead { margin-top: 0; }
  .preview-bar { font-size: 12px; padding: 10px 14px; }
  .showcase-controls { padding: 5px; }
  .showcase-controls button { flex-basis: 30%; font-size: 12px; padding-inline: 6px; }
  .examples-section { padding-block: 34px 44px; }
  .examples-heading h2 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .example-card:first-child .example-image { height: 300px; }
  .example-card:nth-child(n+2) .example-image { height: 245px; }
  .example-garden .example-name { font-size: 40px; padding: 36px 22px 20px; max-width: 190px; }
  .example-ember .example-name { font-size: 27px; }
  .example-still .example-name { font-size: 27px; }
  .example-current .example-name { font-size: 22px; }
  .example-form .example-name { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .example-image img { transition: none; }
  .example-card:hover .example-image img { transform: none; }
}

@media (max-width: 480px) {
  .demo-panel { height: 430px; }
  .preview-brand { inset-inline: 20px; top: 21px; }
  .preview-headline, .preview-garden .preview-headline, .preview-ember .preview-headline, .preview-current .preview-headline, .preview-form .preview-headline { left: 20px; }
  .preview-garden .preview-headline { font-size: clamp(30px, 9cqw, 34px); }
  .preview-garden picture { right: 20px; top: 117px; bottom: 103px; width: 42%; }
  .preview-garden .preview-detail { left: 20px; bottom: 111px; }
  .preview-visit { left: 20px; right: 20px; bottom: 13px; }
  .preview-ember picture { top: 157px; width: 64%; right: -7%; }
  .ember-invitation { top: 269px; left: 20px; }
  .preview-ember .preview-detail { left: 20px; right: 20px; bottom: 65px; font-size: 11px; gap: 8px; }
  .preview-still picture { left: 22px; width: 45%; top: 87px; bottom: 76px; }
  .preview-still .preview-headline { top: 118px; left: 55%; }
  .preview-still .preview-detail { left: 7px; }
  .preview-current .preview-headline { top: 91px; }
  .current-trace { right: 20px; width: 22%; top: 95px; }
  .preview-current .preview-detail { top: 246px; left: 20px; }
  .preview-current picture { top: 247px; right: 20px; height: 112px; }
  .preview-form .preview-headline { top: 79px; }
  .preview-form picture { top: 147px; height: 116px; }
  .form-finish { top: 258px; right: 20px; }
  .preview-form .preview-detail { top: 337px; }
}
@media (prefers-reduced-motion: reduce) {
  .preview-visit svg { transition: none; }
  .demo-panel:hover .preview-visit svg { transform: none; }
}

/* Preserve breathing room between the garden headline and arch on narrow phones. */
@media (max-width: 360px) {
  .preview-garden .preview-headline { font-size: 28px; }
  .preview-garden picture { top: 175px; bottom: 88px; width: 40%; }
}
