/* Decorative arrows retain the surrounding size and color on every platform. */
.icon-arrow{display:inline-block;width:1em;height:1em;vertical-align:-.125em;flex-shrink:0}

/* Shared photographic treatment and aligned restoration covers. */
:root{--photo-radius:14px;--photo-border:rgba(193,159,91,.62)}
/* All rectangular action buttons share the photographic corner treatment. */
.button,.site-header .nav-contact{border-radius:var(--photo-radius)}
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.project-card:nth-child(2){padding-top:0}
.image-frame{border:1px solid var(--photo-border);border-radius:var(--photo-radius);isolation:isolate}
.project-card .image-frame img,.project-card:nth-child(2) .image-frame img{height:auto;aspect-ratio:16/10;width:100%;object-fit:cover}
.project-card .card-meta{min-height:88px;align-items:flex-end}
.craft-photo>img,.journal-card>img,.service-feature>img,.article-cover>img,.photo-open,dialog>img{border:1px solid var(--photo-border);border-radius:var(--photo-radius)}
.craft-photo{border:1px solid var(--photo-border);border-radius:var(--photo-radius);overflow:hidden}
.craft-photo>img{border:0;border-radius:0}
.photo-open img{border-radius:calc(var(--photo-radius) - 1px)}
.photo-open{isolation:isolate}
.image-arrow,.photo-open span{border-radius:7px}
/* A modest display correction preserves the original photo and facial detail. */
img[src*="afinacion-05"]{filter:saturate(.76)}
.craft-photo>img[src*="afinacion-05"]{filter:grayscale(1)}
@media(max-width:800px){
  :root{--photo-radius:12px}
  .project-grid{grid-template-columns:1fr}
  .project-card .image-frame img,.project-card:nth-child(2) .image-frame img{aspect-ratio:16/10}
  .project-card .card-meta{min-height:82px}
}

/* Editorial sections and distinct photographs */
.page-heading>div>p:not(.eyebrow){max-width:660px;font-size:15px}
.craft-photo{margin:0}.school-photo>img{filter:none;aspect-ratio:1.16;object-fit:cover}.school-photo .photo-note{margin:0;max-width:calc(100% - 44px)}
.commitments-section{padding-bottom:100px}.commitments-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.commitments-grid img{width:100%;aspect-ratio:1.5;object-fit:cover;border:1px solid var(--photo-border);border-radius:var(--photo-radius)}.commitments-grid .eyebrow{margin-top:26px;font-size:8px}.commitments-grid h3{font-size:25px;line-height:1.3;margin-top:12px;letter-spacing:-.03em}.commitments-grid p:not(.eyebrow){font-size:12px;line-height:1.9;margin-top:19px}
.profile-heading{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:85px;align-items:center;padding-block:65px}.profile-heading h1{font-size:clamp(42px,5vw,68px)}.profile-photo{margin:0}.profile-photo img{width:100%;height:340px;object-fit:cover;object-position:center 32%;border:1px solid var(--photo-border);border-radius:var(--photo-radius)}.profile-photo figcaption{font-size:9px;color:#aaa99e;margin-top:12px}.profile-heading+.institution-strip{margin-bottom:0}
.service-row.with-photo{grid-template-columns:45px 150px minmax(0,1fr) minmax(0,1fr) 30px;gap:25px}.service-row.with-photo>img{width:150px;height:104px;object-fit:cover;border:1px solid var(--photo-border);border-radius:var(--photo-radius)}
@media(max-width:1100px){.service-row.with-photo{grid-template-columns:26px 120px minmax(0,1fr) minmax(0,1fr) 25px;gap:15px}.service-row.with-photo>img{width:120px;height:95px}.profile-heading{gap:40px}}
@media(max-width:800px){.page-heading>div>p:not(.eyebrow){font-size:13px}.commitments-section{padding-bottom:65px}.commitments-grid{grid-template-columns:1fr;gap:42px}.commitments-grid img{aspect-ratio:1.6}.commitments-grid h3{font-size:27px}.commitments-grid .eyebrow{margin-top:22px}.commitments-grid p:not(.eyebrow){font-size:13px;margin-top:15px}.profile-heading{grid-template-columns:1fr;gap:30px;padding-block:45px}.profile-photo img{height:330px;object-position:center 28%}.profile-heading h1{font-size:44px}.service-row.with-photo{grid-template-columns:80px minmax(0,1fr) 20px;gap:12px}.service-row.with-photo .service-number{display:none}.service-row.with-photo>img{width:80px;height:95px;grid-column:1;grid-row:1/3}.service-row.with-photo h3{grid-column:2;font-size:19px}.service-row.with-photo p{grid-column:2;grid-row:2}.service-row.with-photo .service-arrow{grid-column:3;grid-row:1}}

.training-section{display:block;padding-block:85px 60px}.training-section .school-photo>img{aspect-ratio:24/7;object-fit:cover;filter:none}.training-section .craft-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:85px;row-gap:0;margin-top:40px}.training-section .craft-copy>.eyebrow{grid-column:1/-1}.training-section .craft-copy h2{grid-column:1;grid-row:2/5;margin-top:20px}.training-section .craft-copy>p:not(.eyebrow){grid-column:2;margin-top:20px}.training-section .craft-copy>.text-link{grid-column:2;justify-self:start}.service-feature img[src*="web-921"]{object-fit:contain;background:#eeede9}.hero-photo img[src*="web-964"]{filter:saturate(.6)}
@media(max-width:800px){.training-section{padding-block:60px 45px}.training-section .craft-copy{display:block;margin-top:28px}.training-section .school-photo>img{aspect-ratio:2.3;object-fit:cover}.school-photo .photo-note{position:static;background:#171814;display:block;font-size:7px;max-width:none;padding:10px 12px}.training-section .craft-copy>p:not(.eyebrow){margin-top:20px}}

/* Institutional work grouped into two quiet, responsive cards. */
.institution-strip{margin-bottom:80px;scroll-margin-top:32px}
.institution-section-label{margin-bottom:20px}
.institution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.institution-card{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid #bfa37455;border-radius:12px;background:#171814}
.institution-card>.eyebrow{font-size:9px;line-height:1.7;letter-spacing:.13em}
.institution-period{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.institution-period span{white-space:nowrap}
.institution-period strong{margin-left:5px;font-size:19px;font-weight:500;letter-spacing:.015em}
.institution-card h2{margin-top:18px;font-size:clamp(23px,2.3vw,29px);line-height:1.3;letter-spacing:-.03em;color:#e9e5da}
.institution-main h2 span{display:block}
.institution-main h2 span+span{margin-top:13px;font-size:.85em;line-height:1.45;letter-spacing:-.02em;color:#c8c7bd}
.conservatory-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:20px 0 0;color:#e9e5da}
.conservatory-names li{min-width:0;padding:11px 13px;border:1px solid #bfa37435;border-radius:5px;background:#10111070;font-size:20px;line-height:1.45;letter-spacing:-.025em}
.institution-card>.institution-caption{margin-top:auto;padding-top:23px;font-size:12px;line-height:1.8;color:#aaa99e}
@media(max-width:1000px){.institution-grid{gap:18px}.institution-card{padding:24px}.conservatory-names li{font-size:18px;padding-inline:11px}}
@media(max-width:800px){.institution-strip{margin-bottom:60px}.institution-section-label{margin-bottom:16px;font-size:9px}.institution-grid{grid-template-columns:1fr;gap:16px}.institution-card{padding:23px}.institution-card h2{font-size:25px}.institution-card>.institution-caption{padding-top:20px}.conservatory-names{margin-top:18px;gap:10px}.conservatory-names li{font-size:19px;padding:12px 14px}}
@media(max-width:420px){.institution-card{padding:20px}.institution-card h2{font-size:24px}.institution-card>.eyebrow{font-size:8px;letter-spacing:.11em}.institution-period{gap:3px 11px}.institution-period strong{font-size:18px}.conservatory-names li{font-size:18px;padding:11px 10px}.institution-card>.institution-caption{font-size:11px}}
@media(max-width:360px){.institution-card{padding:18px}.institution-card h2{font-size:22px}.conservatory-names{gap:8px}.conservatory-names li{font-size:16px;padding:10px 9px}}
.profile-education{display:grid;gap:18px;list-style:none;padding:0;margin:28px 0 0}
.profile-education>li{padding-left:16px;border-left:1px solid #ffffff24}
.profile-education .education-title,.profile-education .education-details{display:block}
.profile-education .education-title{font-size:17px;font-weight:400;line-height:1.4;letter-spacing:-.02em;color:#e9e5da}
.profile-education .education-details{margin-top:5px;font-size:12px;line-height:1.7;color:#aaa99e}
.profile-education>li:first-child{border-left-color:#bfa37499}
.profile-education>li:first-child .education-title{font-size:22px;color:#c7ad7e}
@media(max-width:800px){.profile-education{gap:16px;margin-top:25px}.profile-education>li:first-child .education-title{font-size:20px}.profile-education .education-title{font-size:16px}}

/* Touch controls and image framing across phone and tablet */
.text-link{min-height:44px;align-items:center}.site-header nav>a{min-height:44px;display:flex;align-items:center}.menu-toggle{min-width:48px;min-height:48px}.footer-contact a,.footer-bottom a{min-height:44px;display:inline-flex;align-items:center}.contact-form input,.contact-form select,.contact-form textarea{font-size:16px}.contact-form label{font-size:11px}.contact-details>a{min-height:44px}.article-cover img[src*="u1-02"]{width:min(100%,980px);margin-inline:auto;aspect-ratio:auto}.training-section .school-photo>img{aspect-ratio:24/7}dialog{max-height:95svh}dialog>img{max-height:calc(95svh - 160px)}dialog p{overflow-wrap:anywhere}
@media(min-width:701px) and (max-width:1000px){.journal-grid{grid-template-columns:1fr}.journal-card{grid-template-columns:34% 1fr}.journal-card>img{height:220px}.journal-card h3{font-size:26px}}
@media(max-width:800px){.footer-bottom{font-size:11px}.footer-bottom>div{gap:22px}.contact-form label{font-size:12px}}

/* Preserve complete service photographs at every viewport width. */
.service-feature>img.service-photo-full{width:auto;max-width:100%;height:auto;max-height:640px;margin-inline:auto;object-fit:contain}

/* A quiet route back to the service index below the contact action. */
.contact-actions{display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}
.service-return{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 8px;color:#b8b5ab;font-size:12px;line-height:1.5}
.service-return svg{display:block;flex-shrink:0}
.service-return:hover{color:#e9e5da;text-decoration:underline;text-decoration-color:#7a6949;text-underline-offset:5px}

/* Persistent navigation: reserve its opening height to avoid scroll jumps. */
:root{--header-expanded:112px;--header-condensed:72px;--header-current:var(--header-expanded);--header-logo-width:148px;--header-logo-height:96px}
html{scroll-padding-top:calc(var(--header-current) + 20px)}
html.header-compact{--header-current:var(--header-condensed);--header-logo-width:104px;--header-logo-height:66px}
body{padding-top:var(--header-expanded)}
.site-header{position:fixed;inset:0 0 auto;height:var(--header-current);z-index:40;transition:height .22s ease,background-color .22s ease,box-shadow .22s ease,border-color .22s ease}
.site-header .brand,.site-header .brand-image{width:var(--header-logo-width);transition:width .22s ease,height .22s ease}
.site-header .brand-image{height:var(--header-logo-height)}
.header-compact .site-header{border-bottom-color:#bfa37438;box-shadow:0 8px 24px #00000026}
.header-compact .site-header .nav-contact{padding-block:8px}
.reading-layout aside{top:calc(var(--header-current) + 24px)}
@media(max-width:800px){
  :root{--header-expanded:88px;--header-condensed:64px;--header-logo-width:118px;--header-logo-height:77px}
  html.header-compact{--header-logo-width:92px;--header-logo-height:60px}
  .site-header nav{top:100%;max-height:calc(100svh - var(--header-current));overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 26px}
  .site-header nav>a{min-height:48px}
  .reading-layout aside{position:static}
}

/* Keep the brand prominent in the same typeface as the rest of the website. */
.hero .hero-brand{max-width:100%;margin:30px 0 24px;font-family:inherit;font-size:clamp(42px,6.2vw,84px);font-weight:400;line-height:1.12;letter-spacing:-.045em}
.hero-tagline{font-size:clamp(22px,2.5vw,34px);font-weight:300;line-height:1.35;letter-spacing:-.035em;color:#c7ad7e}
.hero .hero-intro{margin-top:22px;max-width:560px}
.hero-actions{margin-top:30px}
@media(max-width:800px){
  .hero .hero-brand{margin:30px 0 22px;font-size:clamp(36px,7vw,56px)}
  .hero-tagline{font-size:clamp(21px,3.6vw,28px);max-width:440px}
  .hero .hero-intro{margin-top:20px}
  .hero-photo img{object-position:35% 65%}
}

/* Home: the auditorium reaches the top; the navigation contracts over the page. */
.home-page{padding-top:0}
.home-page .site-header{background:linear-gradient(180deg,#0b0c0bd9,#0b0c0b66 70%,transparent);border-bottom-color:transparent}
.home-page .site-header nav>a{color:#f1eee7;text-shadow:0 1px 8px #0008}
.home-page .site-header nav>a:hover{color:#d0b581}
.home-page .site-header .nav-contact{border-color:#c7ad7e99;background:#10111030}
/* Render the existing monochrome logo over the photograph without its paper. */
@supports (mask-composite:exclude){
  .home-page .site-header .brand{position:relative}
  .home-page .site-header .brand-image{opacity:0}
  .home-page .site-header .brand:before{content:'';position:absolute;inset:0;background:#f1eee7;mask-image:linear-gradient(#fff,#fff),url('logo.webp');mask-size:100% 100%;mask-position:center;mask-repeat:no-repeat;mask-mode:luminance;mask-composite:exclude}
}
/* Subtle glass on the compact bar; only its background is translucent. */
.header-compact .site-header,.header-compact .home-page .site-header{background:rgba(16,17,16,.94);border-bottom-color:#bfa37438;box-shadow:0 8px 24px #00000026}
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){
  .header-compact .site-header,.header-compact .home-page .site-header{background:rgba(16,17,16,.75);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
}
.site-header.menu-open,.home-page .site-header.menu-open{background:#101110fa;border-bottom-color:#bfa37438;box-shadow:0 8px 24px #00000026}
@media(prefers-reduced-transparency:reduce){
  .header-compact .site-header,.header-compact .home-page .site-header{background:#101110;-webkit-backdrop-filter:none;backdrop-filter:none}
}
.home-page .hero{display:flex;align-items:flex-end;height:100vh;height:100svh;min-height:720px;max-height:1200px}
.home-page .hero-photo{inset:0}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease;pointer-events:none}
.hero-slide.is-active{opacity:1}
.home-page .hero-photo img{width:100%;height:100%;opacity:1;object-fit:cover;object-position:var(--slide-position,50% 65%)}
.home-page .hero:after{background:linear-gradient(90deg,#0b0c0bb8 0%,#0b0c0b75 42%,#0b0c0b0a 80%),linear-gradient(0deg,#0b0c0bdb 0%,#0b0c0b18 55%,#0b0c0b30 100%)}
.home-page .hero-content{padding-top:calc(var(--header-expanded) + 65px);padding-bottom:150px}
.home-page .hero-content>.eyebrow{color:#e2c995}
.home-page .hero .hero-intro{color:#e0ddd5}
.home-page .hero-tagline{color:#d8be8c}
.home-page .hero .button.line{background:#10111060;border-color:#ddd6c677}
.home-page .hero-bottom{bottom:32px;min-height:44px;color:#d0cec6;justify-content:flex-start;gap:42px}
.home-page .hero-bottom>a{display:inline-flex;align-items:center;min-height:44px}
.hero-controls{display:flex;align-items:center;gap:9px;margin-left:auto;border:1px solid #ddd6c655;border-radius:999px;padding:3px 7px;background:#10111066}
.hero-controls[hidden]{display:none}
.hero-dots{display:flex;align-items:center;gap:0}
.hero-controls button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#f1eee7;line-height:1}
.hero-controls button:hover{background:#ffffff12}
.hero-controls button:focus-visible{outline-offset:1px}
.hero-dot:before{content:'';width:6px;height:6px;border:1px solid #e9e5da99;border-radius:50%;background:transparent;transition:background .2s,border-color .2s}
.hero-dot[aria-pressed="true"]:before{background:#d6bd8b;border-color:#d6bd8b}
.hero-controls .hero-toggle{border-left:1px solid #ddd6c633;border-radius:0;padding-left:5px;width:44px}
.hero-toggle svg{width:17px;height:17px}
.hero-toggle .play-icon,.hero-toggle.is-paused .pause-icon{display:none}
.hero-toggle.is-paused .play-icon{display:block}
.hero-toggle[hidden]{display:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){
  .home-page .hero-bottom{gap:24px}
  .home-page .hero-bottom>.hero-location{font-size:8px;letter-spacing:.12em}
}
@media(max-width:800px){
  .home-page .hero{min-height:690px;max-height:1100px}
  .home-page .hero-content{padding-top:calc(var(--header-expanded) + 80px);padding-bottom:155px}
  .home-page .hero-photo img{object-position:var(--slide-mobile-position,40% 65%)}
  .home-page .hero:after{background:linear-gradient(0deg,#0b0c0bea 0%,#0b0c0b9c 27%,#0b0c0b3d 70%,#0b0c0b35 100%),linear-gradient(90deg,#0b0c0b42,transparent 85%)}
  .home-page .hero .hero-brand{font-size:clamp(36px,7vw,56px);margin:24px 0 20px}
  .home-page .hero-bottom{bottom:20px;gap:12px;flex-wrap:wrap}
  .home-page .hero-bottom>.hero-location{display:none}
  .hero-controls{gap:3px;padding:2px 3px}
  .hero-dots{gap:0}
}
@media(max-width:420px){
  .home-page .hero-content{padding-bottom:130px}
  .home-page .hero-bottom{gap:5px;letter-spacing:.12em;font-size:7px}
  .hero-controls{gap:0}
  .hero-controls button{width:38px;min-width:38px}
  .hero-controls .hero-toggle{width:42px}
}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}

/* The 400px logo canvas has 83px of blank space below the lettering. */
.site-header .brand-image,
.home-page .site-header .brand::before {
  transform: translateY(10.375%);
  clip-path: inset(0 0 20% 0);
}
