.ending-content { max-width: 2200px; margin-inline: auto; padding-inline: calc(var(--gutter) + var(--content-inset)); }
.home-projects { padding-block: clamp(56px, 9vw, 140px) clamp(32px, 4vw, 70px); scroll-margin-top: 32px; }
.home-press { padding-block: clamp(40px, 6vw, 100px) clamp(48px, 6vw, 100px); scroll-margin-top: 32px; }
.ending-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 48px); }
.ending-heading h2, .feedback-copy h2 { margin: 0; font-size: clamp(30px, 2.75vw, 52px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.ending-text-link { padding: 8px 0; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ending-text-link:hover { color: #656565; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.project-card { min-width: 0; }
.project-image { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--paper); }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
.project-card h3 { max-width: 36ch; margin: 20px 0 0; font-size: clamp(17px, 1.25vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -.025em; transition: color .2s; }
.project-card a:hover img { transform: scale(1.035); }
.project-card a:hover h3 { color: #b83c00; }
.press-grid { --press-gap: clamp(16px, 2vw, 32px); display: flex; gap: var(--press-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.press-grid::-webkit-scrollbar { display: none; }
.press-card { flex: 0 0 calc((100% - var(--press-gap)) / 2); min-width: 0; overflow: hidden; border-radius: 30px; background: var(--paper); scroll-snap-align: start; }
.press-card > a { position: relative; isolation: isolate; display: block; height: clamp(390px, 30vw, 540px); overflow: hidden; color: var(--ink); }
.press-card > a::after { content: ''; position: absolute; z-index: 1; inset: 0; background: var(--ink); transform: translateX(-101%); transition: transform .7s cubic-bezier(.22, .7, .2, 1); }
.press-image { position: absolute; inset: 0; overflow: hidden; }
.press-image::after { content: ''; position: absolute; inset: 0; background: #23232370; }
.press-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.press-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: clamp(28px, 3vw, 52px); padding-top: 78px; transition: color .3s .2s; }
.press-body h3 { margin: 0; font-size: clamp(22px, 1.85vw, 34px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
.press-date { position: absolute; top: clamp(28px, 3vw, 52px); left: clamp(28px, 3vw, 52px); margin: 0; color: #656565; font-size: 14px; line-height: 1.4; transition: color .3s .2s; }
.press-card--image .press-body, .press-card--image .press-date { color: #fff; }
.press-excerpt { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateX(-18px); transition: grid-template-rows .55s cubic-bezier(.22, 1, .36, 1), opacity .25s, transform .4s; }
.press-excerpt > div { overflow: hidden; }
.press-excerpt p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 18px 0 0; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.6; color: #e3e3e3; }
.press-card > a:focus-visible::after { transform: translateX(0); }
.press-card > a:focus-visible .press-body, .press-card > a:focus-visible .press-date { color: #fff; }
.press-card > a:focus-visible .press-excerpt { grid-template-rows: 1fr; opacity: 1; transform: translateX(0); transition-delay: .2s, .28s, .2s; }
.press-card > a:focus-visible .press-excerpt p { color: #e3e3e3; }
.press-card > a:focus-visible { outline: 2px solid var(--orange); outline-offset: -5px; }
.press-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; }
.press-all { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 16px 34px; border-radius: 16px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 600; transition: background .2s; }
.press-all:hover { background: #ededed; }
.press-controls { display: flex; gap: 10px; }
.press-controls[hidden] { display: none; }
.press-controls button { display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 16px; background: var(--paper); cursor: pointer; transition: background .2s, opacity .2s; }
.press-controls img { width: 24px; height: 24px; }
.press-controls button:hover { background: #ededed; }
.press-controls button:disabled { opacity: .35; cursor: default; }
.press-controls button:focus-visible, .press-all:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.home-clients { padding-block: clamp(32px, 4vw, 70px) clamp(64px, 8vw, 130px); }
.home-clients h2 { max-width: 29ch; text-wrap: balance; }
.client-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: clamp(32px, 4vw, 64px) 28px; margin: 0; padding: 16px 0 0; list-style: none; }
.client-logos li { min-width: 0; height: 82px; display: flex; align-items: center; justify-content: center; }
.client-logos img { display: block; width: auto; max-width: 100%; height: auto; max-height: 70px; object-fit: contain; }
.home-feedback { margin: 0 var(--gutter) var(--screen-bottom); padding: clamp(32px, 5vw, 88px) var(--content-inset); border-radius: 30px; background: var(--paper); scroll-margin-top: 24px; }
.feedback-layout { max-width: 2020px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 160px); }
.feedback-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.feedback-contacts { display: flex; flex-direction: column; gap: 14px; }
.feedback-contacts a { font-size: clamp(17px, 1.4vw, 25px); font-weight: 500; letter-spacing: -.025em; }
.feedback-contacts a:hover { color: #b83c00; }
.feedback-fields { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.feedback-fields label { display: grid; min-width: 0; gap: 9px; font-size: 14px; line-height: 1.5; }
.feedback-wide { grid-column: 1 / -1; }
.feedback-fields input:not([type=checkbox]), .feedback-fields textarea { width: 100%; min-width: 0; padding: 15px 16px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--ink); font: 16px/1.4 Montserrat, sans-serif; }
.feedback-fields textarea { min-height: 108px; resize: vertical; }
.feedback-fields input:focus-visible, .feedback-fields textarea:focus-visible { border-color: var(--orange); outline: 2px solid #f66b2133; outline-offset: 2px; }
.feedback-fields .feedback-consent { display: flex; align-items: flex-start; gap: 10px; max-width: 48ch; font-size: 12px; color: #656565; }
.feedback-consent input { margin: 2px 0 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--ink); }
.feedback-consent a { text-decoration: underline; text-underline-offset: 3px; }
.feedback-submit { justify-self: start; min-height: 54px; padding: 16px 32px; border: 0; border-radius: 16px; background: var(--ink); color: white; font: 600 15px/1.4 Montserrat, sans-serif; cursor: pointer; transition: background .2s; }
.feedback-submit:hover { background: #454545; }
.feedback-submit:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.feedback-status { grid-column: 1 / -1; margin: 0; color: #656565; font-size: 14px; line-height: 1.5; }
.home-footer { margin: 0 var(--gutter) var(--screen-bottom); padding: clamp(32px, 4vw, 64px) var(--content-inset) 24px; border-radius: 30px; background: var(--ink); color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: clamp(32px, 4vw, 64px); }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; font-size: 36px; font-weight: 500; letter-spacing: -.05em; }
.footer-brand img { width: 64px; height: 60px; filter: invert(1); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-contact a { font-size: clamp(17px, 1.4vw, 25px); font-weight: 500; }
.footer-contact address { max-width: 38ch; font-size: 13px; font-style: normal; line-height: 1.6; color: #c4c4c4; text-align: right; }
.footer-navigation { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr .85fr; gap: clamp(24px, 3.5vw, 70px); }
.footer-navigation h2 { margin: 0 0 20px; font-size: 16px; font-weight: 600; }
.footer-navigation ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-navigation a { font-size: 13px; line-height: 1.5; color: #c4c4c4; }
.footer-pending { font-size: 13px; line-height: 1.5; color: #c4c4c4; }
.home-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.home-footer .footer-brand:hover { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; margin-top: clamp(40px, 5vw, 80px); padding-top: 24px; border-top: 1px solid #ffffff22; color: #c4c4c4; font-size: 12px; line-height: 1.6; }
.footer-bottom p { margin: 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 1100px) { .ending-content { padding-inline: var(--gutter); } }
@media (max-width: 800px) {
  .ending-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .press-card { flex-basis: 100%; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .project-image { aspect-ratio: 16 / 10; }
  .press-card > a { height: 420px; }
  .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .client-logos li { height: 70px; }
  .client-logos img { max-height: 54px; }
  .feedback-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feedback-copy { gap: 24px; }
  .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-contact { align-items: flex-start; }
  .footer-contact address { text-align: left; }
}
@media (max-width: 480px) {
  .project-image, .press-card, .home-feedback, .home-footer { border-radius: 22px; }
  .press-body { padding: 72px 24px 24px; }
  .press-date { top: 24px; left: 24px; }
  .press-body h3 { font-size: 22px; }
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .client-logos img { max-height: 50px; }
  .feedback-fields { grid-template-columns: minmax(0, 1fr); }
  .footer-navigation { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-brand { font-size: 30px; }
  .footer-brand img { width: 52px; height: 49px; }
}
@media (hover: hover) {
  .press-card > a:hover::after { transform: translateX(0); }
  .press-card > a:hover .press-body, .press-card > a:hover .press-date { color: #fff; }
  .press-card > a:hover .press-excerpt { grid-template-rows: 1fr; opacity: 1; transform: translateX(0); transition-delay: .2s, .28s, .2s; }
  .press-card > a:hover .press-image img { transform: scale(1.035); }
}
@media (hover: none) {
  .press-excerpt { grid-template-rows: 1fr; opacity: 1; transform: none; }
  .press-excerpt p { color: #656565; }
  .press-card--image .press-excerpt p { color: #fff; }
  .press-card--image .press-image::after { background: #232323b8; }
  .press-card > a::after { transition: none; }
}
@media (prefers-reduced-motion: reduce) { .project-image img, .project-card h3, .press-image img, .press-body, .press-date, .press-excerpt, .press-card > a::after, .press-all, .press-controls button, .feedback-submit { transition: none; } }
