@font-face {
  font-family: "Inter Tight";
  src: url("inter-tight.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap
}

:root {
  --red: #db2f13;
  --yellow: #fdc304;
  --blue: #2e73d8;
  --ink: #121212;
  --white: #fff;
  --pad: clamp(24px, 4.5vw, 80px);
  --container: 1440px;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

::selection {
  color: var(--ink);
  background: var(--yellow)
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 7px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  z-index: 20;
  padding: 12px 16px;
  background: white;
  color: var(--ink);
  transform: translateY(-180%)
}

.skip-link:focus {
  transform: translateY(0)
}

.label {
  font: 400 12px/1.5 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase
}

.hero {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 var(--pad);
  overflow: hidden
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 26px;
  border-bottom: 1px solid rgba(18, 18, 18, .25)
}

.identity {
  display: flex;
  gap: 16px;
  align-items: center
}

.identity img {
  width: 160px;
  height: auto
}

.identity span {
  font: 400 12px/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 15px
}

.nav-links a {
  position: relative;
  padding: 8px 0
}

.nav-links a:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s
}

.nav-links a:hover:after {
  transform: scaleX(1)
}

.hero-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 20px;
  gap: 24px
}

h1 {
  margin: 0
}

.hero-title {
  width: 100%;
  font-weight: 400;
  font-size: clamp(46px, 10.8vw, 164px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 32px -5px
}

.hero-description {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin: 0 0 48px
}

.hero-description p {
  font-size: clamp(18px, 1.75vw, 25px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.025em;
  max-width: 440px;
  margin: 0 0 0 auto
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  font-size: 16px;
  padding: 11px 0;
  border-bottom: 1px solid currentColor;
  white-space: nowrap
}

.text-link .arrow {
  font-size: 22px;
  transition: transform .2s
}

.text-link:hover .arrow {
  transform: translateY(4px)
}

.hero-art {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block
}

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-art {
  touch-action: pan-y;
}

.blue-ribbon {
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--pad);
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.4
}

.blue-ribbon span {
  white-space: nowrap
}

.blue-ribbon i {
  font-style: normal;
  opacity: .65
}

section {
  scroll-margin-top: 24px
}

.about {
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: 50px;
  padding: 110px var(--pad) 108px
}

.section-index {
  display: flex;
  gap: 22px;
  align-items: baseline
}

.section-index .number {
  opacity: .45
}

.about h2 {
  font-size: clamp(36px, 4.5vw, 70px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 400;
  margin: 0 0 32px;
  max-width: 1000px
}

.about h2 span {
  color: #8a8a8a
}

.about-copy {
  max-width: 670px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -.015em;
  margin: 0
}

.services {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-top: 1px solid #d8d8d8;
  overflow: hidden
}

.services-main {
  padding: 54px 50px 56px var(--pad)
}

.services h2 {
  font-weight: 400;
  font-size: clamp(34px, 3.7vw, 58px);
  letter-spacing: -.03em;
  margin: 32px 0 44px;
  line-height: 1.08
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 28px
}

.service h3 {
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -.025em;
  margin: 0 0 10px
}

.service p {
  font-size: 15px;
  line-height: 1.5;
  color: #606060;
  margin: 0;
  max-width: 400px;
}

.services-art {
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden
}

.services-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: left top;
  max-height: 780px
}

.work {
  padding: 76px var(--pad) 88px;
  background: var(--ink);
  color: white
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 54px
}

.work h2 {
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -.03em;
  line-height: 1;
  margin: 24px 0 0
}

.work-header p {
  font-size: 17px;
  line-height: 1.45;
  max-width: 230px;
  color: #a3a3a3;
  margin: 0 0 4px
}

.work-grid {
  --work-gap: 54px;
  --work-offset: 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--work-gap) 30px;
  align-items: start
}

.project {
  margin: 0;
  min-width: 0
}

.project-image {
  overflow: hidden;
  background: #242424
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .55s cubic-bezier(.2, .65, .3, 1)
}

.project:hover img {
  transform: scale(1.018)
}

.project figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px
}

.project-name {
  font-size: 22px;
  letter-spacing: -.02em
}

.project-kind {
  font: 400 12px/1.5 var(--mono);
  color: #a3a3a3;
  text-align: right;
  text-transform: uppercase
}

.project:nth-child(2) {
  padding-top: 92px
}


.project:nth-child(3) {
  margin-top: -46px
}

.project:nth-child(4) {
  padding-top: 45px
}

.closing {
  background: var(--yellow);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 450px;
  overflow: hidden
}

.closing-copy {
  padding: 64px var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center
}

.closing h2 {
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 80px);
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 32px 0 24px
}

.closing p {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  max-width: 340px
}

.closing-art {
  overflow: hidden;
  display: flex;
  align-items: stretch
}

.closing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

footer {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px var(--pad)
}

footer .domain {
  font-size: 20px;
  letter-spacing: -.025em
}

footer .footer-right {
  display: flex;
  align-items: center;
  gap: 44px
}

footer .back-top {
  font-size: 14px
}

footer .label {
  color: #737373
}

@media(min-width:1600px) {
  .hero-title {
    width: 1280px
  }

  .hero-description {
    margin-bottom: 64px
  }

  .about {
    padding-top: 130px;
    padding-bottom: 130px
  }
}

@media(max-width:950px) {
  .nav-links {
    gap: 22px
  }

  .hero-intro {
    padding-top: 28px
  }

  .hero-description p {
    font-size: 20px;
    max-width: 350px
  }

  .hero-art {
    margin-bottom: 30px
  }

  .about {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 72px;
    padding-bottom: 72px
  }

  .about h2 {
    font-size: 54px
  }

  .about-copy {
    font-size: 19px
  }

  .services {
    grid-template-columns: 1.65fr 1fr
  }

  .services-main {
    padding-right: 30px
  }

  .service-grid {
    gap: 28px 22px
  }

  .service h3 {
    font-size: 19px
  }

  .services-art img {
    object-position: 30% top
  }

  .work {
    padding-top: 60px
  }

  .work-grid {
    gap: 42px 24px
  }

  .project-kind {
    font-size: 12px
  }

  .project-name {
    font-size: 20px
  }

  .project:nth-child(2) {
    padding-top: 60px
  }

  .project:nth-child(3) {
    margin-top: -16px
  }

  .project:nth-child(4) {
    padding-top: 24px
  }

  .closing {
    grid-template-columns: 1.2fr 1fr
  }

  .closing-copy {
    padding-right: 28px
  }

  .closing h2 {
    font-size: 52px
  }

  .closing-art img {
    object-position: 60% center
  }
}

@media(max-width:620px) {
  :root {
    --pad: 24px
  }

  .label {
    font-size: 12px
  }

  .nav {
    padding: 22px 0;
    gap: 18px
  }

  .identity {
    gap: 10px
  }

  .identity img {
    width: 45px
  }

  .identity span {
    font-size: 10px
  }

  .nav-links {
    gap: 20px;
    font-size: 14px
  }

  .nav-links a:nth-child(2) {
    display: none
  }

  .hero-intro {
    padding: 30px 0 28px
  }

  .hero-title {
    width: calc(100% + 6px);
    max-width: none;
    margin-left: -3px;
    margin-bottom: 25px
  }

  .hero-description {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 42px
  }

  .hero-description p {
    margin: 0;
    font-size: 21px;
    max-width: 310px;
    line-height: 1.4
  }

  .text-link {
    font-size: 15px;
    gap: 40px
  }

  .hero-art {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 26px;
    height: auto;
    max-height: none;
    object-fit: contain
  }

  .blue-ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 14px
  }

  .blue-ribbon i {
    display: none
  }

  .about {
    padding-top: 58px;
    padding-bottom: 58px;
    gap: 30px
  }

  .about h2 {
    font-size: 40px;
    margin-bottom: 24px
  }

  .about-copy {
    font-size: 18px;
    line-height: 1.5
  }

  .services {
    grid-template-columns: 1fr
  }

  .services-main {
    padding: 40px var(--pad) 48px
  }

  .services h2 {
    font-size: 42px;
    margin-top: 26px;
    margin-bottom: 36px
  }

  .service-grid {
    gap: 30px 24px
  }

  .service h3 {
    font-size: 19px;
    line-height: 1.2
  }

  .service p {
    font-size: 15px
  }

  .services-art {
    display: none
  }

  .work {
    padding-top: 48px;
    padding-bottom: 58px
  }

  .work-header {
    display: block;
    margin-bottom: 36px
  }

  .work h2 {
    font-size: 56px;
    margin-top: 24px
  }

  .work-header p {
    margin-top: 24px;
    max-width: 280px;
    font-size: 16px
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .project:nth-child(n) {
    padding: 0;
    margin: 0
  }

  .project:nth-child(2) img {
    max-height: none;
    width: 100%;
    height: auto
  }

  .project figcaption {
    padding-top: 13px
  }

  .project-name {
    font-size: 21px
  }

  .project-kind {
    max-width: 160px
  }

  .closing {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .closing-copy {
    padding: 46px var(--pad) 50px
  }

  .closing h2 {
    font-size: 57px
  }

  .closing p {
    font-size: 17px
  }

  .closing-art {
    height: 260px
  }

  .closing-art img {
    object-position: center 30%
  }

  footer {
    align-items: flex-start;
    padding-top: 25px;
    padding-bottom: 25px
  }

  footer .footer-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px
  }

  footer .domain {
    font-size: 18px
  }
}

footer {
  display: block;
  padding: 72px var(--pad) 30px;
  scroll-margin-top: 24px
}

.contact-header h2 {
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 26px 0 46px
}

.contact-details {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px
}

.contact-details h3 {
  font: 400 14px/1.5 var(--mono);
  margin: 0 0 16px;
  color: #606060
}

.contact-email {
  font-size: clamp(24px, 3.2vw, 46px);
  letter-spacing: -.035em;
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere
}

address {
  font-style: normal;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.5
}

.map-label {
  display: block;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: 18px
}

.contact-address:hover .map-label {
  text-decoration-thickness: 2px
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #d8d8d8;
  padding-top: 28px
}

.footer-logo {
  width: 160px;
  height: auto
}

@media(max-width:620px) {
  .nav {
    flex-wrap: wrap;
    gap: 20px
  }

  .identity img {
    width: 135px
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px
  }

  .nav-links a:nth-child(2) {
    display: block
  }

  footer {
    padding: 48px var(--pad) 26px
  }

  .contact-header h2 {
    font-size: 42px;
    margin-bottom: 32px
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 44px
  }

  .footer-bottom {
    align-items: flex-start
  }

  .footer-logo {
    width: 120px
  }

  .footer-right .label {
    font-size: 11px
  }
}

@media(max-width:620px) {
  .nav-links {
    font-size: 12px;
    gap: 8px
  }

  .hero-intro .label {
    font-size: 11px
  }

  .project:nth-child(n+5) .project-image {
    max-width: 100%
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    transition: none !important
  }
}

/* Reveal only when JS is running, so content is never hidden without it. */
html:not(.js) [data-reveal], html:not(.js) [data-reveal-stagger]>* { opacity: 1 !important; transform: none !important; }

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: transform, opacity;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger]>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal-stagger].is-visible>* {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 640ms;
}

[data-reveal-stagger].is-visible>*:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible>*:nth-child(8) {
  transition-delay: 560ms;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.3s ease;
  }

  [data-reveal-stagger]>* {
    transform: none !important;
    transition: opacity 0.3s ease;
    transition-delay: 0ms !important;
  }
}

/* Full-screen opening; crop the SVG canvas to the artwork's baseline. */
:root {
  --nav-height: 104px;
  --contact-size: clamp(18px, 2vw, 26px);
}

html {
  scroll-padding-top: 88px;
}

.hero {
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
}

.hero-intro {
  flex: none;
  padding: clamp(18px, 3vh, 32px) 0 16px;
}

.hero-title {
  width: 100%;
  font-size: clamp(46px, min(10.8vw, 17svh), 164px);
  margin-bottom: 16px;
  flex: none;
}

.hero-description {
  flex: none;
  margin: 0;
  align-items: flex-start;
}

.hero-art-frame {
  flex: 1;
  min-height: 0;
  margin-top: 24px;
  overflow: hidden;
}

.hero .hero-art {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  display: block;
}

.contact-email {
  font-size: var(--contact-size);
  line-height: 1.5;
  letter-spacing: 0;
}

address {
  font-size: var(--contact-size);
}

.footer-logo {
  width: 88px;
}

/* Fixed outside the hero so the menu remains available across every section. */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: var(--yellow);
}

.site-nav .nav {
  height: var(--nav-height);
  margin: 0 var(--pad);
  padding: 0;
}

.identity .identity-mark {
  display: none;
  width: 38px;
  height: auto;
}

.site-nav.is-scrolled .nav {
  height: 72px;
  border-bottom: 0;
}

.site-nav.is-scrolled {
  border-bottom: 1px solid rgba(18, 18, 18, .18);
  background: white;
}

.site-nav.is-scrolled .identity-full {
  display: none;
}

.site-nav.is-scrolled .identity-mark {
  display: block;
}

.menu-toggle {
  display: none;
}

.menu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  z-index: 40;
}

@media (max-width: 700px) {
  :root {
    --nav-height: 88px;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-intro {
    padding: 24px 0 18px;
  }

  .hero-title {
    font-size: clamp(42px, 10.8vw, 76px);
    margin: 0 0 20px -2px;
  }

  .hero-description {
    flex-direction: row;
    margin: 0;
  }

  .hero-art-frame {
    flex: none;
    margin-top: 32px;
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
  }

  .hero .hero-art {
    height: auto;
    aspect-ratio: 1946.64 / 568.94;
  }

  .site-nav {
    transition: transform 280ms var(--ease-out);
  }

  .site-nav .nav {
    position: relative;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .identity .identity-full {
    width: 135px;
  }

  .nav-ready .menu-toggle {
    display: flex;
  }

  .menu-toggle {
    margin-left: auto;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(18, 18, 18, .2);
    border-radius: 0;
    background: var(--yellow);
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 220ms var(--ease-out);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, calc(100vw - 2 * var(--pad)));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px;
    background: var(--yellow);
    border: 1px solid rgba(18, 18, 18, .2);
    font-size: 16px;
    pointer-events: auto;
  }

  .site-nav .nav-links[hidden] {
    display: none;
  }

  .site-nav .nav-links a {
    display: block;
    padding: 16px 0;
  }

  .site-nav.is-scrolled {
    background: transparent;
    border: 0;
    pointer-events: none;
  }

  .site-nav.is-scrolled .nav {
    height: 72px;
  }

  .site-nav.is-scrolled .identity {
    display: none;
  }

  .site-nav.is-scrolled .menu-toggle {
    pointer-events: auto;
  }

  .site-nav.is-hidden {
    transform: translateY(-110%);
    pointer-events: none;
  }

  .footer-logo {
    width: 76px;
  }
}

@media (max-height: 540px) and (min-width: 701px) {
  :root {
    --nav-height: 72px;
  }

  .hero {
    min-height: 400px;
  }

  .hero-intro {
    padding: 12px 0 8px;
  }

  .hero-title {
    margin-bottom: 8px;
  }

  .hero-art-frame {
    margin-top: 12px;
  }
}
/* Instagram feed: twelve posts with consistent covers and readable captions. */
.instagram-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.instagram-card { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.instagram-card-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #242424; }
.instagram-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.instagram-card:hover img, .instagram-card:focus-visible img { transform: scale(1.025); }
.instagram-preview-link { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 14px; }
.instagram-card-caption { margin-top: 14px; font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.instagram-card-kind { margin-top: 8px; color: #a3a3a3; font: 11px/1.5 var(--mono); text-transform: uppercase; }
.instagram-more { margin-top: 36px; white-space: normal; }
.instagram-status { color: #b5b5b5; line-height: 1.5; }
.instagram-status[hidden] { display: none; }
@media (max-width: 620px) { .instagram-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .instagram-card-caption { font-size: 14px; } .instagram-more { font-size: 14px; gap: 20px; } }
@media (prefers-reduced-motion: reduce) { .instagram-card:hover img, .instagram-card:focus-visible img { transform: none; } }

.instagram-section { margin-top: 80px; padding-top: 48px; border-top: 1px solid #383838; }
.instagram-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.work .instagram-heading h2 { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.1; margin-top: 16px; }
.instagram-heading p { color: #a3a3a3; font-size: 15px; line-height: 1.5; margin: 0; }
@media (max-width: 620px) { .instagram-section { margin-top: 48px; padding-top: 32px; } .instagram-heading { display: block; } .instagram-heading p { margin-top: 16px; } }

/* Intro loader: only rendered while <html> has .is-loading (set inline, so no-JS visitors never see it). */
.site-loader { display: none; }
.is-loading .site-loader, .is-loaded .site-loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 28px;
  background: var(--yellow); transition: opacity 500ms ease, visibility 0s linear 500ms;
}
.is-loaded .site-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.is-loading body { overflow: hidden; }
.site-loader-mark { width: 72px; height: auto; animation: loader-pulse 1.4s ease-in-out infinite; }
.site-loader-bar { position: relative; width: 120px; height: 2px; overflow: hidden; background: rgba(18, 18, 18, .18); }
.site-loader-bar span { position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: loader-bar 1.1s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes loader-pulse { 50% { transform: scale(.94); opacity: .75; } }
@keyframes loader-bar { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .site-loader-mark, .site-loader-bar span { animation: none; }
  .site-loader-bar span { transform: none; }
  .is-loading .site-loader, .is-loaded .site-loader { transition-duration: 1ms; }
}

/* Portfolio, Instagram and contact content sit in a centred container on wide screens;
   section backgrounds still run full-bleed. */
.work > *, footer > * { width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; }

/* Project cards can carry a muted looping video instead of an image (see project-video.js). */
.project-image video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .65, .3, 1); }
.project:hover video { transform: scale(1.018); }

/* Video project cards ------------------------------------------------------ */
.project-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.project-open .project-image { display: block; position: relative; }
.project-play {
  position: absolute; left: 16px; bottom: 16px; padding: 9px 14px; background: var(--yellow); color: var(--ink);
  font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.project-open:hover .project-play, .project-open:focus-visible .project-play { opacity: 1; transform: none; }
.project-open:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
@media (hover: none) { .project-play { opacity: 1; transform: none; } }

/* Project dialog (full-screen, modelled on the reference) ------------------- */
.pm-open { overflow: hidden; }
.project-modal {
  /* A sheet that stops short of the top, leaving the site header visible behind it. */
  --pm-gap: clamp(56px, 9vh, 104px);
  position: fixed; inset: var(--pm-gap) 0 0; width: 100%; height: calc(100% - var(--pm-gap)); max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--white); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.project-modal[open] { animation: pm-in .35s cubic-bezier(.2, .65, .3, 1); }
.project-modal::backdrop { background: rgba(18, 18, 18, .45); }
@keyframes pm-in { from { opacity: 0; transform: translateY(48px); } }
.pm-inner { min-height: 100%; padding: 36px 40px 48px; display: flex; flex-direction: column; gap: 56px; }
.pm-head { display: grid; grid-template-columns: 28% minmax(0, 1fr) auto; align-items: start; gap: 24px; }
.pm-title { margin: 0; max-width: 11em; font-size: clamp(28px, 2.6vw, 44px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
.pm-kind { margin: 0; font-size: clamp(22px, 2.2vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.pm-close { display: inline-flex; gap: 10px; align-items: center; padding: 4px 0; border: 0; background: none; color: inherit; font: 400 17px/1 var(--sans); cursor: pointer; }
.pm-close span { font-size: 26px; line-height: .6; }
.pm-close:hover { text-decoration: underline; text-underline-offset: 5px; }
/* Media sits left of centre, text column on the right, both vertically centred. */
.pm-body { flex: 1; display: grid; grid-template-columns: 19fr 44fr 8fr 27fr; align-items: center; }
.pm-player { grid-column: 2; position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.pm-player.is-vertical { aspect-ratio: 9 / 16; height: min(72vh, 720px); justify-self: center; }
.pm-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pm-side { grid-column: 4; }
.pm-text { margin: 0; font-size: clamp(17px, 1.15vw, 21px); line-height: 1.5; }
.pm-links { display: grid; margin-top: 80px; border-top: 1px solid var(--ink); }
.pm-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ink); font-size: clamp(22px, 2vw, 36px); letter-spacing: -.02em; line-height: 1.1; }
.pm-links a span { font-size: .9em; transition: transform .25s ease; }
.pm-links a:hover span { transform: translate(3px, -3px); }
.pm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 20px; width: 44%; margin-left: 19%; }
.pm-list[hidden] { display: none; }
.pm-item { display: grid; gap: 10px; padding: 0; border: 0; background: none; color: inherit; font: 400 15px/1.35 var(--sans); text-align: left; cursor: pointer; }
.pm-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e5e5e5; transition: opacity .25s ease; }
.pm-item:hover img { opacity: .8; }
.pm-item[aria-current="true"] span { text-decoration: underline; text-underline-offset: 4px; }
.pm-item[aria-current="true"] img { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 1100px) {
  .pm-body { grid-template-columns: 0 60fr 5fr 35fr; }
  .pm-list { width: 60%; margin-left: 0; }
}
@media (max-width: 800px) {
  .pm-inner { padding: 24px 20px 40px; gap: 32px; }
  .pm-head { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .pm-kind { grid-row: 2; }
  .pm-body { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .pm-player.is-vertical { height: auto; width: min(100%, calc(72vh * 9 / 16)); align-self: center; }
  .pm-links { margin-top: 32px; }
  .pm-list { width: auto; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .project-modal[open] { animation: none; } }
.pm-links[hidden] { display: none; }
.pm-close:focus { outline: none; }
.pm-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.pm-title:focus { outline: none; }

/* Local (file://) preview only: YouTube blocks embeds without a referrer. */
.pm-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: #000 center / cover no-repeat; color: #fff; text-decoration: none; }
.pm-fallback span { background: var(--yellow, #ffd400); color: #111; padding: 10px 18px; font-size: 15px; }

/* Masonry columns (assets/work-masonry.js): equal widths, each column stacks
   its own cards; the right one starts lower for the staggered look. */
.work-col { display: flex; flex-direction: column; gap: var(--work-gap); min-width: 0; }
.work-col + .work-col { padding-top: var(--work-offset); }
.work-col > .project { padding: 0; margin: 0; }
@media (max-width: 950px) { .work-grid { --work-gap: 42px; --work-offset: 60px; } }

/* Work header follows the card grid: the intro text starts where the right column of cards starts. */
@media (min-width: 621px) {
  /* Top-aligned with the label: long text grows downward, never above the title block. */
  .work-header { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: start; }
  .work-header p { max-width: 520px; margin: 0; }
}

/* More breathing room above and below "Ne Yapıyoruz?". */
.services-main { padding-top: clamp(80px, 8vw, 120px); padding-bottom: clamp(88px, 8.5vw, 128px); }
@media (max-width: 620px) { .services-main { padding-top: 56px; padding-bottom: 64px; } }

/* Fallback if work-masonry.js is missing or hasn't run: CSS columns give the same
   gap-free Pinterest look (cards flow down the left column, then the right). */
@media (min-width: 621px) {
  .work-grid:not(:has(> .work-col)) { display: block; columns: 2; column-gap: 30px; }
  .work-grid:not(:has(> .work-col)) > .project { break-inside: avoid; margin: 0 0 var(--work-gap); padding: 0; }
}

/* Instagram: tiles like the profile grid itself — 3:4, hairline gaps, a type icon,
   no captions (kept in the link's aria-label). */
.instagram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.instagram-card-image { aspect-ratio: 3 / 4; }
.instagram-card-caption, .instagram-card-kind { display: none; }
.instagram-card-type { position: absolute; top: 10px; right: 10px; z-index: 1; line-height: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.instagram-card-image::after { content: ""; position: absolute; inset: 0; background: rgba(18, 18, 18, .35); opacity: 0; transition: opacity .25s ease; }
.instagram-card:hover .instagram-card-image::after, .instagram-card:focus-visible .instagram-card-image::after { opacity: 1; }
.instagram-card:hover img, .instagram-card:focus-visible img { transform: none; }
/* Every post in the snapshot: rows of 6 on desktop, 3 on tablets and phones. */
@media (min-width: 900px) {
  .instagram-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 620px) { .instagram-card-type { top: 6px; right: 6px; } .instagram-card-type svg { width: 16px; height: 16px; } }

/* Body copy matches "Ne Yapıyoruz?" everywhere: 15px, grey (#606060 on white, #a3a3a3 on dark). */
.about-copy, .about-copy { max-width: 520px; font-size: 15px; line-height: 1.5; letter-spacing: 0; color: #606060; }
.work-header p { font-size: 15px; line-height: 1.5; }
.service p { font-size: 15px; }

/* Services art runs the full height of the section, top border to bottom edge. */
.services-art { position: relative; align-items: stretch; }
.services-art img { position: absolute; inset: 0; height: 100%; max-height: none; object-position: 40% top; }
