/* Ora Works Studio */
:root {
  --bg: #0e0d0b;
  --bg-2: #161411;
  --ink: #f1ebe0;
  --muted: #958c7f;
  --line: rgba(241, 235, 224, .14);
  --ochre: #e3a857;
  --terra: #d9653b;
  --blush: #e8b8a4;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--ochre); color: var(--bg); }
html.js body:not(.ready) { overflow: hidden; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: transform 1.1s var(--ease) .1s; }
html.no-js .loader, html.fallback .loader { display: none; }
html.ready .loader { transform: translateY(-101%); }
.loader-word { font-family: var(--serif); font-style: italic; font-size: clamp(90px, 22vw, 260px); line-height: 1; display: flex; align-items: baseline; color: var(--ink); }
/* The clock: starts filling the screen, zooms out and lands as the big "O" of "Ora" */
.loader-clock { width: .96em; height: .96em; margin-right: .05em; transform: translateY(.05em); overflow: visible; fill: none; stroke: var(--ink); stroke-width: 3; animation: clockIn 1.25s cubic-bezier(.7,0,.15,1) forwards; transform-origin: 50% 50%; }
.loader-clock .hand { transform-origin: 20px 20px; animation: tick 1.4s cubic-bezier(.3,0,.2,1) forwards; }
.loader-clock .dot { fill: var(--ochre); stroke: none; }
@keyframes clockIn { 0% { transform: translate(var(--cx, .42em), -.05em) scale(5.5); opacity: 0; } 18% { opacity: 1; } 100% { transform: translate(0, .05em) scale(1); opacity: 1; } }
@keyframes tick { from { transform: rotate(-360deg); } to { transform: rotate(0deg); } }
.loader-ra { display: inline-flex; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.loader-ra span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; animation-delay: 1.05s; }
.loader-ra span:nth-child(2) { animation-delay: 1.15s; color: var(--ochre); }
.loader { overflow: hidden; }
.loader-count { position: absolute; right: var(--pad); bottom: var(--pad); font-size: 13px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes rise { to { transform: none; } }

/* ---------- Grain + cursor ---------- */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; pointer-events: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s; display: grid; place-items: center; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.label { width: 86px; height: 86px; margin: -43px 0 0 -43px; mix-blend-mode: normal; background: var(--ochre); }
.cursor-label { font-size: 13px; font-weight: 500; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(18px + env(safe-area-inset-top, 0px)) var(--pad) 18px; mix-blend-mode: difference; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.01em; font-size: 17px; }
.brand-mark { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2.4; }
.brand-mark .dot { fill: var(--ink); stroke: none; transform-origin: 20px 20px; animation: orbit 12s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-size: 15px; }
.menu a:not(.pill) { position: relative; }
.menu a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.menu a:not(.pill):hover::after { transform: scaleX(1); transform-origin: left; }
.pill { border: 1px solid currentColor; border-radius: 99px; padding: 8px 16px; transition: background .3s, color .3s; }
.pill:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 720px) { .menu a:not(.pill) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--pad) 28px; overflow: hidden; isolation: isolate; }
.art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,13,11,.0) 30%, rgba(14,13,11,.55) 78%, var(--bg)); }
.eyebrow { font-size: 14px; letter-spacing: .02em; color: rgba(241,235,224,.8); margin: 0 0 18px; }
.hero-title { font-weight: 300; font-size: clamp(64px, 13.5vw, 230px); line-height: .88; letter-spacing: -0.055em; margin: 0; }
.hero-title em { letter-spacing: -0.03em; color: var(--ink); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: clamp(26px, 4vw, 48px); }
.hero-lede { flex: 1 1 280px; min-width: 0; max-width: 470px; margin: 0; font-size: clamp(16px, 1.4vw, 19px); color: rgba(241,235,224,.82); }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(36px, 6vw, 70px); padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero-meta b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 28px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 600px) { .scroll-cue { display: none; } }

/* Line reveal (only when JS is on) */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
html.js .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
html.ready .line > span { transform: none; }
html.ready .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
html.ready .hero-lede > span { transition-delay: .3s; }
html.js .hero-foot .btn { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
html.ready .hero-foot .btn { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn { --s: 1; display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--bg); border: 0; border-radius: 99px; padding: 18px 28px; font: 500 16px/1 var(--sans); cursor: pointer; position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ochre); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 34px; font-size: clamp(34px, 6vw, 84px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; animation: slide 38s linear infinite; will-change: transform; }
.marquee-track i { font-style: normal; color: var(--ochre); font-size: .5em; }
.marquee-track em { color: var(--blush); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.big { font-weight: 300; font-size: clamp(44px, 7.4vw, 120px); line-height: .95; letter-spacing: -0.05em; margin: 0; }
.big em { color: var(--ochre); }
.section-head { padding: 0 var(--pad); margin-bottom: clamp(40px, 6vw, 80px); }
html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js .reveal.in, html.fallback .reveal { opacity: 1; transform: none; }

/* Manifesto */
.manifesto { padding: clamp(90px, 14vw, 200px) var(--pad); }
.manifesto-text { margin: 0; max-width: 1180px; font-weight: 300; font-size: clamp(28px, 4.1vw, 64px); line-height: 1.12; letter-spacing: -0.035em; }
.manifesto-text .w { opacity: .16; transition: opacity .25s linear; }
.manifesto-text .w.lit { opacity: 1; }
.manifesto-text em { color: var(--ochre); }

/* Work */
.work { padding-bottom: clamp(60px, 10vw, 140px); }
.case { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: 0 var(--pad); margin-bottom: clamp(70px, 11vw, 160px); }
.case-alt { grid-template-columns: 1fr 1.55fr; }
.case-alt .case-media { order: 2; }
.case-media { position: relative; display: block; border-radius: 22px; overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 10; box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.case-media > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.case:hover .case-media > img:first-child { transform: scale(1.0); }
.case-phone { position: absolute; right: 4%; top: 12%; width: 17%; border-radius: 18px; box-shadow: 0 40px 70px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(241,235,224,.18); border: 5px solid #1c1a16; transition: transform .9s var(--ease); }
.case-media:has(.case-phone) > img:first-child { object-position: left top; }
.case:hover .case-phone { transform: translateY(-6%); }
.case-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ochre); }
.case-info h3 { font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.045em; line-height: 1; margin: 6px 0 16px; }
.case-info p { color: rgba(241,235,224,.75); margin: 0 0 20px; max-width: 440px; }
.tags { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; color: rgba(241,235,224,.8); }
.link-arrow { font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.link-arrow:hover { border-color: var(--ochre); color: var(--ochre); }
.link-arrow.muted { color: var(--muted); }
@media (max-width: 860px) { .case, .case-alt { grid-template-columns: 1fr; } .case-alt .case-media { order: 0; } }

/* Mock admin (project 02) */
.mock { background: radial-gradient(120% 120% at 20% 0%, #3a2a1c 0%, #1d1712 45%, #121010 100%); display: grid; place-items: center; padding: 6%; }
.mock-window { width: 100%; height: 100%; background: #f4efe7; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); color: #2a2620; }
.mock-bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #e8e1d6; font-size: 10px; color: #8c8478; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfc6b8; }
.mock-bar span { margin-left: auto; margin-right: auto; }
.mock-body { flex: 1; display: flex; min-height: 0; }
.mock-body aside { width: 26%; background: #fbf8f3; border-right: 1px solid #e6ded2; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: clamp(8px, 1vw, 12px); }
.mock-body aside b { width: 50%; height: 9px; background: #c9a24d; border-radius: 3px; margin-bottom: 8px; }
.mock-body aside span { padding: 4px 8px; border-radius: 6px; color: #6d665c; }
.mock-body aside span.on { background: #dfe9e2; color: #2e6b50; }
.mock-main { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mock-langs { display: flex; gap: 4px; }
.mock-langs span { font-size: clamp(8px, .9vw, 11px); padding: 3px 8px; border-radius: 99px; background: #ebe4d9; color: #6d665c; }
.mock-langs span.on { background: #2e6b50; color: #fff; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpis div { background: #fff; border-radius: 8px; padding: 8px 10px; box-shadow: 0 6px 16px -12px rgba(0,0,0,.4); }
.mock-kpis small { display: block; font-size: clamp(7px, .8vw, 10px); color: #8c8478; }
.mock-kpis strong { font-size: clamp(12px, 1.6vw, 20px); letter-spacing: -0.03em; }
.mock-chart { flex: 1; background: #fff; border-radius: 8px; padding: 10px; display: flex; align-items: flex-end; gap: 5%; }
.mock-chart i { flex: 1; height: calc(var(--h) * 100%); background: linear-gradient(180deg, #3f8a67, #2e6b50); border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(.2); transition: transform 1.2s var(--ease); }
.case.in .mock-chart i, html.fallback .mock-chart i { transform: none; }
.case.in .mock-chart i:nth-child(2n) { transition-delay: .08s; }
.case.in .mock-chart i:nth-child(3n) { transition-delay: .16s; }

/* Services */
.services { padding-bottom: clamp(80px, 12vw, 180px); }
.svc-list { list-style: none; margin: 0; padding: 0 var(--pad); border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 24px; align-items: baseline; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); position: relative; }
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: linear-gradient(90deg, rgba(227,168,87,.14), rgba(217,101,59,.06) 60%, transparent); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.svc:hover::before { opacity: 1; }
.svc-n { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 20px; }
.svc h3 { margin: 0; font-weight: 300; font-size: clamp(32px, 4.6vw, 72px); letter-spacing: -0.045em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.svc:hover h3 { transform: translateX(14px); color: var(--ochre); }
.svc p { margin: 0; color: rgba(241,235,224,.72); max-width: 460px; }
@media (max-width: 760px) { .svc { grid-template-columns: 44px 1fr; } .svc p { grid-column: 2; } }

/* Process */
.process { height: 320vh; }
.process-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 0 0 40px; }
.process-head { padding: 0 var(--pad); margin-bottom: clamp(30px, 5vh, 60px); }
.process-track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding: 0 var(--pad); will-change: transform; }
.step { flex: 0 0 min(440px, 78vw); min-height: 340px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: linear-gradient(160deg, rgba(241,235,224,.05), rgba(241,235,224,.01)); display: flex; flex-direction: column; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--ochre); }
.step h3 { margin: auto 0 10px; font-weight: 400; font-size: 40px; letter-spacing: -0.04em; }
.step p { margin: 0; color: rgba(241,235,224,.72); }
.process-bar { margin: 40px var(--pad) 0; height: 1px; background: var(--line); }
.process-bar i { display: block; height: 100%; width: 100%; background: var(--ochre); transform-origin: left; transform: scaleX(0); }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .process { height: auto; padding-bottom: 80px; }
  .process-pin { position: static; height: auto; }
  .process-track { flex-direction: column; transform: none !important; }
  .step { flex-basis: auto; min-height: 0; }
  .step h3 { margin-top: 30px; }
  .process-bar { display: none; }
}

/* Contact */
.contact { padding: clamp(90px, 13vw, 180px) var(--pad); overflow: hidden; isolation: isolate; }
.contact-art { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -25vmax; top: -10vmax; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(227,168,87,.5), rgba(217,101,59,.28) 40%, transparent 68%); filter: blur(40px); animation: breathe 12s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translate(-8vmax, 6vmax) scale(1.15); } }
.contact-title { font-weight: 300; font-size: clamp(48px, 8.6vw, 148px); line-height: .92; letter-spacing: -0.055em; margin: 0 0 clamp(40px, 6vw, 80px); }
.contact-title em { color: var(--ochre); }
.form { max-width: 880px; display: grid; gap: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label > span, .form legend { display: block; font-size: 13px; color: var(--muted); letter-spacing: .02em; margin-bottom: 8px; }
.form label i { font-style: normal; opacity: .7; }
.form input:not([type=radio]), .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 300 clamp(20px, 2.2vw, 28px)/1.3 var(--sans); padding: 6px 0 12px; border-radius: 0; resize: vertical; transition: border-color .3s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ochre); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 10px 18px; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ochre); outline-offset: 3px; }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.form-note { margin: 0; color: var(--muted); font-size: 15px; }
.form-note.ok { color: var(--ochre); }

/* Footer */
.foot { padding: 0 var(--pad) calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); overflow: hidden; }
.foot-word { font-family: var(--serif); font-style: italic; font-size: clamp(90px, 21vw, 360px); line-height: .9; letter-spacing: -0.04em; text-align: center; padding: clamp(30px, 5vw, 60px) 0 10px; background: linear-gradient(180deg, var(--ink) 30%, rgba(241,235,224,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.to-top:hover { color: var(--ink); }

/* Calm mode */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  html.js .line > span, html.js .reveal, html.js .hero-foot .btn { opacity: 1; transform: none; }
  .manifesto-text .w { opacity: 1; }
}

/* Case study extras */
.case-lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.03em; color: var(--ink) !important; margin: 0 0 14px !important; }
.case-lead em { color: var(--ochre); }
.platforms { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 460px; }
.platforms li { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; transition: border-color .3s, background .3s; }
.platforms li:hover { border-color: rgba(227,168,87,.6); background: rgba(227,168,87,.06); }
.platforms b { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.platforms span { font-size: 12px; color: var(--muted); }
@media (max-width: 420px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.mock-float { position: absolute; left: 5%; bottom: 7%; width: 52%; height: 50%; transform: rotate(-2deg); transition: transform .9s var(--ease); box-shadow: 0 40px 80px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(241,235,224,.15); }
.case:hover .mock-float { transform: rotate(0deg) translateY(-4%); }
.mock-float .mock-body aside { font-size: clamp(6px, .7vw, 10px); }
.case.in .mock-float .mock-chart i, html.fallback .mock-float .mock-chart i { transform: none; }

.shot-float { position: absolute; left: 4%; bottom: 6%; width: 54%; border-radius: 12px; transform: rotate(-2deg); transition: transform .9s var(--ease); box-shadow: 0 40px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.08); }
.case:hover .shot-float { transform: rotate(0deg) translateY(-4%); }

/* PDF attachments */
.drop-zone { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: transparent; color: var(--ink); border: 1px dashed rgba(241,235,224,.28); border-radius: 18px; padding: 18px 20px; cursor: pointer; font: inherit; transition: border-color .3s, background .3s; }
.drop-zone:hover, .drop.over .drop-zone { border-color: var(--ochre); background: rgba(227,168,87,.06); }
.drop-zone svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--ochre); stroke-width: 1.6; }
.drop-zone b { font-weight: 500; }
.drop-zone i { font-style: normal; color: var(--muted); }
.drop-zone small { color: var(--muted); font-size: 13px; }
.drop-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.drop-list:empty { display: none; }
.drop-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; position: relative; overflow: hidden; }
.drop-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-list .fsize { color: var(--muted); font-size: 12px; }
.drop-list button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 4px; }
.drop-list button:hover { color: var(--ink); }
.drop-list .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ochre); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s; }

/* Form clarity */
.form textarea { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 140px; background: rgba(241,235,224,.03); }
.form textarea::placeholder, .form input::placeholder { color: rgba(241,235,224,.3); }
.form .bad input, .form .bad textarea { border-color: #e98d78 !important; }
.form .bad > span { color: #e98d78; }
.form input:-webkit-autofill, .form input:-webkit-autofill:hover, .form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset; box-shadow: 0 0 0 1000px var(--bg) inset;
  transition: background-color 9999s ease-out 0s;
}

/* Footer word: the first "o" is drawn larger, like the round logo */
.foot-word .big-o { font-size: 1.55em; line-height: 0; display: inline-block; vertical-align: baseline; margin-right: -0.02em; }

/* ...and gets the logo's gold dot, so it reads as the clock */
.foot-word .big-o { position: relative; }
.foot-word .big-o::after { content: ""; position: absolute; width: .062em; height: .062em; border-radius: 50%; left: .25em; top: -.115em; box-shadow: inset 0 0 0 1em var(--ochre), 0 0 .1em rgba(227,168,87,.5); }
@keyframes oTick { to { transform: rotate(360deg); } }

/* "ra" in the clean modern sans, to match the geometric clock O */
.loader-ra { font-family: var(--sans); font-style: normal; font-weight: 400; letter-spacing: -0.05em; margin-left: .02em; }

/* Header: plain cream instead of colour-blending (it turned blue over the orange artwork) */
.top { mix-blend-mode: normal; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.top .pill { background: rgba(14,13,11,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top .pill:hover { background: var(--ink); color: var(--bg); text-shadow: none; }
/* Even line breaks: no single word left alone on the last line */
.hero-lede, .case-info p, .svc p, .step p, .manifesto-text { text-wrap: pretty; }
.hero-title, .big, .contact-title { text-wrap: balance; }

/* Link to the estimate builder + estimate attached to the form */
.est-link { display: inline-flex; align-items: center; gap: 14px; margin: -20px 0 44px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 99px; color: rgba(241,235,224,.85); transition: border-color .3s, background .3s; }
.est-link b { font-weight: 500; color: var(--ink); }
.est-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ochre); stroke-width: 1.8; transition: transform .4s var(--ease); }
.est-link:hover { border-color: var(--ochre); background: rgba(227,168,87,.06); }
.est-link:hover svg { transform: translateX(4px); }
.est-attached { max-width: 880px; margin: 0 0 28px; border: 1px solid rgba(227,168,87,.5); border-radius: 18px; padding: 16px 20px; background: rgba(227,168,87,.07); }
.est-attached-h { margin: 0 0 8px; display: flex; justify-content: space-between; color: var(--ochre); font-size: 14px; font-weight: 500; }
.est-attached-h button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.est-attached pre { margin: 0; white-space: pre-wrap; font: 400 15px/1.6 var(--sans); color: rgba(241,235,224,.88); }
@media (max-width: 720px) { .est-link { border-radius: 18px; } }
.case-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: baseline; }

/* Apple-style footer */
.afoot { font-size: 12.5px; line-height: 1.5; color: var(--muted); padding: 34px 0 8px; border-top: 1px solid var(--line); }
.afoot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.afoot-cols h4 { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.afoot-cols a { display: block; margin-bottom: 8px; color: var(--muted); transition: color .2s; }
.afoot-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.afoot-legal { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 18px; }
.afoot-legal p { margin: 0; }
.afoot-loc { margin-left: auto !important; color: rgba(241,235,224,.6); }
@media (max-width: 760px) {
  .afoot-cols { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .afoot-loc { margin-left: 0 !important; }
}
.foot .foot-row { display: none; }

/* Footer word in the same style as the opening: clock as the O + modern sans */
.foot-word-modern { font-family: var(--sans); font-style: normal; font-weight: 300; letter-spacing: -0.06em; display: flex; align-items: baseline; justify-content: center; font-size: clamp(80px, 17vw, 300px); line-height: 1; }
.foot-word-modern span { background: linear-gradient(180deg, var(--ink) 30%, rgba(241,235,224,.12)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-clock { width: .74em; height: .74em; flex: none; margin-right: .03em; transform: translateY(.02em); fill: none; stroke: var(--ink); stroke-width: 2.6; overflow: visible; }
.foot-clock .dot { fill: var(--ochre); stroke: none; }
.foot-clock .hand { transform-origin: 20px 20px; animation: orbit 12s linear infinite; }
@media (prefers-reduced-motion: reduce) { .foot-clock .hand { animation: none; } }

.foot-o { position: relative; display: inline-block; margin-right: -0.075em; }
.foot-o .foot-clock { display: block; }
.foot-o .foot-clock { margin-right: 0; }
.foot-bar { position: absolute; left: 5.5%; right: 5.5%; top: calc(100% + .07em); height: .072em; background: var(--ink); }
.foot-o .foot-clock { transform: translateY(.05em); }

.foot-o .foot-clock { width: .86em; height: .86em; transform: translateY(.06em); }
.foot-o { margin-right: -0.085em; }
