:root {
  --paper: #f8f8f4;
  --white: #ffffff;
  --ink: #273f55;
  --blue: #2c668f;
  --muted: #596b79;
  --pale-blue: #e8f2f8;
  --yellow: #efc84e;
  --pale-yellow: #fcf5dc;
  --line: #d4dce1;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1,h2,h3,h4,p,figure { margin: 0; }
ul,ol { margin: 0; padding: 0; }
button,a,summary { touch-action: manipulation; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #916e13; outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 99; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #e3edf4; border-bottom: 1px solid #c9d9e4; box-shadow: 0 3px 12px rgb(39 63 85 / 4%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 99px; }
.personal-brand { display: flex; flex-direction: column; flex: none; }
.personal-brand>span { font-size: 26px; font-weight: 650; letter-spacing: -1.2px; line-height: 1.2; }
.personal-brand small { margin-top: 7px; font-size: 9px; font-weight: 600; letter-spacing: 2px; }
.brand-dot { color: #a68c39; }
#navegacion { display: flex; gap: clamp(18px, 2vw, 30px); align-items: center; font-size: 13px; line-height: 1.5; font-weight: 550; }
#navegacion a { padding-block: 12px; }
#navegacion a:nth-child(2) { max-width: none; }
#navegacion a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 7px; }
#navegacion a[aria-current] { text-decoration: underline; text-decoration-color: #a78d3d; text-underline-offset: 8px; text-decoration-thickness: 2px; }
#navegacion .nav-contact { border: 1px solid #9eafbc; padding: 10px 22px; border-radius: 4px; }
#navegacion .nav-contact:hover { background: var(--pale-blue); text-decoration: none; }
.menu-toggle { display: none; }
.eyebrow { font-size: 10px; letter-spacing: 1.6px; font-weight: 650; line-height: 1.65; color: var(--blue); }
h1,h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -1px; line-height: 1.16; }
h1 { font-size: clamp(42px,5vw,66px); }
h2 { font-size: clamp(32px,3.2vw,43px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.35px; line-height: 1.4; }
h4 { font-size: 17px; font-weight: 600; }
p { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 14px 22px; min-height: 50px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background .15s; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #3c5f79; }
.button-yellow { background: var(--yellow); color: #263e53; }
.button-yellow:hover { background: #ebdca9; }
.text-link { display: inline-flex; gap: 18px; align-items: center; font-size: 14px; font-weight: 600; min-height: 44px; border-bottom: 1px solid #99adbb; }
.text-link:hover { border-bottom-color: var(--ink); color: #416c8b; }
.home-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 85px; align-items: center; padding-block: 56px; }
.hero-copy .eyebrow { max-width: 460px; }
.hero-copy h1 { margin-top: 20px; }
.hero-subtitle { font-family: var(--serif); font-size: clamp(25px,2.65vw,35px); line-height: 1.3; margin-top: 14px; color: var(--blue); letter-spacing: -.4px; }
.hero-intro { max-width: 460px; font-size: 15px; margin-top: 22px; }
.hero-tags,.tags { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.hero-tags { margin-top: 21px; }
.hero-tags li,.tags li { font-size: 12px; font-weight: 550; padding: 5px 12px; border: 1px solid #d5dfe7; border-radius: 3px; background: #f3f6f8; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.hero-photo { position: relative; max-width: 345px; justify-self: center; width: 100%; }
.hero-photo::before { border-radius: 45% 45% 20px 20px; content: ''; position: absolute; inset: -16px -22px 28px 28px; background: var(--pale-blue); border-right: 7px solid var(--yellow); z-index: -1; }
.hero-photo img { width: 100%; height: 345px; object-fit: cover; object-position: center 28%; border-radius: 26px 26px 0 0; }
.hero-photo figcaption { display: flex; flex-direction: column; gap: 1px; padding: 15px 21px; background: var(--pale-yellow); border-left: 3px solid var(--yellow); font-size: 13px; }
.hero-photo figcaption strong { font-weight: 600; }
.hero-photo figcaption span { font-size: 12px; color: var(--muted); }
.summary-strip { background: var(--pale-blue); border-block: 1px solid var(--line); }
.summary-strip>.container { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 24px; gap: 35px; }
.summary-strip p { display: flex; align-items: center; gap: 17px; font-size: 12px; }
.summary-strip p+p { border-left: 1px solid #ccd6df; padding-left: 30px; }
.summary-strip strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.section { padding-block: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.section-heading h2,.section>.eyebrow+h2 { margin-top: 8px; }
.section-heading>p { max-width: 370px; font-size: 14px; }
.topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.topic { background: var(--white); padding: 25px 27px 29px; border: 1px solid var(--line); border-radius: 17px 17px 17px 5px; }
.topic-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.topic-top .icon { color: var(--blue); }
.topic-number { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--pale-yellow); font-size: 10px; color: var(--blue); }
.topic h3 { margin-bottom: 7px; }
.topic p { font-size: 14px; max-width: 285px; }
.session-note { display: flex; align-items: center; gap: 24px; border-left: 3px solid var(--yellow); padding: 24px; margin-top: 25px; background: var(--pale-blue); }
.session-note p { flex: 1; font-size: 14px; }
.session-note strong { display: block; color: var(--ink); font-weight: 600; }
.session-note .text-link { flex: none; }
.tinted-section { background: var(--pale-blue); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; gap: 40px; margin-top: 35px; }
.steps li { position: relative; padding-top: 20px; border-top: 1px solid #b5c5d2; }
.steps li>span { display: inline-grid; place-items: center; background: var(--yellow); width: 37px; height: 37px; font-size: 13px; border-radius: 50%; margin-bottom: 18px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { font-size: 14px; max-width: 310px; }
.settings { display: flex; gap: 25px; align-items: center; margin-top: 35px; padding-top: 25px; border-top: 1px solid #c9d5df; font-size: 13px; }
.settings>span { color: var(--muted); }
.settings ul { display: flex; flex-wrap: wrap; list-style: none; gap: 24px; font-weight: 600; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { display: grid; grid-template-columns: 150px 1fr; background: var(--pale-blue); border: 1px solid transparent; border-radius: 20px; overflow: hidden; isolation: isolate; }
.project-card:nth-child(2) { background: var(--pale-yellow); }
.project-card:hover { border-color: #718a9e; }
.project-card-art { display: flex; justify-content: center; align-items: center; padding: 18px; }
.project-card-copy { padding: 28px; }
.project-card-copy .eyebrow { font-size: 9px; letter-spacing: .9px; }
.project-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; font-size: 22px; }
.project-card p:not(.eyebrow) { font-size: 14px; }
.bio-strip { display: grid; grid-template-columns: 1fr 1.1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); padding-block: 35px 65px; }
.bio-strip h2 { font-size: 28px; margin-top: 8px; }
.bio-strip ul { padding-left: 16px; color: var(--muted); font-size: 13px; }
.bio-strip li+li { margin-top: 5px; }
.bio-strip strong { font-weight: 600; color: var(--ink); }
.page-intro { padding-block: 48px 40px; }
.page-intro h1 { margin: 12px 0; font-size: clamp(40px,4.7vw,58px); }
.page-intro>p:not(.eyebrow) { font-size: 16px; max-width: 670px; }
.biography { display: grid; grid-template-columns: 300px 1fr; gap: 70px; padding-block: 10px 30px; align-items: center; }
.biography figure img { width: 100%; height: 350px; object-fit: cover; object-position: center 28%; }
.biography figcaption { background: var(--pale-yellow); padding: 12px 20px; font-size: 13px; }
.qualification-list { margin: 20px 0 25px; }
.qualification-list article { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.qualification-list article:first-child { padding-top: 0; }
.qualification-list h2 { font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
.qualification-list p { margin-top: 6px; font-size: 14px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.three-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.plain-card { padding: 27px; border: 1px solid var(--line); background: white; border-radius: 4px; }
.plain-card h3 { margin-top: 18px; margin-bottom: 8px; }
.plain-card p { font-size: 14px; }
.plain-card .text-link { margin-top: 17px; }
.dogs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dog-profile { border: 1px solid var(--line); border-top: 3px solid #91aabd; border-radius: 5px; background: white; padding: 30px; }
.dog-profile:nth-child(2) { border-top-color: var(--yellow); }
.dog-heading { display: flex; align-items: center; gap: 24px; }
.dog-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; }
.dog-heading h2 { font-size: 38px; margin-top: 4px; }
.dog-description { margin: 24px 0 16px; font-size: 15px; }
.dog-role { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 20px; }
.dog-role small { font-weight: 650; font-size: 9px; letter-spacing: 1.5px; }
.dog-role p { margin-top: 7px; font-size: 14px; }
.care-grid { display: grid; grid-template-columns: 1fr 1fr; list-style: none; gap: 25px; }
.care-grid li { display: flex; gap: 17px; align-items: center; font-size: 15px; }
.care-note { font-size: 14px; margin: 28px 0 12px; }
.project-index { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 27px; border-top: 1px solid var(--line); padding-top: 20px; }
.project-index a { font-size: 13px; padding-block: 6px; border-bottom: 1px solid transparent; }
.project-index a:hover { border-color: var(--blue); }
.project-section { padding-top: 20px; padding-bottom: 65px; }
.project-title { display: flex; align-items: center; gap: 23px; margin-bottom: 32px; }
.project-title h2 { margin-top: 3px; font-size: clamp(37px,4vw,49px); }
.section-number { display: inline-grid; place-items: center; width: 47px; height: 47px; flex: none; border: 1px solid #b6c5cf; font-size: 14px; border-radius: 50%; }
.project-overview { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center; }
.lead { font-size: 21px; line-height: 1.5; color: var(--ink); }
.audience { padding-left: 23px; border-left: 3px solid var(--yellow); }
.audience small { font-size: 10px; letter-spacing: 1.5px; font-weight: 600; }
.audience p { font-size: 14px; margin-top: 6px; }
.subheading { font-size: 17px; margin: 32px 0 20px; }
.area-list { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; border: 1px solid var(--line); background: var(--line); gap: 1px; border-radius: 5px; overflow: hidden; }
.area-list li { display: flex; gap: 17px; background: #fff; padding: 23px; }
.area-list .icon { width: 38px; height: 38px; }
.area-list strong { display: block; font-weight: 600; font-size: 15px; }
.area-list span { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.agreement-panel { margin-block: 28px; padding: 26px; background: var(--pale-blue); border-left: 3px solid #8ba7bb; display: flex; gap: 22px; align-items: center; }
.agreement-panel h3 { font-size: 18px; }
.agreement-panel p { font-size: 14px; margin-top: 7px; }
.intercan-bottom { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 27px; }
.intercan-bottom h3 { font-size: 16px; margin-bottom: 12px; }
.dog-preview { display: flex; align-items: center; }
.dog-preview img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; border: 3px solid var(--paper); }
.dog-preview img+img { margin-left: -9px; margin-right: 20px; }
.detective-section { background: var(--pale-yellow); }
.detective-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 55px; align-items: center; }
.detective-intro .lead { font-size: 24px; max-width: 510px; }
.detective-intro p+p { margin-top: 15px; font-size: 15px; max-width: 590px; }
.detective-intro .tags { margin-top: 21px; }
.detective-intro .tags li { background: #f9f6eb; border-color: #dad0ab; }
.detective-art { justify-self: center; text-align: center; }
.detective-notes { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 35px; }
.detective-notes p { font-size: 13px; }
.detective-notes strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 5px; }
.project-scope { margin: 25px 0; font-size: 12px; max-width: 850px; }
.contact-section { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 90px; padding-block: 60px; }
.contact-section .eyebrow { color: #d7cb99; }
.contact-section h2 { margin: 8px 0 16px; font-size: 45px; }
.contact-section p { color: #d7e0e7; font-size: 14px; max-width: 360px; }
.contact-section .button { margin-top: 26px; }
.contact-details { display: flex; flex-direction: column; justify-content: center; gap: 17px; }
.contact-details>a,.contact-details>div { display: flex; flex-direction: column; border-bottom: 1px solid #526576; padding-bottom: 12px; }
.contact-details small { font-size: 9px; letter-spacing: 1.5px; color: #cfdae2; margin-bottom: 4px; }
.contact-details span { font-size: 16px; overflow-wrap: anywhere; }
.contact-details>a:hover span { text-decoration: underline; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 23px; font-size: 12px; }
.footer-inner>a:first-child { font-weight: 600; }
.footer-inner span { display: block; font-size: 10px; color: var(--muted); font-weight: 400; }
@media(min-width: 1101px) { #navegacion[hidden] { display: flex !important; } }
@media(max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 83px; padding-block: 18px; }
  .menu-toggle { display: flex; align-items: center; gap: 14px; padding: 9px 13px; background: transparent; color: var(--ink); border: 1px solid #aabac7; border-radius: 4px; font-size: 14px; cursor: pointer; }
  #navegacion { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 18px; font-size: 15px; }
  #navegacion a { padding: 13px 0; }
  #navegacion a:nth-child(2) { max-width: none; }
  #navegacion .nav-contact { margin-top: 9px; text-align: center; }
  .home-hero { gap: 45px; }
  .hero-actions { gap: 20px; }
  .hero-photo img { height: 330px; }
  .project-card { grid-template-columns: 115px 1fr; }
  .project-card-copy { padding: 23px; }
  .project-card h3 { font-size: 20px; }
  .biography { gap: 40px; grid-template-columns: 270px 1fr; }
  .summary-strip>.container { gap: 20px; }
  .summary-strip p { gap: 12px; }
  .summary-strip p+p { padding-left: 20px; }
  .bio-strip { grid-template-columns: 1fr 1fr; }
  .bio-strip>.text-link { justify-self: start; }
  .dogs-grid { gap: 18px; }
  .dog-profile { padding: 23px; }
  .dog-heading { gap: 17px; }
  .dog-avatar { width: 88px; height: 88px; }
  .project-overview { gap: 30px; }
  .area-list { grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 760px) {
  html { scroll-padding-top: 100px; }
  .container { width: calc(100% - 40px); }
  .personal-brand>span { font-size: 24px; }
  .home-hero { gap: 25px; padding-block: 35px; grid-template-columns: 1.35fr 1fr; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy .eyebrow { font-size: 9px; }
  .hero-subtitle { font-size: 25px; }
  .hero-intro { font-size: 14px; }
  .hero-photo img { height: 280px; }
  .hero-tags { gap: 6px; }
  .hero-tags li { font-size: 10px; padding: 4px 8px; }
  .summary-strip>.container { grid-template-columns: 1fr; gap: 17px; padding-block: 23px; }
  .summary-strip p+p { border-left: 0; padding-left: 0; }
  .summary-strip p { gap: 17px; }
  .summary-strip strong { font-size: 14px; }
  .section { padding-block: 48px; }
  .section-heading { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 24px; }
  .section-heading>p { max-width: 550px; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .topic { padding: 22px; }
  .topic-top { margin-bottom: 19px; }
  .session-note { flex-wrap: wrap; gap: 16px; padding: 21px; }
  .session-note p { flex-basis: calc(100% - 50px); }
  .session-note .text-link { margin-left: 45px; }
  .steps { gap: 20px; }
  .steps h3 { font-size: 17px; }
  .settings { align-items: start; flex-direction: column; gap: 12px; }
  .settings ul { gap: 12px 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 125px 1fr; }
  .bio-strip { gap: 24px; grid-template-columns: 1fr; padding-block: 30px 45px; }
  .page-intro { padding-block: 35px 28px; }
  .page-intro h1 { font-size: 42px; }
  .biography { gap: 30px; grid-template-columns: 190px 1fr; align-items: start; }
  .biography figure img { height: 255px; }
  .qualification-list h2 { font-size: 19px; }
  .qualification-list article { gap: 14px; }
  .two-columns,.three-columns { gap: 16px; }
  .plain-card { padding: 22px; }
  .three-columns { grid-template-columns: 1fr; }
  .dogs-grid { grid-template-columns: 1fr; }
  .dog-avatar { width: 100px; height: 100px; }
  .dog-description { margin-top: 20px; }
  .dog-role { padding-top: 16px; margin-top: 20px; }
  .care-grid { gap: 24px; }
  .care-grid li { font-size: 14px; align-items: start; gap: 13px; }
  .project-title { gap: 17px; margin-bottom: 25px; flex-wrap: wrap; }
  .project-title h2 { font-size: 40px; }
  .project-title .eyebrow { font-size: 9px; }
  .project-overview { grid-template-columns: 1fr; gap: 22px; }
  .lead { font-size: 20px; }
  .area-list li { padding: 20px; gap: 13px; }
  .agreement-panel { padding: 22px; align-items: start; gap: 17px; }
  .intercan-bottom { flex-direction: column; align-items: start; gap: 23px; }
  .detective-intro { gap: 20px; grid-template-columns: 1.6fr 1fr; }
  .detective-intro .lead { font-size: 22px; }
  .detective-notes { gap: 20px; }
  .contact-grid { gap: 40px; padding-block: 45px; }
  .contact-details span { font-size: 14px; }
}
@media(max-width: 540px) {
  .home-hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-subtitle { font-size: 27px; }
  .hero-intro { max-width: 390px; }
  .hero-actions { margin-top: 24px; gap: 15px 23px; }
  .hero-photo { max-width: none; display: flex; gap: 0; background: var(--pale-yellow); align-items: center; border-radius: 4px; overflow: hidden; }
  .hero-photo::before { display: none; }
  .hero-photo img { width: 115px; height: 135px; object-position: center 30%; border-radius: 0; }
  .hero-photo figcaption { border: none; padding: 17px; }
  .hero-photo figcaption strong { font-size: 14px; }
  .hero-tags li { font-size: 11px; }
  h2 { font-size: 32px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic { position: relative; padding: 20px 20px 20px 67px; }
  .topic-top { margin: 0; }
  .topic-top>.icon { position: absolute; left: 21px; top: 23px; width: 25px; height: 25px; }
  .topic-number { display: none; }
  .topic h3 { font-size: 18px; margin-bottom: 5px; }
  .topic p { max-width: none; font-size: 13px; }
  .steps { grid-template-columns: 1fr; gap: 23px; margin-top: 26px; }
  .steps li { padding-top: 0; padding-left: 58px; border: none; }
  .steps li>span { position: absolute; left: 0; top: 0; }
  .steps p { max-width: none; }
  .project-card { grid-template-columns: 90px 1fr; }
  .project-card-art { padding: 12px; }
  .project-card-copy { padding: 19px; }
  .project-card-copy .eyebrow { font-size: 8px; }
  .project-card h3 { font-size: 20px; }
  .project-card p:not(.eyebrow) { font-size: 13px; }
  .page-intro h1 { font-size: 39px; }
  .page-intro>p:not(.eyebrow) { font-size: 14px; }
  .biography { grid-template-columns: 1fr; padding-top: 0; }
  .biography figure { display: flex; align-items: center; background: var(--pale-yellow); }
  .biography figure img { width: 115px; height: 135px; }
  .biography figcaption { max-width: 160px; }
  .two-columns { grid-template-columns: 1fr; }
  .dog-profile { padding: 22px; }
  .dog-heading { gap: 18px; }
  .dog-avatar { width: 84px; height: 84px; }
  .dog-heading .eyebrow { font-size: 9px; }
  .dog-heading h2 { font-size: 34px; }
  .dog-description { font-size: 14px; }
  .care-grid { grid-template-columns: 1fr; }
  .project-index { gap: 10px 20px; }
  .project-title { gap: 15px; }
  .section-number { width: 36px; height: 36px; font-size: 12px; }
  .project-title>div { flex: 1; }
  .project-title h2 { font-size: 37px; }
  .area-list { grid-template-columns: 1fr; }
  .area-list li { padding: 18px 20px; gap: 18px; }
  .area-list span { margin-top: 3px; }
  .agreement-panel { display: block; }
  .agreement-panel .icon { margin-bottom: 10px; }
  .agreement-panel h3 { font-size: 17px; }
  .agreement-panel p { font-size: 13px; }
  .detective-intro { display: flex; flex-direction: column-reverse; gap: 24px; align-items: start; }
  .detective-art { display: flex; align-items: center; gap: 20px; }
  .detective-intro .lead { font-size: 22px; }
  .detective-intro p+p { font-size: 14px; }
  .detective-notes { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-inner { align-items: start; gap: 15px; }
  .footer-inner>a:last-child { flex: none; font-size: 11px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }

.official-art { background: transparent; }
.official-logo { display: block; position: relative; width: 112px; aspect-ratio: 0.86; overflow: hidden; flex: none; background: transparent; mix-blend-mode: multiply; }
.official-logo img { position: absolute; max-width: none; height: auto; top: 50%; left: 50%; }
.logo-intercan { mix-blend-mode: normal; }
.logo-intercan img { width: 160%; transform: translate(-51%, -52.5%); }
.logo-felipe img { width: 278%; transform: translate(-50%, -52%); }
.project-card-art .official-logo { width: 100%; max-width: 112px; }
.project-title>.official-logo { margin-left: auto; width: 95px; }
.detective-art { padding: 20px 30px; background: transparent; }
.detective-art .official-logo { width: 175px; }
.project-goals { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #dfd7b6; gap: 1px; background: #dfd7b6; border-radius: 4px; overflow: hidden; }
.project-goals article { background: #fcfbf5; padding: 24px; }
.project-goals h4 { margin: 16px 0 8px; font-size: 17px; }
.project-goals p { font-size: 13px; }
@media(max-width: 1100px) { .project-goals { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 760px) {
 .project-title>.official-logo { width: 75px; }
 .detective-art { padding: 17px 20px; }
 .detective-art .official-logo { width: 130px; }
}
@media(max-width: 540px) {
 .project-title>.official-logo { width: 60px; flex: none; }
 .detective-intro { flex-direction: column; }
 .detective-art { align-self: center; padding: 17px 25px; }
 .detective-art .official-logo { width: 150px; }
 .project-goals { grid-template-columns: 1fr; }
 .project-goals article { position: relative; padding: 20px 20px 20px 65px; }
 .project-goals .icon { position: absolute; left: 20px; top: 22px; width: 25px; height: 25px; }
 .project-goals h4 { margin: 0 0 6px; }
}

/* Antonio León's bespoke blue-and-yellow visual family. */
.icon-arrow { width: 25px; height: 25px; flex: none; }
.icon-menu { width: 28px; height: 28px; }
.footer-inner>a:last-child { display: inline-flex; align-items: center; gap: 8px; }
.topic-top .icon { width: 54px; height: 54px; }
.summary-strip .icon, .plain-card>.icon, .qualification-list .icon, .project-goals .icon { width: 44px; height: 44px; }
.hero-copy h1::after { content: ''; display: block; width: 75px; height: 5px; margin-top: 14px; border-radius: 50% 50% 3px 3px; background: var(--yellow); transform: rotate(-3deg); }
.section-heading h2::after, .page-intro h1::after { content: ''; display: block; width: 44px; height: 4px; background: var(--yellow); border-radius: 5px; margin-top: 16px; }
.hero-tags li:nth-child(2) { background: var(--pale-yellow); border-color: #e8d793; }
.hero-tags li:first-child { background: var(--pale-blue); }
.session-note, .agreement-panel { border-radius: 5px 18px 18px 5px; }
.steps li>span { border-radius: 45% 55% 50% 42%; font-weight: 600; }
.dog-profile, .plain-card { border-radius: 18px; }
.dog-profile:first-child { border-top-color: var(--blue); }
.dog-avatar { box-shadow: 0 0 0 5px var(--pale-blue); }
.dog-profile:nth-child(2) .dog-avatar { box-shadow: 0 0 0 5px var(--pale-yellow); }
.section-number { background: var(--pale-blue); border-color: transparent; }
.detective-section .section-number { background: var(--yellow); }
.detective-section { border-radius: 34px 34px 0 0; }
.project-goals { border-radius: 16px; }
.project-index a { border-radius: 25px; padding: 8px 17px; background: var(--pale-blue); }
.project-index a:nth-child(2) { background: var(--pale-yellow); }
.project-card-copy .icon-arrow { width: 25px; height: 25px; }
@media(max-width: 760px) {
 .session-note p { flex-basis: calc(100% - 65px); }
 .session-note .text-link { margin-left: 54px; }
}
@media(max-width: 540px) {
 .topic { padding-left: 83px; }
 .topic-top>.icon { width: 44px; height: 44px; left: 21px; top: 22px; }
 .project-goals article { padding-left: 77px; }
 .project-goals .icon { width: 38px; height: 38px; }
 .hero-photo img { border-radius: 0; }
 .hero-photo { border-radius: 16px; }
 .detective-section { border-radius: 22px 22px 0 0; }
}

/* InterCan identity and photo galleries. */
.site-header { background: var(--ink); color: white; border-bottom-color: #496177; box-shadow: 0 4px 16px rgb(24 43 61 / 9%); }
.personal-brand { flex-direction: row; align-items: center; gap: 13px; }
.personal-brand>span { font-size: inherit; letter-spacing: normal; }
.intercan-mark { display: block; position: relative; overflow: hidden; width: 68px; aspect-ratio: 1.07; flex: none; }
.intercan-mark img { position: absolute; width: 200%; max-width: none; height: auto; left: -57%; top: -15%; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 29px; line-height: 1.15; letter-spacing: -.8px; font-weight: 650; }
.personal-brand small { display: flex; align-items: baseline; gap: 0; margin-top: 7px; font-size: 11px; font-weight: 450; letter-spacing: .2px; white-space: nowrap; color: #e6eef4; }
.personal-brand .brand-dot { color: var(--yellow); font-size: 20px; font-weight: 700; line-height: .4; margin-left: 1px; }
.brand-specialty { margin-left: 12px; font-size: 9px; letter-spacing: 1.3px; }
.site-header #navegacion a:hover { color: var(--yellow); }
.site-header #navegacion a[aria-current] { text-decoration-color: var(--yellow); }
.site-header #navegacion .nav-contact { border-color: #8fa6b8; }
.site-header #navegacion .nav-contact:hover { background: #38556e; }
.site-header .menu-toggle { color: white; border-color: #7892a6; }
.site-header :is(a,button):focus-visible { outline-color: var(--yellow); }
.home-hero { grid-template-columns: 1.15fr 1fr; gap: 64px; padding-block: 54px; }
.hero-copy h1 { font-size: clamp(37px,4vw,53px); margin-top: 14px; }
.hero-subtitle { font-size: clamp(24px,2.3vw,31px); max-width: 540px; }
.hero-intro { max-width: 560px; margin-top: 18px; }
.hero-intro strong { color: var(--ink); font-weight: 600; }
.hero-learning { display: flex; list-style: none; gap: 24px; margin-top: 24px; padding-block: 15px; border-block: 1px solid var(--line); }
.hero-learning li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.hero-learning .icon { width: 34px; height: 34px; }
.photo-gallery { width: 100%; min-width: 0; border-radius: 23px; overflow: hidden; background: white; border: 1px solid var(--line); }
.gallery-stage { position: relative; height: 430px; background: #edf2f5; }
.gallery-slide { width: 100%; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid rgb(255 255 255 / 60%); border-radius: 50%; color: var(--ink); background: var(--yellow); box-shadow: 0 2px 10px rgb(0 0 0 / 13%); cursor: pointer; }
.gallery-button:hover { background: #ffe18a; }
.gallery-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gallery-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gallery-prev { left: 13px; }
.gallery-prev svg { transform: rotate(180deg); }
.gallery-next { right: 13px; }
.photo-gallery figcaption { min-height: 57px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px; font-size: 12px; color: var(--ink); }
.gallery-caption { font-weight: 600; }
.gallery-count { font-size: 11px; white-space: nowrap; color: var(--muted); }
.hero-gallery { max-width: 450px; justify-self: end; box-shadow: 12px 12px 0 var(--pale-yellow); }
.hero-gallery .gallery-stage { height: 500px; }
.hero-gallery figcaption { background: var(--pale-blue); }
.dog-profile .dog-heading { margin-bottom: 22px; }
.dog-profile .dog-heading h2 { font-size: 43px; margin: 0; }
.dog-profile .photo-gallery { border-radius: 16px; }
.dog-profile .photo-gallery figcaption { background: var(--pale-blue); }
.dog-profile:nth-child(2) .photo-gallery figcaption { background: var(--pale-yellow); }
.dog-description { margin: 22px 0 13px; }
.dog-description+.dog-description { margin-top: 0; }
body[data-page="projects"] .page-intro h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -2px; font-size: clamp(44px,6vw,72px); }
#intercan .project-title h2 { font-size: clamp(30px,3.2vw,44px); max-width: 700px; }
.project-title>.intercan-mark { width: 115px; margin-left: auto; }
@media(max-width:1100px) {
 .home-hero { gap: 35px; }
 .hero-gallery .gallery-stage { height: 445px; }
 .hero-learning { gap: 15px; }
 .hero-learning li { gap: 5px; }
 .hero-learning .icon { width: 30px; height: 30px; }
 .gallery-stage { height: 365px; }
}
@media(max-width:760px) {
 .home-hero { grid-template-columns: 1fr; padding-block: 35px; gap: 32px; }
 .hero-gallery { justify-self: center; max-width: 460px; }
 .hero-gallery .gallery-stage { height: 430px; }
 .dogs-grid { grid-template-columns: 1fr; }
 .gallery-stage { height: 430px; }
 .project-title { flex-wrap: wrap; }
 .project-title>.intercan-mark { width: 85px; }
 #intercan .project-title>div { min-width: 0; flex: 1; }
}
@media(max-width:540px) {
 .header-inner { padding-block: 15px; }
 .personal-brand { gap: 8px; }
 .personal-brand .intercan-mark { width: 49px; }
 .brand-copy strong { font-size: 25px; }
 .personal-brand small { font-size: 10px; }
 .brand-specialty { margin-left: 8px; font-size: 8px; letter-spacing: .6px; }
 .menu-toggle { gap: 7px; padding: 8px 9px; font-size: 12px; }
 .menu-toggle .icon { width: 22px; height: 22px; }
 .hero-copy h1 { font-size: 38px; }
 .hero-intro { font-size: 14px; }
 .hero-learning { justify-content: space-between; gap: 8px; }
 .hero-learning li { font-size: 12px; }
 .hero-actions { gap: 16px; }
 .hero-gallery { box-shadow: 7px 7px 0 var(--pale-yellow); }
 .hero-gallery .gallery-stage { height: 390px; }
 .gallery-stage { height: 355px; }
 .gallery-prev { left: 8px; }
 .gallery-next { right: 8px; }
 .photo-gallery figcaption { padding: 12px 14px; }
 .dog-profile { padding: 20px; }
 .dog-profile .dog-heading h2 { font-size: 39px; }
 .dog-description { font-size: 14px; }
 #intercan .project-title { gap: 13px; }
 #intercan .project-title .section-number { display: none; }
 #intercan .project-title h2 { font-size: 30px; }
 .project-title>.intercan-mark { width: 67px; }
}

.project-card-art .intercan-mark { width: 100%; max-width: 100px; }

/* Project names follow the Projects heading at a subordinate size. */
body[data-page="projects"] .project-title h2 {
 font-family: var(--sans); font-weight: 700; color: var(--blue);
 font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -1px; line-height: 1.15;
}
.biography .biography-gallery { display: block; }
.biography-gallery .gallery-stage { height: 400px; }
.biography .biography-gallery .gallery-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.biography .biography-gallery figcaption { max-width: none; }
@media (max-width: 760px) and (min-width: 541px) {
 .biography { grid-template-columns: 250px 1fr; }
 .biography-gallery .gallery-stage { height: 340px; }
}
@media (max-width: 540px) {
 .biography-gallery .gallery-stage { height: 390px; }
}
