:root{--navy:#102b4e;--deep:#071d3e;--orange:#ff641c;--ink:#0b2348;--muted:#5d6e8d;--pale:#f4f8fc;--line:#e5edf5;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px/1.6 var(--sans);background:#fff}a{color:inherit}header{min-height:76px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:10px clamp(20px,5vw,76px);gap:28px}.brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;line-height:1.3}.brand b{display:block;font:700 17px var(--serif);letter-spacing:.035em}.brand small{display:block;font-size:12px}.logo{width:54px;height:54px;border:2px solid var(--orange);border-radius:7px;display:grid;place-items:center;font:700 28px var(--serif)}nav{display:flex;gap:clamp(12px,2.2vw,34px)}nav a{text-decoration:none;font-size:14px;padding:13px 0;white-space:nowrap;border-bottom:3px solid transparent}nav a:hover,nav a[aria-current=page]{border-color:var(--orange)}.toggle{display:none}.skip{position:absolute;left:-999px;background:white;padding:10px}.skip:focus{left:10px;top:10px;z-index:1000;color:var(--navy);border-radius:6px}.hero{display:grid;grid-template-columns: .85fr 1.15fr;min-height:430px;background:linear-gradient(90deg,#fff 0%,#fff 40%,#f5f8fb 100%);align-items:center;padding:42px clamp(24px,5vw,78px);gap:32px;overflow:hidden}.hero>div:first-child{max-width:620px;z-index:1}.eyebrow{color:var(--orange);font-size:15px;font-weight:700}.hero h1{font:700 clamp(44px,6vw,76px)/1.04 var(--serif);letter-spacing:-.035em;margin:12px 0;color:var(--deep)}.hero h2{font:500 clamp(18px,2vw,24px)/1.35 var(--sans);margin:0 0 12px}.hero p{color:var(--muted);max-width:560px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.button{display:inline-flex;align-items:center;gap:14px;background:var(--orange);border:1px solid var(--orange);color:var(--deep);text-decoration:none;border-radius:9px;padding:12px 20px;font-weight:700}.button:hover{filter:brightness(.94)}.button.outline{background:white;color:var(--navy)}.hero-art{min-height:340px;position:relative;border-radius:18px;background:linear-gradient(130deg,#dfeaf5,#a8c2dc 48%,#294b74);overflow:hidden;box-shadow:0 18px 45px #102b4e20}.hero-art:before{content:'';position:absolute;inset:12% 10% 14%;background:linear-gradient(140deg,#fff9,#ffffff05);border-radius:48% 48% 20px 20px}.rings{position:absolute;width:250px;height:250px;border:28px solid #102b4e;opacity:.9;border-radius:50%;right:18%;top:12%;box-shadow:inset 0 0 0 20px #ff641c,0 8px 24px #102b4e66}.art-note{position:absolute;top:20px;left:20px;border-radius:10px;background:#ffffffdf;padding:12px 16px;font-weight:bold}.art-note small{display:block;font-weight:400;color:var(--muted)}.art-bottom{position:absolute;bottom:0;left:0;right:0;padding:18px;color:white;background:#102b4ecc;letter-spacing:.16em;text-align:center}.section{padding:34px clamp(24px,5vw,78px)}.section h2,.split h2{font:700 clamp(29px,3vw,40px)/1.15 var(--serif);color:var(--deep);margin:8px 0 20px}.section h3{font:700 20px var(--serif)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{display:block;text-decoration:none;border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;padding-bottom:14px;box-shadow:0 8px 24px #102b4e0a}.card h3,.card p{margin:12px 18px}.card p{color:var(--muted)}.photo{height:190px;display:grid;place-items:center;text-align:center;background:linear-gradient(135deg,#dce8f4,#7897b9 58%,#183b65);color:white;font-weight:bold;letter-spacing:.05em;border-radius:10px}.card .photo{border-radius:0}.robot{background:linear-gradient(140deg,#153963,#5893b4 45%,#ff9c58)}.board{background:linear-gradient(130deg,#eaf1f8,#8eb1cf)}.digital{background:linear-gradient(130deg,#0c2a53,#745dba)}.placeholder{border:1px dashed #9eb4ca;background:linear-gradient(135deg,#f3f7fb,#dce7f2);color:var(--navy)}.placeholder small{display:block;color:var(--muted);font-weight:400}.split{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}.timeline{border-left:3px solid var(--orange);padding-left:24px;margin:20px 0 40px}.timeline article{display:grid;grid-template-columns:130px 1fr;gap:18px;padding:4px 0 24px;position:relative}.timeline article:before{content:'';width:12px;height:12px;border-radius:50%;background:var(--orange);position:absolute;left:-32px;top:8px}.timeline p{color:var(--muted)}.highlight{background:var(--pale)}.highlight>p{max-width:950px}.badge{display:inline-block;color:#93500a;background:#fff0dc;padding:4px 10px;border-radius:20px}.section .grid+.grid{margin-top:18px}footer{margin-top:30px;padding:28px clamp(24px,5vw,78px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:white;background:var(--navy)}footer p{font-size:13px}.soft{background:var(--pale)}@media(max-width:900px){header{flex-wrap:wrap}nav{width:100%;justify-content:space-between;gap:10px}nav a{font-size:12px}.hero{grid-template-columns:1fr 1fr}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){header{padding:10px 18px}.toggle{display:block;color:white;background:transparent;border:1px solid #ffffff88;padding:8px 12px;border-radius:6px}nav{display:none;flex-direction:column;gap:0}nav.open{display:flex}nav a{padding:9px 0}.hero{grid-template-columns:1fr;padding:38px 22px}.hero-art{min-height:220px}.rings{width:170px;height:170px;border-width:20px}.section{padding:28px 22px}.grid,.split{grid-template-columns:1fr}.timeline article{grid-template-columns:1fr;gap:0}.timeline article b{color:var(--orange)}footer{align-items:flex-start;flex-direction:column}.photo{height:170px}}

/* Homepage-only visual system. These rules leave the other portfolio pages intact. */
.home-page{--home-width:1280px;--home-gutter:clamp(22px,6vw,88px);--home-serif:var(--serif);--home-shadow:0 16px 40px rgba(16,43,78,.08);background:#fff}
.home-header{min-height:78px;padding:10px var(--home-gutter);gap:24px;position:relative;z-index:2;box-shadow:0 5px 24px rgba(7,29,62,.1)}
.home-header .brand{flex:none}.home-header nav{width:auto;justify-content:flex-end;gap:clamp(12px,2vw,30px)}.home-header nav a{font-size:13px;color:#f8fbff;transition:color .2s,border-color .2s}.home-header nav a:hover{color:#fff}.home-header .toggle{border:1px solid #ffffff55;border-radius:8px;padding:8px 12px;color:white;background:transparent}
.home-hero{isolation:isolate;position:relative;display:grid;grid-template-columns:minmax(0,.94fr) minmax(340px,1.06fr);align-items:center;gap:clamp(32px,6vw,90px);max-width:1600px;margin:0 auto;padding:clamp(58px,8vw,108px) var(--home-gutter) clamp(54px,7vw,88px);overflow:hidden;background:linear-gradient(112deg,#fff 0%,#fff 48%,#f4f8fc 100%)}
.home-hero-copy{position:relative;z-index:1;max-width:610px}.home-eyebrow,.section-kicker{display:flex;align-items:center;gap:11px;color:var(--orange);font-size:11px;font-weight:700;letter-spacing:.16em}.home-eyebrow span{height:3px;width:34px;background:var(--orange);border-radius:4px}
.home-hero h1{margin:22px 0 18px;color:var(--deep);font:700 clamp(56px,7.5vw,100px)/.91 var(--home-serif);letter-spacing:-.052em}.home-hero h1 em{font-weight:400;color:var(--navy)}.home-role{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 18px;color:var(--navy);font-size:clamp(14px,1.25vw,17px);font-weight:600}.home-role i{width:4px;height:4px;border-radius:50%;background:var(--orange)}.home-intro{max-width:490px;margin:0;color:var(--muted);font-size:17px;line-height:1.72}.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.home-button{min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:12px 19px;border:1px solid var(--orange);border-radius:8px;text-decoration:none;font-weight:700;font-size:14px;transition:transform .2s,box-shadow .2s,background .2s}.home-button:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(16,43,78,.13)}.home-button:focus-visible,.home-project-card:focus-visible,.home-focus-card a:focus-visible{outline:3px solid #ff9a69;outline-offset:3px}.home-button.primary{background:var(--orange);color:#fff}.home-button.secondary{background:#fff;color:var(--navy);border-color:#c8d4e2}.home-button span{font-size:18px;line-height:1}
.home-portrait{min-height:clamp(330px,37vw,510px);position:relative;display:grid;place-items:center;overflow:hidden;border-radius:18px;background-color:#eaf0f6;background-image:radial-gradient(#b9c9da 1px,transparent 1.4px),linear-gradient(145deg,#f7f9fc,#e1eaf3);background-size:18px 18px,cover;box-shadow:var(--home-shadow)}.home-portrait:after{content:"";position:absolute;inset:12px;border:1px solid rgba(16,43,78,.12);border-radius:12px;pointer-events:none}.portrait-index,.portrait-caption{position:absolute;z-index:1;color:var(--navy);font-size:10px;font-weight:700;letter-spacing:.14em}.portrait-index{top:31px;left:34px}.portrait-caption{right:34px;bottom:30px;color:#fff}.portrait-placeholder{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:25px 30px;background:rgba(255,255,255,.9);border:1px solid rgba(16,43,78,.13);border-radius:14px;box-shadow:0 12px 32px rgba(16,43,78,.08)}.portrait-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#fff0e9;color:var(--orange);font-size:24px}.portrait-placeholder strong{font:700 21px var(--home-serif);color:var(--deep)}.portrait-placeholder small{color:var(--muted);font-size:12px}.portrait-placeholder code{font-family:Consolas,monospace;font-size:11px;color:var(--navy)}.portrait-caption{padding:8px 11px;border-radius:4px;background:var(--navy)}.home-decor{position:absolute;z-index:-1;right:3%;bottom:-.26em;color:rgba(16,43,78,.035);font:700 clamp(170px,26vw,380px)/1 var(--home-serif);pointer-events:none}
.home-focus,.home-projects{padding:clamp(48px,6vw,78px) var(--home-gutter)}.home-focus{background:#fff}.home-section-heading{max-width:var(--home-width);margin:0 auto 27px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.home-section-heading h2{margin:8px 0 0;color:var(--deep);font:700 clamp(29px,3.6vw,44px)/1.1 var(--home-serif);letter-spacing:-.025em}.section-kicker{font-size:10px}.home-heading-note{padding-bottom:3px;text-align:right;color:var(--muted);font-size:13px;line-height:1.5}
.home-focus-grid,.home-project-grid{max-width:var(--home-width);margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-focus-card{position:relative;min-height:235px;padding:24px 23px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 28px rgba(16,43,78,.045);transition:transform .2s,box-shadow .2s,border-color .2s}.home-focus-card:hover{transform:translateY(-4px);border-color:#d0dce9;box-shadow:var(--home-shadow)}.focus-number{position:absolute;top:20px;right:21px;color:#a3b1c1;font-size:11px;letter-spacing:.08em}.focus-symbol{width:47px;height:47px;display:grid;place-items:center;border-radius:12px;background:#f1f5fa;color:var(--navy);font:700 21px var(--home-serif)}.home-focus-card:nth-child(2) .focus-symbol{background:#fff1e9;color:var(--orange)}.home-focus-card h3{margin:17px 0 6px;color:var(--deep);font:700 22px/1.2 var(--home-serif)}.home-focus-card p{min-height:48px;margin:0;color:var(--muted);font-size:14px;line-height:1.6}.home-focus-card a{display:inline-flex;gap:10px;align-items:center;margin-top:13px;color:var(--navy);text-decoration:none;font-size:12px;font-weight:700}.home-focus-card a span,.all-projects span{color:var(--orange);font-size:17px}
.home-projects{background:var(--pale)}.home-projects .home-section-heading{margin-bottom:25px}.all-projects{display:inline-flex;align-items:center;gap:12px;color:var(--navy);text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.all-projects:hover{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:5px}.home-project-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5edf5;border-radius:12px;background:#fff;box-shadow:0 8px 25px rgba(16,43,78,.05);text-decoration:none;transition:transform .2s,box-shadow .2s}.home-project-card:hover{transform:translateY(-4px);box-shadow:var(--home-shadow)}.home-project-image{height:205px;position:relative;display:grid;place-items:center;overflow:hidden;background-color:#e7edf4;background-image:radial-gradient(#b9c8d8 1px,transparent 1.5px),linear-gradient(135deg,#eef3f8,#d7e2ee);background-size:17px 17px,cover}.home-project-image:before{content:"";position:absolute;inset:13px;border:1px dashed rgba(16,43,78,.24);border-radius:6px}.robotics-placeholder{background-color:#e7edf4;background-image:radial-gradient(#b9c8d8 1px,transparent 1.5px),linear-gradient(135deg,#eaf0f6,#dbe5ef)}.board-placeholder{background-color:#edf1f5;background-image:radial-gradient(#c4cfda 1px,transparent 1.5px),linear-gradient(135deg,#f3f6f9,#dce6f0)}.lessons-placeholder{background-color:#e8eef5;background-image:radial-gradient(#b9c9da 1px,transparent 1.5px),linear-gradient(135deg,#e8eef5,#d5e0ec)}.image-label{position:absolute;top:24px;left:25px;color:#536985;font-size:9px;font-weight:700;letter-spacing:.13em}.photo-placeholder-copy{display:flex;flex-direction:column;gap:4px;text-align:center;color:var(--navy);font:700 18px var(--home-serif)}.photo-placeholder-copy small{color:var(--muted);font:400 11px var(--sans)}.image-arrow{position:absolute;right:22px;bottom:20px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #f5d5c7;border-radius:50%;background:#fff;color:var(--orange);font-size:17px;transition:background .2s,color .2s}.home-project-card:hover .image-arrow{background:var(--orange);color:#fff}.home-project-copy{flex:1;padding:19px 20px 22px}.project-type{color:var(--orange);font-size:9px;font-weight:700;letter-spacing:.14em}.home-project-copy h3{margin:8px 0 7px;color:var(--deep);font:700 21px/1.22 var(--home-serif)}.home-project-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.home-footer{margin-top:0;min-height:100px;padding:22px var(--home-gutter);display:flex;justify-content:space-between;align-items:center;gap:22px;background:var(--navy)}.home-footer .brand b{font-size:15px}.home-footer .logo{width:46px;height:46px;font-size:24px}.home-footer p{margin:0;color:#e2eaf3}.home-footer p span{color:#ff9664}.home-footer>a:last-child{color:white;text-decoration:none;font-size:13px;font-weight:700}.home-footer>a:last-child span{color:var(--orange)}
@media(max-width:980px){.home-header{flex-wrap:wrap}.home-header nav{width:100%;justify-content:space-between;gap:10px}.home-header nav a{font-size:12px}.home-hero{grid-template-columns:minmax(0,.95fr) minmax(290px,1.05fr);gap:32px}.home-portrait{min-height:370px}.home-project-image{height:175px}}
@media(max-width:700px){.home-header{padding:10px 20px}.home-header .toggle{display:block}.home-header nav{display:none;flex-direction:column;align-items:stretch;gap:0;padding:5px 0 10px}.home-header nav.open{display:flex}.home-header nav a{padding:10px 2px;font-size:14px}.home-hero{grid-template-columns:1fr;padding:51px 22px 42px;gap:31px}.home-hero h1{font-size:clamp(55px,15vw,82px)}.home-intro{font-size:16px}.home-portrait{min-height:300px}.home-focus,.home-projects{padding:43px 22px}.home-section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:21px}.home-heading-note{text-align:left}.home-focus-grid,.home-project-grid{grid-template-columns:1fr;gap:13px}.home-focus-card{min-height:0;padding:20px}.home-focus-card p{min-height:0}.home-project-image{height:205px}.home-footer{align-items:flex-start;flex-direction:column;padding:25px 22px;gap:15px}.home-footer p{font-size:12px}}
@media(min-width:701px) and (max-width:980px){.home-focus-grid,.home-project-grid{gap:12px}.home-focus-card{padding:20px 16px}.home-focus-card h3{font-size:19px}.home-focus-card p{font-size:13px}.home-project-copy{padding:17px 15px}.home-project-copy h3{font-size:18px}.home-footer p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-page *, .home-page *::before,.home-page *::after{scroll-behavior:auto!important;transition:none!important}}

/* Real robotics photos */
.home-project-image.has-photo{background:#e8eef5}.home-project-image.has-photo:before{display:none}.home-project-image img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center 48%;border-radius:inherit}.home-project-image.has-photo .image-label{padding:6px 9px;border-radius:4px;background:rgba(7,29,62,.76);color:#fff}
/* Robotics & STEM: wide, page-scoped presentation using authentic project media. */
.robotics-page{--rb-edge:clamp(22px,2.75vw,50px);--rb-shadow:0 7px 24px rgba(16,43,78,.06)}
.robotics-page header,.robotics-page footer{padding-left:var(--rb-edge);padding-right:var(--rb-edge)}
.robotics-page .rb-icon{display:block;flex:none;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.robotics-page .rb-rule{display:block;width:43px;height:4px;border-radius:3px;background:var(--orange)}
.robotics-page .rb-eyebrow{display:block;color:#b6420e;font-size:11px;font-weight:700;letter-spacing:.09em;line-height:1.6}
.robotics-page .rb-banner{position:relative;isolation:isolate;display:flex;align-items:center;min-height:430px;padding:30px var(--rb-edge);overflow:hidden;background:linear-gradient(105deg,#fff 28%,#edf4fa)}
.robotics-page .rb-banner:before{content:"";position:absolute;z-index:-1;top:10px;left:0;width:60px;height:180px;background:radial-gradient(#acc2d9 1.7px,transparent 2.2px) 3px 0/16px 17px;mask-image:linear-gradient(to right,#000,transparent)}
.robotics-page .rb-banner-photo{position:absolute;z-index:-2;inset:0;margin:0;overflow:hidden;background:#edf3f7}
.robotics-page .rb-banner-photo:before{content:"";position:absolute;inset:-15px;background:url("assets/optimized/robotics/robotics-hero-banner.webp") center/cover;filter:blur(16px);opacity:.18}
.robotics-page .rb-banner-photo img{position:relative;display:block;width:100%;height:100%;object-fit:contain;object-position:right center}
.robotics-page .rb-banner-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,.96) 28%,rgba(255,255,255,.4) 43%,transparent 57%);pointer-events:none}
.robotics-page .rb-banner-copy{position:relative;width:48%;max-width:650px;min-width:0}
.robotics-page .rb-breadcrumb{display:flex;align-items:center;gap:12px;margin:0 0 20px;color:var(--muted);font-size:13px}
.robotics-page .rb-breadcrumb a{text-decoration:none}.robotics-page .rb-breadcrumb a:hover{text-decoration:underline}
.robotics-page .rb-banner h1{margin:14px 0;color:var(--deep);font:700 clamp(46px,5.2vw,77px)/1.02 var(--serif);letter-spacing:-.035em}
.robotics-page .rb-banner h2{margin:0 0 13px;font:500 21px/1.35 var(--sans)}
.robotics-page .rb-banner-copy>p:not(.rb-breadcrumb){max-width:540px;margin:0;color:var(--muted);font-size:17px;line-height:1.65}
.robotics-page .rb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:23px}
.robotics-page .rb-actions .button{padding:11px 17px;border-radius:8px;min-height:46px;font-size:14px}
.robotics-page .rb-text-link{color:var(--navy);font-size:13px;text-underline-offset:4px;text-decoration-color:#bdcadb}
.robotics-page .rb-text-link span{margin-left:7px;color:#be460f}
.robotics-page .rb-section{padding:30px var(--rb-edge) 35px;scroll-margin-top:22px}
.robotics-page .rb-heading h2{margin:7px 0 20px;color:var(--deep);font:700 clamp(30px,2.8vw,42px)/1.13 var(--serif);letter-spacing:-.025em}
.robotics-page .rb-journey-section{background:linear-gradient(#f5f9fd,#fff);padding-top:27px}
.robotics-page .rb-journey{--rb-stage-image-height:185px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:23px;list-style:none;margin:0;padding:0}
.robotics-page .rb-stage{position:relative;min-width:0;display:flex;flex-direction:column;scroll-margin-top:22px}
.robotics-page .rb-stage:not(:last-child):after{content:"→";position:absolute;right:-23px;top:16px;width:23px;color:var(--orange);text-align:center;font:500 24px/1 var(--sans)}
.robotics-page .rb-stage-marker{display:flex;align-items:center;gap:12px;min-height:56px;margin-bottom:14px;color:#ad400e;font-size:13px;font-weight:600}
.robotics-page .rb-stage-label{display:block;min-width:0;min-height:36px;line-height:1.4}
.robotics-page .rb-stage-number{display:grid;place-items:center;flex:none;width:43px;height:43px;border:3px solid #fff;border-radius:50%;background:var(--orange);box-shadow:0 0 0 1px #ffd3bb;color:var(--deep);font:700 23px/1 var(--sans)}
.robotics-page .rb-stage-canada .rb-stage-number{color:#fff;background:var(--navy);box-shadow:0 0 0 1px #cadbec}
.robotics-page .rb-stage-panel{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e4edf5;border-radius:16px;background:#fff;box-shadow:var(--rb-shadow)}
.robotics-page .rb-stage-photo{display:block;flex:none;width:100%;height:var(--rb-stage-image-height);object-fit:cover;object-position:center 55%;border-radius:15px 15px 0 0}
.robotics-page .rb-scholarship-photo{object-position:50% 12%}
.robotics-page .rb-club-photo{object-position:50% 38%}
.robotics-page .rb-fll-photo{object-position:50% 40%}
.robotics-page .rb-canada-photo{object-position:50% 55%}
.robotics-page .rb-stage-copy{position:relative;flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:30px 19px 20px}
.robotics-page .rb-stage-icon{position:absolute;top:-25px;left:16px;display:grid;place-items:center;width:50px;height:50px;border:4px solid #fff;border-radius:50%;background:var(--orange);color:#fff}
.robotics-page .rb-stage-icon .rb-icon{width:26px;height:26px}
.robotics-page .rb-stage-canada .rb-stage-icon{background:var(--navy)}
.robotics-page .rb-stage h3{min-height:2.5em;margin:0 0 13px;color:var(--deep);font:700 21px/1.25 var(--serif);letter-spacing:-.015em}
.robotics-page .rb-stage-copy>p{margin:0 0 20px;color:var(--muted);font-size:14px;line-height:1.7}
.robotics-page .rb-stage-note{display:block;align-self:stretch;margin-top:auto;padding:12px;border-radius:9px;background:#fff1e9;color:#a73b0b;font-size:11px;line-height:1.5;font-weight:600}
.robotics-page .rb-stage-canada .rb-stage-note{background:#edf4fc;color:var(--navy)}
.robotics-page .rb-stage-illustration{flex:none;min-width:0;margin:0}
.robotics-page .rb-stage-illustration figcaption{position:static;display:flex;align-items:center;height:30px;margin:0;padding:0 12px 0 74px;background:#fff;color:var(--muted);font-size:10px;line-height:1.3}
/* The caption sits below the image; compensate in the copy to retain heading alignment. */
.robotics-page .rb-stage-canada .rb-stage-copy{padding-top:0}
.robotics-page .rb-stage-canada .rb-stage-icon{top:-55px}
@media(max-width:1200px){
  .robotics-page .rb-journey{--rb-stage-image-height:230px;display:block;padding-left:28px;border-left:2px solid #e5bb9f;margin-left:20px}
  .robotics-page .rb-stage+.rb-stage{margin-top:28px}
  .robotics-page .rb-stage-marker{margin-left:-51px;position:relative;z-index:1}
  .robotics-page .rb-stage:not(:last-child):after{content:"↓";left:-40px;right:auto;top:auto;bottom:-24px;width:20px;background:#f9fbfe;font-size:20px}
  .robotics-page .rb-stage-panel{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
  .robotics-page .rb-stage-copy{padding:24px}
  .robotics-page .rb-stage-canada .rb-stage-copy{padding-top:24px}
  .robotics-page .rb-stage-icon{position:static;margin-bottom:13px;border-width:0;width:42px;height:42px}
  .robotics-page .rb-stage h3{min-height:0;font-size:25px}
  .robotics-page .rb-stage-illustration figcaption{height:auto;min-height:30px;padding:6px 12px}
}
@media(max-width:600px){
  .robotics-page .rb-journey{--rb-stage-image-height:clamp(200px,60vw,260px);margin-left:12px;padding-left:19px}
  .robotics-page .rb-stage-marker{margin-left:-38px;font-size:13px;gap:10px}
  .robotics-page .rb-stage-number{width:35px;height:35px;font-size:20px}
  .robotics-page .rb-stage:not(:last-child):after{left:-30px}
  .robotics-page .rb-stage-panel{display:flex;flex-direction:column}
  .robotics-page .rb-stage-copy{padding:22px 19px}
  .robotics-page .rb-stage-canada .rb-stage-copy{padding-top:22px}
  .robotics-page .rb-stage h3{font-size:25px}
}

.robotics-page .rb-gallery-section{background:linear-gradient(#f7fbff,#fff)}
.robotics-page .rb-gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:22px}
.robotics-page .rb-gallery-heading .rb-heading h2{margin-bottom:0}
.robotics-page .rb-gallery-heading>p{margin:0;text-align:right;color:var(--muted);font-size:13px;line-height:1.6}
.robotics-page .robotics-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:19px}
.robotics-page .robotics-gallery figure{grid-column:span 3;min-width:0;margin:0;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fff;box-shadow:var(--rb-shadow)}
.robotics-page .robotics-gallery figure:nth-child(n+5){grid-column:span 4}
.robotics-page .robotics-gallery .gallery-trigger{position:relative;display:block;width:100%;margin:0;padding:0;border:0;background:#edf3f8;cursor:zoom-in}
.robotics-page .robotics-gallery img{display:block;width:100%;height:220px;object-fit:contain;object-position:center;background:#edf3f8}
.robotics-page .robotics-gallery figcaption{min-height:64px;padding:15px 17px;color:var(--deep);font:700 18px/1.25 var(--serif)}
.robotics-page .rb-photo-enlarge{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:5px;color:#fff;background:rgba(7,29,62,.87);font:600 10px/1.5 var(--sans)}
.robotics-page .gallery-trigger:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}
.robotics-page .lightbox-caption{max-width:75ch;margin:0;color:#fff;text-align:center;font:400 16px/1.4 var(--serif)}
.robotics-page .lightbox-image{max-height:calc(96dvh - 165px)}
.robotics-page .rb-team-video{background:var(--pale)}
.robotics-page .rb-video-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:45px}
.robotics-page .rb-video-layout>div:first-child>p{max-width:58ch;margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.robotics-page .rb-video-player{min-width:0;margin:0}
.robotics-page .rb-video-frame{width:100%;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--deep);box-shadow:var(--rb-shadow)}
.robotics-page .rb-video-frame video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 75%;background:var(--deep)}
.robotics-page .rb-video-frame video::cue{color:#fff;background-color:rgba(7,29,62,.88);text-shadow:0 1px 2px #000}
.robotics-page .rb-video-frame video:fullscreen{object-fit:contain;object-position:center}
.robotics-page .rb-video-frame video:-webkit-full-screen{object-fit:contain;object-position:center}
.robotics-page .rb-video-frame video:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}
.robotics-page .rb-video-player figcaption{margin-top:11px;color:var(--muted);font-size:12px;line-height:1.5}
@media(min-width:651px) and (max-width:1100px){
  .robotics-page header{flex-wrap:wrap}.robotics-page nav{width:100%;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}.robotics-page nav a{font-size:12px}
}
@media(max-width:1100px){
  .robotics-page .rb-banner{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;min-height:0;padding-top:28px;padding-bottom:0}
  .robotics-page .rb-banner-copy{width:100%;max-width:740px}
  .robotics-page .rb-banner h1{font-size:clamp(46px,7vw,65px)}
  .robotics-page .rb-banner-photo{position:relative;inset:auto;grid-row:2;z-index:0;width:calc(100% + 2 * var(--rb-edge));margin-left:calc(-1 * var(--rb-edge))}
  .robotics-page .rb-banner-photo img{height:auto;max-height:420px;object-position:center}
  .robotics-page .rb-banner-photo:after{display:none}
  .robotics-page .robotics-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .robotics-page .robotics-gallery figure,.robotics-page .robotics-gallery figure:nth-child(n+5){grid-column:auto}
  .robotics-page .robotics-gallery figure:last-child{grid-column:1/-1;justify-self:center;width:calc((100% - 19px)/2)}
  .robotics-page .rb-video-layout{gap:25px}
}
@media(max-width:700px){
  .robotics-page .rb-video-layout{grid-template-columns:minmax(0,1fr)}
  .robotics-page .rb-gallery-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .robotics-page .rb-gallery-heading>p{text-align:left}
}
@media(max-width:600px){
  .robotics-page .rb-banner h1{font-size:48px}
  .robotics-page .rb-banner h2{font-size:19px}
  .robotics-page .rb-banner-copy>p:not(.rb-breadcrumb){font-size:16px}
  .robotics-page .rb-section{padding-top:25px;padding-bottom:28px}
  .robotics-page .robotics-gallery{grid-template-columns:minmax(0,1fr);gap:17px}
  .robotics-page .robotics-gallery figure:last-child{grid-column:auto;width:100%}
  .robotics-page .robotics-gallery img{height:auto;aspect-ratio:3/2}
  .robotics-page .robotics-gallery figcaption{min-height:0}
  .robotics-page .lightbox-image{max-height:calc(100dvh - 185px)}
}

.photo-lightbox:not([open]){display:none}.photo-lightbox[open]{position:fixed;inset:0;width:min(96vw,1400px);max-width:none;max-height:96dvh;margin:auto;padding:56px 68px 24px;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:22px;overflow:visible;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(7,29,62,.98);color:#fff;box-shadow:0 24px 90px rgba(0,0,0,.4)}.photo-lightbox::backdrop{background:rgba(5,18,38,.84);backdrop-filter:blur(5px)}.lightbox-stage{min-width:0;display:grid;justify-items:center;gap:12px}.lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(96dvh - 125px);object-fit:contain;border-radius:8px;box-shadow:0 12px 38px rgba(0,0,0,.28)}.lightbox-count{margin:0;color:#e4ebf5;font-size:12px;letter-spacing:.08em}.lightbox-close,.lightbox-previous,.lightbox-next{display:grid;place-items:center;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(255,255,255,.1);color:white;cursor:pointer;transition:background .18s,border-color .18s}.lightbox-close:hover,.lightbox-previous:hover,.lightbox-next:hover{background:var(--orange);border-color:var(--orange);color:var(--deep)}.lightbox-close:focus-visible,.lightbox-previous:focus-visible,.lightbox-next:focus-visible{outline:3px solid #ff9c72;outline-offset:3px}.lightbox-close{position:absolute;top:14px;right:16px;width:42px;height:42px;font:400 30px/1 var(--sans)}.lightbox-previous,.lightbox-next{width:48px;height:48px;font:400 36px/1 var(--sans)}
@media(max-width:650px){.photo-lightbox[open]{width:100vw;height:100dvh;max-height:100dvh;padding:60px 12px 18px;grid-template-columns:38px minmax(0,1fr) 38px;gap:7px;border:0;border-radius:0}.lightbox-image{max-height:calc(100dvh - 145px);border-radius:5px}.lightbox-previous,.lightbox-next{width:38px;height:42px;font-size:29px}.lightbox-close{top:11px;right:12px;width:39px;height:39px}}

/* Educational Technology: scoped layout, authentic evidence and labelled illustrations. */
.technology-page{--tech-edge:clamp(22px,2.75vw,50px);--tech-shadow:0 8px 26px rgba(16,43,78,.065)}
.technology-page header,.technology-page footer{padding-left:var(--tech-edge);padding-right:var(--tech-edge)}
.technology-page footer{margin-top:0}
.technology-page .tech-icon{display:block;flex:none;width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.technology-page .tech-rule{display:block;width:44px;height:4px;border-radius:4px;background:var(--orange)}
.technology-page .tech-eyebrow{display:block;color:#b6420e;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1.6}
.technology-page .section{padding:38px var(--tech-edge) 42px;scroll-margin-top:24px}
.technology-page .section h2{margin:8px 0 16px;font:700 clamp(30px,2.85vw,42px)/1.14 var(--serif);letter-spacing:-.025em}
.technology-page .section p{color:var(--muted);line-height:1.7}
.technology-page .tech-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:430px;padding:28px var(--tech-edge);overflow:hidden;background:#f4f8fc}
.technology-page .tech-hero:before{content:"";position:absolute;z-index:0;top:10px;left:0;width:60px;height:180px;background:radial-gradient(#acc2d9 1.7px,transparent 2.2px) 3px 0/16px 17px;mask-image:linear-gradient(to right,#000,transparent);pointer-events:none}
.technology-page .tech-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#fff 0%,#fff 36%,rgba(255,255,255,.94) 41%,rgba(255,255,255,.25) 47%,transparent 53%);pointer-events:none}
.technology-page .tech-hero-copy{position:relative;z-index:1;width:42%;max-width:620px;min-width:0}
.technology-page .tech-breadcrumb{display:flex;align-items:center;gap:12px;margin:0 0 19px;color:var(--muted);font-size:13px}
.technology-page .tech-breadcrumb a{text-decoration:none}.technology-page .tech-breadcrumb a:hover{text-decoration:underline}
.technology-page .tech-hero h1{margin:14px 0;color:var(--deep);font:700 clamp(46px,5.2vw,76px)/1.02 var(--serif);letter-spacing:-.035em;overflow-wrap:break-word}
.technology-page .tech-hero h2{margin:0 0 12px;font:500 21px/1.35 var(--sans)}
.technology-page .tech-hero-copy>p:not(.tech-breadcrumb){max-width:430px;margin:0;color:var(--muted);font-size:17px;line-height:1.65}
.technology-page .tech-hero .actions{margin-top:22px}
.technology-page .tech-hero .button{min-height:46px;padding:11px 16px;gap:10px;font-size:14px;border-radius:8px}
.technology-page .tech-hero .button .tech-icon{width:24px;height:24px}
.technology-page .tech-hero-photo{position:absolute;z-index:-2;inset:0 0 0 40%;margin:0;overflow:hidden}
.technology-page .tech-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:38% 50%}
.technology-page .technology-whiteboard{background:linear-gradient(#f4f8fc,#fff)}
.technology-page .whiteboard-heading>p,.technology-page .french-lessons-heading>p{max-width:85ch;margin:0;font-size:16px}
/* Five sequential steps: a shared horizontal path becomes vertical on smaller screens. */
.technology-page .whiteboard-details{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;list-style:none;margin:28px 0 30px;padding:0}
.technology-page .whiteboard-details li{position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:15px}
.technology-page .whiteboard-details li:not(:last-child):after{content:"";position:absolute;z-index:0;top:20px;left:42px;right:-18px;height:2px;background:linear-gradient(90deg,#ffc9af,#d5e2ef)}
.technology-page .whiteboard-step-number{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #f4c9b2;border-radius:50%;background:#fff4ed;color:#aa3e0c;font:700 15px/1 var(--sans)}
.technology-page .whiteboard-details li>div{flex:1;width:100%;padding:19px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--tech-shadow)}
.technology-page .whiteboard-details h3{margin:0 0 10px;color:var(--deep);font:700 21px/1.22 var(--serif)}
.technology-page .whiteboard-details p{margin:0;font-size:14px}
/* One compact evidence row keeps the stylus at the same scale as the two demonstrations. */
.technology-page .whiteboard-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.technology-page .stylus-figure,.technology-page .whiteboard-video-card{min-width:0;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--tech-shadow)}
.technology-page .stylus-figure img,.technology-page .whiteboard-video-card video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#071d3e}
.technology-page .stylus-figure img{object-fit:cover;object-position:50% 50%}
.technology-page .stylus-figure figcaption,.technology-page .whiteboard-media-copy{padding:18px 19px 20px}
.technology-page .whiteboard-media h3{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 9px;color:var(--deep);font:700 21px/1.25 var(--serif)}
.technology-page .whiteboard-media h3>span{padding:4px 7px;border-radius:5px;background:#f0f5fa;color:var(--navy);font:700 10px/1.3 var(--sans);letter-spacing:.06em}
.technology-page .whiteboard-media p{margin:0;font-size:14px}
.technology-page .whiteboard-video-card video:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}
.technology-page .section.french-lessons-section{padding-bottom:24px;background:var(--pale);border:0;outline:none}
.technology-page .tech-illustration-note{margin:12px 0 23px;font-size:12px}
.technology-page .french-lessons-section .french-lesson-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;align-items:stretch;gap:18px}
.technology-page .french-lesson-card{display:flex;flex-direction:column;min-width:0;padding:0;border-radius:13px;box-shadow:var(--tech-shadow)}
.technology-page .french-lessons-section .french-lesson-card>img{display:block;flex:none;width:100%;height:210px;object-fit:cover}
.technology-page .tech-presentations-image{object-position:50% 54%}
.technology-page .tech-videos-image{object-position:50% 60%}
.technology-page .tech-exercises-image{object-position:50% 54%}
.technology-page .french-lessons-section .tech-kahoot-image{object-position:50% 45%}
.technology-page .french-lessons-section .french-lesson-copy{flex:1;padding:16px 18px 18px}
.technology-page .french-lessons-section .french-lesson-copy h3{display:flex;align-items:center;gap:12px;margin:0 0 9px;color:var(--deep);font:700 23px/1.2 var(--serif)}
.technology-page .french-lesson-copy .tech-icon{width:31px;height:31px;color:#b6420e}
.technology-page .french-lesson-copy p{margin:0;max-width:72ch;font-size:15px}
.technology-page .section.tech-remote-section{padding-top:24px;padding-bottom:24px}
.technology-page .tech-remote-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr);height:330px;align-items:stretch;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--pale);box-shadow:var(--tech-shadow)}
.technology-page .tech-remote-panel>img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:50% 52%}
.technology-page .tech-remote-copy{min-width:0;align-self:center;padding:28px}
.technology-page .tech-remote-copy h2{max-width:19ch}
.technology-page .tech-remote-copy p{max-width:65ch;margin:0;font-size:16px}
.technology-page .section.tech-future-section{padding-top:24px}
.technology-page .tech-future-panel{display:flex;align-items:center;gap:24px;padding:25px 30px;border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:12px;background:linear-gradient(115deg,#f4f8fc,#fff)}
.technology-page .tech-future-icon{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:50%;background:#e7eff8;color:var(--navy)}
.technology-page .tech-future-icon .tech-icon{width:34px;height:34px}
.technology-page .tech-future-panel h2{margin:0 0 9px;font-size:clamp(27px,2.5vw,35px)}
.technology-page .tech-future-panel p{max-width:100ch;margin:0;font-size:15px}
.technology-page .tech-hero .button:focus-visible,.technology-page .tech-breadcrumb a:focus-visible{outline:3px solid #b6420e;outline-offset:4px}
@media(min-width:651px) and (max-width:1100px){
  .technology-page header{flex-wrap:wrap}
  .technology-page nav{width:100%;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}
  .technology-page nav a{font-size:12px}
}
@media(max-width:1100px){
  .technology-page .tech-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;min-height:0;padding-top:28px;padding-bottom:0}
  .technology-page .tech-hero-copy{width:100%;max-width:720px}
  .technology-page .tech-hero h1{font-size:clamp(46px,7vw,65px)}
  .technology-page .tech-hero:after{display:none}
  .technology-page .tech-hero-photo{position:relative;inset:auto;z-index:0;grid-row:2;width:calc(100% + 2 * var(--tech-edge));margin-left:calc(-1 * var(--tech-edge))}
  .technology-page .tech-hero-photo img{height:auto;object-fit:contain}
  .technology-page .whiteboard-details{grid-template-columns:minmax(0,1fr);gap:16px}
  .technology-page .whiteboard-details li{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:16px}
  .technology-page .whiteboard-details li:not(:last-child):after{top:42px;bottom:-16px;left:20px;right:auto;width:2px;height:auto;background:#d9e4ef}
  .technology-page .whiteboard-step-number{margin-top:0}
  .technology-page .whiteboard-media{grid-template-columns:repeat(2,minmax(0,1fr))}
  .technology-page .stylus-figure{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center}
  .technology-page .stylus-figure img{max-height:220px;object-fit:contain;background:#e9edf2}
  .technology-page .tech-remote-panel{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;height:auto}
  .technology-page .tech-remote-panel>img{min-height:260px;object-fit:contain;background:#e8eef4}
  .technology-page .tech-remote-copy{padding:24px}
  .technology-page .tech-remote-copy h2{font-size:30px}
  .technology-page .tech-remote-copy p{font-size:15px}
}
@media(max-width:720px){
  .technology-page .french-lessons-section .french-lesson-tools{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:650px){
  .technology-page .section{padding-top:28px;padding-bottom:30px}
  .technology-page .tech-hero h1{font-size:clamp(44px,11.6vw,55px)}
  .technology-page .tech-hero h2{font-size:19px}
  .technology-page .tech-hero-copy>p:not(.tech-breadcrumb){font-size:16px}
  .technology-page .tech-hero .button{font-size:13px;padding:11px 13px;gap:8px}
  .technology-page .whiteboard-heading>p,.technology-page .french-lessons-heading>p{font-size:15px}
  .technology-page .whiteboard-details{margin-top:23px;margin-bottom:25px}
  .technology-page .whiteboard-details li{grid-template-columns:34px minmax(0,1fr);gap:12px}
  .technology-page .whiteboard-step-number{width:34px;height:34px;font-size:12px}
  .technology-page .whiteboard-details li:not(:last-child):after{top:34px;left:16px}
  .technology-page .whiteboard-details li>div{padding:16px}
  .technology-page .whiteboard-details h3{font-size:21px}
  .technology-page .whiteboard-media,.technology-page .tech-remote-panel{grid-template-columns:minmax(0,1fr);gap:18px}
  .technology-page .stylus-figure{grid-column:auto;display:block}
  .technology-page .stylus-figure img{max-height:none}
  .technology-page .whiteboard-media h3{font-size:21px}
  .technology-page .french-lessons-section .french-lesson-card>img{height:180px}
  .technology-page .french-lessons-section .french-lesson-copy h3{font-size:22px}
  .technology-page .french-lesson-copy p{font-size:14px}
  .technology-page .tech-remote-panel{gap:0}
  .technology-page .tech-remote-panel>img{min-height:0;height:auto;aspect-ratio:1672/941;object-fit:contain}
  .technology-page .tech-remote-copy{padding:23px 20px}
  .technology-page .tech-remote-copy h2{max-width:none;font-size:30px}
  .technology-page .tech-future-panel{align-items:flex-start;gap:15px;padding:23px 18px}
  .technology-page .tech-future-icon{width:42px;height:42px}
  .technology-page .tech-future-icon .tech-icon{width:26px;height:26px}
  .technology-page .tech-future-panel>div{min-width:0}
  .technology-page .tech-future-panel h2{font-size:28px}
  .technology-page .tech-future-panel p{font-size:14px}
}

.home-project-image .whiteboard-card-photo{object-fit:cover;object-position:50% 50%}

/* Teaching Experience: page-scoped reference layout, with the shared gallery controller. */
.teaching-page{--teaching-edge:clamp(22px,2.75vw,50px);--teaching-shadow:0 6px 22px rgba(16,43,78,.06)}
.teaching-page header,.teaching-page footer{padding-left:var(--teaching-edge);padding-right:var(--teaching-edge)}
.teaching-page .teaching-icon{display:block;flex:none;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.teaching-page .teaching-rule{display:block;width:43px;height:4px;flex:none;border-radius:3px;background:var(--orange)}
.teaching-page .teaching-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:430px;padding:30px var(--teaching-edge);background:linear-gradient(100deg,#fff 30%,#f1f7fa)}
.teaching-page .teaching-banner:before{content:"";position:absolute;z-index:-1;left:0;top:14px;width:60px;height:190px;background:radial-gradient(circle,#a9c0d9 1.7px,transparent 2.2px) 3px 0/16px 17px;opacity:.7;mask-image:linear-gradient(to right,#000,transparent)}
.teaching-page .teaching-banner-photo{position:absolute;z-index:-2;inset:0;margin:0;overflow:hidden;background:#edf5f5}
.teaching-page .teaching-banner-photo:before{content:"";position:absolute;inset:-12px;background:url("assets/optimized/classroom/teaching-experience-banner-authentique.webp") center/cover;filter:blur(14px);opacity:.18}
.teaching-page .teaching-banner-photo img{position:relative;display:block;width:100%;height:100%;object-fit:contain;object-position:right center}
.teaching-page .teaching-banner-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,.97) 29%,rgba(255,255,255,.55) 43%,transparent 58%);pointer-events:none}
.teaching-page .teaching-banner-copy{position:relative;width:49%;max-width:690px;min-width:0}
.teaching-page .teaching-breadcrumb{display:flex;align-items:center;gap:12px;margin:0 0 20px;color:var(--muted);font-size:13px}
.teaching-page .teaching-breadcrumb a{text-decoration:none}.teaching-page .teaching-breadcrumb a:hover{text-decoration:underline}
.teaching-page .teaching-banner h1{margin:13px 0 14px;color:var(--deep);font:700 clamp(42px,4.4vw,66px)/1.04 var(--serif);letter-spacing:-.035em}
.teaching-page .teaching-banner h2{margin:0 0 12px;font:500 21px/1.35 var(--sans)}
.teaching-page .teaching-banner-copy>p:not(.teaching-breadcrumb){max-width:570px;margin:0;color:var(--muted);font-size:16px;line-height:1.65}
.teaching-page .teaching-banner .button{margin-top:18px;padding:10px 17px;font-size:13px;min-height:44px;border-radius:7px}
.teaching-page .teaching-focus{padding:18px var(--teaching-edge) 22px;background:linear-gradient(#f2f7fc,#f8fbfe)}
.teaching-page .teaching-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.teaching-page .teaching-focus-grid article{min-width:0;display:flex;align-items:center;gap:20px;padding:19px 23px;border:1px solid #edf2f8;border-radius:11px;background:#fff;box-shadow:var(--teaching-shadow)}
.teaching-page .teaching-medallion{display:grid;place-items:center;flex:none;width:80px;height:80px;border-radius:50%;color:#fff;background:radial-gradient(circle at 35% 25%,#183b65,#071f43 80%)}
.teaching-page .teaching-medallion .teaching-icon{width:45px;height:45px}
.teaching-page .teaching-focus-grid h2{margin:0 0 7px;color:var(--deep);font:700 20px/1.2 var(--serif)}
.teaching-page .teaching-focus-grid p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.teaching-page .teaching-content{padding:23px var(--teaching-edge) 30px;background:linear-gradient(#fff,#f9fcff);scroll-margin-top:20px}
.teaching-page .teaching-heading h2{margin:7px 0 0;color:var(--deep);font:700 clamp(30px,2.8vw,40px)/1.12 var(--serif);letter-spacing:-.025em}
/* Two chronological milestones, with parallel Canadian branches. */
.teaching-page .career-map{position:relative;isolation:isolate;margin-top:24px;padding:24px 0 30px;border-radius:30px;background:radial-gradient(ellipse at 15% 90%,#e8f2fa,transparent 60%),radial-gradient(ellipse at 85% 15%,#f1f7fc,transparent 60%),#fbfdff}
.teaching-page .career-map:before{content:"";position:absolute;z-index:-1;right:18px;bottom:18px;width:160px;height:110px;opacity:.42;background:radial-gradient(#a9c0d9 1px,transparent 1.7px) 0 0/13px 13px;border-radius:0 0 24px 0;pointer-events:none}
.teaching-page .career-transfer{position:absolute;top:24px;left:0;width:100%;height:120px;overflow:visible;pointer-events:none}
.teaching-page .career-route{position:relative;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);list-style:none;padding:0;margin:0}
.teaching-page .career-stage{position:relative;min-width:0;padding:0 25px}
.teaching-page .career-milestone{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.teaching-page .career-date{display:inline-block;padding:5px 17px;border:1px solid #f4d5c4;border-radius:30px;background:#fff3eb;color:#9b390d;font-size:13px;font-weight:700;letter-spacing:.035em;line-height:18px}
.teaching-page .career-milestone-icon{position:relative;display:grid;place-items:center;width:80px;height:80px;margin-top:12px;border:4px solid #fff;border-radius:50%;background:var(--navy);color:#fff;box-shadow:0 0 0 2px #e4ad8d,0 7px 16px #102b4e12}
.teaching-page .career-milestone-icon .teaching-icon{width:40px;height:40px}
.teaching-page .career-milestone h3{max-width:560px;margin:18px 0 6px;color:var(--deep);font:700 clamp(23px,2vw,30px)/1.18 var(--serif);letter-spacing:-.02em}
.teaching-page .career-subtitle{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.teaching-page .career-morocco-evidence{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:20px;margin-top:28px}
.teaching-page .career-morocco-evidence figure{position:relative;margin:0;padding:6px;border:1px solid #d9e6f2;border-radius:22px 22px 12px 12px;background:#fff;box-shadow:0 9px 24px #102b4e0d;transform:rotate(-2deg)}
.teaching-page .career-morocco-evidence img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:right center;border-radius:16px 16px 7px 7px}
.teaching-page .career-morocco-evidence figcaption{padding:8px 3px 5px;text-align:center;color:var(--navy);font:700 14px/1.3 var(--serif)}
.teaching-page .career-facts{list-style:none;margin:0;padding:0;color:var(--muted);font-size:14px;line-height:1.6}
.teaching-page .career-facts li{position:relative;padding-left:16px}
.teaching-page .career-facts li+li{margin-top:10px}
.teaching-page .career-facts li:before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.teaching-page .career-facts strong{color:var(--navy);font-weight:600}
.teaching-page .career-branches{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;list-style:none;padding:64px 0 0;margin:22px 0 0}
.teaching-page .career-branches:before{content:"";position:absolute;top:0;left:calc(50% - 1px);height:22px;width:2px;background:#a8bfd6}
.teaching-page .career-branches:after{content:"";position:absolute;top:20px;left:calc((100% - 24px)/4);right:calc((100% - 24px)/4);height:22px;border:2px solid #a8bfd6;border-bottom:0;border-radius:17px 17px 0 0}
.teaching-page .career-branch{position:relative;min-width:0;padding:24px 22px 25px;border:1px solid #e3edf6;border-radius:26px;background:#fff;box-shadow:0 8px 22px #102b4e09;text-align:center}
.teaching-page .career-branch:before{content:"";position:absolute;z-index:-1;top:-24px;left:calc(50% - 1px);width:2px;height:44px;background:#a8bfd6}
.teaching-page .career-role-icon{position:relative;display:grid;place-items:center;width:64px;height:64px;margin:-48px auto 14px;border:6px solid #fbfdff;border-radius:50%;background:var(--navy);color:#fff}
.teaching-page .career-role-icon .teaching-icon{width:29px;height:29px}
.teaching-page .career-branch-label{display:block;margin-bottom:9px;color:#a83e0c;font-size:10px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
.teaching-page .career-branch h4{margin:0;color:var(--deep);font:700 21px/1.25 var(--serif)}
.teaching-page .career-branch p{margin:13px auto 0;max-width:40ch;color:var(--muted);font-size:14px;line-height:1.65}
@media(max-width:1100px){
  .teaching-page .career-map{padding:22px 18px 26px}
  .teaching-page .career-transfer{display:none}
  .teaching-page .career-route{display:block;padding-left:38px}
  .teaching-page .career-route:before{content:"";position:absolute;top:52px;bottom:0;left:12px;width:2px;background:#a8bfd6}
  .teaching-page .career-stage{padding:0}
  .teaching-page .career-stage:before{content:"";position:absolute;left:-32px;top:50px;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:var(--orange);box-shadow:0 0 0 1px #e4ad8d}
  .teaching-page .career-stage+.career-stage{margin-top:36px}
  .teaching-page .career-milestone{align-items:flex-start;text-align:left}
  .teaching-page .career-milestone-icon{width:62px;height:62px}.teaching-page .career-milestone-icon .teaching-icon{width:31px;height:31px}
  .teaching-page .career-milestone h3{margin-top:14px}
  .teaching-page .career-morocco-evidence{grid-template-columns:minmax(140px,.7fr) minmax(0,1.3fr);max-width:760px;margin-top:22px}
  .teaching-page .career-morocco-evidence figure{transform:none}
  .teaching-page .career-branches{margin-top:22px}
}
@media(min-width:601px) and (max-width:1100px){
  .teaching-page .career-canada .career-milestone{align-items:center;text-align:center}
  .teaching-page .career-canada:after{content:"";position:absolute;z-index:-1;top:72px;left:-25px;right:50%;height:2px;background:#a8bfd6}
}
@media(max-width:600px){
  .teaching-page .career-map{padding:20px 14px 24px;border-radius:20px}
  .teaching-page .career-route{padding-left:27px}
  .teaching-page .career-route:before{left:5px}
  .teaching-page .career-stage:before{left:-28px}
  .teaching-page .career-milestone h3{font-size:25px}
  .teaching-page .career-morocco-evidence{display:flex;flex-direction:column;gap:20px}
  .teaching-page .career-morocco-evidence figure{width:100%;max-width:320px}
  .teaching-page .career-facts{font-size:14px}
  .teaching-page .career-branches{display:block;margin:24px 0 0 6px;padding:0 0 0 20px;border-left:2px solid #a8bfd6}
  .teaching-page .career-branches:after{display:none}
  .teaching-page .career-branches:before{display:block;top:0;left:-29px;width:29px;height:2px}
  .teaching-page .career-branch{text-align:left;padding:20px 17px;border-radius:0 22px 22px 22px}
  .teaching-page .career-branch+.career-branch{margin-top:22px}
  .teaching-page .career-branch:before{left:-22px;top:30px;width:22px;height:2px}
  .teaching-page .career-role-icon{width:50px;height:50px;margin:0 0 12px;border-width:3px}
  .teaching-page .career-role-icon .teaching-icon{width:25px;height:25px}
  .teaching-page .career-branch h4{font-size:21px;overflow-wrap:break-word}
  .teaching-page .career-branch p{max-width:none}
}

.teaching-page .teaching-practice{background:var(--pale)}
.teaching-page .teaching-practice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.teaching-page .teaching-practice-panel{min-width:0;padding:25px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--teaching-shadow)}
.teaching-page .teaching-practice-panel .teaching-heading h2{font-size:31px}
.teaching-page .teaching-practice-panel>p{margin:18px 0 0;color:var(--muted);font-size:14px;line-height:1.7}
.teaching-page .teaching-practice-list{margin-top:21px;display:grid;gap:19px}
.teaching-page .teaching-practice-list>div{display:flex;align-items:flex-start;gap:15px}
.teaching-page .teaching-practice-list .teaching-icon{width:27px;height:27px;color:var(--navy)}
.teaching-page .teaching-practice-list h3{margin:0 0 5px;color:var(--deep);font:700 19px/1.25 var(--serif)}
.teaching-page .teaching-practice-list p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.teaching-page .teaching-collaboration-list{margin:18px 0 0;padding-left:18px;color:var(--muted);font-size:14px;line-height:1.7}
.teaching-page .teaching-collaboration-list li+li{margin-top:10px}.teaching-page .teaching-collaboration-list strong{color:var(--navy)}
.teaching-page .teaching-gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}
.teaching-page .teaching-gallery-heading>p{margin:0;color:var(--muted);font-size:13px}
.teaching-page .teaching-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.teaching-page .teaching-gallery figure{min-width:0;overflow:hidden;margin:0;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:var(--teaching-shadow)}
.teaching-page .teaching-gallery .gallery-trigger{display:block;position:relative;width:100%;padding:0;margin:0;border:0;background:var(--pale);cursor:zoom-in;overflow:hidden}
.teaching-page .teaching-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#eaf0f6}
.teaching-page .teaching-gallery .teaching-photo-05{object-position:right center}
.teaching-page .teaching-gallery .teaching-photo-02{object-position:center 48%}
.teaching-page .teaching-gallery .teaching-photo-01{object-position:center 45%}
.teaching-page .teaching-gallery .teaching-photo-06{object-position:center 45%}
.teaching-page .teaching-gallery .teaching-photo-08{object-fit:contain;object-position:center}
.teaching-page .teaching-gallery figcaption{min-height:77px;padding:14px 16px;color:var(--navy);font:700 17px/1.25 var(--serif)}
.teaching-page .teaching-gallery figcaption:after{content:"";display:block;width:30px;height:3px;border-radius:3px;background:var(--orange);margin-top:10px}
.teaching-page .teaching-expand{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:5px;color:#fff;background:rgba(7,29,62,.88);font:600 11px/1.5 var(--sans)}
.teaching-page .gallery-trigger:hover .teaching-expand{background:var(--navy)}
.teaching-page .gallery-trigger:focus-visible,.teaching-page .button:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}
.teaching-page .lightbox-caption{margin:0;color:#fff;text-align:center;font:400 16px/1.4 var(--serif)}
.teaching-page .lightbox-image{max-height:calc(96dvh - 165px)}
@media(min-width:651px) and (max-width:1100px){
  .teaching-page header{flex-wrap:wrap}.teaching-page nav{width:100%;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}.teaching-page nav a{font-size:12px}
}
@media(max-width:1100px){
  .teaching-page .teaching-banner{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;min-height:0;padding-top:28px;padding-bottom:0}
  .teaching-page .teaching-banner-copy{width:100%;max-width:740px}
  .teaching-page .teaching-banner h1{font-size:clamp(42px,6vw,60px)}
  .teaching-page .teaching-banner-photo{position:relative;z-index:0;inset:auto;grid-row:2;width:calc(100% + 2 * var(--teaching-edge));margin-left:calc(-1 * var(--teaching-edge))}
  .teaching-page .teaching-banner-photo img{height:auto;max-height:400px;object-fit:contain;object-position:center}
  .teaching-page .teaching-banner-photo:after{display:none}
  .teaching-page .teaching-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teaching-page .teaching-focus-grid article{gap:14px;padding:18px}
  .teaching-page .teaching-medallion{width:62px;height:62px}.teaching-page .teaching-medallion .teaching-icon{width:36px;height:36px}
  .teaching-page .teaching-focus-grid h2{font-size:19px}
    }
@media(max-width:900px){
  .teaching-page .teaching-focus-grid{grid-template-columns:1fr;gap:13px}
  .teaching-page .teaching-focus-grid article{gap:18px}
  .teaching-page .teaching-practice-grid{grid-template-columns:minmax(0,1fr)}
  }
@media(max-width:600px){
  .teaching-page .teaching-banner h1{font-size:46px}
  .teaching-page .teaching-banner h2{font-size:19px}
  .teaching-page .teaching-banner-photo img{max-height:none}
  .teaching-page .teaching-content{padding-top:23px;padding-bottom:26px}
  .teaching-page .teaching-gallery{grid-template-columns:minmax(0,1fr);gap:16px}
      .teaching-page .teaching-practice-panel{padding:21px}
  .teaching-page .teaching-practice-panel .teaching-heading h2{font-size:29px}
  .teaching-page .teaching-gallery-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .teaching-page .teaching-gallery figcaption{min-height:0}
  .teaching-page .lightbox-image{max-height:calc(100dvh - 185px)}
}


/* Mobile menu: keep the changing label on one line and easy to tap. */
@media(max-width:700px){header .toggle{min-width:96px;min-height:44px;flex-shrink:0;white-space:nowrap;cursor:pointer}}

/* About Me: scoped portrait, interests and authentic journey photos. */
.about-page .about-hero{max-width:1140px;margin:0 auto;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:clamp(24px,3vw,40px)}
.about-page .about-portrait{width:100%;max-width:400px;margin:0;justify-self:start;overflow:hidden;border-radius:18px;background:var(--pale);box-shadow:0 16px 38px rgba(16,43,78,.12)}
.about-page .about-portrait img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:50% 35%}
.about-page .about-section-inner{max-width:1180px;margin:0 auto}.about-page .section{padding-top:clamp(34px,4.5vw,58px);padding-bottom:clamp(34px,4.5vw,58px)}
.about-page .about-philosophy p{max-width:900px;margin:0;color:var(--muted);font-size:17px;line-height:1.8}.about-page .about-interests{background:var(--pale)}
.about-page .about-interest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.about-page .about-interest-grid article{padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(16,43,78,.04)}
.about-page .about-interest-grid article>span{display:inline-block;margin-bottom:13px;color:var(--orange);font-size:12px;font-weight:700;letter-spacing:.08em}
.about-page .about-interest-grid h3{margin:0 0 10px;font-size:21px;line-height:1.25}.about-page .about-interest-grid p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.about-page .about-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-page .about-gallery figure{min-width:0;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(16,43,78,.06)}
.about-page .about-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}.about-page .about-gallery .about-robotics-photo{object-position:center}
.about-page .about-gallery .gallery-trigger{display:block;width:100%;padding:0;margin:0;border:0;background:var(--pale);cursor:zoom-in}.about-page .about-gallery .gallery-trigger:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}
.about-page .lightbox-caption{margin:0;color:#fff;text-align:center;font:400 16px/1.4 var(--serif)}.about-page .lightbox-image{max-height:calc(96dvh - 165px)}
.about-page .about-gallery figcaption{padding:13px 16px;color:var(--navy);font:700 17px/1.4 var(--serif)}
@media(max-width:1000px){.about-page .about-interest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:651px) and (max-width:1100px){.about-page header{flex-wrap:wrap}.about-page nav{width:100%;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}.about-page nav a{font-size:12px}}
@media(max-width:650px){.about-page .about-hero{grid-template-columns:1fr}.about-page .about-portrait{justify-self:center;max-width:360px}.about-page .about-interest-grid,.about-page .about-gallery{grid-template-columns:1fr}.about-page .about-philosophy p{font-size:16px}.about-page .about-interest-grid article{padding:20px}}
@media(max-width:650px){.about-page .lightbox-image{max-height:calc(100dvh - 185px)}}

/* Home and About: the supplied visual references, using authentic local photos. */
.reference-page{--ref-gutter:clamp(24px,5vw,76px);--ref-shadow:0 8px 28px rgba(16,43,78,.065);background:#fff;color:var(--navy)}
.reference-page .reference-icon{width:24px;height:24px;flex:none;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.reference-page .reference-header{min-height:72px;padding:8px var(--ref-gutter);gap:24px;background:var(--navy);box-shadow:0 2px 12px rgba(16,43,78,.09);position:relative;z-index:5}
.reference-page .reference-header .brand{min-width:0;flex-shrink:0;gap:16px}
.reference-page .reference-header .brand b{font-size:18px;letter-spacing:0}
.reference-page .reference-header .brand small{font-size:12px;margin-top:2px}
.reference-page .reference-header .logo{width:53px;height:51px;border-radius:5px;font-size:30px}
.reference-page .reference-header nav{width:auto;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:clamp(16px,2.4vw,38px)}
.reference-page .reference-header nav a{position:relative;border-bottom:0;padding:16px 0;font-size:13px;line-height:1.3;white-space:nowrap}
.reference-page .reference-header nav a:after{content:"";height:3px;border-radius:3px;position:absolute;bottom:6px;left:0;right:0;background:transparent}
.reference-page .reference-header nav a:hover:after,.reference-page .reference-header nav a[aria-current="page"]:after{background:var(--orange)}
.reference-page .reference-header .toggle{display:none;color:#fff;background:transparent;border:1px solid #ffffff70;border-radius:7px;min-height:44px;padding:8px 12px;font:600 13px var(--sans);white-space:nowrap}
.reference-page .reference-hero{position:relative;isolation:isolate;min-height:500px;padding:48px var(--ref-gutter) 42px;overflow:hidden;background:linear-gradient(105deg,#fff 20%,#fbfdff 58%,#eaf1f7 100%)}
.reference-page .reference-hero:before{content:"";position:absolute;z-index:-1;left:0;top:9px;width:67px;height:190px;background:radial-gradient(circle,#a9c0d9 1.8px,transparent 2.3px) 3px 0/16px 17px;opacity:.8;mask-image:linear-gradient(to right,#000,transparent)}
.reference-page .reference-portrait{position:absolute;z-index:-2;inset:0 0 0 auto;width:53%;height:100%;margin:0;overflow:hidden;background:#edf3f8}
.reference-page .reference-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.reference-page .reference-portrait:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.88) 7%,rgba(255,255,255,.28) 23%,transparent 38%);pointer-events:none}
.reference-page .reference-hero-copy{position:relative;width:54%;max-width:650px;z-index:1}
.reference-page .reference-welcome{display:flex;align-items:center;gap:16px;color:#b6420e;font-size:16px;line-height:1.4}
.reference-page .reference-welcome:before,.reference-page .reference-rule{content:"";display:block;width:43px;height:4px;flex:none;border-radius:3px;background:var(--orange)}
.reference-page .reference-hero h1{margin:14px 0 15px;color:var(--deep);font:700 clamp(64px,6.5vw,96px)/.94 var(--serif);letter-spacing:-.045em}
.reference-page .reference-role{margin:0 0 11px;max-width:670px;color:var(--deep);font-size:18px;line-height:1.45;font-weight:500}
.reference-page .reference-role span{color:var(--navy);padding:0 3px}
.reference-page .reference-intro{max-width:510px;margin:0;color:var(--muted);font-size:17px;line-height:1.55}
.reference-page .reference-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:22px}
.reference-page .reference-button{display:inline-flex;justify-content:center;align-items:center;gap:13px;min-height:48px;padding:12px 20px;border:1px solid var(--orange);border-radius:8px;color:var(--deep);background:var(--orange);font:600 14px/1.35 var(--sans);text-decoration:none;cursor:pointer;transition:box-shadow .18s,background .18s}
.reference-page .reference-button:hover{background:#e95312;box-shadow:0 6px 17px rgba(255,100,28,.18)}
.reference-page .reference-button .reference-icon{width:21px;height:21px}
.reference-page .reference-button-outline{background:rgba(255,255,255,.92);color:var(--navy)}
.reference-page .reference-button-outline:hover{background:#fff5ee}
.reference-page .reference-button:disabled{cursor:default;background:#fff;color:#64758b;border-color:#b6c4d4;box-shadow:none}
.reference-page .reference-button:focus-visible,.reference-page .reference-focus-item:focus-visible,.reference-page .reference-project-card:focus-visible{outline:3px solid #d84b0d;outline-offset:4px}
.reference-page .reference-focus-band{padding:18px 3% 22px;background:linear-gradient(#f2f7fc,#f8fbfe)}
.reference-page .reference-focus-strip{max-width:1450px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:17px 0;border:1px solid #edf3fa;border-radius:12px;background:#fff;box-shadow:var(--ref-shadow)}
.reference-page .reference-focus-item{min-width:0;display:flex;align-items:center;gap:20px;position:relative;padding:0 24px;text-decoration:none}
.reference-page .reference-focus-item+ .reference-focus-item{border-left:1px solid #dce7f2}
.reference-page .reference-medallion{display:grid;place-items:center;flex:0 0 86px;width:86px;height:86px;border-radius:50%;color:#fff;background:radial-gradient(circle at 35% 25%,#183b65,#071f43 80%);box-shadow:inset 0 0 0 1px #d6e6f714}
.reference-page .reference-medallion .reference-icon{width:48px;height:48px;stroke-width:1.7}
.reference-page .reference-focus-item>div{min-width:0;flex:1}
.reference-page .reference-focus-item h2{margin:0 0 5px;font:700 21px/1.18 var(--serif);letter-spacing:-.02em;color:var(--deep)}
.reference-page .reference-focus-item p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.reference-page .reference-circle-arrow{display:grid;place-items:center;flex:none;width:35px;height:35px;border:1px solid #ffe0d0;border-radius:50%;color:#eb5613;background:#fff0e6}
.reference-page .reference-circle-arrow .reference-icon{width:19px;height:19px}
.reference-page .reference-focus-item>.reference-circle-arrow{width:31px;height:31px;margin-left:auto}
.reference-page .reference-section{padding:20px 3% 30px;background:linear-gradient(#fff,#f8fbfe)}
.reference-page .reference-section-heading{max-width:1450px;margin:0 auto 17px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.reference-page .reference-section-heading h2{margin:7px 0 0;color:var(--deep);font:700 clamp(30px,3vw,41px)/1.08 var(--serif);letter-spacing:-.025em}
.reference-page .reference-text-link{display:inline-flex;align-items:center;gap:18px;color:var(--navy);font-size:13px;text-decoration:none}
.reference-page .reference-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.reference-page .reference-project-grid{max-width:1450px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.reference-page .reference-project-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid #e7eff7;border-radius:11px;background:#fff;box-shadow:var(--ref-shadow);text-decoration:none;transition:box-shadow .2s}
.reference-page .reference-project-card:hover{box-shadow:0 12px 30px rgba(16,43,78,.12)}
.reference-page .reference-card-image{height:188px;position:relative;overflow:hidden;background:#eaf1f7}
.reference-page .reference-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.reference-page .reference-image-label{position:absolute;left:14px;top:13px;padding:5px 9px;border-radius:5px;background:rgba(7,29,62,.79);color:#fff;font-size:9px;font-weight:700;letter-spacing:.08em}
.reference-page .reference-project-copy{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex:1;padding:16px 19px 18px}
.reference-page .reference-project-copy>div{min-width:0;flex:1}
.reference-page .reference-project-copy h3{min-height:2.4em;margin:0 0 5px;font:700 20px/1.2 var(--serif);letter-spacing:-.025em;color:var(--deep)}
.reference-page .reference-project-copy p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.reference-page .reference-project-copy>.reference-circle-arrow{margin-top:2px}
.reference-page .reference-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:100px;margin:0;padding:22px var(--ref-gutter);background:var(--navy);color:#fff}
.reference-page .reference-footer .brand b{font-size:15px}.reference-page .reference-footer .brand small{font-size:11px}
.reference-page .reference-footer .logo{width:46px;height:46px;font-size:26px}
.reference-page .reference-footer p{margin:0;color:#e2eaf4;font-size:12px}
.reference-page .reference-footer>a:last-child:not(.brand){color:#fff;font-size:13px;font-weight:600;text-decoration:none}
.reference-page .reference-about-hero h1{margin:13px 0 12px;font-size:clamp(58px,5.6vw,83px)}
.reference-page .reference-about-hero h2{margin:0 0 10px;color:var(--deep);font:500 21px/1.25 var(--sans)}
.reference-page .reference-about-hero .reference-intro{font-size:16px;line-height:1.5;max-width:510px}
.reference-page .reference-about-hero .reference-button{padding-left:16px;padding-right:16px;font-size:13px;gap:9px}
.reference-page .reference-breadcrumb{display:flex;align-items:center;gap:13px;margin:0 0 20px;color:var(--muted);font-size:13px}
.reference-page .reference-breadcrumb a{text-decoration:none}.reference-page .reference-breadcrumb a:hover{text-decoration:underline}
.reference-page .reference-breadcrumb span{font-size:20px;line-height:1}
.reference-page .reference-quote{position:absolute;z-index:1;right:2%;top:50%;transform:translateY(-50%);width:230px;margin:0;padding:19px 23px 24px;border:1px solid #e4ebf1;border-radius:10px;background:rgba(255,255,255,.94);box-shadow:0 10px 32px rgba(16,43,78,.1)}
.reference-page .reference-quote>span{display:block;height:33px;color:var(--orange);font:700 48px/.9 var(--serif)}
.reference-page .reference-quote p{margin:7px 0 17px;color:var(--navy);font:400 18px/1.35 var(--serif)}
.reference-page .reference-quote cite{display:block;padding-top:13px;color:var(--navy);font-size:13px;font-style:italic;position:relative}
.reference-page .reference-quote cite:before{content:"";position:absolute;left:0;top:0;width:36px;height:3px;border-radius:3px;background:var(--orange)}
.reference-page .reference-resume-note{max-width:480px;margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.reference-page .reference-resume-note a{display:inline-flex;align-items:center;gap:4px;color:var(--navy);text-underline-offset:3px}.reference-page .reference-resume-note .reference-icon{width:13px;height:13px}
.reference-page .reference-philosophy{padding-top:28px;padding-bottom:24px}
.reference-page .reference-philosophy-copy{max-width:1250px;margin:0 0 22px;color:var(--muted);font-size:16px;line-height:1.65}
.reference-page .reference-principles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 0;border:1px solid #e8eff7;border-radius:11px;background:#fff;box-shadow:var(--ref-shadow)}
.reference-page .reference-principles article{min-width:0;display:flex;align-items:center;gap:15px;padding:0 22px}
.reference-page .reference-principles article+article{border-left:1px solid #dce7f2}
.reference-page .reference-principles article>span{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:50%;background:var(--navy);color:#fff}
.reference-page .reference-principles .reference-icon{width:31px;height:31px}
.reference-page .reference-principles h3{margin:0;color:var(--deep);font:700 17px/1.25 var(--serif)}
.reference-page .reference-future-interest{margin:17px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.reference-page .reference-future-interest strong{color:var(--navy)}
.reference-page .reference-journey{padding-top:24px}
.reference-page .reference-gallery-hint{display:inline-flex;align-items:center;gap:13px;color:var(--muted);font-size:12px}.reference-page .reference-gallery-hint .reference-icon{color:var(--orange);width:18px;height:18px}
.reference-page .reference-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.reference-page .reference-journey-grid figure{min-width:0;margin:0;border:1px solid #e7eff7;border-radius:11px;overflow:hidden;background:#fff;box-shadow:var(--ref-shadow)}
.reference-page .reference-journey-grid .gallery-trigger{position:relative;display:block;width:100%;margin:0;padding:0;border:0;background:#eaf1f7;overflow:hidden;cursor:zoom-in}
.reference-page .reference-journey-grid img{width:100%;height:auto;aspect-ratio:4/3;display:block;object-fit:cover}
.reference-page .reference-journey-grid figcaption{display:flex;align-items:center;gap:15px;padding:15px 18px;color:var(--deep);font:700 20px/1.25 var(--serif)}
.reference-page .reference-journey-grid figcaption>.reference-icon{width:32px;height:32px;color:var(--navy)}
.reference-page .reference-photo-zoom{position:absolute;right:13px;bottom:12px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;color:#fff;background:rgba(16,43,78,.86);font-size:20px}
.reference-page .reference-journey-grid .gallery-trigger:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}
@media(min-width:901px) and (max-width:1150px){
  .reference-page .reference-header{flex-wrap:wrap;gap:2px}.reference-page .reference-header nav{width:100%;justify-content:space-between;gap:12px}.reference-page .reference-header nav a{font-size:12px}
}
@media(max-width:1100px){
  .reference-page .reference-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:26px;min-height:0;padding:35px var(--ref-gutter)}
  .reference-page .reference-hero-copy,.reference-page .reference-about-hero .reference-hero-copy{width:auto;max-width:none;grid-column:1;grid-row:1}
  .reference-page .reference-portrait,.reference-page .reference-about-hero .reference-portrait{position:relative;inset:auto;grid-column:2;grid-row:1;z-index:0;width:100%;height:100%;min-height:390px;border-radius:12px}
  .reference-page .reference-portrait:after{display:none}.reference-page .reference-portrait img{object-position:50% 25%}
  .reference-page .reference-hero h1{font-size:clamp(54px,7vw,76px)}.reference-page .reference-role{font-size:16px}.reference-page .reference-intro{font-size:16px}
  .reference-page .reference-welcome{font-size:13px;gap:10px}.reference-page .reference-welcome:before{width:26px}
  .reference-page .reference-quote{position:static;transform:none;grid-column:1/-1;width:100%;padding:17px 22px}.reference-page .reference-quote>span{height:24px;font-size:40px}.reference-page .reference-quote p{font-size:18px;margin:6px 0 12px}
  .reference-page .reference-medallion{width:66px;height:66px;flex-basis:66px}.reference-page .reference-medallion .reference-icon{width:38px;height:38px}.reference-page .reference-focus-item{padding:0 16px;gap:13px}
  .reference-page .reference-focus-item h2{font-size:19px}.reference-page .reference-focus-item p{font-size:13px}.reference-page .reference-focus-item>.reference-circle-arrow{display:none}
  .reference-page .reference-principles article{padding:0 14px;gap:10px}.reference-page .reference-principles article>span{width:43px;height:43px}.reference-page .reference-principles h3{font-size:15px}
  .reference-page .reference-card-image{height:170px}.reference-page .reference-project-grid,.reference-page .reference-journey-grid{gap:15px}.reference-page .reference-project-copy{padding:14px;gap:10px}.reference-page .reference-project-copy h3{font-size:18px}
  .reference-page .reference-footer p{max-width:250px}
}
@media(max-width:900px){
  .reference-page .reference-header{flex-wrap:wrap;gap:10px 14px}.reference-page .reference-header .toggle{display:block;margin-left:auto}
  .reference-page .reference-header nav{width:100%;display:none;flex-direction:column;align-items:stretch;gap:0;padding:0 0 6px}.reference-page .reference-header nav.open{display:flex}.reference-page .reference-header nav a{padding:12px 0;font-size:14px}.reference-page .reference-header nav a:after{bottom:3px;width:48px;right:auto}
  .reference-page .reference-focus-item{flex-direction:column;align-items:flex-start;gap:12px}.reference-page .reference-focus-item p{font-size:13px;line-height:1.5}
  .reference-page .reference-principles{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}.reference-page .reference-principles article:nth-child(3){border-left:0}
  .reference-page .reference-project-copy{display:block}.reference-page .reference-project-copy>.reference-circle-arrow{display:none}.reference-page .reference-project-copy h3{font-size:18px;min-height:3.6em}.reference-page .reference-project-copy p{font-size:13px}
  .reference-page .reference-journey-grid figcaption{gap:9px;padding:12px;font-size:17px}.reference-page .reference-journey-grid figcaption>.reference-icon{width:25px;height:25px}
  .reference-page .reference-footer{flex-wrap:wrap}.reference-page .reference-footer p{max-width:none}
}
@media(max-width:640px){
  .reference-page{--ref-gutter:22px}.reference-page .reference-header{padding:10px 18px;gap:10px 12px}.reference-page .reference-header .brand{flex:1;min-width:0;gap:10px}.reference-page .reference-header .brand>span:last-child{min-width:0}.reference-page .reference-header .brand b{font-size:13px;line-height:1.2;overflow-wrap:normal}.reference-page .reference-header .brand small{font-size:10px;line-height:1.4}.reference-page .reference-header .logo{width:42px;height:44px;flex:none;font-size:25px}.reference-page .reference-header .toggle{min-width:94px;padding:8px 9px;font-size:12px}
  .reference-page .reference-hero{grid-template-columns:1fr;gap:25px;padding:31px 22px 26px}.reference-page .reference-hero-copy,.reference-page .reference-about-hero .reference-hero-copy{grid-column:auto;grid-row:auto}
  .reference-page .reference-hero h1{font-size:clamp(58px,16vw,74px);margin-top:16px}.reference-page .reference-about-hero h1{font-size:62px}.reference-page .reference-about-hero h2{font-size:19px}.reference-page .reference-intro{font-size:16px;line-height:1.6}
  .reference-page .reference-role{font-size:16px}.reference-page .reference-role span{padding:0 2px}.reference-page .reference-welcome{font-size:13px}.reference-page .reference-hero:before{width:46px;height:130px;opacity:.5}
  .reference-page .reference-actions{gap:10px;margin-top:19px}.reference-page .reference-button,.reference-page .reference-about-hero .reference-button{min-height:47px;padding:11px 14px;font-size:13px;gap:9px}
  .reference-page .reference-portrait,.reference-page .reference-about-hero .reference-portrait{grid-column:auto;grid-row:auto;min-height:0;height:350px;width:100%;border-radius:12px}.reference-page .reference-portrait img{object-position:50% 24%}
  .reference-page .reference-quote{grid-column:auto;padding:18px 21px}.reference-page .reference-quote p{font-size:19px}
  .reference-page .reference-focus-band{padding:15px 18px 20px}.reference-page .reference-focus-strip{grid-template-columns:1fr;padding:0 18px}.reference-page .reference-focus-item{flex-direction:row;align-items:center;gap:16px;padding:20px 0}.reference-page .reference-focus-item+.reference-focus-item{border-left:0;border-top:1px solid #dce7f2}
  .reference-page .reference-medallion{width:66px;height:66px;flex-basis:66px}.reference-page .reference-focus-item h2{font-size:21px}.reference-page .reference-focus-item p{font-size:14px}
  .reference-page .reference-section{padding:20px 18px 27px}.reference-page .reference-section-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:18px}.reference-page .reference-section-heading h2{font-size:33px;line-height:1.1}.reference-page .reference-text-link{gap:10px;font-size:12px}
  .reference-page .reference-project-grid,.reference-page .reference-journey-grid{grid-template-columns:1fr;gap:18px}.reference-page .reference-card-image{height:auto;aspect-ratio:16/9}.reference-page .reference-project-copy{display:flex;padding:16px 17px}.reference-page .reference-project-copy>.reference-circle-arrow{display:grid}.reference-page .reference-project-copy h3{font-size:21px;min-height:0}.reference-page .reference-project-copy p{font-size:14px;line-height:1.5}
  .reference-page .reference-principles{grid-template-columns:1fr;padding:0 18px;gap:0}.reference-page .reference-principles article{padding:16px 0;gap:15px}.reference-page .reference-principles article+article{border-left:0;border-top:1px solid #dce7f2}.reference-page .reference-principles h3{font-size:19px}.reference-page .reference-principles article>span{width:49px;height:49px}
  .reference-page .reference-philosophy-copy{font-size:15px;line-height:1.7}.reference-page .reference-journey-grid figcaption{font-size:21px;padding:15px 17px}.reference-page .reference-journey-grid figcaption>.reference-icon{width:30px;height:30px}
  .reference-page .reference-footer{align-items:flex-start;flex-direction:column;gap:16px;padding:24px 22px}.reference-page .reference-footer .brand b{font-size:14px}.reference-page .reference-footer p{font-size:12px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){.reference-page .reference-button,.reference-page .reference-project-card{transition:none}}

/* Home banner framing and a shared content edge; About retains its portrait rules. */
.home-page.reference-page{
  --home-content-width:1400px;
  --home-gutter:clamp(24px,3.5vw,56px);
  --home-edge:max(var(--home-gutter),calc((100% - var(--home-content-width))/2));
}
/* Wide desktops follow the reference's fluid margins instead of a fixed cap. */
@media(min-width:1440px){
  .home-page.reference-page{
    --home-content-width:none;
    --home-edge:clamp(35px,2.75vw,50px);
  }
}
.home-page.reference-page .reference-header,
.home-page.reference-page .reference-footer,
.home-page.reference-page .reference-focus-band,
.home-page.reference-page .reference-projects,
.home-page.reference-page .reference-home-hero{
  padding-left:var(--home-edge);
  padding-right:var(--home-edge);
}
.home-page.reference-page .reference-focus-strip,
.home-page.reference-page .reference-section-heading,
.home-page.reference-page .reference-project-grid{max-width:var(--home-content-width)}
.home-page.reference-page .reference-project-grid{gap:20px}
.home-page.reference-page .reference-home-hero{
  display:flex;align-items:center;min-height:460px;
  padding-top:16px;padding-bottom:16px;
}
.home-page.reference-page .reference-home-hero .reference-hero-copy{
  width:46%;max-width:640px;min-width:0;
}
.home-page.reference-page .reference-home-hero .reference-portrait{
  position:absolute;inset:0;z-index:-2;width:100%;height:100%;min-height:0;
  margin:0;border-radius:0;
}
.home-page.reference-page .reference-home-hero .reference-portrait img{
  width:100%;height:100%;object-fit:cover;object-position:right 30%;
}
.home-page.reference-page .reference-home-hero .reference-portrait:after{
  display:block;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 27%,rgba(255,255,255,.72) 40%,transparent 59%);
}
/* Pull back wide desktop framing so the full desk remains visible below the portrait. */
@media(min-width:1380px){
  .home-page.reference-page .reference-home-hero .reference-portrait img{
    object-fit:contain;object-position:right bottom;
  }
}
@media(min-width:1101px){
  .home-page.reference-page .reference-home-hero h1{margin:12px 0}
  .home-page.reference-page .reference-home-hero .reference-actions{margin-top:16px}
  .home-page.reference-page .reference-focus-item{
    display:grid;grid-template-columns:76px minmax(0,1fr) 28px;
    align-items:center;gap:14px;padding:0 20px;
  }
  .home-page.reference-page .reference-medallion{width:76px;height:76px;flex-basis:76px}
  .home-page.reference-page .reference-focus-item>.reference-circle-arrow{width:28px;height:28px;margin-left:0}
}
@media(max-width:1100px){
  .home-page.reference-page .reference-home-hero{
    display:grid;grid-template-columns:minmax(0,1fr);gap:26px;min-height:0;
    padding-top:35px;padding-bottom:28px;
  }
  .home-page.reference-page .reference-home-hero .reference-hero-copy{
    width:100%;max-width:650px;grid-column:auto;grid-row:auto;
  }
  .home-page.reference-page .reference-home-hero .reference-portrait{
    position:relative;inset:auto;grid-column:auto;grid-row:auto;z-index:0;
    width:100%;height:auto;aspect-ratio:2.4;border-radius:12px;
  }
  .home-page.reference-page .reference-home-hero .reference-portrait img{object-position:right center}
  .home-page.reference-page .reference-home-hero .reference-portrait:after{display:none}
}
@media(max-width:640px){
  .home-page.reference-page{--home-gutter:22px}
  .home-page.reference-page .reference-home-hero{padding-top:31px;padding-bottom:26px}
  .home-page.reference-page .reference-home-hero .reference-portrait{aspect-ratio:1.45}
  .home-page.reference-page .reference-project-grid{gap:18px}
}

/* About: integrated photographic hero and one shared, fluid content edge. */
.about-page.reference-page{--about-edge:clamp(22px,2.75vw,50px)}
.about-page.reference-page .reference-header,
.about-page.reference-page .reference-about-hero,
.about-page.reference-page .reference-focus-band,
.about-page.reference-page .reference-section,
.about-page.reference-page .reference-footer{
  padding-left:var(--about-edge);padding-right:var(--about-edge);
}
.about-page.reference-page .reference-focus-strip,
.about-page.reference-page .reference-section-heading{max-width:none}
.about-page.reference-page .reference-about-hero{
  display:flex;align-items:center;min-height:450px;
  padding-top:16px;padding-bottom:16px;
}
.about-page.reference-page .reference-about-hero .reference-hero-copy{
  width:44%;max-width:620px;min-width:0;
}
.about-page.reference-page .reference-about-hero .reference-breadcrumb{margin-bottom:8px}
.about-page.reference-page .reference-about-hero h1{margin-top:8px;margin-bottom:10px}
.about-page.reference-page .reference-about-hero .reference-intro{max-width:none}
.about-page.reference-page .reference-about-hero .reference-actions{margin-top:16px}
.about-page.reference-page .reference-about-hero .reference-portrait{
  position:absolute;inset:0;z-index:-2;width:100%;max-width:none;height:100%;
  min-height:0;margin:0;border-radius:0;box-shadow:none;
  background:#f4f5f3;
}
/* Only the soft filler is cropped; the sharp photograph remains complete. */
.about-page.reference-page .reference-about-hero .reference-portrait:before{
  content:"";position:absolute;inset:-18px;
  background:url("assets/optimized/portrait/about-hero-banner.webp") center/cover no-repeat;
  filter:blur(18px);opacity:.22;pointer-events:none;
}
.about-page.reference-page .reference-about-hero .reference-portrait img{
  position:relative;display:block;width:100%;height:100%;object-fit:contain;
  padding-right:var(--about-edge);object-position:right bottom;
}
.about-page.reference-page .reference-about-hero .reference-portrait:after{
  display:block;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.9) 30%,rgba(255,255,255,.4) 44%,transparent 57%);pointer-events:none;
}
.about-page.reference-page .reference-quote{
  position:absolute;inset:auto var(--about-edge) auto auto;top:50%;transform:translateY(-50%);
  width:20%;max-width:280px;min-width:0;
  margin:0;padding:24px;
}
.about-page.reference-page .reference-quote p{font-size:20px;line-height:1.45}
.about-page.reference-page .reference-philosophy-copy{max-width:80ch;line-height:1.75}
.about-page.reference-page .reference-philosophy{padding-top:32px;padding-bottom:28px}
.about-page.reference-page .reference-journey{padding-top:28px;padding-bottom:36px}
@media(min-width:1201px){
  .about-page.reference-page .reference-focus-item{
    display:grid;grid-template-columns:76px minmax(0,1fr) 28px;
    align-items:center;gap:14px;padding:0 20px;
  }
  .about-page.reference-page .reference-medallion{width:76px;height:76px;flex-basis:76px}
  .about-page.reference-page .reference-focus-item>.reference-circle-arrow{width:28px;height:28px;margin-left:0}
}
@media(max-width:1200px){
  .about-page.reference-page .reference-about-hero{
    display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-height:0;
    padding-top:28px;padding-bottom:28px;
  }
  .about-page.reference-page .reference-about-hero .reference-hero-copy{
    grid-column:1;grid-row:1;width:100%;max-width:680px;
  }
  .about-page.reference-page .reference-about-hero .reference-portrait{
    position:relative;inset:auto;z-index:0;grid-column:1;grid-row:2;
    width:calc(100% + 2 * var(--about-edge));max-width:none;height:auto;
    aspect-ratio:1983/793;margin-left:calc(-1 * var(--about-edge));
  }
  .about-page.reference-page .reference-about-hero .reference-portrait:after{display:none}
  .about-page.reference-page .reference-about-hero .reference-portrait img{padding-right:0;object-position:center bottom}
  .about-page.reference-page .reference-quote{
    position:relative;inset:auto;transform:none;grid-column:1;grid-row:3;width:100%;max-width:none;
    padding:20px 24px;
  }
  .about-page.reference-page .reference-quote p{font-size:19px}
}
@media(max-width:640px){
  .about-page.reference-page .reference-about-hero .reference-portrait{aspect-ratio:1.6}
  .about-page.reference-page .reference-quote{padding:20px}
  .about-page.reference-page .reference-philosophy-copy{font-size:15px}
}

/* Education: editable HTML qualifications, without document scans or downloads. */
.education-page{--ed-edge:clamp(22px,2.75vw,50px);--ed-shadow:0 7px 24px rgba(16,43,78,.055)}
.education-page .reference-header,.education-page .reference-footer{padding-left:var(--ed-edge);padding-right:var(--ed-edge)}
.education-page .reference-footer{margin-top:0}
.education-page .ed-icon{display:block;flex:none;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.education-page .ed-rule{display:block;width:44px;height:4px;border-radius:4px;background:var(--orange)}
.education-page .ed-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:420px;padding:22px var(--ed-edge);overflow:hidden;background:#fff}
.education-page .ed-hero:before{content:"";position:absolute;z-index:-1;top:12px;left:0;width:60px;height:190px;background:radial-gradient(#adc2d8 1.5px,transparent 2px) 3px 0/16px 17px;mask-image:linear-gradient(to right,#000,transparent);opacity:.7}
.education-page .ed-hero-copy{position:relative;z-index:1;width:57%;max-width:800px;min-width:0}
.education-page .ed-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 16px;color:var(--muted);font-size:13px}
.education-page .ed-breadcrumb a{text-decoration:none}.education-page .ed-breadcrumb a:hover{text-decoration:underline}
.education-page .ed-hero h1{margin:12px 0 14px;color:var(--deep);font:700 clamp(40px,3.9vw,60px)/1.04 var(--serif);letter-spacing:-.035em}
.education-page .ed-hero h2{margin:0 0 12px;color:var(--navy);font:500 20px/1.4 var(--sans)}
.education-page .ed-hero-copy>p:not(.ed-breadcrumb){max-width:66ch;margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.education-page .ed-jump-link{display:inline-flex;align-items:center;gap:14px;margin-top:18px;font-size:14px;font-weight:700;text-decoration:none}
.education-page .ed-jump-link span{color:#b6420e;font-size:20px}
.education-page .ed-jump-link:hover{text-decoration:underline;text-underline-offset:4px}
.education-page .ed-jump-link:focus-visible,.education-page .ed-breadcrumb a:focus-visible{outline:3px solid #b6420e;outline-offset:4px}
/* A full-bleed photograph fills the banner; a feathered detail layer preserves the complete workspace. */
.education-page .ed-hero-photo{position:absolute;z-index:-2;inset:0;margin:0;overflow:hidden;background:#fff}
.education-page .ed-hero-photo:before{content:"";position:absolute;inset:-14px;background:url("assets/optimized/education/education-banner.webp") right 55%/cover no-repeat;filter:blur(12px);opacity:.45}
.education-page .ed-hero-photo img{position:absolute;top:0;right:0;display:block;width:auto;max-width:none;height:100%;object-fit:contain;object-position:right center;mask-image:linear-gradient(90deg,transparent,#000 22%)}
.education-page .ed-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 28%,rgba(255,255,255,.9) 43%,rgba(255,255,255,.4) 57%,transparent 70%);pointer-events:none}
@media(max-width:1100px){
  .education-page .ed-hero{display:block;min-height:0;padding-top:28px;padding-bottom:calc(100vw / 2.2 + 24px)}
  .education-page .ed-hero-copy{width:100%;max-width:800px}
  .education-page .ed-hero-photo img{top:auto;bottom:0;width:100%;height:auto;mask-image:linear-gradient(180deg,transparent,#000 25%)}
  .education-page .ed-hero-photo:after{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.98) 45%,rgba(255,255,255,.9) 58%,rgba(255,255,255,.35) 74%,transparent 90%)}
}
.education-page .ed-section{padding:32px var(--ed-edge) 36px;scroll-margin-top:24px}
.education-page .ed-academic,.education-page .ed-alberta,.education-page .ed-current{background:var(--pale)}
.education-page .ed-section-heading{margin-bottom:22px}
.education-page .ed-eyebrow{display:block;color:#b6420e;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1.6}
.education-page .ed-section h2{margin:7px 0 0;color:var(--deep);font:700 clamp(29px,2.7vw,40px)/1.15 var(--serif);letter-spacing:-.025em}
.education-page .ed-section-heading>p{max-width:90ch;margin:12px 0 0;color:var(--muted);font-size:15px;line-height:1.7}
.education-page .ed-section-heading .ed-provider{color:var(--navy);font-size:16px;font-weight:600}
.education-page .ed-grid{display:grid;align-items:stretch;gap:20px}
.education-page .ed-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.education-page .ed-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.education-page .ed-card{min-width:0;padding:22px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--ed-shadow)}
.education-page .ed-qualification{border-top:3px solid #f3b393}
.education-page .ed-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.education-page .ed-medallion{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff}
.education-page .ed-year{color:#b6420e;font:700 24px/1.2 var(--serif)}
.education-page .ed-date{color:var(--muted);font-size:13px}
.education-page .ed-card-label{display:block;margin-bottom:7px;color:#b6420e;font-size:10px;font-weight:700;letter-spacing:.07em;line-height:1.5}
.education-page .ed-card h3{margin:0 0 13px;color:var(--deep);font:700 24px/1.23 var(--serif);letter-spacing:-.012em;overflow-wrap:break-word}
.education-page .ed-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.education-page .ed-card .ed-institution{margin:0 0 13px;color:var(--navy);font-size:13px;font-weight:600;line-height:1.6}
.education-page .ed-card .ed-specialization{margin:-3px 0 13px;color:var(--navy);font-size:12px}
.education-page .ed-certification{display:flex;flex-direction:column;align-items:flex-start}
.education-page .ed-certification .ed-card-top{width:100%;margin-bottom:17px}
.education-page .ed-certificate-action{margin-top:auto;padding-top:18px;max-width:100%}
.education-page .ed-certificate-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;max-width:100%;padding:9px 14px;border:1px solid #efc2aa;border-radius:8px;background:#fff7f2;color:var(--navy);font:700 13px/1.4 var(--sans);text-decoration:none}
.education-page .ed-certificate-link .ed-icon{width:19px;height:19px}
.education-page .ed-certificate-format{color:inherit;font-size:10px;font-weight:600;white-space:nowrap}
.education-page .ed-certificate-link:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.education-page .ed-certificate-link:focus-visible{outline:3px solid #b6420e;outline-offset:3px}
.education-page .ed-card .ed-certification-area{margin:0 0 13px;padding-left:12px;border-left:2px solid #ffc9af;color:var(--navy);font-size:14px;font-weight:600}
.education-page .ed-module{display:flex;align-items:center;gap:17px;min-width:0;padding:21px 23px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--ed-shadow)}
.education-page .ed-module-check{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:50%;background:#eaf1f9;color:var(--navy);font-size:21px}
.education-page .ed-module>div{min-width:0}
.education-page .ed-module h3{margin:0 0 8px;color:var(--deep);font:700 23px/1.25 var(--serif)}
.education-page .ed-module p{margin:0;color:var(--muted);font-size:13px}
.education-page .ed-completed{color:var(--navy);font-size:12px;font-weight:600}
.education-page .ed-context-note{margin:16px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.education-page .ed-workshop{display:flex;flex-direction:column;align-items:flex-start;padding:21px}
.education-page .ed-workshop-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;margin-bottom:15px;border-radius:11px;background:#edf3fa;color:var(--navy)}
.education-page .ed-workshop h3{font-size:22px}
.education-page .ed-workshop>p{margin-bottom:17px}
.education-page .ed-workshop-meta{align-self:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 14px;margin-top:auto;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.6}
.education-page .ed-workshop>.ed-completed{margin-top:10px}
.education-page .ed-course{padding:21px 23px}
.education-page .ed-course-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}
.education-page .ed-course-top .ed-workshop-icon{margin-bottom:0}
.education-page .ed-status{display:inline-flex;padding:5px 12px;border:1px solid #f8d7c4;border-radius:20px;background:#fff4ed;color:#a13b0d;font-size:11px;font-weight:700}
.education-page .ed-course-dates{display:flex;flex-wrap:wrap;gap:10px 30px;margin:16px 0 0;padding-top:13px;border-top:1px solid var(--line)}
.education-page .ed-course-dates dt{margin-bottom:3px;color:var(--muted);font-size:11px}
.education-page .ed-course-dates dd{margin:0;color:var(--navy);font-size:13px;font-weight:600}
.education-page .ed-technical-panel{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;padding:23px;border:1px solid var(--line);border-radius:12px;background:#f8fafd}
.education-page .ed-technical-item{display:flex;align-items:flex-start;gap:16px;min-width:0}
.education-page .ed-technical-item+.ed-technical-item{padding-left:24px;border-left:1px solid #dce7f2}
.education-page .ed-technical-item>.ed-icon{width:26px;height:26px;color:#b6420e}
.education-page .ed-technical-item>div{min-width:0}
.education-page .ed-technical-item h3{margin:0 0 7px;color:var(--deep);font:700 21px/1.25 var(--serif)}
.education-page .ed-technical-item p,.education-page .ed-technical-item ul{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.education-page .ed-technical-item ul{padding-left:18px}
@media(max-width:1000px){
  .education-page .ed-hero h1{font-size:clamp(40px,5.4vw,54px)}
  .education-page .ed-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}
  .education-page .ed-grid-three>.ed-card:last-child{grid-column:1/-1}
  .education-page .ed-card h3{font-size:23px}
  .education-page .ed-workshop h3{font-size:22px}
}
@media(max-width:650px){
  .education-page .ed-hero{padding-top:25px;padding-bottom:calc(100vw * 941 / 1672 + 24px)}
  .education-page .ed-breadcrumb{font-size:12px;gap:6px 9px}
  .education-page .ed-hero h1{font-size:40px;line-height:1.05}
  .education-page .ed-hero h2{font-size:18px}
  .education-page .ed-hero-copy>p:not(.ed-breadcrumb){font-size:15px}
  .education-page .ed-section{padding-top:27px;padding-bottom:29px}
  .education-page .ed-section-heading{margin-bottom:19px}
  .education-page .ed-section h2{font-size:31px}
  .education-page .ed-section-heading>p{font-size:14px}
  .education-page .ed-grid-three,.education-page .ed-grid-two,.education-page .ed-technical-panel{grid-template-columns:minmax(0,1fr);gap:16px}
  .education-page .ed-grid-three>.ed-card:last-child{grid-column:auto}
  .education-page .ed-card,.education-page .ed-workshop,.education-page .ed-course{padding:20px}
  .education-page .ed-card-top{margin-bottom:17px}
  .education-page .ed-card h3{font-size:23px}
  .education-page .ed-module{padding:19px;gap:14px}
  .education-page .ed-module h3{font-size:22px}
  .education-page .ed-technical-panel{padding:20px;gap:20px}
  .education-page .ed-technical-item+.ed-technical-item{padding-left:0;padding-top:20px;border-left:0;border-top:1px solid #dce7f2}
}

/* Seven navigation items: keep desktop links readable and preserve the existing menus. */
@media(min-width:1320px){
  body header #nav{width:auto;flex-wrap:nowrap;gap:clamp(10px,1vw,18px)}
  body header #nav a{font-size:12px}
}
@media(min-width:901px) and (max-width:1319px){
  body header{flex-wrap:wrap}
  body header #nav{width:100%;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}
  body header #nav a{font-size:12px}
}
@media(min-width:651px) and (max-width:900px){
  body header #nav{flex-wrap:wrap;gap:4px 12px}
}

/* Resume & Contact: workspace banner, continuous focus strip and open editorial columns. */
.resume-page{--rc-edge:max(clamp(22px,2.8vw,50px),calc((100% - 1600px)/2));background:#fff}
.resume-page .reference-header,.resume-page .reference-footer{padding-left:var(--rc-edge);padding-right:var(--rc-edge)}
.resume-page .reference-footer{margin-top:0}
.resume-page .rc-icon{display:block;flex:none;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.resume-page .rc-rule{display:block;width:44px;height:4px;border-radius:4px;background:var(--orange)}
.resume-page .rc-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:400px;padding:24px var(--rc-edge);overflow:hidden;background:#f2f6fa}
.resume-page .rc-hero:before{content:"";position:absolute;z-index:0;top:12px;left:0;width:60px;height:190px;background:radial-gradient(#adc2d8 1.5px,transparent 2px) 3px 0/16px 17px;mask-image:linear-gradient(to right,#000,transparent);opacity:.7;pointer-events:none}
.resume-page .rc-banner-photo{position:absolute;z-index:-2;inset:0;margin:0;overflow:hidden;background:#edf3f8}
.resume-page .rc-workspace{position:absolute;right:0;top:50%;transform:translateY(-50%);width:max(900px,66vw);aspect-ratio:1672/941}
.resume-page .rc-workspace>img{display:block;width:100%;height:100%;object-fit:contain}
.resume-page .rc-cv-screen{position:absolute;inset:0;display:block;width:100%;height:100%}
.resume-page .rc-banner-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,.99) 29%,rgba(255,255,255,.86) 39%,rgba(255,255,255,.2) 51%,transparent 60%);pointer-events:none}
.resume-page .rc-hero-copy{position:relative;z-index:1;min-width:0;width:48%;max-width:680px}
.resume-page .rc-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 15px;color:var(--muted);font-size:13px}
.resume-page .rc-breadcrumb a{text-decoration:none}.resume-page .rc-breadcrumb a:hover{text-decoration:underline}
.resume-page .rc-hero h1{margin:12px 0;color:var(--deep);font:700 clamp(46px,4.7vw,70px)/1.04 var(--serif);letter-spacing:-.035em}
.resume-page .rc-hero h2{margin:0 0 12px;color:var(--navy);font:500 23px/1.35 var(--sans)}
.resume-page .rc-hero-copy>p:not(.rc-breadcrumb){max-width:58ch;margin:0;color:var(--muted);font-size:17px;line-height:1.65}
.resume-page .rc-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:21px}
.resume-page .rc-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;max-width:100%;padding:11px 17px;border:1px solid var(--orange);border-radius:8px;font:700 14px/1.4 var(--sans);text-decoration:none}
.resume-page .rc-button .rc-icon{width:22px;height:22px}
.resume-page .rc-button-primary{background:var(--orange);color:var(--deep)}
.resume-page .rc-button-primary:hover{background:#f05a13}
.resume-page .rc-button-outline{background:#fff;color:var(--navy);border-color:#edb89d}
.resume-page .rc-button-outline:hover{background:#fff4ed}
.resume-page .rc-button:focus-visible,.resume-page .rc-text-link:focus-visible,.resume-page .rc-breadcrumb a:focus-visible,.resume-page .rc-contact-details a:focus-visible{outline:3px solid #b6420e;outline-offset:4px}
/* One shared surface with separators, rather than separate feature cards. */
.resume-page .rc-focus{padding:12px var(--rc-edge);background:linear-gradient(#f4f8fc,#f9fbfd)}
.resume-page .rc-focus ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;min-height:108px;list-style:none;margin:0;padding:20px 0;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #102b4e05}
.resume-page .rc-focus li{display:flex;align-items:center;justify-content:center;gap:17px;min-width:0;min-height:64px;padding:0 22px}
.resume-page .rc-focus li+li{border-left:1px solid #dfe8f2}
.resume-page .rc-focus .rc-icon{width:44px;height:44px;color:var(--navy)}
.resume-page .rc-focus h2{max-width:200px;margin:0;color:var(--navy);font:700 20px/1.25 var(--serif)}
/* Natural-height sections; the two columns have no enclosing cards or row spans. */
.resume-page .rc-main-grid{display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);align-items:start;column-gap:38px;padding:28px var(--rc-edge) 36px;background:linear-gradient(#fff,#f9fbfd);scroll-margin-top:24px}
.resume-page .rc-profile-column,.resume-page .rc-contact{min-width:0}
.resume-page .rc-profile-column{padding-right:30px;border-right:1px solid var(--line)}
.resume-page .rc-main-grid h2{margin:10px 0 12px;color:var(--deep);font:700 clamp(29px,2.5vw,36px)/1.15 var(--serif);letter-spacing:-.025em}
.resume-page .rc-resume>p,.resume-page .rc-references>p,.resume-page .rc-contact>p{max-width:62ch;margin:0;color:var(--muted);font-size:15px;line-height:1.65}
.resume-page .rc-heading-with-icon{display:flex;align-items:center;gap:13px;margin:12px 0}
.resume-page .rc-heading-with-icon h2{margin:0}
.resume-page .rc-document-icon{display:grid;place-items:center;flex:none;width:43px;height:48px;border-radius:8px;background:#fff1e9;color:#b6420e}
.resume-page .rc-document-icon .rc-icon{width:29px;height:29px}
.resume-page .rc-resume-links{display:flex;align-items:flex-start;flex-direction:column;gap:13px;margin-top:20px}
.resume-page .rc-text-link{display:inline-flex;align-items:center;gap:9px;max-width:100%;color:var(--navy);font-size:13px;font-weight:600;text-decoration:none;line-height:1.5}
.resume-page .rc-text-link span{color:#b6420e;font-size:18px}
.resume-page .rc-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.resume-page .rc-references{margin-top:29px;padding-top:23px;border-top:1px solid var(--line)}
.resume-page .rc-reference-heading{display:flex;align-items:center;gap:11px;margin-bottom:10px}
.resume-page .rc-reference-heading .rc-icon{width:30px;height:30px;color:var(--navy)}
.resume-page .rc-reference-heading h2{margin:0;font-size:27px}
.resume-page .rc-references>p{font-size:14px}
.resume-page .rc-reference-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:17px}
.resume-page .rc-reference-items article{min-width:0;padding-left:12px;border-left:2px solid #f4b491}
.resume-page .rc-reference-items h3{margin:0 0 5px;color:var(--navy);font:700 18px/1.25 var(--serif)}
.resume-page .rc-reference-items p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.resume-page .rc-contact-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:17px 0 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-style:normal}
.resume-page .rc-detail{display:flex;align-items:center;gap:11px;min-width:0}
.resume-page .rc-detail>.rc-icon{width:22px;height:22px;color:#b6420e}
.resume-page .rc-detail>div{min-width:0}
.resume-page .rc-detail div>span{display:block;margin-bottom:1px;color:var(--muted);font-size:11px}
.resume-page .rc-detail a,.resume-page .rc-detail p{display:block;margin:0;color:var(--navy);font-size:14px;font-weight:500;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.resume-page .rc-detail a{padding:3px 0}
.resume-page .rc-detail a:hover{text-decoration:underline;text-underline-offset:4px}
.resume-page .rc-external{margin-left:5px;color:#b6420e}
.resume-page .rc-contact-form{min-width:0;margin:18px 0 0;padding:0;border:0;background:transparent;scroll-margin-top:24px}
.resume-page .rc-contact-form:focus-visible{outline:3px solid #b6420e;outline-offset:5px}
.resume-page .rc-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.resume-page .rc-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin-bottom:12px}
.resume-page .rc-field label{color:var(--navy);font-size:13px;font-weight:600}
.resume-page .rc-field label span{color:#a73d0d}
.resume-page .rc-field input,.resume-page .rc-field textarea{display:block;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 11px;border:1px solid #8093ad;border-radius:7px;background:#fff;color:var(--navy);font:400 16px/1.5 var(--sans)}
.resume-page .rc-field textarea{height:120px;min-height:110px;resize:vertical}
.resume-page .rc-field input:focus-visible,.resume-page .rc-field textarea:focus-visible{border-color:var(--navy);outline:2px solid var(--navy);outline-offset:2px}
.resume-page .rc-field input:user-invalid,.resume-page .rc-field textarea:user-invalid{border-color:#b6420e}
.resume-page .rc-form-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.resume-page .rc-form-footer>p{margin:0;color:var(--muted);font-size:11px}
.resume-page .rc-send-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;max-width:100%;padding:10px 16px;border:1px solid #efc4ad;border-radius:7px;background:#ffe2d1;color:#773510;font:700 13px/1.4 var(--sans)}
.resume-page .rc-send-button{cursor:pointer}
.resume-page .rc-send-button:disabled{cursor:wait}
.resume-page .rc-send-button .rc-icon{width:19px;height:19px}
.resume-page .rc-form-notice{margin:10px 0 0;padding:0;color:var(--muted);font-size:12px;line-height:1.5}
.resume-page .rc-honeypot{display:none}
.resume-page .rc-field-error{color:#b6420e;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.resume-page .rc-field [aria-invalid="true"]{border-color:#b6420e}
.resume-page .rc-form-feedback{min-height:18px;margin-top:10px}
.resume-page .rc-form-feedback .rc-form-notice{margin:0}
.resume-page .rc-form-feedback .rc-form-error{color:#b6420e}
@media(max-width:1100px){
  .resume-page .rc-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-height:0;padding-top:28px;padding-bottom:0}
  .resume-page .rc-hero-copy{width:100%;max-width:740px}
  .resume-page .rc-hero h1{font-size:clamp(44px,6.5vw,65px)}
  .resume-page .rc-banner-photo{position:relative;inset:auto;grid-row:2;z-index:0;width:calc(100% + 2 * var(--rc-edge));margin-left:calc(-1 * var(--rc-edge))}
  .resume-page .rc-workspace{position:relative;inset:auto;transform:none;width:100%}
  .resume-page .rc-banner-photo:after{display:none}
  .resume-page .rc-focus ul{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 0}
  .resume-page .rc-focus li{justify-content:flex-start;min-height:86px;padding:14px 24px}
  .resume-page .rc-focus li:nth-child(3){border-left:0}
  .resume-page .rc-focus li:nth-child(n+3){border-top:1px solid var(--line)}
  .resume-page .rc-main-grid{grid-template-columns:minmax(0,1fr);row-gap:30px}
  .resume-page .rc-profile-column{padding-right:0;border-right:0}
  .resume-page .rc-contact{padding-top:26px;border-top:1px solid var(--line)}
}
@media(max-width:650px){
  .resume-page .rc-hero{padding-top:25px;gap:22px}
  .resume-page .rc-breadcrumb{font-size:12px}
  .resume-page .rc-hero h1{font-size:44px}
  .resume-page .rc-hero h2{font-size:21px}
  .resume-page .rc-hero-copy>p:not(.rc-breadcrumb){font-size:15px}
  .resume-page .rc-actions .rc-button{width:100%}
  .resume-page .rc-focus{padding-top:18px;padding-bottom:18px}
  .resume-page .rc-focus ul{grid-template-columns:minmax(0,1fr);padding:0}
  .resume-page .rc-focus li{min-height:76px;padding:16px 21px;gap:16px}
  .resume-page .rc-focus li+li{border-left:0;border-top:1px solid var(--line)}
  .resume-page .rc-focus .rc-icon{width:34px;height:34px}
  .resume-page .rc-focus h2{max-width:none;font-size:19px}
  .resume-page .rc-main-grid{padding-top:20px;padding-bottom:28px}
  .resume-page .rc-main-grid h2{font-size:30px}
  .resume-page .rc-resume>p,.resume-page .rc-contact>p{font-size:14px}
  .resume-page .rc-heading-with-icon{gap:10px}
  .resume-page .rc-document-icon{width:35px;height:42px}
  .resume-page .rc-reference-heading{align-items:flex-start}
  .resume-page .rc-reference-heading h2{font-size:26px}
  .resume-page .rc-reference-items{grid-template-columns:minmax(0,1fr);gap:16px}
  .resume-page .rc-resume-links .rc-button{width:100%}
  .resume-page .rc-contact-details{grid-template-columns:minmax(0,1fr);gap:12px}
  .resume-page .rc-form-row{grid-template-columns:minmax(0,1fr);gap:0}
  .resume-page .rc-form-footer{align-items:stretch;flex-direction:column}
  .resume-page .rc-send-button{width:100%}
}

/* Keyboard focus: visible on both light content and navy navigation surfaces. */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b6420e;outline-offset:3px}
header a:focus-visible,header button:focus-visible,footer a:focus-visible{outline-color:#ffb28d}
