/* Editorial portfolio — warm paper, ink and vermilion. */
:root {
  --paper: #f7f3ec;
  --ink: #22241f;
  --muted: #68665e;
  --accent: #df3e18;
  --line: #dfd9cf;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { background: var(--paper); color: var(--ink); font: 15px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; }
.action-icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: #f7b69c; color: #22241f; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--ink); color: white; padding: 12px; }
.skip-link:focus { top: 12px; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; padding: 26px 55px; margin: auto; position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 20px; letter-spacing: -.8px; white-space: nowrap; }
.brand img { object-fit: contain; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 12px; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; height: 1px; background: var(--accent); position: absolute; bottom: 0; left: 0; right: 0; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-cta, .button { display: inline-flex; align-items: center; gap: 25px; padding: 13px 22px; font-size: 12px; border-radius: 30px; }
.nav-cta, .button-primary { background: var(--accent); color: white; transition: background .2s, transform .2s; }
.nav-cta:hover, .button-primary:hover { background: #bb2f0e; transform: translateY(-2px); }
.menu-toggle { display: none; }
main { max-width: 1320px; margin: auto; }
.hero { min-height: 650px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg,var(--paper) 3%, #f7f3ecf7 25%, #f7f3ec9c 42%, transparent 63%), linear-gradient(0deg,var(--paper),transparent 15%); }
.hero-content { position: relative; width: 62%; padding: 38px 40px 50px; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 650; letter-spacing: 1.9px; line-height: 1.5; }
.eyebrow::before { content: ''; flex: 0 0 4px; width: 4px; height: 4px; background: var(--accent); }
h1 { font: 500 clamp(68px, 7.4vw, 99px)/.92 var(--serif); letter-spacing: -6px; margin: 24px 0; }
h1 em { color: var(--accent); font-style: normal; }
.hero-description { font-size: 17px; line-height: 1.55; color: #43443b; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 26px; }
.hero .button,.hero .text-link { font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 13px; transition: color .2s; }
.text-link:hover { color: var(--accent); }
.text-link span { color: var(--accent); }
.hero-location { font-size: 10px; letter-spacing: 1.25px; color: var(--muted); margin-top: 43px; }
.hero-location span { margin: 0 9px; color: var(--accent); }
.hero-content > * { animation: arrive .7s ease both; }
.hero-content > :nth-child(2) { animation-delay: .06s; }
.hero-content > :nth-child(3) { animation-delay: .12s; }
.hero-content > :nth-child(4) { animation-delay: .18s; }
.section { margin: 0 55px; padding: 44px 0; border-bottom: 1px solid var(--line); }
h2 { font: 500 39px/1.08 var(--serif); letter-spacing: -1.6px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 18px; }
.section-heading > p { font-size: 12px; color: var(--muted); padding-bottom: 3px; }
.tech-grid { display: grid; grid-template-columns: repeat(6,1fr); margin-top: 38px; gap: 18px; }
.tech-item { display: flex; align-items: center; flex-direction: column; gap: 16px; padding: 10px; }
.tech-item img { height: 76px; width: 76px; object-fit: contain; filter: drop-shadow(0 9px 5px #29241a18); transition: transform .25s; }
.tech-item:hover img { transform: translateY(-7px) rotate(-4deg); }
.tech-item > span { font-size: 12px; }
.more-tech { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 33px; padding-top: 24px; border-top: 1px solid var(--line); }
.more-tech > span:first-child { font-size: 8px; letter-spacing: 1.4px; color: var(--muted); }
.small-tech { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.small-tech img { width: 20px; height: 20px; object-fit: contain; }
.section-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.section-top > .text-link { color: var(--accent); font-size: 10px; }
.project-list { display: grid; gap: 14px; }
.project-row { display: grid; grid-template-columns: 250px 1fr 44px; gap: 27px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 12px; transition: background .2s, border-color .2s; }
.project-row:hover { background: #fffcf7; border-color: #bdb5a8; }
.project-preview { border-radius: 6px; overflow: hidden; background: #e9e4d9; aspect-ratio: 1.9; }
.project-preview img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.project-row:hover .project-preview img { transform: scale(1.04); }
.project-number { font-size: 7px; letter-spacing: 1.4px; color: var(--muted); display: block; margin-bottom: 5px; }
.project-copy h3 { font: 600 25px/1.15 var(--serif); letter-spacing: -.6px; margin-bottom: 5px; }
.project-copy p { font-size: 12px; line-height: 1.5; max-width: 540px; color: #56564e; }
.tags { display: flex; flex-wrap: wrap; gap: 0; margin-top: 10px; }
.tags span { background: transparent; color: #51495e; font-size: 8px; padding: 0; border-radius: 0; }
.tags span:first-child { background: transparent; color: #aa351b; }
.project-arrow { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #c9c2b6; border-radius: 10px; background: #fffcf7; box-shadow: 0 7px 18px rgba(42,36,28,.06); transition: background .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s; }
.project-arrow:hover { color: white; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(223,62,24,.18); }
.project-type { color: #a49b8c; font: 12px Consolas,monospace; }
.project-wordmark { height: 100%; display: flex; align-items: center; justify-content: center; background: #e5e2d8; color: #484a3b; font: 600 30px var(--serif); }
.project-wordmark span { font: 10px var(--sans); margin-left: 8px; letter-spacing: 1px; }
.more-projects { margin-top: 20px; }
.more-projects summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; cursor: pointer; font-size: 12px; list-style: none; }
.more-projects summary::-webkit-details-marker { display: none; }
.more-projects summary > span { display: flex; gap: 22px; color: var(--accent); }
.more-projects[open] summary { margin-bottom: 10px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 58px; }
.about h2 { margin: 20px 0 26px; }
.about h2 span { color: var(--accent); }
.about-copy { padding-top: 28px; font-size: 13px; color: var(--muted); }
.about-copy p + p { margin-top: 16px; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-principle { border-left: 2px solid var(--accent); padding-left: 15px; color: var(--ink); }
.exp-item { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.exp-item:last-child { border-bottom: 0; padding-bottom: 0; }
.exp-period { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.exp-line { display: none; }
.exp-role { font: 500 25px var(--serif); letter-spacing: -.7px; }
.exp-company { font-size: 9px; color: var(--accent); letter-spacing: 1px; margin: 5px 0 12px; }
.exp-desc { font-size: 12px; color: var(--muted); max-width: 700px; line-height: 1.8; }
.contact { border-bottom: 0; padding-block: 48px; }
.contact-top { display: flex; align-items: center; }
.contact-main { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; }
.contact h2 { font-size: 73px; letter-spacing: -4px; line-height: 1; }
.contact h2 em { color: var(--accent); font-style: normal; }
.contact-circle { width: 80px; height: 80px; border: 1px solid var(--accent); display: grid; place-items: center; border-radius: 50%; color: var(--accent); font-size: 34px; transition: background .2s,color .2s,transform .2s; }
.contact-circle:hover { background: var(--accent); color: white; transform: rotate(45deg); }
.contact-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 11px; }
.contact-bottom > div { display: flex; gap: 25px; }
.contact-bottom a:hover { color: var(--accent); }
footer { max-width: 1320px; margin: auto; padding: 25px 55px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
footer .brand { font-size: 15px; }
footer > span, footer > a:last-child { font-size: 8px; letter-spacing: 1px; }
footer > span { color: var(--muted); }
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease,transform .5s ease; }
.will-reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { body { padding-top: 20px; } }
@media (max-width: 1000px) {
  nav { padding: 22px 35px; }
  .brand { font-size: 18px; }.nav-links { gap: 20px; }.nav-cta { gap: 15px; padding: 10px 16px; }
  .hero { min-height: 600px; }.hero-content { padding-left: 35px; width: 70%; }h1 { font-size: 80px; }
  .section { margin-inline: 35px; }.project-row { grid-template-columns: 210px 1fr 36px; gap: 20px; }.project-copy h3 { font-size: 23px; }
  .more-tech { gap: 16px; }.about { gap: 40px; }.about h2 { font-size: 34px; }footer { padding-inline: 35px; }
  .contact h2 { font-size: 65px; }.contact-bottom > div { gap: 15px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }nav { padding: 18px 6%; flex-wrap: wrap; gap: 14px; }.brand { font-size: 18px; }.brand img { width: 29px; height: 29px; }
  .nav-cta { display: none; }.menu-toggle { display: block; background: transparent; border: 1px solid var(--line); padding: 7px 12px; border-radius: 20px; font-size: 11px; }.menu-toggle span { margin-left: 10px; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }.nav-links.open { display: flex; }.nav-links a { padding: 12px 0; }
  .hero { min-height: 780px; align-items: flex-start; }.hero-image { top: auto; bottom: 0; height: 49%; object-position: 64% 70%; }.hero-wash { background: linear-gradient(180deg,var(--paper) 46%,#f7f3ec00 70%,var(--paper) 100%); }
  .hero-content { width: 100%; padding: 27px 6% 0; }.eyebrow { font-size: 8px; letter-spacing: 1.7px; }h1 { font-size: clamp(65px,17vw,91px); letter-spacing: -4px; margin: 22px 0; }.hero-description { font-size: 13px; }.hero-actions { gap: 23px; margin-top: 22px; }.button { padding: 12px 20px; font-size: 11px; }.text-link { font-size: 11px; }.hero-location { margin-top: 25px; font-size: 7px; letter-spacing: 1px; }
  .section { margin: 0 6%; padding-block: 32px; }h2 { font-size: 31px; letter-spacing: -1.3px; }.section-heading { margin-top: 15px; }.section-heading > p { display: none; }.tech-grid { grid-template-columns: repeat(3,1fr); margin-top: 25px; gap: 22px 8px; }.tech-item { gap: 12px; padding: 8px; }.tech-item img { width: 57px; height: 57px; }.tech-item > span { font-size: 11px; }.more-tech { gap: 14px 20px; margin-top: 24px; padding-top: 18px; }.more-tech > span:first-child { width: 100%; font-size: 7px; }.small-tech { font-size: 10px; }.small-tech img { width: 17px; height: 17px; }
  .section-top { gap: 12px; margin-bottom: 19px; }.section-top > .text-link { font-size: 8px; gap: 6px; }.section-top .eyebrow { font-size: 7px; letter-spacing: 1.1px; }
  .project-row { grid-template-columns: 100px 1fr 25px; gap: 12px; padding: 12px; border-radius: 9px; }.project-preview { aspect-ratio: 1.1; }.project-preview img { object-position: left; }.project-number { font-size: 6px; letter-spacing: .6px; }.project-copy h3 { font-size: 20px; }.project-copy p { font-size: 10px; line-height: 1.5; }.tags { gap: 4px; margin-top: 8px; }.tags span { font-size: 7px; padding: 2px 6px; }.project-arrow { width: 25px; height: 25px; font-size: 12px; }.project-wordmark { font-size: 20px; flex-direction: column; gap: 5px; }.project-wordmark span { margin: 0; font-size: 9px; }.project-type { font-size: 9px; }.more-projects summary { font-size: 11px; }
  .about { grid-template-columns: 1fr; gap: 15px; padding-block: 38px; }.about h2 { font-size: 34px; margin: 18px 0; }.about-copy { padding-top: 8px; font-size: 12px; }.about-principle { font-size: 12px; }.exp-item { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }.exp-period { font-size: 9px; }.exp-period br { display: none; }.exp-period br::after { content: ' — '; }.exp-role { font-size: 24px; }.exp-desc { font-size: 11px; }.contact h2 { font-size: clamp(39px,10.8vw,62px); letter-spacing: -2.5px; }.contact-circle { width: 49px; height: 49px; font-size: 25px; flex-shrink: 0; }.contact-main { gap: 15px; padding-block: 26px; }.contact-bottom { flex-direction: column; font-size: 10px; gap: 18px; }.contact-bottom > div { flex-wrap: wrap; gap: 20px; }footer { padding: 20px 6%; flex-wrap: wrap; gap: 14px; }footer .brand { font-size: 14px; }footer > span { order: 3; width: 100%; font-size: 7px; }footer > a:last-child { font-size: 7px; }
}
@media(max-width:380px) { .project-row { grid-template-columns: 80px 1fr; gap: 10px; }.project-arrow,.project-type { display: none; }.project-copy h3 { font-size: 18px; }.project-copy p { font-size: 9px; }.hero { min-height: 770px; }.contact-circle { width: 40px; height: 40px; }.contact h2 { font-size: 38px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; }*,*::before,*::after { animation: none!important; transition: none!important; }.will-reveal { opacity: 1; transform: none; } }
/* Contact channels and extended editorial footer. */
.contact-description { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 22px; }
.contact-circle svg { width: 32px; height: 32px; }
.contact-channels { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding: 5px 0 28px; }
.contact-card { display: flex; flex-direction: column; position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 23px; background: #ffffff3b; transition: transform .2s,border-color .2s,background .2s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--accent); background: #fffaf3; }
.contact-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: #f3e4da; color: var(--accent); margin-bottom: 22px; }
.contact-card-copy { display: flex; flex-direction: column; gap: 5px; }
.contact-card-copy strong { font: 500 23px var(--serif); letter-spacing: -.5px; }
.contact-card-copy > span { font-size: 10px; color: var(--muted); }
.contact-card-arrow { position: absolute; top: 25px; right: 20px; color: #8c8478; }
.contact-card-arrow svg { width: 15px; height: 15px; }
.contact-card:hover .contact-card-arrow { color: var(--accent); }
.contact-signoff { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 10px; color: var(--muted); padding: 8px 0 6px; }
.location-dot { width: 6px; height: 6px; border-radius: 50%; background: #7b876c; }
.contact-signoff-divider { padding: 0 5px; color: #b1a89b; }
.site-footer { display: block; max-width: none; padding: 0; background: #242620; color: #f7f3ec; margin-top: 20px; border: 0; }
.footer-grid { max-width: 1320px; margin: auto; display: grid; grid-template-columns: 1.3fr .7fr 1fr 1.2fr; gap: 45px; padding: 55px; }
.site-footer .brand { font-size: 21px; gap: 10px; }
.footer-intro > p { font-size: 12px; line-height: 1.9; color: #bcbdb1; margin-top: 18px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a { border: 1px solid #515347; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; transition: color .2s,border-color .2s,transform .2s; }
.footer-socials svg { width: 17px; height: 17px; }
.footer-socials a:hover { color: #ff9572; border-color: #ff9572; transform: translateY(-3px); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 8px; min-width: 0; }
.footer-column h3 { font: 500 9px var(--sans); letter-spacing: 1.8px; color: #d5bca5; margin-bottom: 12px; }
.footer-column > a,.footer-column > span { font-size: 11px; color: #c4c5b9; }
.footer-column a:hover { color: #ff9572; }
.footer-connect > a { display: flex; align-items: center; gap: 10px; max-width: 100%; }
.footer-connect svg { width: 15px; height: 15px; flex-shrink: 0; color: #c9b19d; }
.footer-connect a span { overflow-wrap: anywhere; }
.footer-connect .footer-cv { color: #f7f3ec; margin-top: 9px; padding-bottom: 5px; border-bottom: 1px solid #72715e; gap: 30px; }
.footer-base { max-width: 1210px; margin: auto; border-top: 1px solid #484a3d; padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; color: #b5b7aa; }
.footer-base a { color: #f7f3ec; font-size: 10px; }
@media(max-width:1000px) { .contact-channels { grid-template-columns: repeat(2,minmax(0,1fr)); }.contact-card { flex-direction: row; align-items: center; gap: 18px; padding: 20px; }.contact-icon { margin: 0; flex-shrink: 0; }.contact-card-arrow { top: 17px; right: 15px; }.footer-grid { padding: 40px 35px; grid-template-columns: 1.2fr 1fr; gap: 35px; }.footer-base { margin-inline: 35px; flex-wrap: wrap; } }
@media(max-width:700px) { .contact-description { font-size: 12px; margin-top: 16px; }.contact-description .desktop-break { display: none; }.contact-circle svg { width: 24px; height: 24px; }.contact-main { align-items: flex-start; }.contact-circle { margin-top: 7px; }.contact-channels { gap: 10px; }.contact-card { flex-direction: column; align-items: flex-start; padding: 17px; gap: 15px; }.contact-icon { width: 38px; height: 38px; border-radius: 9px; }.contact-icon svg { width: 22px; height: 22px; }.contact-card-copy strong { font-size: 21px; }.contact-card-copy > span { font-size: 9px; }.contact-signoff { font-size: 9px; gap: 7px; }.footer-grid { padding: 34px 6%; grid-template-columns: 1fr 1fr; gap: 32px 22px; }.footer-intro,.footer-connect { grid-column: 1 / -1; }.site-footer .brand { font-size: 21px; }.site-footer .brand img { width: 36px; height: 36px; }.footer-intro > p { font-size: 12px; }.footer-column { gap: 11px; }.footer-base { margin-inline: 6%; padding-block: 20px; gap: 15px; font-size: 8px; }.footer-base > span:first-child { max-width: 65%; }.footer-base a { font-size: 9px; } }
@media(prefers-reduced-motion:reduce) { .contact-card,.footer-socials a { transition: none; } }
.carousel-title { margin-top: 16px; font-size: 43px; }
.project-carousel { overflow: hidden; border-radius: 18px; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 22px; padding: 5px 0 18px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .project-row { flex: 0 0 78%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 55px; gap: 0 20px; padding: 0 0 28px; border-radius: 16px; background: #fffcf7; overflow: hidden; align-content: start; }
.carousel-track .project-preview { grid-column: 1 / -1; aspect-ratio: 2.05; border-radius: 0; margin-bottom: 25px; }
.carousel-track .project-preview img { object-fit: cover; object-position: top; }
.carousel-track .project-copy { padding-left: 28px; }
.carousel-track .project-number { font-size: 12px; margin-bottom: 9px; }
.carousel-track .project-copy h3 { font-size: 35px; margin-bottom: 10px; }
.carousel-track .project-copy p { font-size: 17px; max-width: none; }
.carousel-track .tags { margin-top: 18px; gap: 8px; }
.carousel-track .tags span { font-size: 12px; padding: 4px 12px; }
.carousel-track .project-arrow { width: 38px; height: 38px; align-self: center; }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; }
.carousel-hint { font-size: 14px; color: var(--muted); }
.carousel-dots { display: flex; gap: 5px; }
.carousel-dots button { width: 28px; height: 36px; border: 0; background: transparent; position: relative; }
.carousel-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #b6b0a5; position: absolute; inset: 0; margin: auto; }
.carousel-dots button[aria-pressed="true"]::after { background: var(--accent); width: 22px; border-radius: 5px; }
.carousel-arrows { display: flex; align-items: center; gap: 15px; }
.carousel-arrows button { border: 1px solid var(--line); background: #fffcf7; border-radius: 50%; width: 44px; height: 44px; font-size: 23px; transition: background .2s,color .2s; }
.carousel-arrows button:hover { background: var(--accent); color: white; }
.carousel-arrows button:disabled { opacity: .35; cursor: default; }
.carousel-count { font-size: 13px; font-variant-numeric: tabular-nums; }
@media(max-width:1100px) { nav { gap: 16px; }.nav-links { gap: 16px; }.nav-cta { display: none; }.footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:700px) {
  .nav-links { order: 5; }.nav-links a { font-size: 16px; }.menu-toggle { font-size: 14px; }
  .hero-description { font-size: 17px; }.hero-location { font-size: 10px; line-height: 1.8; }.hero { min-height: 850px; }
  .eyebrow,.section-top .eyebrow { font-size: 11px; letter-spacing: 1px; }.button,.text-link { font-size: 15px; }.hero-actions { gap: 16px; }.button { padding: 12px 18px; }.tech-item > span { font-size: 15px; }.small-tech { font-size: 14px; }.more-tech > span:first-child { font-size: 11px; }
  .section-top { align-items: flex-start; flex-direction: column; }.section-top > .text-link { font-size: 14px; }.carousel-title { font-size: 33px; }.carousel-track { gap: 14px; }.carousel-track .project-row { flex-basis: 93%; padding-bottom: 22px; grid-template-columns: 1fr 42px; gap: 0 10px; }.carousel-track .project-preview { aspect-ratio: 1.75; margin-bottom: 22px; }.carousel-track .project-copy { padding-left: 18px; }.carousel-track .project-copy h3 { font-size: 29px; }.carousel-track .project-copy p { font-size: 16px; }.carousel-track .project-number { font-size: 10px; }.carousel-track .project-arrow { display: grid; width: 32px; height: 32px; font-size: 18px; }.carousel-track .tags span { font-size: 11px; padding: 3px 9px; }.carousel-controls { flex-wrap: wrap; gap: 10px; }.carousel-hint { width: 100%; font-size: 13px; }.carousel-dots { gap: 0; }.carousel-dots button { width: 22px; }.carousel-arrows { gap: 7px; }.carousel-arrows button { width: 36px; height: 36px; }.carousel-count { font-size: 12px; }
  .about-copy,.about-principle,.exp-desc { font-size: 16px; }.exp-period,.exp-company { font-size: 12px; }.exp-role { font-size: 28px; }.contact-description { font-size: 16px; }.contact-card-copy > span { font-size: 13px; }.contact-card { padding: 16px; }.contact-card-copy strong { font-size: 24px; }.contact-signoff { font-size: 12px; }.footer-column h3 { font-size: 12px; }.footer-intro > p,.footer-column > a,.footer-column > span { font-size: 15px; }.footer-base,.footer-base a { font-size: 11px; }
}
.carousel-track::after { content: ''; flex: 0 0 calc(22% - 22px); }
@media(max-width:700px) { .carousel-track::after { flex-basis: calc(7% - 14px); } }

/* Restore the original editorial type scale, including carousel cards. */
.carousel-title { font-size: 39px; }
.carousel-track .project-number { font-size: 7px; }
.carousel-track .project-copy h3 { font-size: 25px; }
.carousel-track .project-copy p { font-size: 12px; }
.carousel-track .tags span { font-size: 8px; }
.carousel-hint { font-size: 12px; }
@media(max-width:700px) {
  .nav-links a { font-size: 12px; }.menu-toggle { font-size: 11px; }
  .hero-description { font-size: 13px; }.hero-location { font-size: 7px; line-height: 1.65; }
  .eyebrow { font-size: 8px; letter-spacing: 1.7px; }.section-top .eyebrow { font-size: 7px; letter-spacing: 1.1px; }
  .button { font-size: 11px; }.text-link { font-size: 11px; }.tech-item > span { font-size: 11px; }.small-tech { font-size: 10px; }.more-tech > span:first-child { font-size: 7px; }
  .section-top > .text-link { font-size: 8px; }.carousel-title { font-size: 31px; }
  .carousel-track .project-copy h3 { font-size: 20px; }.carousel-track .project-copy p { font-size: 10px; }.carousel-track .project-number { font-size: 6px; }.carousel-track .tags span { font-size: 7px; }.carousel-hint { font-size: 11px; }
  .about-copy,.about-principle { font-size: 12px; }.exp-desc { font-size: 11px; }.exp-period,.exp-company { font-size: 9px; }.exp-role { font-size: 24px; }
  .contact-description { font-size: 12px; }.contact-card-copy > span { font-size: 9px; }.contact-card-copy strong { font-size: 21px; }.contact-signoff { font-size: 9px; }
  .footer-column h3 { font-size: 9px; }.footer-intro > p { font-size: 12px; }.footer-column > a,.footer-column > span { font-size: 11px; }.footer-base { font-size: 8px; }.footer-base a { font-size: 9px; }
}
@media(max-width:380px) { .carousel-track .project-copy h3 { font-size: 18px; }.carousel-track .project-copy p { font-size: 9px; } }

/* Preserve the original editorial layout after removing the experimental carousel. */
@media (min-width: 1001px) and (max-width: 1100px) {
  .nav-cta { display: inline-flex; }
  .footer-grid { grid-template-columns: 1.3fr .7fr 1fr 1.2fr; }
}
@media (max-width: 700px) {
  .hero { min-height: 780px; }
  .hero-actions { gap: 23px; }
  .button { padding: 12px 20px; }
  .section-top { flex-direction: row; align-items: center; }
}
@media (max-width: 380px) {
  .hero { min-height: 770px; }
}

/* Contained project carousel: one complete project per frame. */
.portfolio-carousel { position: relative; }
.portfolio-viewport { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fffcf7; box-shadow: 0 18px 45px rgba(61,52,40,.06); }
.portfolio-viewport::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 3; }
.portfolio-carousel.is-counting .portfolio-viewport::after { animation: portfolio-progress 10s linear forwards; }
.portfolio-carousel.is-paused .portfolio-viewport::after { animation-play-state: paused; }
.portfolio-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; touch-action: pan-y; }
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.portfolio-track .project-slide { flex: 0 0 100%; min-width: 100%; min-height: 390px; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr) 46px; gap: 30px; align-items: center; padding: 20px; border: 0; border-radius: 0; background: transparent; }
.portfolio-track .project-slide:hover { background: transparent; border-color: transparent; }
.portfolio-track .project-preview { height: 350px; aspect-ratio: auto; display: grid; place-items: center; padding: 10px; border: 1px solid color-mix(in srgb,var(--project-accent) 24%,#d8d0c4); border-radius: 10px; background: linear-gradient(145deg,color-mix(in srgb,var(--project-accent) 11%,white),#eee7dd); box-shadow: 0 14px 34px color-mix(in srgb,var(--project-accent) 13%,rgba(42,38,31,.1)); }
.portfolio-track .project-preview img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 6px; background: white; filter: saturate(1.06) contrast(1.015); pointer-events: none; }
.portfolio-track .project-copy { position: relative; isolation: isolate; padding: 18px 0; }
.portfolio-track .project-copy::after { content: attr(data-index); position: absolute; z-index: -1; top: -34px; right: 5px; color: var(--project-accent); opacity: .07; font: 500 108px/1 var(--serif); letter-spacing: -8px; }
.portfolio-track .project-slide { --project-accent: #df3e18; }
.portfolio-track .project-slide:nth-child(2) { --project-accent: #277455; }
.portfolio-track .project-slide:nth-child(3) { --project-accent: #008b80; }
.portfolio-track .project-slide:nth-child(4) { --project-accent: #8055a6; }
.portfolio-track .project-slide:nth-child(5) { --project-accent: #3265aa; }
.portfolio-track .project-slide:nth-child(6) { --project-accent: #7b2fd0; }
.portfolio-track .project-slide:nth-child(7) { --project-accent: #df3e18; }
.project-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.project-icon { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--project-accent) 25%,transparent); border-radius: 15px; background: color-mix(in srgb,var(--project-accent) 10%,white); color: var(--project-accent); box-shadow: 0 9px 22px color-mix(in srgb,var(--project-accent) 12%,transparent); }
.project-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.portfolio-track .project-number { color: var(--project-accent); font-size: 9px; font-weight: 600; margin-bottom: 0; }
.portfolio-track .project-copy h3 { font-size: 37px; margin-bottom: 12px; }
.portfolio-track .project-copy p { max-width: 440px; font-size: 15px; line-height: 1.7; color: #44463f; }
.portfolio-track .tags { margin-top: 18px; }
.portfolio-track .tags span { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; padding: 0 12px 0 0; border: 0; border-radius: 0; background: transparent; color: color-mix(in srgb,var(--project-accent) 82%,#222); font-size: 10px; font-weight: 650; }
.portfolio-track .tags span:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: 0; width: 1px; height: 14px; background: color-mix(in srgb,var(--project-accent) 28%,#d5cec3); transform: translateY(-50%); }
.portfolio-track .tags span:first-child { background: transparent; color: color-mix(in srgb,var(--project-accent) 90%,#222); }
.portfolio-track .tags img { width: 15px; height: 15px; object-fit: contain; }
.portfolio-track .project-arrow { align-self: center; }
.portfolio-track .project-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.portfolio-track .project-arrow:hover { transform: translateY(-2px); background: var(--project-accent); border-color: var(--project-accent); }
.portfolio-track .project-type { align-self: center; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--project-accent) 28%,transparent); border-radius: 10px; color: var(--project-accent); background: color-mix(in srgb,var(--project-accent) 7%,white); }
.portfolio-controls { display: grid; grid-template-columns: 44px auto 1fr 44px auto; align-items: center; gap: 13px; margin-top: 18px; }
.portfolio-prev,.portfolio-next { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #c9c2b6; border-radius: 12px; background: #fffcf7; color: var(--ink); box-shadow: 0 8px 20px rgba(42,36,28,.06); transition: background .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s; }
.portfolio-prev svg,.portfolio-next svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portfolio-prev:hover,.portfolio-next:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(223,62,24,.2); }
.portfolio-counter { min-width: 50px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.portfolio-dots { display: flex; justify-content: center; gap: 3px; }
.portfolio-dots button { position: relative; width: 25px; height: 34px; border: 0; background: transparent; }
.portfolio-dots button::after { content: ''; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-radius: 10px; background: #beb7ab; transition: width .2s,background .2s; }
.portfolio-dots button[aria-pressed="true"]::after { width: 20px; background: var(--accent); }
.portfolio-toggle { border: 0; border-bottom: 1px solid #bdb5a8; background: transparent; padding: 7px 2px; color: var(--muted); font-size: 10px; }
.portfolio-toggle .play-label { display: none; }
.portfolio-toggle[aria-pressed="true"] .pause-label { display: none; }
.portfolio-toggle[aria-pressed="true"] .play-label { display: inline; }
.portfolio-meta { display: flex; justify-content: space-between; gap: 18px; margin-top: 10px; color: var(--muted); font-size: 9px; letter-spacing: .8px; }
@keyframes portfolio-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .portfolio-track .project-slide { grid-template-columns: minmax(0,1fr) minmax(270px,.85fr) 38px; gap: 20px; min-height: 340px; }
  .portfolio-track .project-preview { height: 300px; }
  .portfolio-track .project-copy h3 { font-size: 30px; }
  .portfolio-track .project-copy p { font-size: 13px; }
}
@media (max-width: 700px) {
  .portfolio-track .project-slide { grid-template-columns: 1fr 36px; gap: 8px 10px; min-height: 0; padding: 12px 12px 20px; align-content: start; }
  .portfolio-track .project-preview { grid-column: 1 / -1; height: 205px; padding: 6px; border-radius: 8px; margin-bottom: 7px; }
  .portfolio-track .project-copy { padding: 4px 5px; }
  .portfolio-track .project-copy::after { top: -8px; right: 2px; font-size: 72px; }
  .project-kicker { gap: 10px; margin-bottom: 11px; }
  .project-icon { flex-basis: 41px; width: 41px; height: 41px; border-radius: 11px; }
  .project-icon svg { width: 22px; height: 22px; }
  .portfolio-track .project-number { font-size: 8px; margin-bottom: 7px; }
  .portfolio-track .project-copy h3 { font-size: 26px; margin-bottom: 7px; }
  .portfolio-track .project-copy p { font-size: 12px; line-height: 1.6; }
  .portfolio-track .tags { margin-top: 10px; }
  .portfolio-track .tags span { gap: 4px; margin-right: 8px; padding: 0 8px 0 0; font-size: 8px; }
  .portfolio-track .tags span:not(:last-child)::after { height: 11px; }
  .portfolio-track .tags img { width: 12px; height: 12px; }
  .portfolio-track .project-arrow { display: grid; width: 31px; height: 31px; }
  .portfolio-controls { grid-template-columns: 38px auto 1fr 38px; gap: 7px; margin-top: 13px; padding-inline: 2px; }
  .portfolio-prev,.portfolio-next { width: 38px; height: 38px; }
  .portfolio-dots { gap: 0; }
  .portfolio-dots button { width: 19px; }
  .portfolio-dots button[aria-pressed="true"]::after { width: 14px; }
  .portfolio-toggle { grid-column: 1 / -1; justify-self: end; margin: -2px 2px 0 0; }
  .portfolio-meta { font-size: 8px; letter-spacing: .4px; }
  .portfolio-meta span:last-child { display: none; }
}
@media (max-width: 380px) {
  .portfolio-track .project-preview { height: 175px; }
  .portfolio-track .project-copy h3 { font-size: 23px; }
  .portfolio-controls { grid-template-columns: 36px auto 1fr 36px; }
  .portfolio-dots button { width: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-viewport::after { display: none; }
  .portfolio-prev,.portfolio-next,.portfolio-dots button::after { transition: none; }
}

/* 3D presentation with one readable project at a time. Decorative planes create
   depth without allowing neighbouring project content to overlap the active card. */
.portfolio-viewport { padding: 14px 0; background: radial-gradient(circle at 50% 44%,#fffdf9 0,#f3ede4 100%); }
.portfolio-track { position: relative; display: block; height: 430px; overflow: visible; scroll-snap-type: none; perspective: 1600px; transform-style: preserve-3d; transform: translateX(var(--drag-x,0)); transition: transform .25s ease; }
.portfolio-track::before,.portfolio-track::after { content: ''; position: absolute; z-index: 0; top: 30px; bottom: 30px; left: 50%; width: calc(100% - 150px); border: 1px solid rgba(180,169,153,.72); border-radius: 14px; background: linear-gradient(135deg,rgba(255,252,247,.78),rgba(232,224,213,.62)); box-shadow: 0 18px 42px rgba(42,36,28,.07); pointer-events: none; backface-visibility: hidden; }
.portfolio-track::before { transform: translateX(-55%) translateZ(-170px) rotateY(10deg) scale(.96); }
.portfolio-track::after { transform: translateX(-45%) translateZ(-170px) rotateY(-10deg) scale(.96); }
.portfolio-track.dragging { transition: none; }
.portfolio-track .project-slide { position: absolute; z-index: 1; top: 0; left: 50%; width: calc(100% - 150px); min-width: 0; height: 100%; min-height: 0; flex: none; scroll-snap-align: none; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; backface-visibility: hidden; transform-style: preserve-3d; transform: translateX(-50%) translateZ(-480px) scale(.72); filter: saturate(.7); transition: transform .72s cubic-bezier(.2,.8,.2,1),opacity .34s ease,filter .55s ease,box-shadow .55s ease; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(125deg,#fffcf7 42%,color-mix(in srgb,var(--project-accent) 8%,white)); box-shadow: 0 18px 45px rgba(42,36,28,.09); }
.portfolio-track .project-slide::before { content: ''; position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--project-accent),color-mix(in srgb,var(--project-accent) 42%,transparent) 58%,transparent); pointer-events: none; }
.portfolio-track .project-slide[data-position="active"] { z-index: 4; visibility: visible; opacity: 1; pointer-events: auto; filter: none; transform: translateX(-50%) translateZ(0) rotateY(0) scale(1); border-color: color-mix(in srgb,var(--project-accent) 38%,var(--line)); box-shadow: 0 28px 60px rgba(42,36,28,.14),0 10px 34px color-mix(in srgb,var(--project-accent) 13%,transparent); }
.portfolio-track .project-slide[data-position="previous"] { transform: translateX(-68%) translateZ(-250px) rotateY(34deg) scale(.86); }
.portfolio-track .project-slide[data-position="next"] { transform: translateX(-32%) translateZ(-250px) rotateY(-34deg) scale(.86); }
.portfolio-track .project-slide[data-position="far-previous"] { transform: translateX(-82%) translateZ(-520px) rotateY(42deg) scale(.68); }
.portfolio-track .project-slide[data-position="far-next"] { transform: translateX(-18%) translateZ(-520px) rotateY(-42deg) scale(.68); }
.portfolio-track.dragging .project-slide { transition: none; }

@media (max-width: 900px) {
  .portfolio-track { height: 370px; perspective: 1300px; }
  .portfolio-track::before,.portfolio-track::after { width: calc(100% - 80px); }
  .portfolio-track .project-slide { width: calc(100% - 80px); }
  .portfolio-track .project-slide[data-position="previous"] { transform: translateX(-62%) translateZ(-220px) rotateY(28deg) scale(.88); }
  .portfolio-track .project-slide[data-position="next"] { transform: translateX(-38%) translateZ(-220px) rotateY(-28deg) scale(.88); }
}
@media (max-width: 700px) {
  .portfolio-viewport { padding: 9px 0; }
  .portfolio-track { height: 478px; perspective: 900px; }
  .portfolio-track::before,.portfolio-track::after { top: 16px; bottom: 16px; width: calc(100% - 20px); border-radius: 12px; }
  .portfolio-track::before { transform: translateX(-53%) translateZ(-90px) rotateY(6deg) scale(.97); }
  .portfolio-track::after { transform: translateX(-47%) translateZ(-90px) rotateY(-6deg) scale(.97); }
  .portfolio-track .project-slide { width: calc(100% - 20px); }
  .portfolio-track .project-slide[data-position="previous"] { transform: translateX(-56%) translateZ(-160px) rotateY(20deg) scale(.92); }
  .portfolio-track .project-slide[data-position="next"] { transform: translateX(-44%) translateZ(-160px) rotateY(-20deg) scale(.92); }
}
@media (max-width: 380px) {
  .portfolio-track { height: 495px; }
  .portfolio-track .project-slide { width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-track,.portfolio-track .project-slide { transition: none; }
}

/* Purposeful actions use descriptive icons instead of decorative diagonal arrows. */
.contact-cta { display: inline-flex; align-items: center; gap: 13px; padding: 9px 20px 9px 9px; border-radius: 13px; background: var(--accent); color: white; font-size: 12px; font-weight: 600; box-shadow: 0 14px 30px rgba(223,62,24,.18); transition: transform .2s,background .2s,box-shadow .2s; }
.contact-cta:hover { transform: translateY(-3px); background: #bc3010; box-shadow: 0 18px 34px rgba(223,62,24,.24); }
.contact-cta-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.16); }
.contact-cta svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; }
.back-to-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) {
  .contact-cta { padding: 7px 15px 7px 7px; gap: 9px; font-size: 10px; flex-shrink: 0; }
  .contact-cta-icon { width: 34px; height: 34px; }
  .contact-cta svg { width: 18px; height: 18px; }
}

/* Complementary stack as an editorial moving ribbon. */
.stack-ribbon { display: grid; grid-template-columns: 190px minmax(0,1fr); align-items: stretch; margin-top: 34px; overflow: hidden; border-radius: 14px; background: var(--ink); box-shadow: 0 16px 38px rgba(34,36,31,.12); }
.stack-ribbon-label { position: relative; z-index: 2; display: grid; place-items: center; padding: 22px 24px; background: var(--accent); color: white; font-size: 9px; font-weight: 650; letter-spacing: 1.7px; text-align: center; }
.stack-ribbon-viewport { min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.stack-ribbon-track { display: flex; width: max-content; animation: stack-ribbon-scroll 32s linear infinite; }
.stack-ribbon:hover .stack-ribbon-track,.stack-ribbon:focus-within .stack-ribbon-track { animation-play-state: paused; }
.stack-ribbon-group { display: flex; flex: 0 0 auto; align-items: center; gap: 38px; padding: 18px 24px; }
.stack-ribbon .small-tech { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: #f7f3ec; font-size: 12px; font-weight: 500; white-space: nowrap; }
.stack-ribbon .small-tech img,.stack-ribbon .small-tech svg { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.stack-ribbon .small-tech svg { fill: none; stroke: #ff8b66; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
@keyframes stack-ribbon-scroll { to { transform: translateX(-50%); } }

.capability-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.capability-card { --capability-color: #276f9e; position: relative; isolation: isolate; min-height: 250px; overflow: hidden; padding: 26px 28px 24px; border: 1px solid color-mix(in srgb,var(--capability-color) 26%,var(--line)); border-radius: 16px; background: linear-gradient(135deg,#fffcf7 42%,color-mix(in srgb,var(--capability-color) 12%,white)); box-shadow: 0 14px 38px rgba(42,36,28,.06); transition: transform .25s,border-color .25s,box-shadow .25s; }
.capability-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--capability-color) 52%,var(--line)); box-shadow: 0 20px 44px color-mix(in srgb,var(--capability-color) 12%,rgba(42,36,28,.08)); }
.capability-card::after { content: attr(data-capability); position: absolute; z-index: -1; top: 10px; right: 22px; color: var(--capability-color); opacity: .07; font: 500 104px/1 var(--serif); letter-spacing: -7px; }
.capability-ai { --capability-color: #8452bb; }
.capability-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.capability-top > span:first-child { color: var(--capability-color); font-size: 10px; font-weight: 700; letter-spacing: 1.25px; }
.capability-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--capability-color) 28%,transparent); border-radius: 13px; background: color-mix(in srgb,var(--capability-color) 11%,white); color: var(--capability-color); }
.capability-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin-top: 18px; font: 600 29px/1.12 var(--serif); letter-spacing: -.7px; }
.capability-card p { max-width: 590px; margin-top: 11px; color: #56584f; font-size: 13px; line-height: 1.72; }
.capability-tags { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.capability-tags span { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 0; background: transparent; color: color-mix(in srgb,var(--capability-color) 84%,#222); font-size: 9px; font-weight: 700; letter-spacing: .25px; }
.capability-tags span::before { content: ''; width: 5px; height: 5px; background: var(--capability-color); transform: rotate(45deg); }

@media (max-width: 700px) {
  .stack-ribbon { grid-template-columns: 1fr; margin-top: 26px; border-radius: 12px; }
  .stack-ribbon-label { place-items: start; padding: 12px 16px; font-size: 8px; text-align: left; }
  .stack-ribbon-group { gap: 29px; padding: 15px 18px; }
  .stack-ribbon .small-tech { font-size: 11px; }
  .stack-ribbon .small-tech img,.stack-ribbon .small-tech svg { width: 21px; height: 21px; }
  .capability-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .capability-card { min-height: 0; padding: 21px; border-radius: 13px; }
  .capability-card::after { right: 15px; font-size: 78px; }
  .capability-icon { width: 40px; height: 40px; border-radius: 11px; }
  .capability-icon svg { width: 21px; height: 21px; }
  .capability-card h3 { margin-top: 15px; font-size: 25px; }
  .capability-card p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-ribbon-viewport { overflow-x: auto; mask-image: none; }
  .stack-ribbon-track { animation: none; }
  .stack-ribbon-group[aria-hidden="true"] { display: none; }
}

/* Full-width editorial navigation with clear, unframed section names. */
nav { position: sticky; top: 0; z-index: 30; width: 100%; max-width: none; margin: 0; padding: 14px 10vw; border: 0; border-bottom: 1px solid rgba(205,196,184,.72); border-radius: 0; background: rgba(247,243,236,.94); box-shadow: 0 9px 28px rgba(42,36,28,.055); backdrop-filter: blur(18px); }
.brand { padding: 0; font-size: 21px; }
.nav-links { gap: clamp(16px,1.8vw,26px); padding: 0; border: 0; border-radius: 0; background: transparent; }
.nav-links a { display: inline-flex; align-items: center; padding: 8px 0; border-radius: 0; color: #4e5049; font-size: 15px; font-weight: 680; letter-spacing: -.1px; transition: color .2s,transform .2s; }
.nav-links a::after { display: block; height: 2px; bottom: 0; background: var(--accent); transform: scaleX(0); transform-origin: center; }
.nav-links a:hover { color: var(--ink); background: transparent; transform: translateY(-1px); }
.nav-links a:hover::after,.nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links a[aria-current] { color: var(--accent); background: transparent; box-shadow: none; }
.nav-label { font-weight: 650; white-space: nowrap; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.language-toggle { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 11px; border: 1px solid #cec5b9; border-radius: 999px; background: #fffaf3; color: #62645c; box-shadow: 0 7px 18px rgba(42,36,28,.055); transition: color .2s,border-color .2s,background .2s,transform .2s; }
.language-toggle:hover { border-color: var(--accent); background: #fff; color: var(--ink); transform: translateY(-1px); }
.language-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.language-option { color: #8c8d85; font-size: 10px; font-weight: 700; letter-spacing: .35px; transition: color .2s,opacity .2s; }
.language-option.is-active { color: var(--ink); font-weight: 850; }
.language-separator { color: #c2bbb0; font-size: 9px; }
.nav-cta { gap: 12px; padding: 12px 19px; border-radius: 10px; font-size: 14px; font-weight: 700; }

/* Human profile portrait within the editorial About section. */
.about { grid-template-columns: .82fr 1.08fr .72fr; gap: 52px; align-items: start; }
.about-copy { padding-top: 54px; font-size: 14px; line-height: 1.75; }
.about-portrait { position: relative; align-self: start; max-width: 300px; margin: 0 0 0 auto; }
.portrait-frame { position: relative; padding: 9px; border: 1px solid #d4cabc; border-radius: 22px; background: #fffaf3; box-shadow: 0 22px 48px rgba(42,36,28,.14); transform: rotate(1.2deg); }
.portrait-frame::before { content: ''; position: absolute; z-index: -1; inset: 15px -12px -12px 15px; border: 1px solid rgba(223,62,24,.42); border-radius: 22px; }
.portrait-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 26%; border-radius: 15px; filter: saturate(.96) contrast(1.02); }
.about-portrait figcaption { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 0 9px; }
.about-portrait figcaption strong { font: 600 17px var(--serif); }
.about-portrait figcaption span { color: var(--muted); font-size: 9px; letter-spacing: .4px; }

/* Section titles carry more visual weight without changing the editorial style. */
.section-heading h2,.about h2 { font-size: clamp(40px,3.55vw,48px); text-wrap: balance; }
.section-heading > p { padding-left: 13px; border-left: 2px solid var(--accent); font-size: 13px; }
.eyebrow { color: #4a4b43; font-weight: 700; }

@media (max-width: 1080px) {
  nav { padding-inline: 10vw; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .about { grid-template-columns: 1fr .78fr; gap: 34px 48px; }
  .about-intro,.about-copy { grid-column: 1; }
  .about-portrait { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 1300px) {
  .nav-cta { display: none; }
}
@media (max-width: 700px) {
  nav { top: 0; margin: 0; gap: 8px; padding: 12px 10vw; border-radius: 0; }
  .brand { font-size: 18px; }
  .nav-actions { margin-left: auto; gap: 5px; }
  .language-toggle { min-height: 36px; gap: 5px; padding: 5px 8px; }
  .language-toggle svg { width: 14px; height: 14px; }
  .language-option { font-size: 9px; }
  .menu-toggle { padding: 6px 2px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; }
  .nav-links { order: 5; width: 100%; gap: 0; padding: 10px 0 2px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
  .nav-links a { display: flex; width: 100%; padding: 12px 3px; border-radius: 0; font-size: 17px; }
  .nav-links a::after { bottom: 5px; width: 28px; right: auto; }
  .nav-links a[aria-current] { box-shadow: none; }
  .hero-content { padding-inline: 5%; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.45px; }
  .hero-description { font-size: 15px; line-height: 1.6; }
  .hero .button,.hero .text-link { font-size: 13px; }
  .hero-location { font-size: 8.5px; letter-spacing: .9px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .about-intro,.about-copy,.about-portrait { grid-column: auto; grid-row: auto; }
  .about-copy { padding-top: 0; }
  .about-portrait { width: min(100%,330px); margin: 10px auto 4px; }
  .section-heading h2,.about h2 { font-size: 36px; }
}

/* Project showcase: clear actions, detailed modal and no decorative arrow controls. */
.projects-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 30px; }
.projects-heading h2 { margin: 14px 0 7px; font: 600 clamp(38px,4vw,54px)/1 var(--sans); letter-spacing: -2.4px; }
.projects-heading > div > p:last-child { color: var(--muted); font-size: 16px; }
.projects-github { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--accent); font-size: 14px; font-weight: 700; border-bottom: 2px solid transparent; transition: border-color .2s,color .2s; }
.projects-github:hover { border-color: currentColor; color: #b93010; }
.projects-github svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.portfolio-track { height: 460px; }
.portfolio-track .project-slide { grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr); gap: 36px; padding: 22px; }
.portfolio-track .project-preview { height: 370px; }
.portfolio-track .project-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 0; }
.portfolio-track .project-copy h3 { font-size: 39px; line-height: 1.02; }
.portfolio-track .project-copy p { font-size: 15px; }
.project-kicker { margin-bottom: 15px; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.project-visit,.project-details,.project-status { min-height: 41px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 1; }
.project-visit { border: 1px solid var(--project-accent); background: var(--project-accent); color: white; box-shadow: 0 10px 24px color-mix(in srgb,var(--project-accent) 18%,transparent); transition: transform .2s,box-shadow .2s,filter .2s; }
.project-visit:hover { transform: translateY(-2px); filter: saturate(1.1); box-shadow: 0 14px 28px color-mix(in srgb,var(--project-accent) 25%,transparent); }
.project-details { border: 1px solid color-mix(in srgb,var(--project-accent) 32%,#c8c0b5); background: rgba(255,252,247,.72); color: color-mix(in srgb,var(--project-accent) 78%,#242620); transition: transform .2s,border-color .2s,background .2s; }
.project-details:hover { transform: translateY(-2px); border-color: var(--project-accent); background: color-mix(in srgb,var(--project-accent) 8%,white); }
.project-status { border: 1px solid color-mix(in srgb,var(--project-accent) 24%,#c8c0b5); background: color-mix(in srgb,var(--project-accent) 7%,white); color: color-mix(in srgb,var(--project-accent) 78%,#242620); }
.project-visit svg,.project-details svg,.project-status svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.portfolio-controls { grid-template-columns: auto 1fr auto auto auto; gap: 10px; }
.portfolio-counter { font-size: 12px; }
.portfolio-prev,.portfolio-next { width: auto; height: auto; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 1px solid #c9c2b6; border-radius: 9px; background: #fffcf7; color: var(--ink); font-size: 11px; font-weight: 700; box-shadow: 0 8px 20px rgba(42,36,28,.05); }
.portfolio-prev:hover,.portfolio-next:hover { background: var(--ink); border-color: var(--ink); color: white; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(34,36,31,.16); }

body.modal-open { overflow: hidden; }
.project-modal { --modal-accent: var(--accent); width: min(1240px,calc(100% - 32px)); max-width: 1240px; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 22px; background: #fbf8f2; color: var(--ink); box-shadow: 0 36px 100px rgba(17,18,15,.35); overflow: hidden; }
.project-modal::backdrop { background: rgba(19,20,17,.72); backdrop-filter: blur(8px); }
.project-modal[open] { animation: project-modal-in .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes project-modal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.project-modal-shell { position: relative; display: grid; grid-template-columns: minmax(390px,.88fr) minmax(0,1.12fr); width: 100%; height: min(760px,calc(100dvh - 32px)); min-height: min(620px,calc(100dvh - 32px)); }
.project-modal-close { position: absolute; z-index: 4; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(166,157,145,.7); border-radius: 50%; background: rgba(255,252,247,.92); color: var(--ink); box-shadow: 0 8px 20px rgba(32,29,24,.1); transition: background .2s,color .2s,transform .2s; }
.project-modal-close:hover { background: var(--ink); color: white; transform: rotate(4deg); }
.project-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.project-modal-visual { min-height: 100%; display: grid; place-items: center; padding: 34px; background: linear-gradient(145deg,color-mix(in srgb,var(--modal-accent) 13%,#f6f0e7),#e8e0d5); border-right: 1px solid color-mix(in srgb,var(--modal-accent) 19%,#d8d0c4); }
.project-modal-visual img { width: 100%; height: auto; max-height: 610px; object-fit: contain; border-radius: 14px; background: white; box-shadow: 0 22px 48px rgba(35,31,25,.17); }
.project-modal-content { display: flex; flex-direction: column; min-height: 0; padding: 42px 42px 34px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: color-mix(in srgb,var(--modal-accent) 45%,#d3cbc0) transparent; }
.project-modal-kicker { color: var(--modal-accent); font-size: 9px; font-weight: 750; letter-spacing: 1.7px; }
.project-modal-content h3 { max-width: 560px; margin: 15px 55px 12px 0; font: 650 clamp(39px,4vw,54px)/.98 var(--sans); letter-spacing: -2.2px; }
.project-modal-summary { max-width: 610px; color: #50524b; font-size: 16.5px; line-height: 1.62; }
.project-modal-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.project-modal-details article { min-height: 142px; display: grid; grid-template-columns: 39px 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid color-mix(in srgb,var(--modal-accent) 18%,#d9d1c6); border-radius: 14px; background: color-mix(in srgb,var(--modal-accent) 3.5%,#fffdfa); box-shadow: 0 9px 24px rgba(42,36,28,.035); }
.project-modal-details article[data-section="objective"] { grid-column: 1 / -1; min-height: 0; }
.project-modal-detail-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb,var(--modal-accent) 12%,white); color: var(--modal-accent); }
.project-modal-detail-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.project-modal-details h4 { margin: 1px 0 5px; color: color-mix(in srgb,var(--modal-accent) 72%,#242620); font-size: 13.5px; line-height: 1.35; }
.project-modal-details p { color: #5a5c54; font-size: 12.5px; line-height: 1.62; }
.project-modal-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 0; padding-top: 24px; }
.project-modal-tech { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-right: auto; }
.project-modal-tech span { min-height: 0; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 5px 0; border: 0; border-bottom: 1px solid color-mix(in srgb,var(--modal-accent) 34%,#d3cbc0); border-radius: 0; background: transparent; color: color-mix(in srgb,var(--modal-accent) 80%,#252722); font-size: 10px; font-weight: 700; }
.project-modal-tech img { width: 15px; height: 15px; object-fit: contain; }
.project-modal-link { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 10px; background: var(--modal-accent); color: white; font-size: 11px; font-weight: 750; }
.project-modal-link[hidden],.project-modal-no-site[hidden] { display: none!important; }
.project-modal-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.project-modal-no-site { color: var(--muted); font-size: 10px; font-weight: 650; }

@media (max-width: 900px) {
  .portfolio-track { height: 440px; }
  .portfolio-track .project-slide { grid-template-columns: minmax(0,1fr) minmax(285px,.9fr); gap: 22px; }
  .portfolio-track .project-preview { height: 320px; }
  .portfolio-track .project-copy h3 { font-size: 31px; }
  .project-actions { margin-top: 17px; }
  .project-modal-shell { grid-template-columns: minmax(300px,.76fr) minmax(0,1.24fr); }
  .project-modal-content { padding: 39px 30px 30px; }
  .project-modal-details { grid-template-columns: 1fr; }
  .project-modal-details article[data-section="objective"] { grid-column: auto; }
  .project-modal-details article { min-height: 0; }
}

@media (max-width: 700px) {
  .projects-heading { align-items: flex-start; margin-bottom: 22px; }
  .projects-heading h2 { margin-top: 12px; font-size: 36px; letter-spacing: -1.8px; }
  .projects-heading > div > p:last-child { font-size: 14px; line-height: 1.55; }
  .projects-github { flex: 0 0 auto; padding-top: 1px; font-size: 0; }
  .projects-github svg { width: 23px; height: 23px; }
  .portfolio-track { height: 510px; }
  .portfolio-track .project-slide { grid-template-columns: 1fr; gap: 7px; padding: 12px 12px 17px; }
  .portfolio-track .project-preview { grid-column: auto; height: 205px; }
  .portfolio-track .project-copy { padding: 4px 5px; }
  .portfolio-track .project-copy h3 { font-size: 27px; }
  .project-actions { gap: 7px; margin-top: 14px; }
  .project-visit,.project-details,.project-status { min-height: 38px; padding: 9px 11px; font-size: 10px; }
  .project-visit svg,.project-details svg,.project-status svg { width: 15px; height: 15px; }
  .portfolio-controls { grid-template-columns: auto 1fr auto auto; gap: 5px; }
  .portfolio-counter { min-width: 42px; font-size: 10px; }
  .portfolio-dots button { width: 17px; }
  .portfolio-prev,.portfolio-next { min-height: 36px; padding: 8px 9px; font-size: 9px; }
  .portfolio-toggle { grid-column: 1 / -1; justify-self: end; }
  .project-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; overflow: auto; }
  .project-modal-shell { display: block; height: auto; min-height: 0; }
  .project-modal-close { position: fixed; top: max(18px,env(safe-area-inset-top)); right: 18px; width: 39px; height: 39px; }
  .project-modal-visual { min-height: 0; height: 210px; padding: 18px; border-right: 0; border-bottom: 1px solid color-mix(in srgb,var(--modal-accent) 19%,#d8d0c4); }
  .project-modal-visual img { max-height: 174px; }
  .project-modal-content { padding: 24px 20px 25px; overflow: visible; }
  .project-modal-content h3 { margin: 11px 0 9px; font-size: 33px; letter-spacing: -1.5px; }
  .project-modal-summary { font-size: 14px; }
  .project-modal-details { grid-template-columns: 1fr; gap: 8px; margin-top: 19px; }
  .project-modal-details article { grid-template-columns: 35px 1fr; gap: 10px; padding: 13px; }
  .project-modal-detail-icon { width: 35px; height: 35px; border-radius: 10px; }
  .project-modal-detail-icon svg { width: 18px; height: 18px; }
  .project-modal-details h4 { font-size: 13px; }
  .project-modal-details p { font-size: 12px; }
  .project-modal-footer { margin-top: 0; padding-top: 20px; }
}

@media (max-width: 380px) {
  .portfolio-track { height: 525px; }
  .project-actions { align-items: stretch; }
  .project-visit,.project-details,.project-status { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-modal[open] { animation: none; }
}

/* Experience: visual career bands with role-specific iconography. */
.experience { padding-block: 70px; }
.experience-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 34px; }
.experience-heading h2 { margin-top: 15px; font: 600 clamp(39px,4vw,54px)/1.02 var(--sans); letter-spacing: -2.4px; }
.experience-heading h2 em { color: var(--accent); font-style: normal; }
.experience-heading > p { max-width: 370px; padding: 0 0 7px 18px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 14px; line-height: 1.65; }
.exp-list { display: grid; gap: 18px; }
.exp-item { --exp-accent: var(--accent); --exp-deep: #322016; display: grid; grid-template-columns: 238px minmax(0,1fr); gap: 0; min-height: 226px; padding: 0; overflow: hidden; border: 1px solid color-mix(in srgb,var(--exp-accent) 22%,var(--line)); border-radius: 20px; background: rgba(255,252,247,.88); box-shadow: 0 15px 36px rgba(42,36,28,.055); transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.exp-item:last-child { padding-bottom: 0; border-bottom: 1px solid color-mix(in srgb,var(--exp-accent) 22%,var(--line)); }
.exp-item:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--exp-accent) 48%,var(--line)); box-shadow: 0 22px 45px color-mix(in srgb,var(--exp-accent) 11%,transparent); }
.exp-rently { --exp-accent: #7c36d8; --exp-deep: #241532; }
.exp-interamericana { --exp-accent: #087fbd; --exp-deep: #102c3a; }
.exp-hecab { --exp-accent: #df3e18; --exp-deep: #3b2119; }
.exp-visual { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: 28px; overflow: hidden; color: var(--ink); background: #fff; border-right: 1px solid color-mix(in srgb,var(--exp-accent) 18%,var(--line)); }
.exp-visual::before { content: ''; position: absolute; z-index: -1; inset: auto 18px 0; height: 3px; border-radius: 999px 999px 0 0; background: var(--exp-accent); opacity: .9; }
.exp-visual::after { content: none; }
.exp-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.17),0 18px 35px rgba(0,0,0,.16); backdrop-filter: blur(6px); }
.exp-icon svg { width: 41px; height: 41px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.exp-visual-logo { position: absolute; z-index: 0; inset: 20px 18px 58px; display: grid; place-items: center; padding: 0; overflow: visible; border: 0; background: transparent; opacity: 1; pointer-events: none; }
.exp-visual-logo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; filter: none; }
.exp-visual-logo-rently { inset: 10px 28px 54px; }
.exp-visual-logo-interamericana { inset: 34px 15px 64px; }
.exp-visual-logo-hecab { inset: 22px 14px 60px; }
.exp-visual-label { position: absolute; z-index: 2; left: 22px; bottom: 19px; max-width: 185px; margin: 0; padding: 1px 0 1px 10px; border: 0; border-left: 3px solid var(--exp-accent); border-radius: 0; background: transparent; color: color-mix(in srgb,var(--exp-accent) 82%,#252720); font-size: 9.5px; font-weight: 800; line-height: 1.2; letter-spacing: 1.1px; }
.exp-content { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 29px 35px 27px; }
.exp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; margin-bottom: 12px; }
.exp-period,.exp-company { min-height: 0; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-family: var(--sans); font-size: 10px; font-weight: 750; line-height: 1.35; letter-spacing: .6px; }
.exp-period { color: color-mix(in srgb,var(--exp-accent) 84%,#242620); }
.exp-company { padding-left: 15px; border-left: 1px solid color-mix(in srgb,var(--exp-accent) 28%,var(--line)); color: #55574f; box-shadow: none; }
.exp-meta svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.exp-role { margin: 0 0 9px; font: 600 clamp(29px,2.7vw,38px)/1.06 var(--sans); letter-spacing: -1.5px; }
.exp-desc { max-width: 830px; color: #585a52; font-size: 14px; line-height: 1.68; }
.exp-skills { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 17px; margin-top: 17px; list-style: none; }
.exp-skills li { min-height: 0; display: inline-flex; align-items: center; gap: 7px; padding: 0 3px 6px 0; border: 0; border-bottom: 1px solid color-mix(in srgb,var(--exp-accent) 30%,var(--line)); border-radius: 0; background: transparent; color: color-mix(in srgb,var(--exp-accent) 72%,#34362f); font-size: 11px; font-weight: 700; line-height: 1; }
.exp-skills svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .experience-heading { align-items: flex-start; }
  .exp-item { grid-template-columns: 190px minmax(0,1fr); }
  .exp-content { padding-inline: 27px; }
}
@media (max-width: 700px) {
  .experience { padding-block: 48px; }
  .experience-heading { display: block; margin-bottom: 25px; }
  .experience-heading h2 { font-size: 36px; letter-spacing: -1.8px; }
  .experience-heading > p { margin-top: 18px; padding-bottom: 0; font-size: 13px; }
  .exp-list { gap: 14px; }
  .exp-item { grid-template-columns: 1fr; border-radius: 17px; }
  .exp-visual { min-height: 150px; padding: 19px 21px; flex-direction: row; align-items: flex-end; border-right: 0; border-bottom: 1px solid color-mix(in srgb,var(--exp-accent) 18%,var(--line)); }
  .exp-icon { width: 58px; height: 58px; border-radius: 16px; align-self: flex-start; }
  .exp-icon svg { width: 33px; height: 33px; }
  .exp-visual-logo,.exp-visual-logo-rently,.exp-visual-logo-interamericana,.exp-visual-logo-hecab { inset: 10px 20px 14px; width: auto; height: auto; padding: 0; opacity: 1; }
  .exp-visual-label { display: none; }
  .exp-content { padding: 23px 21px 24px; }
  .exp-meta { align-items: flex-start; }
  .exp-period,.exp-company { font-size: 9.5px; }
  .exp-role { font-size: 29px; }
  .exp-desc { font-size: 13px; }
  .exp-skills li { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .exp-item { transition: none; }
}

/* Hero calls to action and persistent WhatsApp contact. */
.hero-actions { gap: 13px; margin-top: 30px; }
.hero-primary,.hero-secondary { min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 9px 8px 23px; border-radius: 999px; font-size: 15px; font-weight: 750; line-height: 1; }
.hero-primary { min-width: 218px; border: 1px solid color-mix(in srgb,var(--accent) 78%,#92250c); box-shadow: 0 13px 27px rgba(223,62,24,.24); }
.hero-primary:hover { box-shadow: 0 17px 32px rgba(187,47,14,.29); }
.hero-secondary { min-width: 198px; border: 1px solid rgba(91,85,75,.24); background: rgba(255,252,247,.78); color: var(--ink); box-shadow: 0 11px 25px rgba(42,36,28,.08); backdrop-filter: blur(10px); transition: transform .2s,border-color .2s,background .2s,box-shadow .2s; }
.hero-secondary:hover { transform: translateY(-2px); border-color: color-mix(in srgb,var(--accent) 50%,var(--line)); background: #fffaf3; box-shadow: 0 15px 30px rgba(42,36,28,.12); }
.hero-button-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; }
.hero-primary .hero-button-icon { background: rgba(255,255,255,.16); }
.hero-secondary .hero-button-icon { background: #f2e6dc; color: var(--accent); }
.hero-button-icon .action-icon { width: 18px; height: 18px; }
.hero-description { max-width: 510px; color: #363831; font-size: 18px; font-weight: 450; }
.hero-location { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; margin-top: 35px; color: var(--ink); font-size: 10px; font-weight: 750; letter-spacing: .85px; }
.hero-location .hero-meta-item { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #55574f; backdrop-filter: none; }
.hero-meta-item svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.whatsapp-float { position: fixed; z-index: 25; right: max(18px,calc((100vw - 1320px) / 2 + 18px)); bottom: 22px; width: 58px; height: 58px; display: inline-grid; place-items: center; padding: 8px; border: 1px solid rgba(0,0,0,.07); border-radius: 50%; background: #25d366; color: #0d2b18; box-shadow: 0 15px 38px rgba(10,102,47,.29); transition: box-shadow .2s,filter .2s; animation: whatsapp-hop 12s ease-in-out infinite; }
.whatsapp-float:hover { animation-play-state: paused; transform: translateY(-3px) scale(1.06); filter: saturate(1.08); box-shadow: 0 20px 44px rgba(10,102,47,.36); }
.whatsapp-float-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: white; color: #139a45; }
.whatsapp-float-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.modal-open .whatsapp-float { opacity: 0; pointer-events: none; }

/* Recognizable, brand-color social marks in the dark footer. */
.footer-socials a { width: 40px; height: 40px; border-width: 0; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.footer-socials a.social-linkedin { background: #0a66c2; color: white; }
.footer-socials a.social-github { background: #f5f5f5; color: #181717; }
.footer-socials a.social-gmail { background: white; color: #242620; }
.footer-socials .brand-mark { width: 21px; height: 21px; }
.footer-socials .brand-mark-gmail { width: 24px; height: 24px; }
.footer-socials a:hover { border-color: transparent; color: inherit; transform: translateY(-4px) scale(1.04); filter: brightness(1.06); }

@media (max-width: 700px) {
  .hero-actions { gap: 10px; }
  .hero-primary,.hero-secondary { min-width: 0; min-height: 52px; padding: 7px 7px 7px 16px; gap: 10px; font-size: 12px; }
  .hero-button-icon { width: 36px; height: 36px; }
  .hero-description { font-size: 15px; }
  .hero-location { gap: 14px; margin-top: 24px; font-size: 9px; }
  .whatsapp-float { right: 12px; bottom: 12px; width: 53px; height: 53px; padding: 7px; }
  .whatsapp-float-icon { width: 39px; height: 39px; }
}
@media (max-width: 390px) {
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 235px; }
  .hero-primary,.hero-secondary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-primary,.hero-secondary,.whatsapp-float,.footer-socials a { transition: none; }
  .whatsapp-float { animation: none; }
}

/* About: editorial profile, technical pillars and code-inspired motion. */
.about { display: block; padding-block: 74px; }
.about-heading { max-width: 980px; }
.about-heading h2 { margin-top: 17px; font: 600 clamp(43px,5.1vw,66px)/.99 var(--sans); letter-spacing: -3.1px; text-wrap: balance; }
.about-heading h2 em { color: var(--accent); font-style: normal; }
.about-main { display: grid; grid-template-columns: minmax(300px,.76fr) minmax(0,1.24fr); gap: 85px; align-items: center; margin-top: 45px; }
.about-portrait { position: relative; width: min(100%,365px); max-width: none; margin: 0 auto 0 0; }
.about .portrait-frame { padding: 10px; border-radius: 26px; transform: rotate(-1.1deg); }
.about .portrait-frame::before { inset: 18px -13px -13px 18px; border-radius: 26px; }
.about .portrait-frame img { aspect-ratio: 4 / 5; border-radius: 18px; object-position: center 24%; }
.about-portrait figcaption { margin: 66px 0 0 11px; }
.about-portrait figcaption strong { font-size: 19px; }
.about-portrait figcaption span { font-size: 11px; }
.about-story { color: #55574f; font-size: 15px; line-height: 1.78; }
.about-story > p + p { margin-top: 17px; }
.about-story .about-lead { color: #30322c; font-size: 19px; font-weight: 540; line-height: 1.6; }
.about-commitment { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; margin-top: 24px; padding: 18px 14px 18px 19px; border: 0; border-left: 3px solid var(--accent); border-radius: 0; background: linear-gradient(90deg,rgba(223,62,24,.075),transparent); color: #30322c; box-shadow: none; }
.about-commitment-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 0; background: transparent; color: var(--accent); }
.about-commitment-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.about-commitment p { font-size: 13px; font-weight: 630; line-height: 1.58; }
.about-cv { min-height: 47px; display: inline-flex; align-items: center; gap: 15px; margin-top: 22px; padding: 6px 7px 6px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fffaf3; color: var(--ink); font-size: 12px; font-weight: 750; box-shadow: 0 9px 22px rgba(42,36,28,.07); transition: transform .2s,border-color .2s,box-shadow .2s; }
.about-cv > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f1e4da; color: var(--accent); }
.about-cv:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 13px 27px rgba(42,36,28,.1); }

.about-code-card { position: absolute; right: -68px; top: 68%; bottom: auto; width: 270px; overflow: hidden; border: 1px solid #4d5048; border-radius: 14px; background: #20231e; color: #e8e9df; box-shadow: 0 20px 44px rgba(22,24,20,.27); transform: rotate(1.5deg); }
.about-code-top { min-height: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 7px 11px; border-bottom: 1px solid #3a3e35; color: #adb0a5; font: 10px/1 var(--sans); }
.about-code-dots { display: flex; gap: 4px; }
.about-code-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ef6645; }
.about-code-dots i:nth-child(2) { background: #eeb647; }
.about-code-dots i:nth-child(3) { background: #59bb73; }
.about-code-status { width: 7px; height: 7px; border-radius: 50%; background: #59d27b; box-shadow: 0 0 0 0 rgba(89,210,123,.45); animation: about-status 2.2s ease-out infinite; }
.about-code-card code { display: flex; flex-direction: column; min-height: 132px; padding: 17px 18px 18px; font: 11px/1.75 Consolas,'Courier New',monospace; white-space: nowrap; }
.about-code-line { opacity: .28; transform: translateX(-7px); }
.about-code-line b { color: #f07a59; font-weight: 600; }
.about-code-line em { color: #8ed5b0; font-style: normal; }
.about-portrait.visible .about-code-line { animation: about-code-line .5s ease forwards; }
.about-portrait.visible .about-code-line:nth-child(2) { animation-delay: .12s; }
.about-portrait.visible .about-code-line:nth-child(3) { animation-delay: .24s; }
.about-portrait.visible .about-code-line:nth-child(4) { animation-delay: .36s; }
.about-portrait.visible .about-code-line:nth-child(5) { animation-delay: .48s; }
.about-code-cursor { display: inline-block; width: 7px; height: 13px; margin-left: 5px; vertical-align: -2px; background: #ef6645; animation: about-cursor .85s steps(1) infinite; }

.about-capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-top: 48px; }
.about-capabilities article { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; min-height: 125px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,252,247,.72); transition: transform .22s,border-color .22s,box-shadow .22s; }
.about-capabilities article::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--accent); transition: right .3s ease; }
.about-capabilities article:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--accent) 38%,var(--line)); box-shadow: 0 15px 31px rgba(42,36,28,.08); }
.about-capabilities article:hover::after { right: 0; }
.about-capability-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #f2e4da; color: var(--accent); }
.about-capability-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; transition: transform .24s; }
.about-capabilities article:hover .about-capability-icon svg { transform: translateY(-2px) rotate(-3deg); }
.about-capabilities code { display: block; margin-bottom: 4px; color: var(--accent); font: 9px/1.2 Consolas,'Courier New',monospace; }
.about-capabilities h3 { font: 650 18px/1.2 var(--sans); letter-spacing: -.35px; }
.about-capabilities p { margin-top: 5px; color: var(--muted); font-size: 11px; }
.about-capability-tags { display: flex; flex-wrap: wrap; gap: 8px 13px; margin-top: 9px; list-style: none; }
.about-capability-tags li { min-height: 0; display: inline-flex; align-items: center; gap: 5px; padding: 0 3px 5px 0; border: 0; border-bottom: 1px solid #ded5c9; border-radius: 0; background: transparent; color: #5d5f57; font-size: 9.5px; font-weight: 650; line-height: 1; white-space: nowrap; }
.about-capability-tags img,.about-capability-tags svg { width: 15px; height: 15px; flex: 0 0 auto; object-fit: contain; }
.about-capability-tags svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-capability-tags .tag-monolith { color: #7c36d8; }
.about-capability-tags .tag-microservices { color: #087fbd; }
.about-capability-tags .tag-api { color: #00977c; }
.about-capability-tags .tag-vps { color: #2874a6; }
.about-capability-tags .tag-docker { color: #2496ed; }
.about-capability-tags .tag-docker svg { fill: currentColor; stroke: none; }

@keyframes whatsapp-hop {
  0%,72%,100% { transform: translate(0,0) rotate(0); }
  75% { transform: translate(0,-13px) rotate(0); }
  78% { transform: translate(-8px,0) rotate(-5deg); }
  81% { transform: translate(-22px,-18px) rotate(6deg); }
  84% { transform: translate(-31px,0) rotate(-4deg); }
  87% { transform: translate(-13px,-9px) rotate(3deg); }
  91% { transform: translate(0,0) rotate(0); }
}

@keyframes about-code-line { to { opacity: 1; transform: translateX(0); } }
@keyframes about-cursor { 50% { opacity: 0; } }
@keyframes about-status { 70% { box-shadow: 0 0 0 7px rgba(89,210,123,0); } 100% { box-shadow: 0 0 0 0 rgba(89,210,123,0); } }

@media (max-width: 1050px) {
  .about-main { grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: 65px; }
  .about-code-card { right: -48px; width: 245px; }
  .about-capabilities { grid-template-columns: 1fr; }
  .about-capabilities article { min-height: 100px; }
}
@media (max-width: 700px) {
  .about { padding-block: 48px; }
  .about-heading h2 { font-size: 38px; letter-spacing: -2px; }
  .about-main { grid-template-columns: 1fr; gap: 38px; margin-top: 31px; }
  .about-portrait { width: min(88%,350px); margin-inline: auto; }
  .about-portrait figcaption { margin-top: 80px; }
  .about-code-card { right: -7%; top: 72%; bottom: auto; width: min(230px,78vw); }
  .about-code-card code { min-height: 121px; padding: 14px 15px 15px; font-size: 10px; }
  .about-story .about-lead { font-size: 17px; }
  .about-story { font-size: 14px; }
  .about-commitment { grid-template-columns: 42px 1fr; padding: 15px; }
  .about-commitment-icon { width: 42px; height: 42px; }
  .about-capabilities { gap: 10px; margin-top: 35px; }
  .about-capabilities article { grid-template-columns: 46px 1fr; min-height: 95px; padding: 17px; }
  .about-capability-icon { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-code-status,.about-code-cursor,.about-portrait.visible .about-code-line { animation: none; }
  .about-code-line { opacity: 1; transform: none; }
  .about-capabilities article,.about-capabilities article::after,.about-capability-icon svg,.about-cv { transition: none; }
}

/* AZURION products: unmistakable ownership marker in cards and project details. */
.project-kicker { flex-wrap: wrap; }
.project-owned-badge { min-height: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-left: auto; padding: 6px 10px; border-radius: 3px; background: color-mix(in srgb,var(--project-accent) 88%,#181b17); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb,var(--project-accent) 22%,transparent); font-size: 9px; font-weight: 850; line-height: 1; letter-spacing: .75px; white-space: nowrap; text-transform: uppercase; }
.project-owned-badge svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-modal-heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.project-modal-heading-meta .project-modal-kicker { margin: 0; }
.project-modal-owned { --project-accent: var(--modal-accent); margin-left: 0; }
.project-modal-owned[hidden] { display: none; }

/* Compact project brief that hands the visitor's message to WhatsApp. */
.contact-project-brief { display: grid; grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr); gap: 28px; margin: 6px 0 32px; padding: 28px; overflow: hidden; border-radius: 22px; background: #242620; color: #f7f3ec; box-shadow: 0 20px 46px rgba(32,34,29,.14); }
.contact-form-intro { align-self: center; padding: 4px 4px 4px 2px; }
.contact-form-kicker { display: inline-flex; align-items: center; gap: 8px; color: #7ce7a0; font-size: 9px; font-weight: 800; letter-spacing: 1.65px; }
.contact-form-kicker::before { content: ''; width: 19px; height: 2px; border-radius: 999px; background: #25d366; }
.contact-form-intro h3 { max-width: 340px; margin: 13px 0 10px; font: 620 clamp(30px,3.2vw,44px)/1.02 var(--sans); letter-spacing: -1.8px; }
.contact-form-intro > p { max-width: 390px; color: #c6c8bc; font-size: 13px; line-height: 1.7; }
.contact-form-intro ul { display: grid; gap: 9px; margin-top: 22px; list-style: none; }
.contact-form-intro li { display: flex; align-items: center; gap: 9px; color: #e5e6dd; font-size: 11px; font-weight: 620; }
.contact-form-intro li svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #63df8d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-project-form { min-width: 0; padding: 21px; border-radius: 17px; background: #fffdf9; color: var(--ink); box-shadow: 0 12px 34px rgba(8,10,8,.2); }
.contact-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-form-grid label { min-width: 0; display: grid; gap: 7px; color: #3f413b; font-size: 10px; font-weight: 760; letter-spacing: .2px; }
.contact-form-wide { grid-column: 1 / -1; }
.contact-form-grid input,.contact-form-grid select,.contact-form-grid textarea { width: 100%; min-width: 0; border: 1px solid #ddd6cc; border-radius: 11px; outline: 0; background: #fff; color: #252720; font: 500 13px/1.45 var(--sans); transition: border-color .2s,box-shadow .2s,background .2s; }
.contact-form-grid input,.contact-form-grid select { min-height: 45px; padding: 10px 12px; }
.contact-form-grid textarea { min-height: 104px; padding: 11px 12px; resize: vertical; }
.contact-form-grid input::placeholder,.contact-form-grid textarea::placeholder { color: #96978f; opacity: 1; }
.contact-form-grid input:focus-visible,.contact-form-grid select:focus-visible,.contact-form-grid textarea:focus-visible { border-color: #159d48; background: #fcfff8; box-shadow: 0 0 0 3px rgba(37,211,102,.14); }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 15px; }
.contact-form-footer small { max-width: 280px; color: #77796f; font-size: 9.5px; line-height: 1.45; }
.contact-form-footer button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 11px; background: #25d366; color: #0c351b; box-shadow: 0 10px 22px rgba(18,139,62,.2); font: 800 11px/1 var(--sans); cursor: pointer; transition: transform .2s,filter .2s,box-shadow .2s; }
.contact-form-footer button:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 14px 27px rgba(18,139,62,.27); }
.contact-form-footer button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .contact-project-brief { grid-template-columns: 1fr; gap: 22px; }
  .contact-form-intro { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
  .contact-form-kicker,.contact-form-intro h3,.contact-form-intro > p { grid-column: 1; }
  .contact-form-intro ul { grid-column: 2; grid-row: 1 / 4; align-self: center; margin-top: 0; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .about-code-card { right: -12px; }
}
@media (max-width: 700px) {
  .project-owned-badge { min-height: 25px; padding: 5px 8px; font-size: 8px; letter-spacing: .5px; }
  .project-owned-badge svg { width: 12px; height: 12px; }
  .contact-project-brief { gap: 18px; margin-top: 2px; padding: 18px; border-radius: 18px; }
  .contact-form-intro { display: block; padding: 0; }
  .contact-form-intro h3 { margin-top: 10px; font-size: 31px; letter-spacing: -1.3px; }
  .contact-form-intro > p { font-size: 12px; }
  .contact-form-intro ul { margin-top: 16px; }
  .whatsapp-project-form { padding: 15px; border-radius: 14px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-form-wide { grid-column: auto; }
  .contact-form-footer { align-items: stretch; flex-direction: column; gap: 11px; }
  .contact-form-footer small { max-width: none; }
  .contact-form-footer button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form-grid input,.contact-form-grid select,.contact-form-grid textarea,.contact-form-footer button { transition: none; }
}

/* Editorial geometry: square content surfaces; rounded corners are reserved for actions. */
.project-row,
.project-preview,
.project-carousel,
.carousel-track .project-row,
.portfolio-viewport,
.portfolio-track::before,
.portfolio-track::after,
.portfolio-track .project-slide,
.portfolio-track .project-preview,
.portfolio-track .project-preview img,
.project-icon,
.portfolio-track .project-type,
.stack-ribbon,
.capability-card,
.capability-icon,
.portrait-frame,
.portrait-frame::before,
.portrait-frame img,
.about .portrait-frame,
.about .portrait-frame::before,
.about .portrait-frame img,
.about-code-card,
.about-capabilities article,
.about-capability-icon,
.project-modal,
.project-modal-visual img,
.project-modal-details article,
.project-modal-detail-icon,
.exp-item,
.exp-icon,
.project-owned-badge,
.contact-card,
.contact-icon,
.contact-project-brief,
.whatsapp-project-form,
.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea,
.project-status {
  border-radius: 0;
}

/* Long-form copy keeps an orderly editorial edge in both languages. */
.hero-description,
.portfolio-track .project-copy > p,
.capability-card > p,
.about-story > p,
.about-commitment p,
.project-modal-summary,
.project-modal-details p,
.exp-desc,
.contact-description,
.contact-form-intro > p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none;
  overflow-wrap: normal;
}
