/* Field – a landscape architect's survey notebook. Land first, plans second.
   Signature: one Arabic face in two voices (light display, firm 600 labels in terracotta), sand paper, sage and
   soil tones, topographic contour linework as the only ornament, photos as rounded numbered plates.
   Motion is slow and growth-like; nothing moves under prefers-reduced-motion. Logical properties only (Arabic/RTL demo). */
.e-field{--sand:color-mix(in srgb,var(--accent) 7%,var(--paper));--leaf:color-mix(in srgb,var(--brand) 7%,var(--paper));
  --contour:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' fill='none' stroke='black' stroke-width='1' vector-effect='non-scaling-stroke'%3E%3Cpath vector-effect='non-scaling-stroke' d='M452 250C452 253 451 256 449 259C447 261 444 263 441 265C438 267 435 269 431 270C428 271 424 271 420 271C416 271 412 271 409 270C405 269 401 268 398 266C395 265 393 261 392 259C391 256 392 253 393 250C393 247 393 245 394 242C395 239 396 236 398 234C401 232 405 230 408 229C412 228 416 227 420 227C424 227 428 228 431 230C435 231 437 234 439 236C442 238 444 240 446 242C448 244 451 247 452 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M495 250C496 257 492 265 487 271C483 277 475 282 469 286C462 291 455 295 447 297C438 300 429 300 420 301C411 301 402 300 393 298C384 296 373 294 367 289C360 285 357 277 355 270C353 263 356 257 356 250C357 243 355 237 357 231C359 224 362 217 368 211C374 206 383 202 392 200C401 197 411 195 420 196C429 196 439 199 447 202C454 206 459 212 465 217C471 222 477 225 482 231C488 236 495 243 495 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M540 250C541 260 532 273 525 282C517 292 507 299 496 307C486 314 475 321 462 325C449 329 434 329 420 330C406 330 391 330 377 327C363 324 345 321 335 313C326 305 322 291 320 281C317 270 321 260 321 250C321 240 317 229 320 219C323 209 328 197 338 189C347 181 362 175 376 170C389 166 406 163 420 164C434 165 450 170 461 176C473 182 480 191 489 199C499 206 512 211 520 219C529 228 539 240 540 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M585 250C585 264 571 280 561 293C551 306 538 317 524 327C510 337 494 347 477 352C460 357 440 358 420 359C400 360 379 362 360 358C340 354 316 347 303 336C291 325 289 305 287 291C284 277 288 264 287 250C286 236 278 221 281 207C285 194 294 177 307 166C320 155 340 147 359 141C378 135 401 130 420 131C439 133 460 143 475 151C491 159 500 171 514 180C528 190 549 195 560 207C572 219 585 236 585 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M628 250C627 268 608 287 595 304C582 320 569 335 551 347C534 360 514 372 492 379C470 386 445 387 420 389C395 390 366 395 342 390C317 385 286 374 272 359C258 344 260 319 256 300C253 282 254 267 252 250C249 233 238 213 242 195C246 178 260 158 277 144C293 130 318 118 342 111C366 103 396 97 420 100C444 102 469 117 489 127C509 137 521 150 540 161C559 173 588 179 603 194C617 209 630 232 628 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M670 250C667 272 643 294 628 314C613 333 599 352 579 368C559 383 533 396 507 405C480 414 451 416 420 419C389 423 352 431 322 424C293 418 258 401 242 382C227 362 233 331 228 309C224 287 220 271 216 250C211 229 196 204 201 183C207 161 226 139 246 121C267 104 296 89 325 80C354 71 391 64 420 68C449 73 477 93 501 105C526 117 542 129 567 141C591 154 630 162 647 180C664 198 674 228 670 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M710 250C705 276 677 301 660 324C643 347 629 370 606 388C583 406 552 420 521 431C490 442 456 447 420 452C384 457 337 468 303 460C268 452 231 426 214 402C198 379 208 342 202 317C196 292 184 274 177 250C171 226 154 196 161 170C167 145 192 119 216 99C241 79 273 59 307 49C341 38 386 33 420 39C454 45 484 70 513 84C542 97 566 106 596 120C626 134 674 144 693 166C713 188 716 224 710 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M747 250C739 280 710 307 691 333C672 360 659 387 633 408C607 428 571 443 535 456C500 469 462 480 420 487C378 494 321 508 282 497C244 486 207 450 189 421C171 392 185 353 176 325C168 296 146 278 137 250C127 222 111 187 120 158C128 129 158 100 186 77C215 53 251 28 290 17C329 6 381 3 420 11C459 19 490 49 525 63C559 77 592 81 628 96C664 111 721 126 741 152C761 177 755 220 747 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M781 250C770 284 743 313 723 343C702 372 688 404 660 427C631 451 589 465 549 482C510 498 468 516 420 525C372 534 304 548 262 533C219 519 185 471 167 438C148 404 163 364 151 333C138 301 105 281 93 250C82 219 69 178 79 145C90 113 124 81 156 54C188 28 228 -3 272 -15C316 -26 376 -23 420 -14C464 -5 496 28 536 42C577 56 622 54 664 70C705 85 768 107 788 137C807 167 791 216 781 250Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M135 560C134 562 133 565 132 567C130 569 129 571 127 572C125 574 122 575 119 576C116 577 113 578 110 578C107 579 103 579 100 578C97 577 94 575 92 573C91 571 91 568 90 566C89 564 88 562 87 560C87 558 86 555 87 553C88 551 90 549 92 547C94 545 97 543 100 542C103 542 107 541 110 542C113 542 116 544 119 545C121 546 124 546 127 548C129 549 133 551 134 553C135 555 135 558 135 560Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M173 560C171 566 168 572 165 577C161 582 158 588 153 592C147 596 140 599 133 601C126 604 118 607 110 608C102 609 91 609 84 607C76 604 70 598 66 593C62 587 61 581 59 576C56 570 52 566 51 560C49 554 49 548 51 542C53 536 59 531 65 526C70 522 77 517 85 515C92 513 102 513 110 514C118 515 124 519 132 521C139 523 147 524 154 528C160 531 169 536 172 541C175 546 174 554 173 560Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M209 560C207 570 203 578 198 587C193 595 187 604 179 611C170 617 159 622 147 627C136 631 123 637 110 638C97 640 79 640 68 636C56 631 48 620 41 611C34 603 32 594 27 585C23 577 15 569 13 560C11 551 11 540 15 531C20 522 28 513 37 506C46 499 58 491 70 488C82 485 97 486 110 487C123 489 133 494 145 497C157 500 171 501 182 507C193 512 205 521 209 529C214 538 211 550 209 560Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M244 560C242 573 238 586 231 597C224 609 216 620 204 630C192 639 177 645 162 652C146 659 128 668 110 669C92 671 68 670 52 663C37 657 26 640 17 629C7 618 2 607 -5 595C-12 584 -24 573 -26 560C-29 547 -26 533 -20 520C-14 508 -3 495 9 486C22 476 38 465 55 461C72 457 93 460 110 462C127 464 142 469 159 472C176 476 197 477 212 485C226 492 241 506 246 518C252 531 247 547 244 560Z'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M279 560C276 577 273 593 264 607C256 622 244 636 229 648C214 660 196 669 176 678C156 687 133 700 110 702C87 704 57 699 37 690C18 681 6 660 -6 646C-19 632 -29 620 -39 606C-49 591 -63 576 -66 560C-68 544 -63 525 -55 509C-47 494 -34 477 -18 465C-2 453 19 440 40 436C62 431 88 435 110 437C132 439 151 442 174 446C196 451 224 452 242 462C261 472 276 491 282 507C288 524 282 543 279 560Z'/%3E%3C/svg%3E")}
.e-field .display{font-weight:500;letter-spacing:-.02em}
.e-field h2{font-weight:500}
.e-field .eyebrow{color:var(--accent);letter-spacing:.12em}
.e-field .t-brand .eyebrow{color:inherit}
.e-field .t-surface{background:var(--sand)}
.e-field .t-surface .field input,.e-field .t-surface .field textarea{background:var(--paper)}

/* Arabic: no Latin tracking/caps, readable label sizes, numbers in the text face (mono has no Arabic glyphs). */
[dir=rtl] .e-field .eyebrow,[dir=rtl] .e-field .sk-group h3,[dir=rtl] .e-field .ft-h,[dir=rtl] .e-field .ct-list dt{letter-spacing:0;text-transform:none}
[dir=rtl] .e-field .eyebrow{font-size:.95rem;font-weight:600}
[dir=rtl] .e-field .ft-h,[dir=rtl] .e-field .ct-list dt{font-size:.9rem;font-weight:600}
[dir=rtl] .e-field .tl-period,[dir=rtl] .e-field .pj-n,[dir=rtl] .e-field .pj-year{font-family:var(--f-text);letter-spacing:0}
[dir=rtl] .e-field h1,[dir=rtl] .e-field h2,[dir=rtl] .e-field h3,[dir=rtl] .e-field .display{letter-spacing:0;line-height:1.22}
[dir=rtl] .e-field .display{line-height:1.12}
[dir=rtl] .e-field .hero-text,[dir=rtl] .e-field .ct-text,[dir=rtl] .e-field .tl-text,[dir=rtl] .e-field .pj-text,[dir=rtl] .e-field .alt-copy p{line-height:1.85}
[dir=rtl] .e-field .st-quote p::before,[dir=rtl] .e-field .st-quote p::after{content:none}

/* Phones and e-mail stay left-to-right inside RTL text (otherwise "+962 6 …" renders reversed). */
.e-field .ct-list a[href^="tel:"],.e-field .ct-list a[href^="mailto:"]{display:inline-flex;align-items:center;min-height:44px}
/* Mobile menu: the LTR phone sits on the same (right) edge as the address. */
.e-field .nav-extra a[dir=ltr]{justify-self:start}

/* Page head → first section: no double padding. */
.e-field .page-head{padding-block-end:clamp(12px,2vw,24px)}
.e-field .page-head + .s,.e-field .page-head + main > .s:first-child,.e-field main > .page-head:first-child + .s{padding-block-start:clamp(28px,4vw,56px)}
.e-field .crumbs a{min-height:44px;display:inline-flex;align-items:center}
.e-field .crumbs{align-items:center}

/* Hero collage (pass 4): the site photo (engineer with a plan) is the large plate on the outer edge, about 41vw at 1440;
   the pencil sketch overlaps toward the copy. Both plates stay fully inside the art box, also on phones. */
.e-field .hero-collage-art{aspect-ratio:1.14/1;isolation:isolate}
.e-field .hero-collage-art .c1{inset:0;inset-inline-start:18%;inset-block-end:16%}
.e-field .hero-collage-art .c2{width:34%;aspect-ratio:3/4;inset-block:auto 0;inset-inline:0 auto;outline:clamp(6px,.8vw,10px) solid var(--paper);box-shadow:0 30px 60px -30px rgba(42,36,32,.45)}
.e-field .hero-collage-art::after{content:"";position:absolute;z-index:-1;inset-block-start:-8%;inset-inline-start:-6%;width:58%;aspect-ratio:4/3;background:var(--accent);opacity:.32;-webkit-mask:var(--contour) center/contain no-repeat;mask:var(--contour) center/contain no-repeat;pointer-events:none}
@media (min-width:901px){
  .e-field .hero-collage{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(2rem,4.4vw,4.4rem);padding-block:clamp(24px,3.4vw,56px) clamp(56px,7vw,104px)}
  .e-field .hero-collage-art{width:100%;max-width:calc(min(80svh,760px) * 1.14)}
  .e-field .hero-collage .display{max-width:8.6em}
}
@media (max-width:900px){
  .e-field .hero-collage{gap:2.4rem;padding-block:clamp(32px,6vw,64px) clamp(48px,8vw,80px)}
  .e-field .hero-collage-art{aspect-ratio:1/.92;max-width:620px;width:100%;margin-inline:auto}
  .e-field .hero-collage-art .c1{inset-inline-start:12%;inset-block-end:20%}
  .e-field .hero-collage-art .c2{width:36%}
}

/* Statement on sand. */
.e-field .s-statement.v-reveal .st-text{max-width:20ch}

/* Project cards (home): no link wrapper, so give them their own rhythm; offset the second half card. */
.e-field .pj-card{display:grid;gap:1.05rem;align-content:start}
.e-field .pj-cap h3{font-size:clamp(1.35rem,1.1rem + .9vw,1.9rem)}
.e-field .pj-meta{color:var(--accent);font-weight:600;font-size:.95rem}
.e-field .pj-text{font-size:1.02rem}
@media (min-width:701px){.e-field .pj-card:nth-child(3){margin-block-start:clamp(2.5rem,7vw,6.5rem)}}
.e-field .s-more{display:flex;justify-content:flex-start}

/* Timeline rail: the engine draws stem and stations (and grows the stem); field sets its own 2px stem and 14px stations. */
.e-field .tl{border-top:0;display:grid;gap:0}
.e-field .v-rail .tl{padding-inline-start:2.4rem}
.e-field .v-rail .tl::before{inset-block:.6rem 1.2rem;inset-inline-start:.55rem;width:2px;border-radius:2px;background:color-mix(in srgb,var(--brand) 26%,transparent)}
.e-field .v-rail .tl-row{background:none;padding-block:0 clamp(2.2rem,4vw,3.2rem);grid-template-columns:minmax(0,.42fr) minmax(0,1fr) minmax(0,1.15fr)}
.e-field .v-rail .tl-row::before{inset-inline-start:calc(-2.4rem + .55rem - 6px);width:14px;height:14px;border-radius:50%;background:var(--sand);box-shadow:0 0 0 2px var(--brand)}
.e-field .v-rail .tl-row:last-child{padding-block-end:0}
.e-field .v-rail .tl-row:first-child::before{background:var(--brand)}
.e-field .tl-period{color:var(--accent);font-size:.95rem;font-weight:600;padding-top:.15rem}
.e-field .tl-main h3{font-size:clamp(1.2rem,1.05rem + .5vw,1.5rem)}
.e-field .tl-text{color:color-mix(in srgb,var(--ink) 78%,var(--paper))}
@media (max-width:900px){.e-field .v-rail .tl-row{grid-template-columns:1fr;gap:.4rem}}
/* Ledger (cv): soft visible cards. */
.e-field .v-ledger .tl{gap:clamp(.8rem,1.6vw,1.2rem)}
.e-field .v-ledger .tl-row{background:var(--leaf);border:0;border-radius:var(--radius);padding:clamp(1.3rem,2.4vw,1.9rem) clamp(1.2rem,2.6vw,2.2rem)}

/* Skills. */
.e-field .sk-group{border-top:0;padding:clamp(1.4rem,2.4vw,2rem);background:var(--leaf);border-radius:var(--radius)}
.e-field .s-skills.v-columns .sk-group h3{font-family:var(--f-display);font-size:1.3rem;font-weight:600;letter-spacing:0;text-transform:none;padding-block-end:.9rem;border-block-end:1px solid color-mix(in srgb,var(--brand) 18%,transparent)}
.e-field .s-skills.v-columns .sk-group ul{font-size:1.02rem;color:var(--ink);gap:.6rem}
.e-field .s-skills.v-columns .sk-group li{display:flex;align-items:baseline;gap:.6rem}
.e-field .s-skills.v-columns .sk-group li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent);transform:translateY(-.15em)}
@media (min-width:600px){.e-field .s-skills.v-columns .sk{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2vw,1.6rem)}}
.e-field .t-surface .sk-group{background:var(--paper)}
.e-field .v-tags .sk{gap:1.6rem}
.e-field .v-tags .sk-group h3{font-size:1rem}
.e-field .v-tags .sk-group li{border-color:color-mix(in srgb,var(--brand) 24%,transparent);background:color-mix(in srgb,var(--paper) 60%,transparent);font-size:.95rem}

/* Stats (cv). */
.e-field .stats{border-top:0;gap:clamp(.8rem,1.6vw,1.2rem)}
.e-field .stat{background:var(--paper);border-radius:var(--radius);border:0;padding:clamp(1.3rem,2.4vw,1.9rem)}
.e-field .stat dd{color:var(--brand);font-size:clamp(2.6rem,1.6rem + 3vw,4.4rem)}
.e-field .stat dt{color:var(--ink)}
@media (max-width:899px){.e-field .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.e-field .stat{border-bottom:0;padding:1.3rem 1.4rem}}

/* Statement split (cv / projects): image and quote. */
.e-field .s-statement.v-split .st{gap:clamp(2rem,6vw,6rem)}
.e-field .s-statement.v-split .st-text{font-size:clamp(1.65rem,1.1rem + 2.1vw,3rem);line-height:1.35;max-width:24ch}
.e-field .s-statement.v-split .st-attr{display:flex;align-items:center;gap:.8rem;color:var(--ink);font-weight:600}
.e-field .s-statement.v-split .st-attr::before{content:"";width:2.4rem;height:1px;background:var(--accent)}
@media (max-width:900px){.e-field .s-statement.v-split .st-media{aspect-ratio:4/3;max-height:62svh}}

/* Projects page: alternating stories (courtyard first, portrait plate), meta line in terracotta, detail under a hairline. */
.e-field .alt-list{gap:clamp(3.4rem,8vw,7rem)}
.e-field .alt-row{gap:clamp(1.6rem,5vw,5.5rem)}
.e-field .alt-copy{gap:.9rem;max-width:34rem}
.e-field .alt-meta{color:var(--accent);font-size:.95rem}
.e-field .alt-copy h3{font-size:clamp(1.9rem,1.3rem + 2vw,3.1rem)}
.e-field .alt-copy p:not(.alt-meta){color:var(--ink);font-size:1.08rem}
.e-field .alt-copy p:not(.alt-meta) + p{padding-block-start:.9rem;border-block-start:1px solid color-mix(in srgb,var(--brand) 18%,transparent);font-size:.98rem;color:color-mix(in srgb,var(--ink) 80%,var(--paper))}
@media (min-width:901px){
  .e-field .alt-row:nth-child(1){grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
  .e-field .alt-row:nth-child(1) .alt-media{aspect-ratio:4/5;max-height:760px}
}
@media (max-width:900px){.e-field .alt-row:nth-child(1) .alt-media{aspect-ratio:4/5;max-height:70svh}}

/* CTA: soft green card, distinct from the footer; primary inverted on brand. */
.e-field .s-cta.t-brand{color:var(--on-brand);border-radius:calc(var(--radius) * 1.6);margin-inline:clamp(12px,2.4vw,40px);margin-block-end:clamp(12px,2.4vw,40px);padding-block:clamp(56px,8vw,120px)}
.e-field .s-cta.t-brand .btn-primary{background:var(--on-brand);color:var(--brand);border-color:var(--on-brand)}
.e-field .s-cta.t-brand .btn-secondary{color:var(--on-brand);border-color:color-mix(in srgb,var(--on-brand) 45%,transparent)}
.e-field .s-cta.t-brand .cta-text{color:color-mix(in srgb,var(--on-brand) 82%,var(--brand));max-width:36rem}
.e-field .s-cta.t-brand .eyebrow{color:color-mix(in srgb,var(--on-brand) 82%,var(--brand));opacity:1}
.e-field .s-cta.v-poster.t-brand .cta-title{font-size:clamp(2.3rem,1.2rem + 4.6vw,6rem);max-width:15ch}
.e-field .s-cta.v-band.t-brand .cta-title{font-size:clamp(2rem,1.2rem + 3vw,4rem)}
.e-field .s-cta.t-brand{position:relative;overflow:hidden;isolation:isolate}
.e-field .s-cta.t-brand::after{content:"";position:absolute;z-index:-1;inset-block-start:-18%;inset-inline-end:-14%;width:min(78%,900px);aspect-ratio:4/3;background:var(--on-brand);opacity:.16;-webkit-mask:var(--contour) center/contain no-repeat;mask:var(--contour) center/contain no-repeat;pointer-events:none}
.e-field .s-cta.t-brand + .site-footer,.e-field main:has(> .s-cta.t-brand:last-child) + .site-footer{border-top:0}

/* Contact: compact details on phones so the form comes sooner. */
.e-field .ct-list dd{font-size:1.02rem}
@media (max-width:900px){
  .e-field .ct-text{margin-bottom:1.4rem}
  .e-field .ct-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.4rem;padding-block:1.2rem;border-block:1px solid var(--line);margin-block-end:.4rem}
  .e-field .ct-list div:has(a[href^="mailto:"]){grid-column:1/-1}
}
/* Hours split. */
.e-field .hr-list dd{text-align:end;font-variant-numeric:proportional-nums lining-nums}
.e-field .hr-list dt{font-weight:600}

/* Footer: the statement name is enough – no third repetition; contact column may not break the e-mail. */
.e-field .ft-statement{color:var(--brand)}
.e-field .ft-tag{font-size:1.05rem;color:var(--ink);margin-top:0}
.e-field .ft-col a,.e-field .ft-base a{display:inline-flex;align-items:center;min-height:44px;justify-self:start}
.e-field .ft-col ul,.e-field .ft-col address{gap:0}
.e-field .ft-col address span{padding-block:.35rem}
@media (min-width:901px){.e-field .ft-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1.3fr)}}

/* ---- Design pass 2: survey-notebook signature ---- */
/* Two voices of one Arabic face: light, large display; firm small labels. */
[dir=rtl] .e-field .display,[dir=rtl] .e-field .page-title,[dir=rtl] .e-field .s-title,[dir=rtl] .e-field .cta-title{font-weight:300}
[dir=rtl] .e-field .s-statement .st-text{font-weight:300}
.e-field h3{font-weight:500}

/* Statement on soil: the land speaks before the plan. Contour lines drift under the text. */
.e-field .s-statement.t-ink{position:relative;overflow:hidden;isolation:isolate;--reveal-dim:30%}
.e-field .s-statement.t-ink .eyebrow{color:color-mix(in srgb,var(--accent) 55%,var(--paper))}
.e-field .s-statement.t-ink::before{content:"";position:absolute;z-index:-1;inset-block:-12% auto;inset-inline-start:-6%;width:min(92vw,1100px);aspect-ratio:4/3;background:var(--paper);opacity:.1;-webkit-mask:var(--contour) center/contain no-repeat;mask:var(--contour) center/contain no-repeat;pointer-events:none}
.e-field .s-statement.v-reveal.t-ink .st-text{max-width:19ch;font-size:clamp(2rem,1.1rem + 3.6vw,4.4rem);line-height:1.3}
.e-field .s-statement.v-reveal.t-ink{padding-block:clamp(88px,13vw,200px)}

/* Project cards (home): numbered plates. */
.e-field .pj-cards{counter-reset:plate}
.e-field .pj-card{counter-increment:plate}
.e-field .pj-card .pj-meta::before{content:counter(plate,decimal-leading-zero);display:inline-block;margin-inline-end:.7rem;padding-inline-end:.7rem;border-inline-end:1px solid color-mix(in srgb,var(--accent) 45%,transparent);color:var(--brand);font-variant-numeric:lining-nums}
.e-field .pj-card .frame img{transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}

/* Projects page: hero as plate 01, its data sheet below. */
/* Pass 4 (CLS): the measure is in em, not ch – ch follows whichever face is loaded (Georgia → Lora), so the title re-wrapped 2 → 3 → 2 lines during the font swap. */
.e-field .s-hero.v-aperture .display{font-size:clamp(2.6rem,1rem + 5.6vw,6rem);max-width:9.6em}
.e-field .s-hero.v-aperture .hero-text{font-size:1.12rem;max-width:34rem}
.e-field .s-hero.v-aperture .hero-note{font-size:.9rem;color:rgba(255,255,255,.82)}
.e-field .s-stats.t-paper{position:relative;overflow:hidden;isolation:isolate}
.e-field .s-stats.t-paper::before{content:"";position:absolute;z-index:-1;inset-block-start:-8%;inset-inline-end:-12%;width:min(70vw,820px);aspect-ratio:4/3;background:var(--brand);opacity:.13;-webkit-mask:var(--contour) center/contain no-repeat;mask:var(--contour) center/contain no-repeat;pointer-events:none}
.e-field .s-stats.t-paper .stat{background:var(--leaf)}
.e-field .s-stats .s-note{font-size:1.05rem;line-height:1.85;color:var(--ink);max-width:60ch;margin-block-start:clamp(1.6rem,3vw,2.4rem)}
.e-field .s-stats .stat dt{font-size:1rem}

/* CV: hero portrait plate with a terracotta margin note. */
.e-field .hero-split .hero-note{display:flex;align-items:center;gap:.8rem;font-size:.95rem;color:var(--ink);font-weight:600}
.e-field .hero-split .hero-note::before{content:"";width:2.4rem;height:1px;background:var(--accent)}
@media (min-width:901px){.e-field .hero-split{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}}

/* Contact: page head as a compact survey label; process rows; hours ends with a call action. */
.e-field .page-head{position:relative;isolation:isolate}
.e-field .page-head .page-title{font-size:clamp(2.4rem,1.4rem + 3.4vw,4.6rem)}
.e-field .ft-rows{border-block-start-color:color-mix(in srgb,var(--brand) 22%,transparent)}
.e-field .ft-row{border-block-end-color:color-mix(in srgb,var(--brand) 22%,transparent)}
.e-field .ft-row .ft-num{color:var(--accent);font-weight:600;font-size:1rem}
.e-field .ft-row h3{font-family:var(--f-display);font-size:clamp(1.35rem,1.1rem + .9vw,1.9rem)}
.e-field .ft-row .ft-text{font-size:1.05rem;line-height:1.85;color:color-mix(in srgb,var(--ink) 82%,var(--paper))}
.e-field .hr-copy .btn{margin-block-start:1.6rem}

/* Considered states. */
@media (prefers-reduced-motion:reduce){.e-field .pj-card .frame img{transition:none}}
/* Aperture hero on phones: the dense tree crown is busy, so the scrim starts higher under the copy. */
@media (max-width:700px){.e-field .s-hero.v-aperture .hero-frame::after{background:linear-gradient(180deg,rgba(20,16,12,.2) 0%,rgba(20,16,12,0) 22%,rgba(20,16,12,.5) 48%,rgba(20,16,12,.84) 100%)}}
/* Project data sheet on phones: one row per figure (stats mobile = rows), no orphaned third card; field cards keep their padding and size. */
@media (max-width:700px){
  .e-field .s-stats .stats[data-mobile=rows]{grid-template-columns:1fr}
  .e-field .s-stats .stats[data-mobile=rows] .stat{grid-template-columns:minmax(6.5rem,auto) minmax(0,1fr);align-items:center;gap:1.2rem;padding:1.1rem 1.3rem}
  .e-field .s-stats .stats[data-mobile=rows] .stat dd{font-size:2.6rem}
}
/* Aperture copy sits on the start (right) side over the busy garden photo: side scrim via the engine hook --hero-scrim-side + firmer display weight. */
[dir=rtl] .e-field .s-hero.v-aperture .display{font-weight:400;text-shadow:0 1px 24px rgba(20,16,12,.35)}
@media (min-width:701px){[dir=rtl] .e-field .s-hero.v-aperture{--hero-scrim-side:linear-gradient(to left,rgba(20,16,12,.62) 0%,rgba(20,16,12,.3) 38%,rgba(20,16,12,0) 64%)}}

/* ---- Design pass 3: craft – touch, growth, plates, phone-first rows ---- */
/* Easing of the whole edition: slow out, like a plant settling (no bounce). */
.e-field{--grow:cubic-bezier(.2,.7,.2,1)}

/* Buttons: a soft soil shadow on the primary, a leaf wash on the secondary; arrow travels a little further. */
.e-field .btn{transition:background-color .45s var(--grow),color .45s var(--grow),border-color .45s var(--grow),box-shadow .45s var(--grow),transform .2s var(--grow)}
.e-field .btn-arrow{transition:transform .45s var(--grow)}
[dir=rtl] .e-field .btn:is(:hover,:focus-visible) .btn-arrow{transform:scaleX(-1) translateX(5px)}
.e-field .btn-primary:is(:hover,:focus-visible){box-shadow:0 14px 26px -16px color-mix(in srgb,var(--brand) 80%,var(--ink))}
.e-field .t-paper .btn-secondary:hover,.e-field .t-surface .btn-secondary:hover{background:var(--leaf);border-color:color-mix(in srgb,var(--brand) 55%,transparent)}
.e-field .s-cta.t-brand .btn-primary:hover{background:color-mix(in srgb,var(--on-brand) 88%,var(--accent));box-shadow:0 16px 30px -18px rgba(20,16,12,.55)}
.e-field .s-cta.t-brand .btn-secondary:hover{background:color-mix(in srgb,var(--on-brand) 10%,transparent);border-color:var(--on-brand)}
.e-field :focus-visible{outline-offset:4px;border-radius:2px}
.e-field .btn:focus-visible{border-radius:var(--btn-radius)}

/* Desktop nav: the current page carries a short terracotta survey stroke that grows from the start edge; hover previews it.
   Theme nav_current = rule marks the current page (also in the phone menu); the edition adds the growth. */
.e-field{--nav-mark:var(--accent)}
@media (min-width:961px){
  .e-field .nav ul a::after{content:"";position:absolute;inset-inline:0;inset-block-end:.55rem;height:2px;border-radius:2px;background:var(--accent);transform:scaleX(0);transform-origin:var(--from,left);transition:transform .5s var(--grow),opacity .5s var(--grow);opacity:.55}
  [dir=rtl] .e-field .nav ul a::after{--from:right}
  .e-field .nav ul a:is(:hover,:focus-visible)::after{transform:scaleX(.6)}
  .e-field .nav ul a[aria-current]::after{transform:scaleX(1);opacity:1}
}

/* Project plates (home): the whole card is a link now – title stroke grows, photo leans in (individual `scale`,
   so it composes with the engine's scroll zoom), terracotta cue under the text. */
.e-field .pj-card a{gap:1.05rem;color:inherit}
.e-field .pj-cap h3{background:linear-gradient(var(--accent),var(--accent)) var(--from,0%) 100%/0% 1px no-repeat;padding-block-end:.12em;transition:background-size .6s var(--grow)}
[dir=rtl] .e-field .pj-cap h3{--from:100%}
.e-field .pj-card .frame img{transition:scale 1.4s var(--grow)}
.e-field .pj-card .frame{transition:box-shadow .6s var(--grow)}
.e-field .pj-more{color:var(--accent);margin-block-start:-.2rem}
@media (hover:hover){
  .e-field .pj-card a:hover .frame img{scale:1.045}
  .e-field .pj-card a:hover .frame{box-shadow:0 30px 60px -36px rgba(42,36,32,.55)}
  .e-field .pj-card a:is(:hover,:focus-visible) .pj-cap h3{background-size:100% 1px}
}
.e-field .pj-card a:focus-visible{outline-offset:8px;border-radius:calc(var(--img-radius,16px) + 4px)}

/* Projects page: stories continue the plate numbering of the data sheet (01 is the hero garden). */
.e-field .alt-list{counter-reset:plate 1}
.e-field .alt-row{counter-increment:plate}
.e-field .alt-meta::before{content:counter(plate,decimal-leading-zero);display:inline-block;margin-inline-end:.7rem;padding-inline-end:.7rem;border-inline-end:1px solid color-mix(in srgb,var(--accent) 45%,transparent);color:var(--brand)}

/* Small states: timeline stations, tags, form fields. */
.e-field .v-rail .tl-row::before{transition:background-color .5s var(--grow),box-shadow .5s var(--grow)}
@media (hover:hover){.e-field .v-rail .tl-row:hover::before{background:var(--brand);box-shadow:0 0 0 2px var(--brand),0 0 0 7px color-mix(in srgb,var(--brand) 14%,transparent)}}
.e-field .v-tags .sk-group li{transition:border-color .4s var(--grow),background-color .4s var(--grow)}
.e-field .v-tags .sk-group li:hover{border-color:var(--brand);background:var(--paper)}
.e-field .field input,.e-field .field textarea{transition:border-color .35s var(--grow),box-shadow .35s var(--grow),background-color .35s var(--grow)}
.e-field .field input:focus,.e-field .field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 14%,transparent)}

/* Typography finesse: Latin figures line up in labels and data; leads break evenly. */
.e-field .tl-period,.e-field .pj-meta,.e-field .alt-meta,.e-field .stat dd,.e-field .hr-list dd,.e-field .ft-num,.e-field .eyebrow{font-variant-numeric:lining-nums tabular-nums}
.e-field .hero-text p,.e-field .cta-text p,.e-field .ct-text p,.e-field .s-note{text-wrap:pretty}
.e-field .eyebrow,.e-field .pj-meta,.e-field .alt-meta{text-wrap:balance}

/* Scroll choreography (growth): the career stem grows as it is read, stations fill when reached; plates rise
   out of the ground (a short clip from below, never hiding the photo); contours drift slower than the page. */
@supports (animation-timeline:view()){
@media (prefers-reduced-motion:no-preference){
  html:not([data-motion=off]) .e-field .v-rail .tl-row:not(:first-child)::before{animation:field-station linear both;animation-timeline:view();animation-range:entry 70% cover 35%}
  html:not([data-motion=off]) .e-field :is(.pj-card,.alt-row) .frame,html:not([data-motion=off]) .e-field .alt-media{animation:field-ground linear both;animation-timeline:view();animation-range:entry 0% cover 30%}
  html:not([data-motion=off]) .e-field .s-statement.t-ink{view-timeline-name:--soil}
  html:not([data-motion=off]) .e-field .s-statement.t-ink::before{animation:field-drift linear both;animation-timeline:--soil;animation-range:cover 0% cover 100%}
  html:not([data-motion=off]) .e-field .s-cta.t-brand{view-timeline-name:--leafline}
  html:not([data-motion=off]) .e-field .s-cta.t-brand::after{animation:field-drift linear both;animation-timeline:--leafline;animation-range:cover 0% cover 100%}
}
}
@keyframes field-station{from{background:var(--sand)}to{background:var(--brand)}}
@keyframes field-ground{from{clip-path:inset(14% 0 0 0 round var(--img-radius,0))}to{clip-path:inset(0 round var(--img-radius,0))}}
@keyframes field-drift{from{translate:0 -5%;rotate:-2deg}to{translate:0 5%;rotate:1.5deg}}
@media (prefers-reduced-motion:reduce){
  .e-field .btn,.e-field .btn-arrow,.e-field .nav ul a::after,.e-field .pj-cap h3,.e-field .pj-card .frame,.e-field .pj-card .frame img,.e-field .v-rail .tl-row::before,.e-field .v-tags .sk-group li,.e-field .field input,.e-field .field textarea{transition:none}
  .e-field .pj-card a:hover .frame img{scale:none}
}

/* Phones (≤700): the three plates are a thumb-swipe row (projects mobile = swipe, next plate peeks), the skills a single field sheet. */
@media (max-width:700px){
  .e-field .s .pj-cards[data-mobile=swipe]{--swipe-max:330px}
  .e-field .pj-cards[data-mobile=swipe] .pj-card{margin:0}
  .e-field.page-home .pj-cap{flex-direction:column;gap:.3rem}
  .e-field.page-home .pj-text{font-size:.98rem;line-height:1.8}
  .e-field.page-home .s-projects .s-more{margin-block-start:1.6rem}

  .e-field .s-skills.v-columns .sk{gap:0;background:var(--leaf);border-radius:var(--radius);padding:.4rem 1.3rem}
  .e-field .s-skills.v-columns .sk-group{background:none;border-radius:0;padding:1.2rem 0;gap:.8rem}
  .e-field .s-skills.v-columns .sk-group + .sk-group{border-block-start:1px solid color-mix(in srgb,var(--brand) 18%,transparent)}
  .e-field .s-skills.v-columns .sk-group h3{border:0;padding:0;font-size:1.15rem}
  .e-field .s-skills.v-columns .sk-group ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;font-size:.98rem}
}
/* CV languages & tools: real chips, not footnotes – larger labels, two equal field cards. */
.e-field .v-tags .sk-group{gap:1.1rem}
.e-field .v-tags .sk-group h3{font-family:var(--f-display);font-size:1.25rem;font-weight:500}
.e-field .v-tags .sk-group li{font-size:1rem;padding:.5rem 1rem;min-height:40px;display:inline-flex;align-items:center}
@media (min-width:900px){.e-field .v-tags .sk{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---- Pass 4 (07.10.2026): home project register + one full-bleed dry garden ---- */
/* Home projects as a numbered register (text only; the project photos live on /projects): plate number, display title, short note, action on the end. */
.e-field .s-projects.v-list .pj-list{counter-reset:plate;border-top-color:color-mix(in srgb,var(--brand) 28%,transparent)}
.e-field .s-projects.v-list .pj-item{counter-increment:plate;grid-template-columns:minmax(0,1fr) auto;padding-block:clamp(1.5rem,2.8vw,2.4rem);border-bottom-color:color-mix(in srgb,var(--brand) 28%,transparent)}
.e-field .s-projects.v-list .pj-body{gap:.5rem}
.e-field .s-projects.v-list .pj-body h3{font-family:var(--f-display);font-weight:400;font-size:clamp(1.7rem,1.1rem + 1.9vw,2.9rem);line-height:1.25}
.e-field .s-projects.v-list .pj-body .pj-meta{order:-1;color:var(--accent);font-weight:600;font-size:.95rem}
.e-field .s-projects.v-list .pj-body .pj-meta::before{content:counter(plate,decimal-leading-zero);display:inline-block;margin-inline-end:.7rem;padding-inline-end:.7rem;border-inline-end:1px solid color-mix(in srgb,var(--accent) 45%,transparent);color:var(--brand);font-variant-numeric:lining-nums}
.e-field .s-projects.v-list .pj-body p:not(.pj-meta){font-size:1.05rem;line-height:1.85;color:color-mix(in srgb,var(--ink) 80%,var(--paper));max-width:58ch}
@media (min-width:901px){.e-field .s-projects.v-list .s-head{margin-block-end:clamp(1.6rem,3vw,2.6rem)}}
@media (max-width:700px){.e-field .s-projects.v-list .pj-item{grid-template-columns:minmax(0,1fr);gap:1rem}.e-field .s-projects.v-list .pj-action{grid-column:1;justify-self:start}}
/* Full-bleed plate: the gravel garden runs edge to edge; its caption reads like a survey label under the photo. */
.e-field .s-gallery.v-fullbleed{padding-block:0}
.e-field .s-gallery.v-fullbleed .fb-item img{height:min(84vh,860px)}
.e-field .s-gallery.v-fullbleed figcaption{display:flex;align-items:center;gap:.8rem;padding-block:1rem 0;font-size:.98rem;color:var(--ink)}
.e-field .s-gallery.v-fullbleed figcaption::before{content:"";width:2.4rem;height:1px;flex:none;background:var(--accent)}
.e-field .s-gallery.v-fullbleed .s-more{margin-block:1.2rem clamp(48px,7vw,96px)}
@media (max-aspect-ratio:1/1){.e-field .s-gallery.v-fullbleed .fb-item img{height:auto;aspect-ratio:4/5}}
