@font-face {
  font-family: "Studio Serif";
  src: url("fonts/fraunces-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Studio Serif";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:is(.studio-home,.pw-case-design) {
  --ink: #202b2a;
  --sub: #48534e;
  --paper: #f8f4ea;
  --sheet: #fffdf7;
  --line: #c8c5b7;
  --rust: #ab3929;
  --blue: #184f5a;
  --ochre: #f9bd60;
  --serif: "Studio Serif", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
}
.studio-home .wrap { width: min(90%,79rem); }
body .mast { background: var(--sheet); border-bottom: 1px solid var(--ink); }
body .mast .mast-in { min-height: 4.7rem; }
body .mast .logo img { width: clamp(11rem,16vw,13.6rem); }
.mast nav a:not(.talk):hover { color: var(--rust); text-underline-offset: .38em; }
body .mast nav .talk, body .mast .menu-toggle { border: 1px solid var(--ink); border-radius: 2px; }
body .mast nav .talk { background: var(--ink); padding-inline: 1.2rem; }
body .mast .menu-toggle { background: var(--sheet); }
.studio-home h2, .pw-case-design .inner-page :is(h1,h2) {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.studio-home h2 { font-size: clamp(2.2rem,4.5vw,4.1rem); }
.studio-home .eyebrow, .pw-case-design .kicker, .pw-case-kind {
  font: 600 1rem/1.35 Archivo,Arial,sans-serif;
  color: var(--rust);
  letter-spacing: .005em;
}
.studio-home :is(.primary,.text-link), .page-service .pw-service-action, .page-contact .button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.studio-home .actions .primary, .page-service .pw-service-action, .page-contact .button-dark {
  background: var(--ink); border: 1px solid var(--ink); border-radius: 2px; color: white;
}
.studio-home .actions .primary:hover, .page-service .pw-service-action:hover, .page-contact .button-dark:hover { background: #873425; color: white; }
:is(.studio-home,.pw-case-design) :is(a,button,input,textarea,select,summary):focus-visible {
  outline: 3px solid #de702c;
  outline-offset: 3px;
}
body .foot {
  border-top: .4rem solid #b7442e; background: #202b2a;
  padding: 2rem 0 max(4.7rem,env(safe-area-inset-bottom));
}
.foot .wrap { align-items: baseline; }
.foot strong { font: 600 clamp(1.5rem,2.7vw,2.6rem)/1.15 var(--serif); }
.foot .wrap > p { color: #d5d4c8; }
.foot nav { gap: .25rem 1.1rem; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff8e8; }

/* One continuous illustrated spread. The right-hand plate extends below the paper. */
.studio-home .feature-hero {
  --reach: clamp(.9rem,1.5vw,1.5rem);
  position: relative; isolation: isolate; overflow: visible;
  background: #efe2c7;
  background-image: radial-gradient(#a397731e .7px,transparent .85px);
  background-size: 4px 4px;
  border-bottom: 2px solid var(--ink); box-shadow: none;
}
.arcade-plate {
  position: absolute;
  z-index: -1;
  inset: 0 0 calc(-1 * var(--reach)) auto;
  width: 57%;
  background: #262d28;
  clip-path: polygon(8% 0,100% 0,100% 100%,0 94%,3% 61%,2% 58%);
}
.arcade-plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; }
.studio-home .hero-layout {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr);
  align-items: center; gap: clamp(2.5rem,8vw,8rem); min-height: clamp(29rem,39vw,39rem);
}
.feature-hero .intro-text { padding-block: clamp(2.5rem,5.5vw,5.4rem); }
.studio-home .feature-hero .eyebrow {
  display: flex; align-items: center; gap: .65rem; color: #713829;
}
.feature-hero .eyebrow::before { content: ""; flex: 0 0 1.5rem; height: 3px; background: currentColor; }
.studio-home .feature-hero h1 {
  margin: .22em 0 .27em; max-width: none;
  font: 700 clamp(3rem,5.48vw,5.65rem)/.98 Archivo,Arial,sans-serif;
  letter-spacing: -.072em; color: #172a2a; text-wrap: initial;
}
.studio-home .feature-hero h1 em {
  display: block; margin: .01em 0 0; color: var(--rust);
  font: italic 400 1.03em/1 var(--serif); letter-spacing: -.064em;
}
.studio-home .feature-hero .lead { font-size: clamp(1.07rem,1.43vw,1.32rem); line-height: 1.51; max-width: 41ch; color: #313d35; }
.studio-home .feature-hero .actions { gap: .55rem 1.2rem; margin-top: 1.55rem; }
.feature-hero .actions a { gap: .5rem; }
.studio-home .feature-hero .actions .primary { padding: .75rem 1rem; }
.studio-home .feature-hero .text-link { color: var(--ink); text-decoration: underline; }
.arcade-caption {
  position: relative; align-self: end; justify-self: end;
  min-width: min(100%,18rem); max-width: 100%;
  margin-bottom: calc(-1 * var(--reach) - .25rem);
  padding: .85rem 1rem .75rem;
  background: var(--ink); color: #fff7dd;
  box-shadow: .35rem .35rem 0 #cf7550;
}
.arcade-caption > div:first-child { display: grid; gap: .15rem; }
.arcade-caption > div > span { color: #eac597; font: 600 .9rem/1.25 Archivo,Arial,sans-serif; }
.arcade-caption strong { font: 600 clamp(1.45rem,2.5vw,2.2rem)/1.08 var(--serif); letter-spacing: -.04em; }
.arcade-links { margin-top: .4rem; display: flex; gap: .2rem .9rem; flex-wrap: wrap; }
.arcade-links a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; color: #fff5dd; font: 600 1rem/1.25 Archivo,Arial,sans-serif; }
.arcade-links .watch-game { color: #ffce74; }
.studio-film { width: min(94vw,61rem); max-width: 100%; max-height: 90dvh; padding: .85rem; color: #fff7e4; background: #1c2827; border: 1px solid #b3b3a3; }
.studio-film:not([open]) { display: none; }
.studio-film::backdrop { background: #151d1be8; }
.studio-film header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.studio-home .studio-film h2 { margin: 0; font-size: 1.5rem; }
.studio-film button { min-width: 48px; min-height: 48px; background: var(--sheet); border: 0; font-size: 1.6rem; cursor: pointer; }
.studio-film video { width: 100%; max-height: 65dvh; display: block; aspect-ratio: 16/9; background: #111; }
.studio-film > a { color: #ffce74; display: inline-flex; align-items: center; padding-inline: .3rem; min-height: 48px; }

/* Service groups form a printed catalogue, with each example beside its services. */
.studio-home .block { padding-block: clamp(3.25rem,6vw,6rem); }
.studio-home #servicios { padding-top: clamp(4.1rem,7.4vw,7.4rem); }
.studio-home #servicios .cards { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 1.85rem; border-bottom: 2px solid var(--ink); }
.studio-home #servicios .service {
  --group: var(--rust);
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr) minmax(0,1.13fr);
  grid-template-rows: auto; grid-row: auto; align-items: center; column-gap: clamp(1.35rem,3.2vw,3.6rem);
  padding: clamp(1.35rem,2.45vw,2.3rem) 0; border: 0; border-top: 1px solid #777e71;
  border-radius: 0; overflow: visible; background: transparent;
}
.studio-home #servicios .service:first-child { border-top: 2px solid var(--ink); }
.studio-home #servicios #visibilidad { --group: #92611a; }
.studio-home #servicios #herramientas { --group: #286871; }
.studio-home .service-copy { align-self: start; }
.studio-home .service-copy h3 { margin: 0; color: var(--ink); font: 600 clamp(1.65rem,2.6vw,2.6rem)/1.08 var(--serif); letter-spacing: -.044em; }
.studio-home .service-copy p { margin: .7rem 0 0; font-size: 1.03rem; }
.studio-home #servicios .service-example { display: grid; align-self: start; gap: .75rem; padding: 0; margin: 0; border: 0; background: transparent; }
.studio-home #servicios .service-example > img { width: 100%; aspect-ratio: 2.45; border-radius: 0; outline: 1px solid #242f292b; outline-offset: -1px; }
.studio-home #presentar .service-example > img { object-fit: contain; background: #d8b98b; }
.studio-home #servicios .service-example > span { padding: 0; }
.studio-home .service-example strong { color: var(--group); text-underline-offset: .21em; }
.studio-home #servicios .service ul { align-self: center; margin: 0; }
.studio-home .service li { border-color: #c5c4b4; }
.studio-home .service li a { display: flex; justify-content: space-between; text-decoration: none; }
.studio-home .service li a::after { content: "↗" / ""; color: var(--group); }
.studio-home .work {
  background: #1e2e2e;
  background-image: radial-gradient(ellipse at 95% 3%,#34403a,transparent 37%);
  color: #fff7df;
}
.studio-home .work > .wrap > .eyebrow { color: #f2c77e; }
.studio-home .work h2 { max-width: 22ch; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: 1.35rem; }
.portfolio-filters[hidden], .studio-home .project[hidden] { display: none; }
.portfolio-filters button { min-height: 46px; padding: .4rem .9rem; border: 1px solid #89948d; border-radius: 2px; color: #fff7e5; background: transparent; cursor: pointer; font: 600 1rem/1.3 Archivo,Arial,sans-serif; }
.portfolio-filters button[aria-pressed=true] { color: #232922; background: var(--ochre); border-color: var(--ochre); }
.studio-home .work .cards { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(1.3rem,3vw,2.75rem); margin-top: 1.8rem; }
.studio-home .project { grid-column: span 6; border: 0; border-radius: 0; background: transparent; color: #fff6e4; }
@media (min-width: 47.001rem) {
  .studio-home .work .cards:not(:has(article[hidden])) .project:nth-child(4n+1),
  .studio-home .work .cards:not(:has(article[hidden])) .project:nth-child(4n) { grid-column: span 7; }
  .studio-home .work .cards:not(:has(article[hidden])) .project:nth-child(4n+2),
  .studio-home .work .cards:not(:has(article[hidden])) .project:nth-child(4n+3) { grid-column: span 5; }
}
.studio-home .project > img, .studio-home .project > figure { width: 100%; height: clamp(12rem,20vw,18rem); aspect-ratio: auto; object-fit: cover; border: 1px solid #7e897e; }
.studio-home .project > .mascot-image { object-fit: contain; }
.studio-home .project > div:not(.stunit) { padding: 1rem 0 .6rem; border-bottom: 1px solid #6b7870; }
.studio-home .project h3 { font: 600 clamp(1.55rem,2.6vw,2.55rem)/1.1 var(--serif); letter-spacing: -.037em; }
.studio-home .project p { max-width: 52ch; color: #dde1d4; margin: .6rem 0; }
.studio-home .project a { min-height: 48px; color: #ffd394; }
.studio-home .process-band { background: #e5e9dc; border-block: 1px solid #bcc1b1; }
.studio-home .work-steps article { border-top: 3px solid #3e6459; padding-top: .9rem; }
.studio-home .spread { background: #efdbbf; border: 1px solid #bd9678; border-radius: 0; }
.studio-home .cover { border-radius: 0; background: repeating-linear-gradient(-30deg,#dbae89 0 1px,transparent 1px 8px); }
.studio-home .cover img { transform: rotate(-5deg); box-shadow: 4px 4px #f9f3e4,6px 6px #514333,13px 17px 18px #523c302e; }
.studio-home #preguntas { align-items: start; }
.studio-home summary, .page-service summary { font-size: 1.1rem; line-height: 1.4; }
.studio-home .closing { background: #993c2d; color: #fff6e0; border: 0; }
.studio-home .closing h2 { color: #fff6e0; }
.studio-home .closing .primary { background: #fff2d3; color: #332e26; border-radius: 2px; }
.studio-home .closing .primary:hover { color: #172a2a; background: white; }

/* Studio interiors use a common trim, with a distinct ink for each service family. */
.studio-trail { color: #526158; font: 400 1rem/1.4 Archivo,Arial,sans-serif; margin: 0 0 1.2rem; }
.inner-page .studio-trail ol { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: .12rem .6rem; padding: 0; margin: 0; }
.inner-page .studio-trail li { margin: 0; max-width: 100%; }
.studio-trail li + li::before { content: "/" / ""; margin-right: .6rem; color: #8d9385; }
.studio-trail a, .story-contents a { display: inline-flex; align-items: center; min-height: 44px; }
.studio-trail a { color: var(--blue); }
.page-service .inner-page { width: min(90%,76rem); }
.page-service .inner-page .pw-service-hero {
  --family: #e7af72; --family-ink: #783e32;
  position: relative; isolation: isolate;
  padding: clamp(1.35rem,4vw,3.65rem);
  background: var(--sheet); border: 1px solid var(--ink); border-radius: 0;
  box-shadow: 5px 5px 0 #c8c2ae;
}
.page-service .pw-service-hero[data-family=reach] { --family: #e8bb56; --family-ink: #785022; }
.page-service .pw-service-hero[data-family=tools] { --family: #91bec1; --family-ink: #205c67; }
.pw-service-hero::before {
  content: ""; z-index: -1; position: absolute; inset: 0 0 0 62%;
  background-color: var(--family);
  background-image: repeating-radial-gradient(ellipse at 110% 5%,transparent 0 15px,var(--family-ink) 16px 17px,transparent 18px 29px);
  clip-path: polygon(18% 0,100% 0,100% 100%,0 100%);
}
.pw-service-hero[data-family=reach]::before { background-image: repeating-conic-gradient(from 37deg at 80% 120%, transparent 0 6deg,var(--family-ink) 6deg 6.6deg,transparent 6.6deg 13deg); }
.pw-service-hero[data-family=tools]::before { background-image: repeating-linear-gradient(35deg,transparent 0 19px,var(--family-ink) 19px 20px),repeating-linear-gradient(-35deg,transparent 0 19px,var(--family-ink) 19px 20px); }
.page-service .pw-service-hero-inner:has(>.service-estimate) { align-items: center; gap: clamp(1.5rem,5vw,5rem); }
.page-service .inner-page .pw-service-hero-copy h1 { font-size: clamp(2.3rem,4.8vw,4.8rem); max-width: 18ch; }
.page-service .service-estimate { background: #233330; color: #fffae7; border: 1px solid #16241f; border-radius: 0; box-shadow: 4px 5px 0 var(--family-ink); }
.page-service .estimate-terms { color: #e3dbbf; }
.page-service .estimate-price { font: 600 clamp(1.95rem,3.7vw,3.2rem)/1.05 var(--serif); }
.page-service .estimate-scope { border-color: #89988a; }
.page-service .service-estimate a { color: #ffcf81; }
.page-service .page-side { border-color: #bc7051; }
.studio-example { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; padding: .75rem; margin-top: 1rem; border: 1px solid var(--line); color: #18494b; background: var(--sheet); text-decoration: none; }
.studio-example img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.studio-example span { flex: 1; min-width: 0; }
.studio-example :is(small,strong) { display: block; }
.studio-example i { font-style: normal; }
.page-service .inner-page .pw-case-callout { padding: clamp(1.1rem,3vw,2.5rem); border: 0; border-left: 3px solid #b85939; background: #efe3d1; }
.page-service .inner-page .pw-service-contact { background: #263b39; color: #fff4db; border: 0; }
.pw-service-contact a { color: #1c3431; background: #ffcf81; }
.studio-story { width: min(91%,77rem); }
.studio-story .pw-case-hero {
  margin: 0 0 2rem; padding: clamp(1.3rem,3.6vw,3.5rem);
  border: 1px solid #1b302e; background: #223735; color: #fff8e6;
}
.studio-story .pw-case-kind { color: #ffce80; }
.studio-story .pw-case-lead { color: #e4e9dd; }
.studio-story .pw-case-hero figure { margin: 0; border: 0; box-shadow: 5px 6px #c5a46a; background: #f6f1e5; }
.studio-story .pw-case-hero figure img { width: 100%; height: auto; }
.studio-story .pw-case-hero figcaption { color: var(--sub); }
.story-layout { display: grid; grid-template-columns: minmax(11rem,.48fr) minmax(0,1.55fr); align-items: start; gap: clamp(1.5rem,5vw,5rem); margin-block: 2.2rem; }
.studio-story .story-contents { position: sticky; top: 1rem; max-height: 76vh; overflow-y: auto; margin: 0; background: #ece5d4; border: 0; border-top: 3px solid var(--rust); padding: .35rem .85rem; }
.story-contents summary { min-height: 48px; padding: .6rem 0; font-weight: 600; }
.story-contents ul { margin: 0; padding-left: 1.15rem; }
.story-contents a { line-height: 1.35; padding-block: .3rem; }
.story-reading { min-width: 0; }
.studio-story .story-reading .pw-seo-block { margin-inline: 0; }
.studio-story .story-reading :is(.story-visit,.pw-case-features) { margin-inline: 0; }
.studio-story .story-reading h2 { margin-top: 0; }
.studio-story .story-reading :is(figure,img) { max-width: 100%; }
.studio-story .story-reading figure:has(img) { margin: 1.5rem 0; }
.studio-story :is(.story-nav,.story-visit,.pw-case-related,.pw-case-outcome) a { border-radius: 2px; }
.page-contact .inner-page { width: min(91%,76rem); padding-inline: 0; }
.page-contact .inner-page .page-hero {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: clamp(1.3rem,5vw,5rem);
  padding: clamp(1.3rem,4.3vw,4.3rem); border: 1px solid var(--ink);
  background: linear-gradient(107deg,#f5e3c3 0 66%,#df9b66 66% 100%);
}
.page-contact .inner-page h1 { margin: .24em 0; font-size: clamp(2.4rem,5vw,5.1rem); }
.page-contact .page-hero h1 em { display: block; color: var(--rust); font-style: italic; font-weight: 400; }
.page-contact .inner-page .direct-contact { padding: clamp(1rem,2.5vw,2rem); color: #fff8e6; background: #233b38; box-shadow: 5px 5px 0 #ad754b; }
.page-contact .direct-contact h2 { color: #fff8e6; font-size: clamp(1.5rem,2.5vw,2.15rem); margin: 0 0 .8rem; }
.page-contact .direct-contact a { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: .65rem 0; border-top: 1px solid #75887b; color: #ffdc9d; text-decoration: none; overflow-wrap: anywhere; }
.page-contact .direct-contact small { color: #e3e6d9; }
.page-contact .direct-contact a:hover { text-decoration: underline; }
.page-contact .inner-page .page-body { display: block; }
.page-contact #formulario { width: min(100%,52rem); margin-inline: auto; padding: clamp(1.15rem,3.8vw,3rem); border: 1px solid var(--line); border-top: 4px solid var(--rust); background: var(--sheet); }
.page-contact #formulario h2 { margin-top: 0; }
.page-contact .contact-form { max-width: none; }
.page-contact .contact-form :is(input:not([type=checkbox]),textarea,select) { border: 1px solid #889185; border-radius: 2px; }
.page-legal .inner-page .page-hero, .studio-error .container { border-bottom: 3px double var(--rust); padding-block: 1.3rem; }
.page-legal .page-content { max-width: 70ch; }
.studio-error .code { color: var(--rust); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) and (hover:hover) {
  .studio-home .project img, .studio-home .service-example img, .studio-home .spread .cover img { transition: transform .22s ease-out; }
  .studio-home .project:hover > img, .studio-home .service-example:hover img { transform: translateY(-3px); }
  .studio-home .spread:hover .cover img { transform: rotate(-2deg); }
}
@media (max-width: 62rem) {
  .studio-home .hero-layout { gap: 1rem; grid-template-columns: minmax(0,.93fr) minmax(0,1fr); }
  .studio-home .feature-hero h1 { font-size: clamp(2.55rem,5.3vw,4rem); }
  .studio-home #servicios .service { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 1.1rem 1.8rem; }
  .studio-home #servicios .service-copy { grid-column: 1; grid-row: 1; }
  .studio-home #servicios .service-example { grid-column: 1; grid-row: 2; }
  .studio-home #servicios .service ul { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 48rem) {
  .story-layout, .page-contact .inner-page .page-hero { grid-template-columns: minmax(0,1fr); }
  .studio-story .story-contents { position: static; max-height: none; }
  .studio-story .pw-case-hero { padding: 1.25rem; }
  .pw-service-hero::before { inset: 52% 0 0; clip-path: polygon(0 17%,100% 0,100% 100%,0 100%); }
  .page-service .inner-page .pw-service-hero { padding: 1.25rem; }
  .studio-trail li:last-child { display: none; }
  .studio-home .foot .wrap, .pw-case-design .foot .wrap { align-items: start; flex-direction: column; gap: .4rem; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 47rem) {
  .studio-home .wrap { width: calc(100% - 2rem); }
  .studio-home .feature-hero { display: flex; flex-direction: column; --reach: .9rem; }
  .studio-home .hero-layout { display: contents; }
  .feature-hero .intro-text { order: 0; padding: 1.75rem 1rem .8rem; }
  .studio-home .feature-hero h1 { font-size: clamp(2.35rem,9.6vw,3.65rem); }
  .studio-home .feature-hero .lead { font-size: 1rem; }
  .studio-home .feature-hero .actions { margin-top: .9rem; gap: .4rem .95rem; }
  .studio-home .feature-hero .actions a { font-size: 1rem; gap: .35rem; }
  .studio-home .feature-hero .actions .primary { padding-inline: .73rem; }
  .arcade-plate { position: relative; z-index: 0; inset: auto; order: 1; display: block; width: 100%; height: clamp(12rem,55vw,19rem); clip-path: polygon(0 7%,44% 2%,46% 3%,100% 0,100% 100%,0 100%); }
  .arcade-plate img { object-position: 50% 47%; }
  .arcade-caption { order: 2; z-index: 1; align-self: flex-end; margin: -1.55rem 1.2rem calc(-1 * var(--reach)); padding: .55rem .75rem .15rem; min-width: 0; }
  .arcade-caption strong { font-size: 1.4rem; }
  .arcade-links { margin-top: 0; }
  .studio-home #servicios { padding-top: 3.5rem; }
  .studio-home .work .cards { grid-template-columns: minmax(0,1fr); }
  .studio-home .work .cards .project:nth-child(n) { grid-column: 1; }
  .studio-home .project > img, .studio-home .project > figure { height: auto; aspect-ratio: 16/9; }
  .portfolio-filters button { min-height: 48px; }
}
@media (max-width: 35rem) {
  .studio-home #servicios .service { grid-template-columns: minmax(0,1fr); padding-block: 1.55rem; gap: .95rem; }
  .studio-home #servicios .service :is(.service-copy,.service-example,ul) { grid-column: 1; grid-row: auto; }
  .studio-home #servicios .service-example { grid-template-columns: minmax(5.5rem,.67fr) minmax(0,1.33fr); align-items: center; }
  .studio-home #servicios .service-example > img { aspect-ratio: 1.15; }
}
