/* Ready Sites. Palette and shapes come from the mark: a shop shutter rolled up, the light on. */
:root {
  --green: #0f4a3c;
  --green-deep: #0a362c;
  --ink: #13211c;
  --paper: #f6f7f2;
  --paper-2: #e9ede5;
  --white: #fff;
  --yellow: #ffc93c;
  --steel: #c5cec8;
  --muted: #55645e;
  --line: rgba(19, 33, 28, .14);
  --line-light: rgba(246, 247, 242, .22);
  --display: "Funnel Display", "Noto Sans TC", system-ui, sans-serif;
  --body: "Funnel Sans", "Noto Sans TC", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
:lang(zh-Hant) h1, :lang(zh-Hant) h2, :lang(zh-Hant) h3 { font-weight: 900; letter-spacing: 0; line-height: 1.22; }
:lang(zh-Hant) body, body:lang(zh-Hant) { line-height: 1.8; }
p { margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.01em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 34em; }
:lang(zh-Hant) .lede { line-height: 1.75; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.on-paper :focus-visible, main :focus-visible { outline-color: var(--green); }
.band-green :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--yellow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd666; }
.btn-line { border-color: var(--line-light); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); }
.btn-green { background: var(--green); color: var(--paper); }
.btn-green:hover { background: var(--green-deep); }
.btn-ink-line { border-color: var(--line); color: var(--ink); }
.btn-ink-line:hover { border-color: var(--ink); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--yellow); }
.text-link:hover { text-decoration-color: currentColor; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--green); color: var(--paper); transition: box-shadow .3s; }
.site-head.stuck { box-shadow: 0 1px 0 var(--line-light), 0 12px 30px -18px rgba(0, 0, 0, .6); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.6rem/1 var(--display); letter-spacing: -.035em; margin-right: auto; white-space: nowrap; }
.logo svg { width: auto; height: 38px; flex: none; overflow: visible; }
.mark .lamp, .mark .leg { transition: transform .45s var(--ease); transform-box: fill-box; }
.mark .lamp { transform-origin: 50% 50%; }
.mark .leg { transform-origin: 0 100%; }
.logo:hover .mark .lamp { transform: translateY(-2px) scale(1.08); }
.logo:hover .mark .leg { transform: rotate(-8deg); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1rem; padding: 8px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .lang { border: 1.5px solid var(--line-light); border-radius: 999px; padding: 7px 14px; font-size: .95rem; }
.nav .lang::after { display: none; }
.nav .lang:hover { border-color: var(--paper); }
.nav .btn { min-height: 44px; padding: 0 1.2em; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; padding: 12px; margin-right: -12px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span + span { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--green); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; border-top: 1px solid var(--line-light); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn)::after { display: none; }
  .nav .lang { border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; padding: 16px 0; font-size: 1.2rem; }
  .nav .btn { margin-top: 22px; justify-content: center; min-height: 52px; }
}

/* Green bands */
.band-green { background: var(--green); color: var(--paper); }
.band-green .lede { color: rgba(246, 247, 242, .86); }

/* Hero */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: block; }
.hero .lede { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.price-line { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 1.05rem; max-width: 30em; }
.price-line strong { color: var(--yellow); font-weight: 700; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* The shopfront: a browser window behind a shutter */
.front { position: relative; }
.front-status { display: inline-flex; align-items: center; gap: 10px; background: var(--green-deep); border: 1px solid var(--line-light); border-radius: 999px; padding: 8px 16px 8px 12px; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.front-status .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--steel); }
.front-status .words { display: grid; }
.front-status .words span { grid-area: 1 / 1; }
.front-status .is-ready { opacity: 0; }
.window { background: var(--paper); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .2); overflow: hidden; color: var(--ink); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--steel); }
.window-bar .addr { margin-left: 10px; flex: 1; background: var(--white); border-radius: 999px; padding: 5px 14px; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-view { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--white); }
.mini { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; font-size: clamp(.7rem, 1.25vw, .95rem); }
.mini-nav { display: flex; align-items: center; gap: 1.2em; padding: 1em 1.4em; border-bottom: 1px solid var(--line); }
.mini-nav b { font-family: var(--display); font-size: 1.15em; margin-right: auto; }
.mini-nav span { color: var(--muted); }
.mini-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1em; align-items: center; padding: 1.2em 1.4em; }
.mini-hero h3 { font-size: 2em; line-height: 1.02; }
:lang(zh-Hant) .mini-hero h3 { line-height: 1.2; }
.mini-hero p { color: var(--muted); margin-top: .6em; }
.mini-btns { display: flex; gap: .5em; margin-top: 1em; }
.mini-btns span { padding: .5em 1em; border-radius: 99px; background: var(--green); color: var(--paper); font-weight: 600; font-size: .9em; }
.mini-btns span + span { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; padding: 0 1.4em 1.4em; }
.mini-tiles div { background: var(--paper-2); border-radius: .8em; padding: .9em 1em; font-weight: 600; }
.mini-tiles div:first-child { background: var(--yellow); }
.mini-tiles small { display: block; font-weight: 400; color: var(--muted); font-size: .85em; margin-top: .2em; }
.mini-tiles div:first-child small { color: var(--ink); opacity: .75; }
.shutter { position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(to bottom, #b9c4bd 0 4px, #d5dcd7 4px 22px, #a7b3ac 22px 26px); display: flex; align-items: flex-end; justify-content: center; }
.shutter::after { content: ""; width: 100%; height: 22px; background: #8f9c95; box-shadow: 0 10px 22px rgba(0, 0, 0, .35); }
.shutter .handle { position: absolute; bottom: 34px; width: 74px; height: 12px; border-radius: 99px; background: #7f8c85; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3); }
.replay { margin-top: 16px; background: none; border: 0; color: rgba(246, 247, 242, .8); font: 500 .95rem var(--body); padding: 8px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-light); text-underline-offset: 5px; }
.replay:hover { color: var(--paper); text-decoration-color: var(--yellow); }

/* Hero motion: one orchestrated opening */
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shutter-up { 0% { transform: none; } 12% { transform: translateY(1.5%); } 100% { transform: translateY(-104%); } }
@keyframes lamp { 0%, 100% { background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 201, 60, .7); } 50% { background: var(--yellow); box-shadow: 0 0 0 7px rgba(255, 201, 60, 0); } }
@keyframes out { to { opacity: 0; } }
@keyframes in { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln > span { animation: rise .9s var(--ease) both; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .09s; }
  .hero h1 .ln:nth-child(3) > span { animation-delay: .18s; }
  .hero .lede, .hero-cta, .price-line, .front { animation: fade-up .8s var(--ease) both; }
  .hero .lede { animation-delay: .35s; }
  .hero-cta { animation-delay: .45s; }
  .price-line { animation-delay: .55s; }
  .front { animation-delay: .25s; }
  .front.play .shutter { animation: shutter-up 1.7s cubic-bezier(.6, 0, .2, 1) 1.1s both; }
  .front.play .dot { animation: lamp 1.6s ease-out 2.5s infinite both; }
  .front.play .is-opening { animation: out .3s 2.4s both; }
  .front.play .is-ready { animation: in .3s 2.5s both; }
  .front.play .mini-nav, .front.play .mini-hero > *, .front.play .mini-tiles div { animation: pop .6s var(--ease) both; }
  .front.play .mini-nav { animation-delay: 1.7s; }
  .front.play .mini-hero > :nth-child(1) { animation-delay: 1.85s; }
  .front.play .mini-hero > :nth-child(2) { animation-delay: 2s; }
  .front.play .mini-tiles div:nth-child(1) { animation-delay: 2.15s; }
  .front.play .mini-tiles div:nth-child(2) { animation-delay: 2.25s; }
  .front.play .mini-tiles div:nth-child(3) { animation-delay: 2.35s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shutter { display: none; }
  .front-status .is-opening { opacity: 0; }
  .front-status .is-ready { opacity: 1; }
  .front-status .dot { background: var(--yellow); }
  .replay { display: none; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 46rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; max-width: 36em; }
.band-green .section-head p { color: rgba(246, 247, 242, .8); }
.tint { background: var(--paper-2); }
.white { background: var(--white); }

/* Work list */
.work-item { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.work-item + .work-item { margin-top: clamp(64px, 9vw, 128px); }
.work-item:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.work-item:nth-of-type(even) .work-shots { order: 2; }
.work-shots { position: relative; padding-bottom: 6%; }
.shot { position: relative; display: block; aspect-ratio: 16 / 10.5; border-radius: 14px; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -45px rgba(19, 33, 28, .55); }
.shot img { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; will-change: transform; }
.shot-phone { position: absolute; right: -2%; bottom: 0; width: 23%; aspect-ratio: 390 / 844; border-radius: 16px; overflow: hidden; background: var(--ink); border: 5px solid var(--ink); box-shadow: 0 30px 50px -25px rgba(19, 33, 28, .7); }
.work-item:nth-of-type(even) .shot-phone { right: auto; left: -2%; }
.shot-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11px; }
.work-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.work-text p { margin-top: 14px; color: var(--muted); }
.work-text .text-link { display: inline-block; margin-top: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; margin-bottom: 16px; padding: 5px 12px 5px 10px; border-radius: 99px; background: var(--paper-2); }
.white .status, .tint .status { background: var(--paper); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--steel); }
.status.live::before { background: #1f9d6b; }
.status.preview::before { background: var(--yellow); }
@media (max-width: 880px) {
  .work-item, .work-item:nth-of-type(even) { grid-template-columns: 1fr; }
  .work-item:nth-of-type(even) .work-shots { order: 0; }
}

/* What you get + the price sign */
.get-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.get-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.get-list li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.get-list svg { width: 26px; height: 26px; margin-top: 3px; color: var(--green); }
.get-list h3 { font-size: 1.25rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.get-list p { color: var(--muted); margin-top: 4px; }
.sign { position: sticky; top: 108px; background: var(--green); color: var(--paper); border-radius: 26px; padding: clamp(28px, 4vw, 44px); isolation: isolate; }
.sign::before { content: ""; position: absolute; inset: 10px; border: 2px solid var(--yellow); border-radius: 18px; z-index: -1; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) .2s; }
.sign.lit::before { clip-path: inset(0); }
.sign .from { font-weight: 500; font-size: 1.05rem; }
.sign .amount { font: 800 clamp(3.2rem, 6.5vw, 5rem)/1 var(--display); letter-spacing: -.03em; color: var(--yellow); margin: 6px 0 10px; white-space: nowrap; }
.sign .terms { font: 700 1.5rem/1.2 var(--display); }
:lang(zh-Hant) .sign .terms { font-weight: 900; line-height: 1.4; }
.sign p.note { margin-top: 18px; color: rgba(246, 247, 242, .8); font-size: 1rem; }
.sign .btn { margin-top: 26px; width: 100%; justify-content: center; }
@media (max-width: 880px) { .get-grid { grid-template-columns: 1fr; } .sign { position: relative; top: 0; } }
@media (prefers-reduced-motion: reduce) { .sign::before { clip-path: none; transition: none; } }

/* Steps: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps::before, .steps .fill { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line); }
.steps .fill { background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps li { position: relative; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--line); font: 700 1.3rem var(--display); margin-bottom: 22px; position: relative; z-index: 1; transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.white .steps li::before { background: var(--white); }
.steps li.on::before { background: var(--yellow); border-color: var(--yellow); transform: scale(1.06); }
.steps h3 { font-size: 1.35rem; }
.steps p { margin-top: 10px; color: var(--muted); }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before, .steps .fill { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .steps .fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps li { padding-left: 80px; min-height: 56px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* Questions */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 700 clamp(1.15rem, 1.8vw, 1.35rem)/1.3 var(--display); letter-spacing: -.01em; }
:lang(zh-Hant) .faq summary { letter-spacing: 0; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2) linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 14px 2px, 2px 14px; background-position: center; background-repeat: no-repeat; background-color: var(--paper-2); transition: transform .35s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq .answer { padding: 0 54px 26px 0; color: var(--muted); max-width: 40em; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] .answer { animation: fade-up .4s var(--ease); } }

/* Closing call */
.closing { text-align: left; }
.closing h2 { font-size: clamp(2.3rem, 6vw, 4.5rem); max-width: 14em; }
.closing .lede { margin-top: 22px; }
.closing .hero-cta { margin-top: 36px; }
.reply { margin-top: 22px; color: rgba(246, 247, 242, .75); }

/* Inner page head */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); max-width: 16em; }
.page-head .lede { margin-top: 22px; }
.crumb { font-size: .95rem; margin-bottom: 22px; color: rgba(246, 247, 242, .75); }
.crumb a { text-underline-offset: 4px; }

/* Case page */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 32px; margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 1.1rem; }
.case-shots { margin-top: clamp(-120px, -9vw, -56px); position: relative; }
.case-shots .shot { aspect-ratio: 16 / 9.5; }
.case-shots .shot-phone { width: 19%; right: 3%; bottom: -8%; }
.prose { max-width: 40rem; display: grid; gap: 1.1em; font-size: 1.12rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: .5em; }
.case-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.next-case { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 28px; margin-top: clamp(56px, 8vw, 96px); }
.next-case a { font: 700 clamp(1.4rem, 3vw, 2rem) var(--display); text-decoration-color: var(--yellow); text-underline-offset: 8px; text-decoration-thickness: 3px; }
@media (max-width: 880px) { .case-body { grid-template-columns: 1fr; } }

/* About */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 88px); border-top: 1px solid var(--line); }
.principles div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.principles p { color: var(--muted); margin-top: 8px; }
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.wa-card { background: var(--green); color: var(--paper); border-radius: 26px; padding: clamp(28px, 4vw, 44px); }
.wa-card .number { font: 800 clamp(2rem, 4vw, 2.8rem)/1.1 var(--display); color: var(--yellow); margin: 10px 0 8px; letter-spacing: -.02em; white-space: nowrap; }
.wa-card p { color: rgba(246, 247, 242, .82); }
.wa-card .btn { margin-top: 26px; }
form.ask { display: grid; gap: 20px; }
form.ask label { display: grid; gap: 8px; font-weight: 600; }
form.ask input, form.ask textarea { font: 400 1.0625rem/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%; }
form.ask input:focus, form.ask textarea:focus { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--green); }
form.ask textarea { min-height: 120px; resize: vertical; }
form.ask .hint { font-weight: 400; color: var(--muted); font-size: .95rem; }
form.ask .error { color: #a3261a; font-weight: 600; min-height: 1.4em; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { background: var(--green-deep); color: var(--paper); padding: clamp(48px, 7vw, 80px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: rgba(246, 247, 242, .72); margin-top: 16px; max-width: 24em; }
.foot-grid h2 { font: 600 1rem var(--body); letter-spacing: 0; color: rgba(246, 247, 242, .6); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid ul a { text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .95rem; color: rgba(246, 247, 242, .65); }
.foot-base a { color: inherit; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp button that stays within reach on a phone */
.wa-float { display: none; }
@media (max-width: 880px) {
  .wa-float { display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .4s var(--ease); }
  .wa-float.show { transform: none; }
  .site-foot { padding-bottom: 96px; }
}

/* Portfolio */
.jump { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-block; text-decoration: none; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-light); transition: background-color .2s, color .2s, border-color .2s; }
.jump a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.project { scroll-margin-top: 76px; }
.project-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.project-head h2 { max-width: 14em; }
.project-head p { margin-top: 14px; color: var(--muted); font-size: 1.15rem; max-width: 32em; }
.project-facts { margin: 0; border-top: 1px solid var(--line); }
.project-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted); }
.project-facts dd { margin: 0; font-weight: 600; text-align: right; }
.project-shots { padding-bottom: 0; }
.project-shots .shot { aspect-ratio: 16 / 9; }
.project-shots .shot-phone { width: 17%; right: 3%; bottom: -5%; }
.screens-title { margin-top: clamp(56px, 7vw, 88px); font-size: 1.35rem; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: 20px; }
.screen { margin: 0; }
.screen-frame { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(19, 33, 28, .5); background: var(--paper-2); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.screen-frame img { width: 100%; height: auto; }
.screen:hover .screen-frame { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 34px 50px -30px rgba(19, 33, 28, .6); }
.screen figcaption { margin-top: 12px; font-weight: 600; }
.project-more { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(32px, 5vw, 48px); }
@media (max-width: 880px) {
  .project-head { grid-template-columns: 1fr; }
  .screens { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screen { scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .screen-frame { transition: none; } .screen:hover .screen-frame { transform: none; } }

/* More sites grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip { font: 600 1rem var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; min-height: 46px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip span { opacity: .6; margin-left: 4px; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--paper); border-color: var(--green); }
.more-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.4vw, 32px); }
.more-card[hidden] { display: none; }
.more-card a { display: block; text-decoration: none; }
.more-shot { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 26px 44px -32px rgba(19, 33, 28, .55); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.more-shot img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.more-card a:hover .more-shot { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 38px 54px -32px rgba(19, 33, 28, .65); }
.more-card a:hover .more-shot img { transform: scale(1.03); }
.more-card h3 { font-size: 1.3rem; margin-top: 18px; line-height: 1.2; }
.more-card p { color: var(--muted); margin-top: 4px; }
.more-card .open { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--yellow); }
.more-card a:hover .open { text-decoration-color: currentColor; }
.more-pointer { margin-top: clamp(56px, 8vw, 96px); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .more-grid.swap .more-card:not([hidden]) { animation: card-in .45s var(--ease) both; } }
@media (prefers-reduced-motion: reduce) { .more-shot, .more-shot img { transition: none; } .more-card a:hover .more-shot, .more-card a:hover .more-shot img { transform: none; } }
@media (max-width: 880px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }
