/* dob WORKS · "Ufuk" identity */
:root {
  --ivory: #F4EFE7;
  --sand: #E6DCCB;
  --stone: #8C857B;
  --graphite: #1A1918;
  --dusk: #C2562F;
  --champagne: #C8A96A;
  --line: rgba(26, 25, 24, .14);
  --display: "Jost", "Futura", sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ivory); color: var(--graphite); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.02em; line-height: 1.02; }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: 21px; font-weight: 400; letter-spacing: -.01em; }
.eyebrow { font: 400 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 99px; font: 500 14px var(--text); letter-spacing: .01em; transition: background .25s, color .25s, border-color .25s; cursor: pointer; border: 1px solid transparent; }
.btn-ink { background: var(--graphite); color: var(--ivory); }
.btn-ink:hover { background: var(--dusk); }
.btn-line { border-color: var(--graphite); }
.btn-line:hover { background: var(--graphite); color: var(--ivory); }

/* intro: the sun rises over the horizon (dob's story is sunrise, never sunset) */
.intro { position: fixed; inset: 0; z-index: 50; background: var(--ivory); display: grid; place-items: center; animation: introOut .6s 1.5s forwards; pointer-events: none; }
.intro img { width: 84px; animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) forwards; clip-path: inset(0 0 0 0); }
@keyframes rise { 0% { transform: translateY(26px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(0); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* header */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 32px; height: 84px; padding: 0 var(--gut); transition: background .3s, height .3s, box-shadow .3s; }
.nav.solid { background: rgba(244, 239, 231, .92); backdrop-filter: blur(12px); height: 68px; box-shadow: 0 1px 0 var(--line); }
.nav-logo img { height: 52px; width: auto; transition: height .3s; }
.nav.solid .nav-logo img { height: 36px; }
.nav-links { display: flex; gap: 30px; margin: 0 auto; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--dusk); transition: right .3s; }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang { background: none; border: 0; font: 400 12px var(--mono); letter-spacing: .1em; color: rgba(26, 25, 24, .42); cursor: pointer; padding: 8px 4px; }
.lang .on { color: var(--graphite); font-weight: 500; border-bottom: 1px solid var(--dusk); }
.nav-cta { height: 42px; padding: 0 20px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--graphite); border-radius: 50%; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--graphite); }
.burger i:nth-child(2) { width: 12px; } .burger i:nth-child(3) { width: 8px; }

/* hero */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1000px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: settle 2.4s ease-out both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(244, 239, 231, .78) 0%, rgba(244, 239, 231, .35) 38%, rgba(244, 239, 231, 0) 60%); }
.hero-copy { position: absolute; z-index: 2; left: var(--gut); bottom: 20%; max-width: 620px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 108px); margin: 18px 0 22px; text-wrap: balance; }
.hero h1 em { white-space: nowrap; }
.hero .lede { font-size: 18px; max-width: 440px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
/* horizon cut: the bottom of the hero dissolves into stripes, like the o */
.horizon-cut { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 0; }
.horizon-cut i { display: block; background: var(--ivory); }
.horizon-cut i:nth-child(1) { height: 3px; margin-bottom: 22px; }
.horizon-cut i:nth-child(2) { height: 6px; margin-bottom: 16px; }
.horizon-cut i:nth-child(3) { height: 10px; margin-bottom: 10px; }
.horizon-cut i:nth-child(4) { height: 26px; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 64px; padding-bottom: 72px; }
.numbers div { padding: 6px 0 6px 28px; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; padding-left: 0; }
.numbers b { display: block; font: 300 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.03em; }
.numbers span { font-size: 14px; color: var(--stone); }

/* clients */
.clients { padding-bottom: 96px; }
.clients .eyebrow { margin-bottom: 22px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.track span { padding: 26px 40px; font: 400 22px var(--display); letter-spacing: .06em; color: var(--stone); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* manifesto */
.manifesto { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; padding-top: 40px; padding-bottom: 140px; }
.manifesto-mark { width: 100%; max-width: 220px; }
.manifesto .big { font: 300 clamp(28px, 3.5vw, 48px)/1.18 var(--display); letter-spacing: -.015em; margin: 18px 0 28px; }
.manifesto .body { max-width: 560px; color: #4a4642; font-size: 17px; }

/* section heads */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 64px; align-items: end; margin-bottom: 48px; }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head p:not(.eyebrow) { color: #4a4642; max-width: 480px; }

/* collection */
.collection { padding-bottom: 140px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.card figure { overflow: hidden; border-radius: 4px; background: var(--sand); aspect-ratio: 4 / 5; position: relative; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover figure img { transform: scale(1.04); }
/* hover: three horizon lines slide up from the bottom of the picture */
.card figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(var(--ivory) 0 0) 0 100% / 100% 12px no-repeat, linear-gradient(var(--ivory) 0 0) 0 4px / 100% 5px no-repeat, linear-gradient(var(--ivory) 0 0) 0 0 / 100% 2px no-repeat; transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.card:hover figure::after { transform: none; }
.card .no { display: block; margin-top: 18px; font: 400 11px var(--mono); letter-spacing: .14em; color: var(--dusk); }
.card h3 { margin: 6px 0 4px; }
.card p { font-size: 14px; color: var(--stone); }

/* atelier */
.atelier { background: var(--sand); padding: 120px 0 130px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.steps img { width: 100%; height: 100%; object-fit: cover; }
.steps .no { display: block; margin: 18px 0 6px; padding-top: 14px; border-top: 1px solid rgba(26, 25, 24, .25); font: 400 11px var(--mono); letter-spacing: .14em; color: var(--dusk); }
.steps p { font-size: 14px; color: #4a4642; margin-top: 4px; }

/* lab (dark chapter) */
.lab { background: var(--graphite); color: var(--ivory); padding: 130px 0; }
.lab .eyebrow { color: var(--champagne); }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lab-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.lab-img img { width: 100%; height: 100%; object-fit: cover; }
.lab h2 { margin: 18px 0 26px; }
.lab h2 em { color: var(--champagne); }
.lab p { color: rgba(244, 239, 231, .72); max-width: 480px; }
.lab-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid rgba(244, 239, 231, .16); }
.lab-stats div { padding-top: 22px; }
.lab-stats dt { font: 300 46px/1 var(--display); color: var(--champagne); }
.lab-stats dd { font-size: 13px; color: rgba(244, 239, 231, .6); margin-top: 6px; }

/* on display */
.display { padding-top: 140px; padding-bottom: 140px; }
.display-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.display-grid figure { overflow: hidden; border-radius: 4px; }
.display-grid img { width: 100%; height: 100%; object-fit: cover; }
.d-a { grid-row: span 2; aspect-ratio: 4 / 3.2; }
.d-b { aspect-ratio: 16 / 10; }
.d-list { list-style: none; align-self: end; }
.d-list li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line); }
.d-list li:last-child { border-top: 0; padding-top: 22px; }
.d-list b { font: 400 22px var(--display); }
.d-list span { font-size: 13px; color: var(--stone); }

/* export: cities sit on a horizon, Istanbul is the sun */
.export { background: var(--graphite); color: var(--ivory); padding: 130px 0 110px; overflow: hidden; }
.export .eyebrow { color: var(--champagne); }
.export .sec-head p:not(.eyebrow) { color: rgba(244, 239, 231, .7); }
.skyline { position: relative; padding: 140px 0 0; }
.sun { position: absolute; left: 50%; top: 0; transform: translateX(-50%); text-align: center; }
.sun img { width: 170px; }
.sun span { display: block; margin-top: 10px; font: 400 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); }
.skyline ul { list-style: none; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding-top: 120px; font: 400 15px var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 239, 231, .8); }
.horizon-rule { display: flex; flex-direction: column; margin-top: 18px; }
.horizon-rule i { display: block; background: rgba(244, 239, 231, .85); margin: 0 auto; }
.horizon-rule i:nth-child(1) { width: 100%; height: 2px; margin-bottom: 10px; }
.horizon-rule i:nth-child(2) { width: 88%; height: 2px; margin-bottom: 10px; opacity: .6; }
.horizon-rule i:nth-child(3) { width: 70%; height: 2px; margin-bottom: 10px; opacity: .4; }
.horizon-rule i:nth-child(4) { width: 44%; height: 2px; opacity: .25; }
.numbers-sm { padding: 72px 0 0; }
.numbers-sm div { border-color: rgba(244, 239, 231, .16); }
.numbers-sm span { color: rgba(244, 239, 231, .6); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; padding-top: 140px; padding-bottom: 140px; }
.contact h2 { margin: 18px 0 22px; }
.contact > div > p:not(.eyebrow) { color: #4a4642; max-width: 420px; }
.contact address { font-style: normal; display: grid; gap: 10px; margin-top: 40px; font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; background: #fff; border-radius: 6px; padding: 36px; box-shadow: 0 1px 0 var(--line); }
.form label { display: grid; gap: 6px; font: 400 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 16px var(--text); color: var(--graphite); border: 0; border-bottom: 1px solid rgba(26, 25, 24, .25); background: transparent; padding: 8px 0; outline: none; border-radius: 0; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--dusk); }
.form .btn { justify-self: start; margin-top: 8px; }
.form .ok { display: none; grid-column: 1 / -1; color: var(--dusk); font-size: 14px; }
.form.sent .ok { display: block; }

/* footer */
.footer { background: var(--graphite); color: var(--ivory); padding: 90px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 70px; }
.foot-logo { width: 190px; }
.foot-grid div { display: grid; gap: 8px; align-content: start; font-size: 14px; color: rgba(244, 239, 231, .75); }
.foot-grid .eyebrow { color: var(--champagne); margin-bottom: 6px; }
.foot-grid a:hover { color: var(--ivory); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid rgba(244, 239, 231, .14); font: 400 11px var(--mono); letter-spacing: .1em; color: rgba(244, 239, 231, .5); }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.cards .card:nth-child(3n+2), .steps li:nth-child(2) { transition-delay: .08s; }
.cards .card:nth-child(3n), .steps li:nth-child(3) { transition-delay: .16s; }
.steps li:nth-child(4) { transition-delay: .24s; }

/* tablet */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .lab-grid, .contact { gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gut) 28px; background: var(--ivory); box-shadow: 0 1px 0 var(--line); transform: translateY(-120%); transition: transform .35s; font: 300 30px var(--display); }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  body.menu .nav-links { transform: none; }
  body.menu .nav { background: var(--ivory); height: 68px; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lab-grid, .contact, .display-grid { grid-template-columns: 1fr; }
  .d-a { grid-row: auto; }
  .manifesto { grid-template-columns: 1fr; gap: 28px; }
  .manifesto-mark { max-width: 96px; }
}
/* phone */
@media (max-width: 600px) {
  .nav { height: 68px; }
  .nav-logo img { height: 34px; }
  .hero { height: 92svh; min-height: 560px; }
  .hero-img { object-position: 74% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(244, 239, 231, .92) 0%, rgba(244, 239, 231, .6) 42%, rgba(244, 239, 231, 0) 70%); }
  .hero-copy { bottom: 104px; right: var(--gut); }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { height: 44px; padding: 0 18px; font-size: 13px; }
  .hero .lede { font-size: 16px; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 28px 0; padding-top: 48px; padding-bottom: 56px; }
  .numbers div:nth-child(3) { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card h3 { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .atelier, .lab, .export { padding: 88px 0; }
  .collection, .manifesto, .display, .contact { padding-bottom: 96px; }
  .display, .contact { padding-top: 96px; }
  .skyline { padding-top: 120px; }
  .sun img { width: 110px; }
  .skyline ul { padding-top: 70px; font-size: 13px; justify-content: center; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}

/* horizon band: one full-bleed picture between chapters */
.band { position: relative; height: 78vh; min-height: 480px; max-height: 820px; overflow: hidden; }
.band > img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 25, 24, .55), rgba(26, 25, 24, 0) 55%); }
.band-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 56px; display: flex; align-items: flex-end; gap: 28px; color: var(--ivory); }
.band-copy img { width: 64px; flex: none; }
.band-copy p { font: 300 clamp(24px, 3vw, 40px)/1.15 var(--display); letter-spacing: -.01em; max-width: 760px; }
@media (max-width: 600px) { .band { height: 70svh; } .band > img { object-position: 72% 50%; } .band-copy { flex-direction: column; align-items: flex-start; gap: 16px; bottom: 36px; } .band-copy img { width: 44px; } }
