
:root{--accent-dark:#4A354F;--accent-deep:#5C4561;--accent:#765A78;--accent-medium:#A98EAE;--accent-light:#D8C4DB;--accent-soft:#F0E8F1;--bg:#F4F1EB;--paper:#F4F1EB;--ink:#0D0D0C;--muted:#746F69;--line:rgba(13,13,12,.14);--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",sans-serif}a{color:inherit;text-decoration:none}
.nav { max-width: var(--max); height: 76px; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { margin-right: auto; font: 800 23px Montserrat, sans-serif; }
.brand span { color: var(--accent); }
.nav nav { display: flex; gap: 28px; }
.nav nav a { font-size: 13px; font-weight: 600; }
.nav nav a:hover { color: var(--accent); }
.language-switcher { display: flex; gap: 3px; padding-left: 12px; border-left: 1px solid var(--line); }
.language { padding: 4px 5px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 700 10px Montserrat, sans-serif; }
.language.active, .language:hover { color: var(--accent); }
.menu { display: none; border: 0; background: none; font-size: 24px; }

main { max-width: var(--max); margin: auto; padding: 0 24px; }
.hero { position: relative; min-height: 620px; display: block; overflow: hidden; isolation: isolate; padding: 58px 0 54px 58px; border-radius: 0 0 32px 32px; background: linear-gradient(105deg, #392C40 0%, #4A354F 42%, #765A78 100%); color: #fff; }
.hero h1, .section-title, .contact h2 { font: 800 clamp(42px, 5vw, 70px) /.95 Montserrat, sans-serif; letter-spacing: -.055em; margin: 0; }
.hero h1 { color: #fff; font-size: 58px !important; font-weight: 800; line-height: .95; letter-spacing: -.04em; white-space: nowrap; }
.hero-role { max-width: none; margin: 16px 0 0; color: rgba(255, 255, 255, .92); font-size: 24px !important; line-height: 1.2; font-weight: 500; letter-spacing: -.015em; white-space: nowrap; font-family: Montserrat, sans-serif; }
.hero-statement { max-width: 620px; margin: 38px 0 0; font-size: 28px !important; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
.hero-statement { color: #fff; }
.hero-statement em { color: #D8C4DB; font-style: normal; }
.intro { max-width: 590px; margin: 22px 0 0; color: rgba(255, 255, 255, .72); font-size: 15px !important; font-weight: 400; line-height: 1.55; text-align: left; }
.actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero .actions { margin-top: 30px; }
.hero .btn-dark { background: #fff; color: #111; border-color: #fff; }
.hero .btn-line { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-line { background: transparent; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-blue { border-color: var(--accent); color: var(--accent); }
.btn-blue:hover { background: var(--accent); color: #fff; }
.experience-note { display: inline-flex; align-items: baseline; gap: 12px; max-width: 260px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.experience-note strong { font: 800 25px Montserrat, sans-serif; }
.experience-note strong span { font-size: 11px; letter-spacing: .1em; }
.experience-note > span { color: rgba(255, 255, 255, .65); font-size: 13px; }
.hero-photo-wrap { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 40%; overflow: hidden; }
.hero-photo-wrap { width: 58%; }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #4A354F 0%, rgba(74, 53, 79, .96) 8%, rgba(74, 53, 79, .78) 18%, rgba(74, 53, 79, .48) 28%, rgba(74, 53, 79, .20) 38%, rgba(74, 53, 79, .06) 46%, rgba(74, 53, 79, 0) 52%); pointer-events: none; }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center top; display: block; }
.hero-photo { -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .30) 8%, rgba(0, 0, 0, .65) 16%, rgba(0, 0, 0, .90) 24%, #000 32%); mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .30) 8%, rgba(0, 0, 0, .65) 16%, rgba(0, 0, 0, .90) 24%, #000 32%); }
.hero-copy { position: relative; z-index: 2; width: 57.5%; max-width: 760px; }
.hero::after { display: none; }

.section-divider { display: block; width: min(100%, 1180px); height: 1px; margin: 20px auto; background: linear-gradient(90deg, var(--accent) 0, var(--accent) 70px, rgba(17, 18, 15, .08) 70px, rgba(17, 18, 15, .08) 100%); }
.block { padding: 78px 0; }
.content { max-width: 1060px; margin: auto; }
.section-label { width: fit-content; margin: 0 0 24px; padding: 8px 13px; border: 1px solid var(--accent); border-radius: 5px; background: transparent; color: var(--accent); font: 700 10px Montserrat, sans-serif; letter-spacing: .14em; }
.section-title { max-width: 820px; font-size: clamp(34px, 4.3vw, 58px); letter-spacing: -.045em; }
.about-title { max-width: 850px; margin-left: auto; margin-right: auto; text-align: center; font-size: clamp(32px, 3.8vw, 52px); }
.projects-title { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; margin-top: 42px; }
.two-col p, .services p, .project p, .timeline small { margin: 0; color: var(--muted); line-height: 1.75; text-align: justify; word-spacing: .02em; }
.two-col .lead { color: var(--ink); font-size: 22px; line-height: 1.55; }

.services { display: grid; grid-template-columns: 1fr 1fr; margin-top: 42px; }
.services article { min-width: 0; padding: 30px 30px 34px 0; }
.services article:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.services svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.services h3, .stack-groups h3 { margin: 21px 0 10px; font: 700 18px Montserrat, sans-serif; }

.featured-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; margin-top: 42px; }
.project { min-width: 0; min-height: 470px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: .25s ease; }
.project:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.project-dark { background: var(--ink); color: #fff; }
.project-head { display: flex; justify-content: space-between; font: 600 10px Montserrat, sans-serif; letter-spacing: .12em; }
.project h3 { margin: 0 0 10px; font: 700 24px Montserrat, sans-serif; }
.project-dark p { color: #aaa; }
.chips, .tags, .stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chips span, .tags span, .stack span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.project-dark .chips span { border-color: rgba(255, 255, 255, .2); }
.project-cta { display: inline-block; margin-top: 22px; color: var(--accent); font-size: 12px; font-weight: 700; }
.project-dark .project-cta { color: #fff; }
.experience-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; max-width: 1150px; margin: 42px auto 0; align-items: center; }
.experience-summary p { max-width: 520px; margin-inline: auto; color: var(--muted); font-size: 17px !important; font-weight: 400; line-height: 1.55; text-align: center; word-spacing: normal; letter-spacing: normal; }

.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 35px; }
.stack-card { min-width: 0; position: relative; overflow: hidden; padding: 34px; border: 1px solid rgba(17, 17, 17, .1); border-radius: 20px; background: rgba(255, 255, 255, .35); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.stack-card:hover { transform: translateY(-4px); border-color: rgba(118, 90, 120, .3); box-shadow: 0 18px 45px rgba(0, 0, 0, .06); }
.stack-card-header { position: relative; min-height: 115px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 32px; margin: -34px -34px 24px; background: rgba(118, 90, 120, .07); border-bottom: 1px solid rgba(118, 90, 120, .16); overflow: hidden; }
.stack-card-header > svg:first-child { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.stack-card-title { position: relative; z-index: 1; margin: 16px 0 0; color: var(--accent); font: 700 22px / 1.1 Montserrat, sans-serif; letter-spacing: .08em; }
.stack-card-decoration { position: absolute; right: 20px; top: 50%; width: 120px !important; height: 120px !important; fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: .07; transform: translateY(-50%); pointer-events: none; }
.stack-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-top: 0; }
.stack-tool { position: relative; padding-left: 13px; font-size: 17px !important; font-weight: 500; line-height: 1.4; }
.stack-tool::before { content: ""; position: absolute; top: .55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.timeline article { display: grid; grid-template-columns: 190px 1fr; gap: 25px; padding: 28px 0; }
.timeline time { color: var(--muted); font: 600 11px Montserrat, sans-serif; }
.timeline h3 { margin: 0 0 7px; font: 700 21px Montserrat, sans-serif; }
.timeline p { margin: 0 0 7px; }

.contact { padding: 90px 0 100px; text-align: center; }
.contact .section-label { margin: 0 auto 24px; }
.contact h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 64px); }
.contact > p:not(.section-label) { margin: 0 auto 30px; color: var(--muted); }
.contact-actions { justify-content: center; }
.contact-phone { display: none; margin-top: 24px; color: var(--muted); font-size: 13px; }
.contact-phone:hover { color: var(--accent); }
footer { position: relative; max-width: var(--max); margin: 60px auto 0; padding: 28px 24px 40px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(17, 17, 17, .14); color: var(--muted); font-size: 11px; }
footer::before { content: ""; position: absolute; top: -1px; left: 24px; display: block; width: 70px; height: 2px; background: var(--accent); }
.social-links { display: flex; gap: 14px; }
.social-links a { display: inline-flex; }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.social-links a:hover { color: var(--accent); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
	.nav nav { display: none; position: absolute; top: 76px; left: 24px; right: 24px; padding: 20px; flex-direction: column; gap: 18px; border: 1px solid var(--line); background: var(--paper); }
	.nav nav.open { display: flex; }
	.menu { display: block; }
	.hero { min-height: 0; padding: 52px 24px 0; }
	.hero-copy { width: 100%; max-width: none; }
	.hero-photo-wrap { position: relative; top: auto; right: auto; bottom: auto; width: calc(100% + 48px); height: auto; aspect-ratio: 4 / 5; margin: 44px -24px 0; }
	.hero-photo-wrap::after { background: linear-gradient(180deg, #4A354F 0%, rgba(74, 53, 79, .82) 13%, rgba(74, 53, 79, .25) 35%, rgba(74, 53, 79, 0) 58%); }
	.hero::after { display: none; }
	.hero-photo { min-height: 0; height: 100%; -webkit-mask-image: none; mask-image: none; }
	.hero-role { white-space: normal; }
	.two-col, .featured-grid { grid-template-columns: 1fr; gap: 32px; }
	.experience-summary { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
	main { padding: 0 18px; }
	.nav { padding: 0 18px; gap: 10px; }
	.language-switcher { margin-left: auto; border-left: 0; padding-left: 0; }
	.hero { padding-top: 46px; }
	.hero h1 { font-size: 48px !important; white-space: normal; }
	.hero-role { max-width: 100%; margin-top: 16px; font-size: 21px !important; line-height: 1.3; }
	.hero-statement { max-width: 100%; margin-top: 30px; font-size: 24px !important; line-height: 1.12; }
	.intro { max-width: 100%; margin-top: 22px; font-size: 15px !important; line-height: 1.55; }
	.hero .actions { margin-top: 30px; }
	.actions, .contact-actions { align-items: stretch; flex-direction: column; }
	.actions .btn, .contact-actions .btn { width: fit-content; }
	.hero { padding-top: 44px; }
	.hero-photo-wrap { margin-top: 36px; }
	.experience-summary { gap: 20px; }
	.services { grid-template-columns: 1fr; }
	.stack-grid { grid-template-columns: 1fr; }
	.services article, .services article:nth-child(even) { padding: 28px 0; border-left: 0; }
	.timeline article { grid-template-columns: 1fr; gap: 10px; }
	footer { padding-left: 18px; padding-right: 18px; }
	footer::before { left: 18px; }
}

@media (max-width: 768px) {
	.stack-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
	.hero-role { font-size: 27px !important; white-space: normal; }
}

@media (max-width: 600px) {
	.hero-role { font-size: 21px !important; line-height: 1.3; }
}

.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.experience-card { position: relative; min-width: 0; padding: 32px 34px 64px; min-height: 260px; background: rgba(255,255,255,.32); border: 1px solid rgba(74,53,79,.14); border-radius: 18px; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.experience-card:hover { transform: translateY(-3px); border-color: rgba(118,90,120,.32); box-shadow: 0 16px 38px rgba(30,20,32,.05); }
.experience-date { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #765A78; margin-bottom: 26px; }
.experience-role { font-family: Montserrat, sans-serif; font-size: 25px; line-height: 1.15; font-weight: 700; color: #0D0D0C; margin: 0 0 10px; }
.experience-company { font-size: 18px; line-height: 1.3; font-weight: 500; color: #0D0D0C; margin: 0 0 20px; }
.experience-description { font-size: 16px; line-height: 1.6; color: #746F69; margin: 0; text-align: left; }
.experience-card::after { content: ""; position: absolute; left: 34px; bottom: 28px; width: 52px; height: 2px; background: #765A78; border-radius: 999px; }
.experience-card--aria { background: linear-gradient(135deg, rgba(118,90,120,.045), rgba(255,255,255,.28)); }
@media (max-width: 767px) {
  .experience-grid { grid-template-columns: 1fr; gap: 18px; }
  .experience-card { padding: 26px 26px 60px; min-height: auto; }
  .experience-card::after { left: 26px; bottom: 26px; }
}

/* Brand watermarks remain outside the project cards' layout flow. */
.project-card--aria, .project-card--acd { position: relative; overflow: hidden; isolation: isolate; }
.project-card--aria > *, .project-card--acd > * { position: relative; z-index: 2; }
.project-card--aria::before, .project-card--acd::before {
  content: ""; position: absolute; width: 55%; height: 330px; right: -35px; top: 20px;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  pointer-events: none; z-index: 0; filter: blur(.2px);
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,.85), rgba(0,0,0,.30));
  mask-image: linear-gradient(135deg, rgba(0,0,0,.85), rgba(0,0,0,.30));
  transition: opacity .35s ease, transform .5s ease;
}
.project-card--aria::before { background-image: url("../images/logo.png"); opacity: .12; }
.project-card--acd::before { background-image: url("../images/logo acd.png"); width: 58%; opacity: .055; }
@media (hover: hover) and (pointer: fine) {
  .project-card--aria:hover::before { opacity: .14; transform: scale(1.025); }
  .project-card--acd:hover::before { opacity: .07; transform: scale(1.025); }
}
@media (max-width: 640px) {
  .project-card--aria::before, .project-card--acd::before { width: 220px; max-width: 55%; height: 220px; right: -35px; }
}
