/* Armando Ascorve site. Mobile first. Written for Divi's section, row, column and module markup. */
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --ink: #141414; --stone: #A5A29D; --neutral: #E9E7E2; --paper: #F5F4F0; --gutter: 16px; --space: 96px;
  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --display: clamp(36px, 6.4vw, 96px); --title: clamp(30px, 4.4vw, 64px); }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 64px; }
body.aa-site { margin: 0; background: var(--ink); color: var(--neutral); font: 400 16px/1.5 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
.aa, .aa * { box-sizing: border-box; }
.aa h1, .aa h2, .aa h3, .aa p, .aa ul, .aa figure, .aa blockquote { margin: 0; padding: 0; color: inherit; font-family: var(--sans); }
.aa ul { list-style: none; }
.aa li { padding: 0; }
.aa img { display: block; width: 100%; height: auto; max-width: 100%; }
.aa a { color: inherit; text-decoration: none; }
.aa button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.aa :focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.aa-skip { position: fixed; left: 16px; top: -60px; z-index: 60; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.aa-skip:focus { top: 8px; }

.aa .label { font-size: 13px; color: var(--stone); }
.aa .h-display, .aa h1.h-display { font-size: var(--display); font-weight: 600; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.aa .h-title { font-size: var(--title); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; }
.aa .body { max-width: 52ch; }
.aa .link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.aa .link:hover { opacity: .6; }
.aa .links { display: flex; flex-wrap: wrap; gap: 24px; }

/* Header */
.aa.header { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); color: var(--paper); background: var(--ink); transition: transform .5s ease; }
html[data-top='true'] .aa.header { background: linear-gradient(rgba(20,20,20,.6), transparent); }
.aa .wordmark { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.aa .menu-toggle { min-height: 44px; min-width: 44px; font-size: 14px; }
.aa .nav { display: none; }
.aa .nav.is-open { position: fixed; inset: 60px 0 0; display: flex; flex-direction: column; padding: 20px var(--gutter); background: var(--ink); }
.aa .nav.is-open a { font-size: 38px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; text-transform: uppercase; }


/* Reset Divi's layout defaults. */
.aa-site #main-header, .aa-site #top-header, .aa-site #main-footer { display: none !important; }
.aa-site #page-container { padding-top: 0 !important; margin-top: 0 !important; }
.aa-site #page-container, .aa-site #et-main-area, .aa-site #main-content { overflow: visible !important; background: var(--ink) !important; }
body.aa-site .et_pb_section.aa { padding: 0; margin: 0; background: transparent; }
body.aa-site .aa .et_pb_row { width: 100%; max-width: none; margin: 0; padding: 0; }
body.aa-site .aa .et_pb_row::before, body.aa-site .aa .et_pb_row::after { display: none; }
body.aa-site .aa .et_pb_column { float: none; width: auto; margin: 0; }
body.aa-site .aa .et_pb_module { margin: 0; }
body.aa-site .aa .et_pb_image { line-height: 0; }
.aa .et_pb_image_wrap { display: block; }
.aa .et_pb_text_inner > * + * { margin-top: 16px; }
.aa .links { display: flex; flex-wrap: wrap; gap: 24px; }
.aa .center { text-align: center; }
body.aa-site .et_pb_section.aa.pad { padding: var(--space) var(--gutter); }
body.aa-site .et_pb_section.aa.no-top { padding-top: 0; }
body.aa-site .et_pb_section.aa.page-head { padding: 112px var(--gutter) 40px; }

/* Home hero */
body.aa-site .et_pb_section.aa.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: var(--paper); }
.aa.hero .et_pb_row, .aa.hero .et_pb_column { position: static; }
.aa .reel-shot { position: absolute !important; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.aa .reel-shot.on { opacity: 1; }
.aa .reel-shot .et_pb_image_wrap, .aa .reel-shot img { width: 100%; height: 100%; }
.aa .reel-shot img { object-fit: cover; object-position: 66% 28%; }
.aa.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(20,20,20,.3), transparent 14%, transparent 62%, rgba(20,20,20,.8)); }
.aa .hero-text { position: absolute !important; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 24px; text-align: center; }
.aa .hero-text .et_pb_text_inner > * + * { margin-top: 8px; }
.aa .hero-text h1 { font-size: clamp(28px, min(4vw, 7svh), 60px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; animation: aa-rise 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes aa-rise { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
.aa .hero-text p { font-size: 14px; }
.aa .hero-text .links { justify-content: center; }

/* Services: hover shows the full-size photograph on the right */
.aa .svc-name { font-size: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; text-transform: uppercase; }
.aa .svc-row { padding-top: 24px; }
.aa .svc-shot { margin-top: 12px !important; max-width: 70%; }

/* Approach */
.aa .approach-head em { display: block; font-style: normal; color: var(--stone); animation: aa-swap .5s ease both; }
@keyframes aa-swap { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
.aa .caps { color: var(--stone); font-size: 14px; }
.aa .approach-images { margin-top: 40px !important; display: grid; gap: 16px; }

/* Work grid */
.aa.grid { display: grid; gap: 28px 16px; }
.aa.grid .et_pb_row { display: contents; }
.aa.grid .grid-full > .et_pb_column { grid-column: 1 / -1; }
.aa .work-title { display: flex; justify-content: space-between; align-items: flex-start; }
.aa .work-title sup { margin: 6px auto 0 8px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--stone); }
.aa .filters { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; }
.aa .filters button { min-height: 44px; font-size: 14px; color: var(--stone); }
.aa .filters button[aria-pressed='true'] { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.aa .card[hidden] { display: none; }
.aa .frame .et_pb_image_wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #1f1f1f; }
.aa .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.aa .feature .frame .et_pb_image_wrap { aspect-ratio: 16 / 10; }
/* Hover: a WebGL canvas from aa.js sits over the photo and adds moving film grain. */
.aa .frame canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.aa .cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; font-size: 14px; }
.aa .cap-end { position: relative; color: var(--stone); overflow: hidden; text-align: right; }
.aa .cap-end span { display: block; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.aa .cap-end span + span { position: absolute; inset: 0; transform: translateY(100%); color: var(--paper); }
.aa .card:hover .cap-end span:first-child { transform: translateY(-100%); }
.aa .card:hover .cap-end span + span { transform: none; }
.aa .feature-title { font-size: var(--title); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; }

/* Split page hero */
body.aa-site .et_pb_section.aa.split { padding-top: 60px; }
body.aa-site .aa .split-text { padding: 56px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.aa .rows li { padding: 14px 0; border-top: 1px solid rgba(233,231,226,.2); }
.aa .rows.steps li { display: grid; gap: 4px; }
.aa .steps strong { font-weight: 600; }
.aa .steps span { color: var(--stone); }
.aa.cols .et_pb_row { display: grid; gap: 32px; }
.aa .placeholder { display: grid; place-items: center; min-height: 60vh; padding: 24px; text-align: center; background: #1f1f1f; color: var(--stone); font-size: 14px; }
body.aa-site .et_pb_section.aa.pair { padding: 0 var(--gutter); }
.aa.pair .et_pb_row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Project gallery */
body.aa-site .et_pb_section.aa.gallery { padding: 0 var(--gutter); }
.aa.gallery .et_pb_column { display: grid; gap: 8px; }
.aa.gallery img { cursor: zoom-in; width: 100%; }
.aa .pager { display: flex; justify-content: space-between; gap: 16px; }
.aa-lightbox { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; background: rgba(20,20,20,.97); padding: 16px; }
.aa-lightbox.is-open { display: grid; }
.aa-lightbox img { max-height: calc(100svh - 96px); width: auto; max-width: 100%; }
.aa-lightbox div { position: absolute; inset: auto 0 12px; display: flex; justify-content: center; gap: 28px; color: var(--paper); }
.aa-lightbox button { min-height: 44px; font: 14px var(--sans); color: inherit; background: none; border: 0; cursor: pointer; }

/* Contact */
body.aa-site .et_pb_section.aa.contact { padding-top: 130px; }
.aa.contact .et_pb_row { display: grid; gap: 40px; }
.aa .form-panel { background: var(--paper); color: var(--ink); padding: 24px 20px; min-height: 420px; }
.aa .form-note { color: #4d4c49; font-size: 15px; }
.aa .form-note a { text-decoration: underline; }

/* Closing */
body.aa-site .et_pb_section.aa.commission { position: relative; padding: 112px var(--gutter) 72px; text-align: center; }
.aa .commission-title h2 span { display: block; }
.aa .commission-img { max-width: 480px; margin: 28px auto !important; }
.aa .commission-links .links { justify-content: center; }

/* Footer */
.aa.footer { padding: 24px var(--gutter); display: grid; gap: 12px; font-size: 13px; color: var(--stone); border-top: 1px solid rgba(233,231,226,.2); }
.aa .footer-group { display: flex; flex-wrap: wrap; gap: 0 20px; }
.aa .footer-group a { min-height: 44px; display: inline-flex; align-items: center; }

/* Blog module */
.aa-site .et_pb_post h2 a { color: var(--paper); }
.aa-site .et_pb_post { background: transparent; border: 0; }

@media (min-width: 600px) {
  .aa.grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 24px; --space: 150px; }
  .aa .menu-toggle { display: none; }
  .aa .nav { display: flex; gap: 22px; }
  .aa .nav a { padding: 12px 0; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
  .aa .nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }
  html[data-top='true'] .aa.header { transform: translateY(calc(100svh - 100%)); background: none; }
  .aa .reel-shot img { object-position: 50% 28%; }
  .aa .hero-text { padding-bottom: 64px; }

  body.aa-site .aa.services .et_pb_column { position: relative; min-height: calc((100vw - 48px) * .54); }
  .aa .svc-row { padding: 0 0 6px; max-width: 60%; opacity: .3; transition: opacity .3s; }
  .aa .svc-row:first-of-type { margin-top: 24px !important; }
  .aa .svc-row.on { opacity: 1; }
  body.aa-site .aa .svc-shot { position: absolute; top: 0; right: 0; width: 36%; max-width: none; margin: 0 !important; opacity: 0; transition: opacity .5s; pointer-events: none; }
  body.aa-site .aa .svc-shot.on { opacity: 1; }

  .aa.approach .et_pb_row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  body.aa-site .aa .approach-pin { position: sticky; top: 90px; }
  .aa .approach-images { margin-top: 0 !important; }

  .aa.grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .aa.grid .feature { grid-column: span 2; }
  .aa .feature-cap { align-self: end; }

  .aa.split .et_pb_row { display: grid; grid-template-columns: 1fr 1fr; }
  body.aa-site .et_pb_section.aa.split { padding-top: 0; }
  body.aa-site .aa .split-text { padding: 96px 64px 56px var(--gutter); min-height: 100svh; }
  .aa .split-image img { height: 100svh; width: 100%; object-fit: cover; object-position: 50% 20%; }
  .aa .split-image .placeholder { height: 100svh; }
  .aa.cols .et_pb_row { grid-template-columns: 1fr 1fr; gap: 48px; }
  .aa.pair .et_pb_row { gap: 20px; }
  .aa.gallery .et_pb_column { grid-template-columns: 1fr 1fr; gap: 20px; }
  .aa.gallery .full { grid-column: 1 / -1; }
  .aa.gallery .tall:only-child { grid-column: 1 / -1; max-width: 50%; margin-inline: auto !important; }
  .aa.contact .et_pb_row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }

  body.aa-site .et_pb_section.aa.commission { min-height: 100svh; display: grid; place-items: center; padding-block: 90px; }
  .aa .commission-title { position: relative; z-index: 2; pointer-events: none; }
  .aa .commission-title h2 { display: grid; gap: min(20vw, 38svh); font-size: min(6.4vw, 13svh); }
  body.aa-site .aa .commission-img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0 !important; width: min(38vw, 72svh); max-width: none; }
  .aa .commission-links { position: absolute !important; left: var(--gutter); right: var(--gutter); top: 50%; translate: 0 -50%; z-index: 3; }
  .aa .commission-links .links { justify-content: space-between; }
  .aa.footer { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .aa.footer > :last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aa .hero-text h1, .aa .approach-head em { animation: none; }
  .aa .reel-shot, .aa.header, .aa .svc-row, .aa .svc-shot, .aa .cap-end span { transition: none; }
}
