/* 33desk — styles ported from the "33desk Trait" design. Palette: green #0F3D2E, ink #16261F, paper #F0EDE2, ochre #C7A008. */

html { scroll-behavior: smooth; }
body { margin: 0; background: #0F3D2E; color: #F0EDE2; font-family: "Chivo", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid #C7A008; outline-offset: 3px; }
a { color: #C7A008; text-decoration: none; }
a:hover { color: #E0B814; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
::selection { background: #C7A008; color: #16261F; }
svg { overflow: visible; }
[hidden] { display: none !important; }

@keyframes t-draw { to { stroke-dashoffset: 0; } }
@keyframes t-breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.page { max-width: 100%; overflow-x: clip; }
.wrap { max-width: 1360px; margin: 0 auto; }
.stack-xl { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 130px); }
.stack-lg { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 80px); }
.light { background: #F0EDE2; color: #16261F; }
.gold { color: #C7A008; }
.serif { font-family: "Libre Caslon Display", Georgia, serif; }
.art { display: block; width: 100%; height: auto; }
.breathe { animation: t-breathe 2.6s ease-in-out infinite; }

/* labels */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow-gold { color: #C7A008; display: flex; align-items: center; gap: 12px; }
.eyebrow-green { color: #0F3D2E; }
.eyebrow-rule { display: block; width: 26px; height: 1px; background: #C7A008; }
.num { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: #C7A008; }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.btn-gold { background: #C7A008; color: #16261F; }
.btn-gold:hover { background: #E0B814; color: #16261F; }
.btn-ghost { border: 1px solid rgba(240,237,226,0.3); color: #F0EDE2; }
.btn-ghost:hover { border-color: #F0EDE2; background: rgba(240,237,226,0.06); color: #F0EDE2; }
.btn-outline-gold { border: 1px solid #C7A008; color: #C7A008; }
.btn-outline-gold:hover { background: #C7A008; color: #16261F; }
.btn-nav { height: 40px; padding: 0 18px; font-size: 12px; letter-spacing: 0.06em; }
.btn-green { align-self: flex-start; background: #0F3D2E; color: #F0EDE2; }
.btn-green:hover { background: #16261F; color: #F0EDE2; }
.btn-submit { width: 100%; background: #C7A008; color: #16261F; }
.btn-submit:hover { background: #E0B814; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }

/* progress + nav */
.progress { position: fixed; top: 0; left: 0; z-index: 90; height: 2px; width: 0%; background: #C7A008; }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(20px, 5vw, 64px); border-bottom: 1px solid transparent; transition: background 260ms ease, border-color 260ms ease, padding 260ms ease; }
.nav.on { background: rgba(12,44,34,0.94); border-color: rgba(240,237,226,0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #F0EDE2; }
.brand:hover { color: #F0EDE2; }
.brand svg { flex: 0 0 auto; }
.brand-name { font-family: "Libre Caslon Display", Georgia, serif; font-size: 21px; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 30px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links.show { display: flex; }
.nav-link { color: #F0EDE2; }
.nav-link:hover { color: #C7A008; }

/* hero */
.hero { position: relative; padding: clamp(120px, 17vh, 180px) clamp(20px, 5vw, 64px) clamp(56px, 9vh, 104px); }
.hero-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-title { font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(44px, 7.4vw, 108px); line-height: 0.9; letter-spacing: -0.04em; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 38ch; color: #CBD8D0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-note { display: flex; align-items: center; gap: 12px; padding-top: clamp(14px, 3vh, 34px); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #7F9B8E; }
.hero-note-rule { display: block; width: 1px; height: 26px; background: rgba(240,237,226,0.3); }
.hero-art { min-width: 0; will-change: transform; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }

/* deliverables */
#livrables { padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 64px); }
.deliverables { display: flex; flex-direction: column; }
.deliverables-head { padding-bottom: clamp(26px, 4vw, 48px); }
.deliverable { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(26px, 5vw, 84px); padding: clamp(38px, 5.5vw, 76px) 0; border-top: 1px solid rgba(22,38,31,0.2); }
.deliverable.reverse { flex-direction: row-reverse; }
.deliverable-copy { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.deliverable-art { flex: 1 1 320px; min-width: 0; }
.deliverable-title { font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.0; letter-spacing: -0.03em; }
.deliverable-line { font-size: 15px; line-height: 1.5; max-width: 24ch; color: #46564E; }

/* method */
.method { display: flex; flex-direction: column; gap: clamp(26px, 3.5vw, 44px); }
.method-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.method-claim { font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
@media (max-width: 860px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .method-grid { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(22,38,31,0.22); }
.step-title { font-size: 16px; font-weight: 600; }
.step-line { font-size: 14px; line-height: 1.5; color: #46564E; }

/* works: sticky scroll-through */
.works { position: relative; height: 560vh; }
.works-sticky { position: sticky; top: 0; height: 100vh; min-height: 540px; overflow: hidden; }
.works-head { position: absolute; z-index: 300; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 82px clamp(16px, 3vw, 30px) 0; }
.works-counter { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: #A9BDB2; }
.works-track { display: block; position: relative; width: clamp(70px, 12vw, 150px); height: 1px; background: rgba(240,237,226,0.25); }
.works-bar { display: block; position: absolute; top: 0; left: 0; height: 1px; width: 0%; background: #C7A008; }
.fan { position: absolute; top: 118px; left: clamp(16px, 3vw, 30px); right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vh, 28px); }
.work { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: stretch; color: #F0EDE2; opacity: 0; will-change: transform, opacity; }
.work-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 8px 0; }
.work-tags { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #C7A008; }
.work-rule { display: block; width: 22px; height: 1px; background: #C7A008; }
.work-name { font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(34px, 4.4vw, 64px); line-height: 0.96; letter-spacing: -0.03em; }
.work-line { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.55; max-width: 34ch; color: #CBD8D0; }
.work-link { display: flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(240,237,226,0.35); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: #F0EDE2; transition: color 180ms ease, border-color 180ms ease; }
.work-link:hover { border-color: #C7A008; color: #C7A008; }
.work-link .arrow { font-size: 15px; }
.work-visual { position: relative; min-width: 0; min-height: 180px; }
.work-shot { position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(240,237,226,0.2); box-shadow: 0 22px 54px rgba(0,0,0,0.3); background-color: #123E30; background-size: cover; background-position: top left; }
.tick { position: absolute; width: 22px; height: 22px; }
.tick-tl { top: -1px; left: -1px; border-top: 1px solid #C7A008; border-left: 1px solid #C7A008; }
.tick-br { right: -1px; bottom: -1px; border-right: 1px solid #C7A008; border-bottom: 1px solid #C7A008; }
@media (max-width: 640px) { .works-sticky { min-height: 620px; } .work { grid-template-rows: auto minmax(160px, 1fr); } }

/* contact */
.contact { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px) 32px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact-title { font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(36px, 5.2vw, 72px); line-height: 0.94; letter-spacing: -0.035em; }
.contact-lead { font-size: 17px; line-height: 1.6; max-width: 38ch; color: #46564E; }
.sent { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: #0F3D2E; color: #F0EDE2; }
.sent-title { font-family: "Libre Caslon Display", Georgia, serif; font-size: 30px; }
.sent-line { font-size: 16px; line-height: 1.6; color: #CBD8D0; }
.form { display: flex; flex-direction: column; gap: 16px; }
.label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0F3D2E; }
.field { height: 52px; padding: 0 16px; border: 1px solid rgba(22,38,31,0.28); background: transparent; color: #16261F; font-size: 16px; font-weight: 400; letter-spacing: 0; border-radius: 0; }
.field-area { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field:focus { border-color: #0F3D2E; outline: none; }
.form-error { font-size: 14px; font-weight: 600; color: #7A1A05; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(22,38,31,0.22); font-size: 13px; color: #46564E; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand svg { flex: 0 0 auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-link { color: #0F3D2E; }
.foot-link:hover { color: #C7A008; }
