/* =========================================================
   Ruya Studios — combined single-page stylesheet
   Generated by scoping each original section's CSS under a
   unique wrapper id (#sec-hero, #sec-preview, #sec-index,
   #sec-portfolio, #sec-contact, #sec-footer) so that identical
   class names/CSS variables used across the original files
   (e.g. .hero, .eyebrow, .arrow, .year, .content, h1, --ink)
   never collide with one another.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-width: 320px; }



/* ---------- HERO (#sec-hero) ---------- */

#sec-hero {
    --cream:#f8f6f2;
    --ink:#17150f;
    --line: rgba(23,21,15,0.28);
    --line-soft: rgba(23,21,15,0.14);
  }
#sec-hero * { box-sizing:border-box; margin:0; padding:0; }
#sec-hero {
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden; 
  }
#sec-hero {
    font-family: 'JetBrains Mono', monospace;
  }
#sec-hero a, #sec-hero button { font-family: inherit; }
#sec-nav .nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 22px;
    border-bottom: 1px solid var(--line-soft);
  }
#sec-nav .logo { display:block; padding-right:50px; }
#sec-nav .logo img { display:block; height: 34px; width: auto; }
#sec-nav .nav-links {
    display: none;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }
#sec-nav .nav-links a {
    color: var(--ink);
    text-decoration: none;
    opacity: 0.85;
  }
#sec-nav .nav-links a:hover { opacity: 1; }
#sec-nav .nav-links.mobile-open{display:flex;position:absolute;top:77px;left:3%;right:3%;padding:18px 16px;background:var(--cream);border:1px solid var(--line-soft);border-top:0;flex-direction:column;gap:16px;z-index:20}
#sec-nav .nav-meta {
    display:none;
    align-items:center;
    gap: 28px;
    margin-left: auto;
  }
#sec-nav .nav-meta .divider {
    width: 1px;
    height: 30px;
    background: var(--line-soft);
  }
#sec-nav .nav-meta .studio-tag {
    font-size: 11.5px;
    line-height: 1.5;
    opacity: 0.75;
  }
#sec-nav .talk-btn {
    display:flex;
    align-items:center;
    gap:8px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    padding: 12px 20px;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    cursor: pointer;
  }
#sec-nav .menu-trigger {
    display:flex;
    align-items:center;
    gap: 14px;
    background:none;
    border:none;
    cursor:pointer;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.06em;
  }
#sec-nav .menu-trigger .bars {
    display:flex;
    flex-direction:column;
    gap:5px;
  }
#sec-nav .menu-trigger .bars span {
    width: 26px;
    height: 1.5px;
    background: var(--ink);
    display:block;
  }
#sec-hero .hero {
    position: relative;
    overflow: hidden; 
    min-height: calc(100svh - 87px);
    display: flex;
    flex-direction: column;
    padding: 56px 22px 28px;
  }
#sec-hero .decor {
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index: 1;
  }
#sec-hero .decor svg {
    position:absolute;
    display:block;
    overflow: visible;
  }
#sec-hero .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-line 1.3s cubic-bezier(0.65,0,0.35,1) forwards;
  }
#sec-hero .draw-fade {
    opacity: 0;
    animation: draw-fade 1s ease forwards;
  }
#sec-hero .pop {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.5);
    animation: draw-pop 0.55s cubic-bezier(0.34,1.56,0.64,1) forwards;
  }
@keyframes draw-line{ to{ stroke-dashoffset: 0; } }
@keyframes draw-fade{ to{ opacity: 1; } }
@keyframes draw-pop{ to{ opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
#sec-hero .draw, #sec-hero .draw-fade, #sec-hero .pop {
      animation: none !important;
      opacity: 1 !important;
      stroke-dashoffset: 0 !important;
      transform: none !important;
    }
}
#sec-hero .decor .mobile-art {
    top: -20px;
    right: -150px;
    width: 700px;
    height: 700px;
  }
#sec-hero .text-blur {
    position:absolute;
    inset: 0 0 96px 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(248,246,242,0.78) 0%, rgba(248,246,242,0.52) 55%, rgba(248,246,242,0) 100%);
    pointer-events: none;
  }
#sec-hero .hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display:flex;
    flex-direction:column;
  }
#sec-hero .eyebrow {
    display:flex;
    align-items:center;
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ink);
    opacity: 0.85;
    margin-bottom: 40px;
  }
#sec-hero .eyebrow .rule {
    width: 56px;
    height: 1px;
    background: var(--line);
  }
#sec-hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-optical-sizing: auto;
    font-size: clamp(46px, 12vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.01em;
    max-width: 14ch;
  }
#sec-hero .lede {
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 34ch;
    margin-top: 28px;
    opacity: 0.85;
  }
#sec-hero .cta {
    display: inline-flex;
    align-items:center;
    justify-content:space-between;
    gap: 18px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    padding: 19px 22px;
    font-size: 13px;
    letter-spacing: 0.05em;
    margin-top: 32px;
    width: min(100%, 400px);
    cursor: pointer;
  }
#sec-hero .cta svg { width:16px; height:16px; flex-shrink:0; }
#sec-hero .hero-footer {
    position: relative;
    z-index: 3;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    margin-top: 48px;
    padding-top: 28px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
#sec-hero .scroll-tag {
    display:flex;
    align-items:center;
    gap: 12px;
    opacity: 0.8;
  }
#sec-hero .scroll-tag svg { width:14px; height:18px; }
#sec-hero .location-tag {
    text-align:right;
    line-height: 1.5;
    opacity: 0.85;
  }
#sec-hero .art-frame { display:none; }
#sec-hero .graph-frame { display:none; }
#sec-hero .labels-frame { display:none; }
#sec-hero .annot {
    position:absolute;
    font-size: 11.5px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    opacity: 0.8;
    max-width: 15ch;
  }
#sec-hero .annot .tick {
    display:block;
    width: 14px;
    height: 1px;
    background: var(--line);
    margin-bottom: 8px;
  }
#sec-hero .annot.right-align { text-align:right; }
#sec-hero .coords { text-align:right; }
@media (min-width: 900px) {
#sec-nav .nav-links { display:flex; }
#sec-nav .nav-meta { display:flex; }
#sec-nav .menu-trigger { display:none; }
#sec-nav .nav { padding: 20px 48px; }
#sec-hero .hero {
      padding: 60px 48px 40px;
      min-height: calc(100svh - 89px);
    }
#sec-hero .hero-inner {
      display:grid;
      grid-template-columns: 1fr 1fr;
      align-items:start;
      column-gap: 40px;
      padding-top: 2vh;
    }
#sec-hero .eyebrow { grid-column: 1 / 2; margin-bottom: 38px; font-size: 13px; }
#sec-hero h1 {
      grid-column: 1 / 2;
      font-size: clamp(62px, 6vw, 92px);
      max-width: 15ch;
    }
#sec-hero .lede { grid-column: 1 / 2; font-size: 16px; max-width: 33ch; margin-top: 32px; }
#sec-hero .cta { grid-column: 1 / 2; width: 380px; padding: 22px 26px; font-size: 14px; margin-top: 40px; }
#sec-hero .decor .mobile-art { display:none; }
#sec-hero .text-blur { display:none; }
#sec-hero .graph-frame {
      display:block;
      position:absolute;
      left: 49%;
      right: -1%;
      top: 0%;
      bottom: 2%;
    }
#sec-hero .decor .desktop-art {
      position:absolute;
      inset:0;
      display:block;
      width: 100%;
      height: 100%;
    }
#sec-hero .labels-frame {
      display:block;
      position:absolute;
      left: 54%;
      right: 2%;
      top: 4%;
      bottom: 130px;
    }
#sec-hero .annot { display:block; font-size: 12.5px; }
#sec-hero .annot.a-top-left { left: 3%; top: 6%; }
#sec-hero .annot.a-top-right { right: 1%; top: 6%; }
#sec-hero .annot.a-bottom-left { left: 3%; bottom: 12%; }
#sec-hero .annot.a-coords { right: 1%; top: 50%; }
#sec-hero .annot.a-era { right: 1%; bottom: 1%; opacity:0.6; }
#sec-hero .hero-footer { margin-top: 60px; }
}



/* ---------- PREVIEW / FRAGMENTS (#sec-preview) ---------- */

#sec-preview * {
  box-sizing: border-box
}

#sec-preview {
  margin: 0;
  width: 100%;
  background: #f2f0e8
}

#sec-preview {
  overflow-x: hidden;
  color: #111;
  font-family: "IBM Plex Mono", monospace
}

#sec-preview .section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: #f2f0e8;
}

#sec-preview .rule {
  position: absolute;
  left: 1.62%;
  right: 2.4%;
  top: 3.15%;
  height: 1px;
  background: #85837d
}

#sec-preview .mono {
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.45
}

#sec-preview .index {
  position: absolute;
  left: 3.18%;
  top: 23.45%;
  display: flex;
  align-items: center;
  gap: 25px;
  white-space: nowrap
}

#sec-preview .index .line {
  width: 88px;
  height: 1px;
  background: #77756f
}

#sec-preview .index .slash {
  font-size: 15px;
  margin-left: -2px;
  margin-right: -7px
}

#sec-preview .title {
  position: absolute;
  left: 5.68%;
  top: 31.45%;
  width: 250px;
  margin: 0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(45px, 4.25vw, 79px);
  line-height: .865;
  letter-spacing: -.078em;
  font-weight: 500
}

#sec-preview .left-copy {
  position: absolute;
  left: 5.58%;
  top: 62.6%;
  width: 225px;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.7
}

#sec-preview .left-copy:before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: #77756f;
  margin-bottom: 40px
}

#sec-preview .img {
  position: absolute;
  display: block;
  object-fit: cover;
  filter: grayscale(1)
}

#sec-preview .clouds {
  left: 29.45%;
  top: 6.15%;
  width: 13.43%;
  height: 12.4%;
  z-index: 4;
  object-position: center 52%
}

#sec-preview .mountains {
  left: 20.7%;
  top: 17.75%;
  width: 24.8%;
  height: 51.6%;
  z-index: 2;
  object-position: center center
}

#sec-preview .top-card {
  position: absolute;
  left: 56.87%;
  top: 6.87%;
  width: 17.42%;
  height: 28.3%;
  background: #111;
  color: #f5f2e9;
  z-index: 3;
  padding: 28px 31px;
  text-align: right
}

#sec-preview .top-card div {
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.5
}

#sec-preview .top-card span {
  text-decoration: underline;
  text-underline-offset: 3px
}

#sec-preview .circle {
  position: absolute;
  border: 1px solid rgba(50, 50, 50, .62);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1
}

#sec-preview .circle.one {
  width: 21.85%;
  aspect-ratio: 1;
  left: 40.85%;
  top: 19.85%
}

#sec-preview .circle.two {
  width: 14.55%;
  aspect-ratio: 1;
  left: 66.5%;
  top: 17.55%
}

#sec-preview .arc {
  position: absolute;
  border-top: 1px solid #77756f;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1
}

#sec-preview .arc.a {
  width: 14.6%;
  height: 12.3%;
  left: 41.5%;
  top: 14.5%;
  transform: rotate(-18deg)
}

#sec-preview .arc.b {
  width: 13.5%;
  height: 10%;
  left: 66.3%;
  top: 69.5%;
  transform: rotate(17deg)
}

#sec-preview .words {
  position: absolute;
  left: 20.48%;
  top: 20.9%;
  z-index: 7;
  color: #f5f2e9;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.45
}

#sec-preview .right-copy {
  position: absolute;
  left: 77.25%;
  top: 22%;
  width: 205px;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.65;
  z-index: 10
}

#sec-preview .right-copy:after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: #77756f;
  margin-top: 20px
}

#sec-preview .coords {
  position: absolute;
  left: 89.85%;
  top: 30.3%;
  width: 155px;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.55;
  z-index: 10
}

#sec-preview .interior {
  left: 47.7%;
  top: 35.18%;
  width: 31.5%;
  height: 20.2%;
  z-index: 5;
  object-position: center
}

#sec-preview .road {
  left: 72.3%;
  top: 35.18%;
  width: 10.75%;
  height: 37.0%;
  z-index: 6;
  object-position: center
}

#sec-preview .left-card {
  position: absolute;
  left: 26.7%;
  top: 53.1%;
  width: 18.8%;
  height: 30.0%;
  background: #111;
  color: #f5f2e9;
  z-index: 3;
  padding: 19.9% 27px 20px;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.7
}

#sec-preview .left-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: #111
}

#sec-preview .left-card:after {
  content: "";
  display: block;
  width: 23px;
  height: 1px;
  background: #777;
  margin-top: 12px
}

#sec-preview .plant {
  left: 44.25%;
  top: 59.3%;
  width: 6.1%;
  height: 18.45%;
  z-index: 7;
  object-position: center
}

#sec-preview .light-card {
  position: absolute;
  left: 49.75%;
  top: 53.1%;
  width: 16.7%;
  height: 28.55%;
  background: rgba(246, 244, 236, .95);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px
}

#sec-preview .statement {
  width: 100%;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(34px, 3.18vw, 59px);
  line-height: .77;
  letter-spacing: -.078em
}

#sec-preview .statement .italic {
  font-style: italic;
  font-weight: 500
}

#sec-preview .vertical {
  position: absolute;
  left: 92.15%;
  top: 47.1%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.5;
  z-index: 10
}

#sec-preview .right-bottom {
  position: absolute;
  left: 88.0%;
  top: 70%;
  width: 175px;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1.7;
  z-index: 10
}

#sec-preview .right-bottom:after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: #777;
  margin-top: 22px
}

#sec-preview .year {
  position: absolute;
  left: 87.75%;
  top: 83.0%;
  font-size: clamp(9px, .66vw, 12px);
  z-index: 10
}

#sec-preview .scroll {
  position: absolute;
  left: 5.15%;
  bottom: 3.2%;
  font-size: clamp(9px, .66vw, 12px)
}

@media(max-width:760px) {
  #sec-preview .section {
    width: 100%;
    height: 195.7766vw;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
  }

  #sec-preview .section>* {
    transform: none !important
  }

  #sec-preview .rule {
    left: 2.72%;
    right: 20px;
    top: 2.02%;
  }

  #sec-preview .index {
    left: 4.09%;
    top: 6.68%;
    gap: 3.41vw;
    font-size: 1.635vw;
    line-height: 1.45;
  }

  #sec-preview .index .line {
    width: 12.94vw
  }

  #sec-preview .index .slash {
    font-size: 2.04vw
  }

  #sec-preview .title {
    left: 4.09%;
    top: 10.23%;
    width: 35%;
    font-size: 8.45vw;
    line-height: .85;
    letter-spacing: -.078em;
  }

  #sec-preview .coords {
    left: 88.69%;
    top: 8.91%;
    width: 14%;
    font-size: 1.635vw;
    line-height: 1.55;
    white-space: nowrap;
  }

  #sec-preview .left-copy {
    left: 4.09%;
    top: 29.57%;
    width: 25%;
    font-size: 1.635vw;
    line-height: 1.7;
  }

  #sec-preview .left-copy:before {
    display: none
  }

  #sec-preview .clouds {
    left: 46.87%;
    top: 21.78%;
    width: 22.07%;
    height: 11.90%;
    z-index: 4;
  }

  #sec-preview .top-card {
    left: 66.3%;
    top: 21.78%;
    width: 31.0%;
    height: 20.25%;
    padding: 5.45% 4.23%;
    z-index: 3;
  }

  #sec-preview .top-card div {
    font-size: 1.635vw;
    line-height: 1.5;
  }

  #sec-preview .mountains {
    left: 4.09%;
    top: 30.83%;
    width: 53.41%;
    height: 40.57%;
    z-index: 2;
  }

  #sec-preview .words {
    left: 8.31%;
    top: 33.82%;
    font-size: 1.635vw;
    line-height: 1.55;
    z-index: 7;
  }

  #sec-preview .circle.one {
    left: 53.0%;
    top: 34.52%;
    width: 16.0%;
    height: auto;
    aspect-ratio: 1;
    z-index: 1;
  }

  #sec-preview .circle.two {
    left: 63.5%;
    top: 34.80%;
    width: 14.5%;
    height: auto;
    aspect-ratio: 1;
    z-index: 1;
  }

  #sec-preview .arc.a {
    left: 53.0%;
    top: 34.3%;
    width: 16%;
    height: 12%;
    transform: rotate(-18deg) !important;
    z-index: 1;
  }

  #sec-preview .arc.b {
    left: 62.4%;
    top: 64.0%;
    width: 14%;
    height: 6%;
    transform: rotate(17deg) !important;
    z-index: 1;
  }

  #sec-preview .interior {
    left: 50.4%;
    top: 42.73%;
    width: 45.9%;
    height: 17.25%;
    z-index: 5;
  }

  #sec-preview .road {
    left: 66.3%;
    top: 59.99%;
    width: 31.0%;
    height: 17.25%;
    z-index: 6;
  }

  #sec-preview .plant {
    left: 51.0%;
    top: 64.0%;
    width: 13.6%;
    height: 11.0%;
    z-index: 7;
  }

  #sec-preview .left-card {
    left: 11.85%;
    top: 70.70%;
    width: 38.7%;
    height: 20.85%;
    padding: 13.5% 4.65% 20px;
    font-size: 1.635vw;
    line-height: 1.7;
    z-index: 3;
  }

  #sec-preview .light-card {
    left: 50.4%;
    top: 71.33%;
    width: 46.9%;
    height: 17.45%;
    padding: 5.2%;
    z-index: 8;
  }

  #sec-preview .statement {
    font-size: 5.72vw;
    line-height: .77;
  }

  #sec-preview .vertical {
    left: auto;
    right: 20px;
    top: 61.0%;
    font-size: 1.50vw;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 12;
    transform: rotate(180deg) !important;
  }

  #sec-preview .right-copy {
    left: 85.8%;
    top: 82.0%;
    width: 15.0%;
    font-size: 1.50vw;
    line-height: 1.45;
    z-index: 12;
  }

  #sec-preview .right-copy:after {
    width: 3.5vw;
    margin-top: 2.2vw;
  }

  #sec-preview .right-bottom {
    left: 85.8%;
    top: 82.0%;
    width: 15%;
    font-size: 1.50vw;
    line-height: 1.45;
    z-index: 11;
    display: none;
  }

  #sec-preview .year {
    left: 4.5%;
    top: 94.8%;
    font-size: 1.635vw;
    line-height: 1.5;
    width: 22%;
  }

  #sec-preview .scroll {
    left: 5.8%;
    bottom: 1.7%;
    font-size: 1.635vw;
    line-height: 1.5;
  }
}

@media(min-width:761px) {

  #sec-preview .clouds,
  #sec-preview .mountains,
  #sec-preview .top-card,
  #sec-preview .circle,
  #sec-preview .arc,
  #sec-preview .words,
  #sec-preview .interior,
  #sec-preview .road,
  #sec-preview .left-card,
  #sec-preview .plant,
  #sec-preview .light-card {
    translate: 3.5vw 12px;
  }
}



/* ---------- SERVICES / EXPERTISE (#sec-index) ---------- */

#sec-index {--ink:#111;--paper:#f7f6f1;--faint:rgba(17,17,17,.25);--mono:"DM Mono",monospace;--serif:"Playfair Display",Georgia,serif}
#sec-index * {box-sizing:border-box}
#sec-index {scroll-behavior:smooth}
#sec-index {margin:0;min-width:320px;color:var(--ink);background:var(--paper);font-family:"DM Sans",Arial,sans-serif}
#sec-index .expertise {position:relative;min-height:100vh;overflow:hidden;padding:0 max(4.5vw,28px) 65px;background:radial-gradient(circle at 48% 41%,#fffef9 0,#f7f6f1 67%,#f0eee7 100%)}
#sec-index .intro {position:relative;height:275px;overflow:hidden}
#sec-index .section-number {position:absolute;z-index:3;top:58px;left:2.1vw;display:flex;align-items:center;gap:21px;margin:0;font:14px/1.4 var(--mono);letter-spacing:.03em}
#sec-index .section-number i {width:109px;border-top:1px solid var(--faint)}
#sec-index h1 {position:absolute;z-index:3;top:103px;left:3.4vw;margin:0;font:500 clamp(53px,5vw,84px)/.88 var(--serif);letter-spacing:-.07em}
#sec-index .art {position:absolute;z-index:1;pointer-events:none;opacity:.42}
#sec-index .art-left {width:470px;height:295px;left:-75px;bottom:0;border:1px solid var(--faint);border-top:0;border-right:0;border-radius:0 0 0 100%}
#sec-index .art-centre {width:505px;height:600px;left:40%;bottom:-2px;border:1px dashed var(--faint);border-left:0;border-bottom:0;border-radius:0 100% 0 0;transform:rotate(-3deg)}
#sec-index .art-right {width:165px;height:120px;right:10.5%;bottom:91px;border-top:1px solid var(--faint);border-right:1px solid var(--faint);border-radius:0 100% 0 0}
#sec-index .point {position:absolute;z-index:2;width:11px;height:11px;background:var(--ink);opacity:.55}
#sec-index .point-left {left:2.2vw;bottom:75px}
#sec-index .point-centre {left:39.3%;bottom:251px}
#sec-index .point-right {right:22%;bottom:208px}
#sec-index .below-notes {display:flex;justify-content:flex-end;gap:min(13vw,220px);max-width:1502px;margin:70px auto 0}
#sec-index .top-note, #sec-index .bottom-note {font:14px/1.55 var(--mono);letter-spacing:.02em}
#sec-index .top-note i, #sec-index .bottom-note i {display:block;width:20px;margin:7px 0 19px;border-top:1px solid var(--ink)}
#sec-index .services-grid {--card-width:min(375px,20.4vw);display:grid;grid-template-columns:repeat(4,var(--card-width));align-items:start;width:fit-content;margin:0 auto}
#sec-index .service-card {--icon-shift:58px;--title-shift:96px;position:relative;width:var(--card-width);height:382px;margin-left:-1px;padding:42px 34px 30px;overflow:hidden;background:linear-gradient(var(--ink),var(--ink)) left top/0 1px no-repeat,linear-gradient(var(--ink),var(--ink)) right top/1px 0 no-repeat,linear-gradient(var(--ink),var(--ink)) right bottom/0 1px no-repeat,linear-gradient(var(--ink),var(--ink)) left bottom/1px 0 no-repeat,var(--paper);animation:draw-card 1.15s cubic-bezier(.65,0,.35,1) both;transition:transform .6s cubic-bezier(.16,1,.3,1)}
#sec-index .service-card:not(:first-child) {width:calc(var(--card-width) + 1px)}
#sec-index .service-card:first-child {margin-left:0}
#sec-index .website {--title-shift:72px;margin-top:66px;animation-delay:.14s}
#sec-index .product {--title-shift:108px;margin-top:17px;animation-delay:.28s}
#sec-index .support {--title-shift:108px;margin-top:-43px;animation-delay:.42s}
#sec-index .service-card::before {content:"";position:absolute;inset:8px;z-index:0;border-radius:8px;background:var(--ink);opacity:0;transform:scale(.96);transition:opacity .55s ease,transform .65s cubic-bezier(.16,1,.3,1)}
#sec-index .service-card::after {content:"→";position:absolute;z-index:2;top:52px;left:34px;color:#fff;font:54px/.7 Arial,sans-serif;opacity:0;transform:translateX(-12px);transition:opacity .4s ease .08s,transform .6s cubic-bezier(.16,1,.3,1) .08s}
#sec-index .service-card svg {position:relative;z-index:1;width:58px;height:58px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.3;opacity:0;clip-path:inset(0 100% 0 0);animation:card-content .5s cubic-bezier(.16,1,.3,1) .85s both;transition:color .45s ease,transform .65s cubic-bezier(.16,1,.3,1)}
#sec-index .website svg, #sec-index .website h2 {animation-delay:.99s}
#sec-index .product svg, #sec-index .product h2 {animation-delay:1.13s}
#sec-index .support svg, #sec-index .support h2 {animation-delay:1.27s}
#sec-index .service-card h2 {position:absolute;z-index:1;right:25px;bottom:30px;left:34px;margin:0;font-size:clamp(25px,1.8vw,34px);font-weight:400;letter-spacing:-.06em;opacity:0;clip-path:inset(0 100% 0 0);animation:card-content .5s cubic-bezier(.16,1,.3,1) .85s both;transition:color .45s ease,transform .65s cubic-bezier(.16,1,.3,1)}
#sec-index .service-card p {position:absolute;z-index:1;right:30px;bottom:29px;left:34px;margin:0;color:#fff;font-size:clamp(17px,1.4vw,22px);font-weight:500;line-height:1.5;letter-spacing:-.03em;opacity:0;transform:translateY(13px);transition:opacity .42s ease .18s,transform .65s cubic-bezier(.16,1,.3,1) .18s}
#sec-index .service-card:hover {transform:translateY(-7px)}
#sec-index .service-card:hover::before {opacity:1;transform:scale(1)}
#sec-index .service-card:hover::after {opacity:1;transform:translateX(0)}
#sec-index .service-card:hover svg {color:#fff;transform:translateX(var(--icon-shift))}
#sec-index .service-card:hover h2 {color:#fff;transform:translateY(calc(-1 * var(--title-shift)))}
#sec-index .service-card:hover p {opacity:1;transform:translateY(0)}
@keyframes draw-card{0%{background-size:0 1px,1px 0,0 1px,1px 0,auto}28%{background-size:100% 1px,1px 0,0 1px,1px 0,auto}54%{background-size:100% 1px,1px 100%,0 1px,1px 0,auto}78%{background-size:100% 1px,1px 100%,100% 1px,1px 0,auto}100%{background-size:100% 1px,1px 100%,100% 1px,1px 100%,auto}}
@keyframes card-content{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}
@media(max-width:1050px) {
#sec-index .expertise {padding-inline:28px}
#sec-index .services-grid {--card-width:min(310px,22vw)}
#sec-index .service-card {height:350px}
#sec-index .art-centre {left:43%}
#sec-index .point-centre {left:42%}
#sec-index .point-right {right:19%}
}
@media(max-width:760px) {
#sec-index .expertise {padding:0 16px 48px}
#sec-index .intro {height:260px}
#sec-index .section-number {top:38px;left:0}
#sec-index .section-number i {width:60px}
#sec-index h1 {top:100px;left:0;font-size:54px}
#sec-index .art, #sec-index .point {display:none}
#sec-index .services-grid {--card-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));width:96%;margin:0 auto}
#sec-index .service-card {--icon-shift:44px;--title-shift:128px;height:auto;aspect-ratio:3/4;margin-left:-1px;padding:26px 14px 18px}
#sec-index .service-card:nth-child(odd) {width:var(--card-width);margin-left:0}
#sec-index .service-card:nth-child(even) {width:calc(var(--card-width) + 1px)}
#sec-index .website {--title-shift:105px;margin-top:28px}
#sec-index .product, #sec-index .support {--title-shift:128px}
#sec-index .product {margin-top:-28px}
#sec-index .support {margin-top:0}
#sec-index .service-card svg {width:40px;height:40px}
#sec-index .service-card::after {top:32px;left:14px;font-size:40px}
#sec-index .service-card h2 {right:10px;bottom:18px;left:14px;font-size:clamp(20px,5.3vw,28px);line-height:.98}
#sec-index .service-card p {right:14px;bottom:18px;left:14px;font-size:clamp(16px,4.2vw,18px);line-height:1.45}
#sec-index .below-notes {justify-content:space-between;gap:24px;margin-top:45px}
}
@media(max-width:380px) {
#sec-index .service-card {--title-shift:124px}
#sec-index .website {--title-shift:102px}
#sec-index .service-card h2 {font-size:19px}
#sec-index .service-card p {font-size:14px;line-height:1.42}
}
#sec-index .product {--title-shift:120px}
#sec-index .service-card p {font-size:clamp(15px,1.15vw,19px)}
@media(max-width:760px) {
#sec-index .service-card {--title-shift:118px;padding:32px 20px 18px}
#sec-index .website {--title-shift:96px}
#sec-index .product {--title-shift:142px}
#sec-index .support {--title-shift:118px}
#sec-index .service-card::after {top:38px;left:20px}
#sec-index .service-card h2 {right:14px;left:20px}
#sec-index .service-card p {right:20px;bottom:24px;left:20px;font-size:clamp(16px,4.2vw,18px)}
}
@media(max-width:380px) {
#sec-index .service-card {--title-shift:118px}
#sec-index .website {--title-shift:96px}
#sec-index .product {--title-shift:136px}
#sec-index .service-card p {font-size:14px}
}
#sec-index .service-card svg {width:50px;height:50px}
#sec-index .service-card p {font-size:clamp(16px,1.25vw,20px)}
@media(max-width:760px) {
#sec-index .service-card {--title-shift:108px;padding-inline:16px}
#sec-index .website {--title-shift:90px}
#sec-index .product {--title-shift:128px}
#sec-index .support {--title-shift:108px}
#sec-index .service-card::after {left:16px}
#sec-index .service-card h2 {right:18px;left:16px}
#sec-index .service-card p {right:18px;left:16px;font-size:clamp(16px,4.2vw,18px)}
#sec-index .service-card svg {width:40px;height:40px}
}
@media(max-width:380px) {
#sec-index .service-card {--title-shift:108px}
#sec-index .website {--title-shift:90px}
#sec-index .product {--title-shift:124px}
#sec-index .service-card p {font-size:14px}
}
#sec-index .card-copy {position:absolute;z-index:1;right:30px;bottom:29px;left:34px}
#sec-index .card-copy h2 {position:static;right:auto;bottom:auto;left:auto;transform:none}
#sec-index .card-copy p {position:static;right:auto;bottom:auto;left:auto;max-height:0;margin:0;overflow:hidden;opacity:0;transform:none;transition:max-height .65s cubic-bezier(.16,1,.3,1),margin-top .65s cubic-bezier(.16,1,.3,1),opacity .42s ease .18s}
#sec-index .service-card:hover .card-copy h2 {transform:none}
#sec-index .service-card:hover .card-copy p {max-height:12em;margin-top:8px;opacity:1}
@media(max-width:760px) {
#sec-index .card-copy {right:18px;bottom:24px;left:16px}
#sec-index .service-card:hover .card-copy p {margin-top:10px}
}



/* ---------- PORTFOLIO (#sec-portfolio) ---------- */

#sec-portfolio { --ink:#101010; --paper:#f5f4ee; --line:rgba(16,16,16,.38); --muted:#9b9b98; --serif:"Bodoni Moda",Didot,Georgia,serif; --mono:"DM Mono",monospace; }
#sec-portfolio * { box-sizing:border-box; }
#sec-portfolio { margin:0; min-width:320px; color:var(--ink); background:var(--paper); font-family:Inter,Arial,sans-serif; }
#sec-portfolio .portfolio-page { position:relative; isolation:isolate; min-height:100vh; overflow:hidden; padding:0 4.9vw 39px; background:radial-gradient(circle at 47% 35%,#fffefa 0,#f8f7f2 51%,#f0efe9 100%); }
#sec-portfolio .graph { position:absolute; z-index:-1; overflow:visible; fill:none; stroke:rgba(16,16,16,.4); stroke-width:1; pointer-events:none; }
#sec-portfolio .graph-top { top:0; right:0; width:100%; height:660px; }
#sec-portfolio .graph-bottom { bottom:-24px; left:0; width:100%; height:250px; }
#sec-portfolio .graph .draw { stroke-dasharray:1; stroke-dashoffset:1; animation:draw-graph 1.8s cubic-bezier(.65,0,.35,1) forwards; }
#sec-portfolio .graph .dashed { stroke-dasharray:.012 .012; animation-duration:2.2s; }
#sec-portfolio .graph .spark, #sec-portfolio .graph rect { fill:var(--ink); stroke:none; opacity:0; animation:appear .25s 1.35s forwards; }
#sec-portfolio .graph-bottom .draw { animation-delay:.55s; }
#sec-portfolio .graph-bottom rect { animation-delay:1.65s; }
#sec-portfolio .hero { height:338px; position:relative; padding:86px 0 0 1.65vw; }
#sec-portfolio .eyebrow { display:flex; align-items:center; gap:16px; margin:0; font:12px/1 var(--mono); letter-spacing:.04em; }
#sec-portfolio .eyebrow i { width:90px; border-top:1px solid var(--line); }
#sec-portfolio .eyebrow b { font:16px/1 var(--mono); font-weight:400; }
#sec-portfolio h1 { margin:38px 0 0; font:500 clamp(78px,8.5vw,136px)/.82 var(--serif); letter-spacing:-.08em; }
#sec-portfolio .description { margin:22px 0 0; font:16px/1.52 var(--mono); text-transform:uppercase; letter-spacing:.13em; }
#sec-portfolio .studio-menu { position:absolute; top:54px; right:5.1vw; font:12px/1.72 var(--mono); letter-spacing:.04em; }
#sec-portfolio .studio-menu i { display:block; width:13px; margin:3px 0 15px; border-top:1px solid var(--ink); }
#sec-portfolio .studio-menu i:last-child { margin-top:15px; }
#sec-portfolio .portfolio-panel { position:relative; overflow:hidden; background:transparent; box-shadow:none; backdrop-filter:blur(10px) saturate(.8); -webkit-backdrop-filter:blur(10px) saturate(.8); }
#sec-portfolio .filter-bar { display:flex; align-items:center; gap:15px; height:62px; padding:0 2.3vw; border-bottom:1px solid var(--line); }
#sec-portfolio .filter-label { color:var(--muted); font:10px/1 var(--mono); letter-spacing:.1em; text-transform:uppercase; }
#sec-portfolio .filter-menu { position:relative; }
#sec-portfolio .filter-trigger, #sec-portfolio .filter-options button { width:150px; border:0; border-radius:0; color:var(--ink); font:12px/1.2 var(--mono); letter-spacing:.025em; text-align:left; }
#sec-portfolio .filter-trigger { display:flex; align-items:center; justify-content:space-between; min-height:38px; padding:10px 12px; border:1px solid rgba(16,16,16,.62); cursor:pointer; background:rgba(255,255,252,.48); }
#sec-portfolio .filter-trigger:hover, #sec-portfolio .filter-trigger[aria-expanded="true"] { background:#fffef9; }
#sec-portfolio .filter-trigger i { width:8px; height:8px; margin-left:14px; border-right:1px solid var(--ink); border-bottom:1px solid var(--ink); transform:translateY(-2px) rotate(45deg); transition:transform .2s ease; }
#sec-portfolio .filter-trigger[aria-expanded="true"] i { transform:translateY(2px) rotate(225deg); }
#sec-portfolio .filter-options { position:absolute; z-index:5; top:calc(100% + 5px); left:0; width:150px; padding:4px; border:1px solid rgba(16,16,16,.62); background:#fffef9; box-shadow:0 10px 24px rgba(16,16,16,.1); }
#sec-portfolio .filter-options button { display:flex; justify-content:space-between; padding:10px 8px; cursor:pointer; background:transparent; }
#sec-portfolio .filter-options button:hover { background:#eeece5; }
#sec-portfolio .list-head, #sec-portfolio .project-row { display:grid; grid-template-columns:8.3% 29.3% 27% 20.2% 8.7% 6.5%; align-items:center; }
#sec-portfolio .list-head { height:50px; padding:0 2.3vw; border-bottom:1px solid var(--line); font:10px/1 var(--mono); letter-spacing:.09em; text-transform:uppercase; }
#sec-portfolio .project-row { position:relative; min-height:105px; padding:0 2.3vw; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; transform-origin:left center; animation:row-draw .7s cubic-bezier(.16,1,.3,1) both; }
#sec-portfolio .project-row:nth-child(1) {animation-delay:.6s}
#sec-portfolio .project-row:nth-child(2) {animation-delay:.7s}
#sec-portfolio .project-row:nth-child(3) {animation-delay:.8s}
#sec-portfolio .project-row:nth-child(4) {animation-delay:.9s}
#sec-portfolio .project-row:nth-child(5) {animation-delay:1s}
#sec-portfolio .project-row::after { content:""; position:absolute; inset:0; z-index:-1; background:rgba(255,255,252,.6); transform:scaleX(0); transform-origin:left; transition:transform .45s cubic-bezier(.16,1,.3,1); }
#sec-portfolio .project-row:hover::after { transform:scaleX(1); }
#sec-portfolio .project-row:hover strong { transform:translateX(8px); }
#sec-portfolio .project-row.is-hidden { display:none; }
#sec-portfolio .number { display:flex; align-items:center; gap:28px; font:11px/1 var(--mono); }
#sec-portfolio .number i { width:49px; border-top:1px solid var(--line); }
#sec-portfolio .project-label { font:11px/1.65 var(--mono); letter-spacing:.035em; text-transform:uppercase; }
#sec-portfolio .project-row strong { display:block; min-width:0; overflow:hidden; font:500 clamp(30px,3.05vw,48px)/.92 var(--serif); letter-spacing:-.065em; text-overflow:ellipsis; white-space:nowrap; transition:transform .35s cubic-bezier(.16,1,.3,1); }
#sec-portfolio .services, #sec-portfolio .year { font:14px/1.45 Inter,sans-serif; }
#sec-portfolio .arrow { justify-self:end; font:34px/.6 Arial,sans-serif; font-weight:200; }
#sec-portfolio .mobile-break { display:inline; }
#sec-portfolio .scroll-note { display:flex; align-items:center; gap:26px; margin:61px 0 0 1px; }
#sec-portfolio .scroll-note span { font:38px/.7 Arial,sans-serif; }
#sec-portfolio .scroll-note p, #sec-portfolio .location { margin:0; font:11px/1.65 var(--mono); letter-spacing:.04em; }
#sec-portfolio .location { position:absolute; right:5.1vw; bottom:49px; padding-left:31px; border-left:1px solid var(--ink); }
#sec-portfolio .location i { display:block; width:13px; margin-top:7px; border-top:1px solid var(--ink); }
@media (min-width:851px) {
#sec-portfolio .list-head, #sec-portfolio .project-row { grid-template-columns:8.3% 24% 32.3% 20.2% 8.7% 6.5%; }
#sec-portfolio .list-head > *, #sec-portfolio .project-row > * { padding-inline:8px; }
#sec-portfolio .list-head > :first-child, #sec-portfolio .project-row > :first-child { padding-left:0; }
#sec-portfolio .list-head > :last-child, #sec-portfolio .project-row > :last-child { padding-right:0; }
}
@keyframes draw-graph { to { stroke-dashoffset:0; } }
@keyframes appear { to { opacity:1; } }
@keyframes row-draw { from { opacity:0; transform:translateX(-22px); clip-path:inset(0 100% 0 0); } to { opacity:1; transform:translateX(0); clip-path:inset(0); } }
@media (max-width:850px) {
#sec-portfolio .portfolio-page { padding-inline:24px; }
#sec-portfolio .graph-top { transform:translateX(290px); opacity:.6; }
#sec-portfolio .hero { padding-left:0; }
#sec-portfolio .studio-menu { right:25px; }
#sec-portfolio .filter-bar { padding-left:20px; }
#sec-portfolio .list-head, #sec-portfolio .project-row { grid-template-columns:12% 30% 30% 20% 8%; }
#sec-portfolio .list-head span:last-child, #sec-portfolio .arrow { display:none; }
#sec-portfolio .number { display:none !important; }
#sec-portfolio .list-head, #sec-portfolio .project-row { grid-template-columns:33% 31% 26% 10%; }
#sec-portfolio .list-head span:first-child, #sec-portfolio .project-row .number { display:none; }
}
@media (max-width:560px) {
#sec-portfolio .portfolio-page { padding:0 16px 28px; }
#sec-portfolio .graph-top { transform:translateX(470px); opacity:.34; }
#sec-portfolio .graph-bottom { opacity:.35; }
#sec-portfolio .hero { height:246px; padding-top:42px; }
#sec-portfolio h1 { margin-top:27px; font-size:65px; }
#sec-portfolio .description { margin-top:12px; font-size:10px; }
#sec-portfolio .studio-menu { display:none; }
#sec-portfolio .portfolio-panel { margin:0 -4px; }
#sec-portfolio .filter-bar { height:55px; padding-left:16px; }
#sec-portfolio .filter-trigger, #sec-portfolio .filter-options, #sec-portfolio .filter-options button { width:150px; }
#sec-portfolio .filter-trigger { min-height:36px; padding:9px 10px; font-size:10px; }
#sec-portfolio .list-head { display:none; }
#sec-portfolio .project-row { grid-template-columns:minmax(0,1fr) 25%; min-height:128px; padding:16px 18px; }
#sec-portfolio .project-label { grid-column:1; grid-row:1; max-width:100%; overflow:hidden; font-size:8px; line-height:1.55; }
#sec-portfolio .project-row strong { grid-column:1; grid-row:2; min-width:0; margin-top:7px; overflow:hidden; font-size:23px; line-height:.95; text-overflow:ellipsis; white-space:nowrap; display:block; }
#sec-portfolio .number { display:none !important; }
#sec-portfolio .mobile-break { display:block; }
#sec-portfolio .services { display:-webkit-box; grid-column:1; grid-row:3; max-width:100%; margin-top:11px; overflow:hidden; color:#555; font-size:9px; line-height:1.35; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
#sec-portfolio .year { display:-webkit-box; grid-column:2; grid-row:1 / span 3; max-width:100%; overflow:hidden; justify-self:end; align-self:center; font-size:10px; line-height:1.35; text-align:right; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
#sec-portfolio .location { position:relative; right:auto; bottom:auto; width:max-content; margin:36px 0 0 auto; }
#sec-portfolio .scroll-note { margin-top:45px; }
}
@media (prefers-reduced-motion:reduce) {
#sec-portfolio *, #sec-portfolio *::before, #sec-portfolio *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}



/* ---------- CONTACT CTA (#sec-contact) ---------- */

#sec-contact { --ink: #101010; --paper: #f9f7f2; --line: #9da0a1; }
#sec-contact * { box-sizing: border-box; }
#sec-contact { margin: 0; padding: 0; }
#sec-contact { background: var(--paper); color: var(--ink); }
#sec-contact .section-break {
      height: 1px;
      background: #85837d;
      margin: 30px 1.62%;
    }
#sec-contact .contact-cta {
      isolation: isolate;
      height: clamp(320px, 30vw, 430px);
      min-height: 320px;
      overflow: hidden;
      position: relative;
      display: grid;
      place-items: center;
      padding: 3.5rem 1.5rem 4.5rem;
      background: radial-gradient(circle at center, #fffefa 0%, var(--paper) 66%, #f4f1e9 100%);
    }
#sec-contact .content { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
#sec-contact .plane { width: 58px; height: 58px; margin-bottom: 1.25rem; animation: plane-float 4.8s ease-in-out infinite; }
#sec-contact h1 {
      max-width: 1000px;
      margin: 0;
      font: 600 clamp(2.15rem, 4.25vw, 4.35rem)/.96 "Playfair Display", Georgia, serif;
      letter-spacing: -.075em;
    }
#sec-contact .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .8rem;
      width: auto;
      margin-top: 1.65rem;
      padding: .72rem 1.35rem .72rem 1.5rem;
      color: #fff;
      background: #151515;
      border: 1px solid #2d2d2d;
      box-shadow: inset 0 0 28px rgba(255,255,255,.035);
      font: 500 1rem/1 "Playfair Display", Georgia, serif;
      text-decoration: none;
      transition: transform .22s ease, background .22s ease;
    }
#sec-contact .button:hover { transform: translateY(-4px); background: #2b2b2b; }
#sec-contact .arrow { width:16px; height:16px; flex:0 0 auto; transform: translateY(-1px); }
#sec-contact .arrow path { fill:none; stroke:currentColor; }
#sec-contact .decor { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
#sec-contact .decor path, #sec-contact .decor line { fill: none; vector-effect: non-scaling-stroke; }
#sec-contact .decor .solid { stroke: var(--line); stroke-width: 1; opacity: .85; }
#sec-contact .decor .dash { stroke: var(--line); stroke-width: 1; stroke-dasharray: 7 8; opacity: .8; animation: dash-travel 9s linear infinite; }
#sec-contact .decor .faint { stroke: #c8c8c4; stroke-width: 1; }
#sec-contact .decor rect { fill: #090909; transform-box: fill-box; transform-origin: center; animation: marker-pulse 3.5s ease-in-out infinite; }
#sec-contact .decor rect:nth-of-type(2) { animation-delay: 1.1s; }
#sec-contact .decor rect:nth-of-type(3) { animation-delay: 2.2s; }
#sec-contact .sparkle { position: absolute; z-index: 1; width: 210px; height: 210px; right: 2.5%; bottom: 3%; animation: sparkle-breathe 5s ease-in-out infinite; }
@keyframes plane-float { 0%,100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(7px, -12px) rotate(4deg); } }
@keyframes dash-travel { to { stroke-dashoffset: -120; } }
@keyframes marker-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .6; } }
@keyframes sparkle-breathe { 0%,100% { transform: rotate(0deg) scale(.95); opacity: .72; } 50% { transform: rotate(7deg) scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
#sec-contact .plane, #sec-contact .decor .dash, #sec-contact .decor rect, #sec-contact .sparkle { animation: none; }
}
@media (max-width: 700px) {
#sec-contact .contact-cta { height: 320px; min-height: 320px; }
#sec-contact h1 { letter-spacing: -.06em; }
#sec-contact .plane { width: 48px; height: 48px; margin-bottom: 1rem; }
#sec-contact .button { margin-top: 1.45rem; padding: .65rem 1.15rem .65rem 1.3rem; }
#sec-contact .sparkle { width: 170px; height: 170px; right: -5%; bottom: 1%; opacity: .75; }
#sec-contact .decor { transform: scale(1.28); transform-origin: center; }
}



/* ---------- FOOTER (#sec-footer) ---------- */

#sec-footer { --paper:#f8f7f2; --ink:#0a0a0a; --rule:#aaa9a2; --muted:#2a2a29; }
#sec-footer * { box-sizing: border-box; }
#sec-footer { background: var(--paper); }
#sec-footer { margin:0; color:var(--ink); background:var(--paper); font-family:"DM Mono", ui-monospace, monospace; }
#sec-footer .footer { overflow:hidden; position:relative; min-height:0; padding-top:clamp(1rem, 3vw, 2rem); background:radial-gradient(circle at 50% 60%, #fffefa 0%, var(--paper) 68%, #f0eee7 125%); }
#sec-footer .footer::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.2; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); mix-blend-mode:multiply; }
#sec-footer .shell { position:relative; width:100%; border-top:1px solid var(--rule); }
#sec-footer .main { isolation:isolate; position:relative; display:grid; grid-template-columns:20.8% 1fr 16.8%; min-height:405px; }
#sec-footer .brand { position:relative; z-index:1; padding:2.9rem 3.95rem 2rem; border-right:1px solid var(--rule); display:flex; flex-direction:column; }
#sec-footer .mark { width:66px; height:66px; margin-bottom:2.65rem; }
#sec-footer .brand-copy, #sec-footer .menu, #sec-footer .locale, #sec-footer .tagline, #sec-footer .legal, #sec-footer .bottom-nav, #sec-footer .contact-copy, #sec-footer .channel { font-size:12px; letter-spacing:.085em; line-height:1.75; }
#sec-footer .brand-copy { margin:0; }
#sec-footer .menu { list-style:none; padding:0; margin:2.65rem 0 0; }
#sec-footer .locale { margin-top:auto; }
#sec-footer .content { position:relative; z-index:1; padding:3rem clamp(3rem, 5vw, 6rem); border-right:1px solid var(--rule); }
#sec-footer h1 { position:relative; z-index:2; max-width:740px; margin:0; font:500 clamp(3.4rem, 5vw, 5.75rem)/.87 "Playfair Display", Georgia, serif; letter-spacing:-.067em; animation:lift .9s cubic-bezier(.2,.8,.2,1) both; }
#sec-footer .contact-copy { position:relative; z-index:2; max-width:475px; margin:1.65rem 0 1.8rem; font-size:14px; letter-spacing:.065em; line-height:1.7; animation:lift .9s .12s cubic-bezier(.2,.8,.2,1) both; }
#sec-footer .channels { position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:1.35rem; animation:lift .9s .22s cubic-bezier(.2,.8,.2,1) both; }
#sec-footer .channel { min-width:190px; flex:1; display:flex; align-items:center; gap:1.15rem; padding:.9rem 1.2rem; border:1px solid var(--ink); color:var(--paper); background:var(--ink); text-decoration:none; transition:color .25s ease, background .25s ease, transform .25s ease; }
#sec-footer .channel:hover { color:var(--ink); background:#f4f3ee; transform:translateY(-5px); }
#sec-footer .channel:hover .arrow { transform:translate(3px,-3px); }
#sec-footer .icon { width:25px; height:25px; display:inline-flex; align-items:center; justify-content:center; line-height:1; flex:0 0 auto; }
#sec-footer .arrow { margin-left:auto; font:300 25px/1 Arial,sans-serif; transition:transform .25s ease; }
#sec-footer .aside { position:relative; z-index:1; padding:2.9rem 3.5rem; }
#sec-footer .tagline { position:relative; z-index:1; margin:0 0 0 auto; width:120px; font-size:14px; letter-spacing:.09em; line-height:1.65; }
#sec-footer .tagline::before { content:""; display:block; width:26px; margin-bottom:1.25rem; border-top:1px solid var(--rule); }
#sec-footer .geometry { position:absolute; z-index:0; top:112px; right:-113px; width:530px; height:400px; overflow:visible; pointer-events:none; opacity:.62; }
#sec-footer .geometry .fine { stroke:#888883; stroke-width:1; fill:none; vector-effect:non-scaling-stroke; }
#sec-footer .geometry .dash { stroke-dasharray:5 9; animation:dash 13s linear infinite; }
#sec-footer .geometry .orb { transform-origin:309px 205px; animation:drift 7s ease-in-out infinite; }
#sec-footer .spark { transform-origin:309px 205px; animation:spark 4.8s ease-in-out infinite; }
#sec-footer .bottom { position:relative; min-height:98px; padding:0 4rem; border-top:1px solid var(--rule); display:flex; align-items:center; justify-content:space-between; gap:2rem; }
#sec-footer .legal, #sec-footer .bottom-nav { font-size:11px; letter-spacing:.075em; }
#sec-footer .bottom-nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:1.4rem; }
#sec-footer .bottom-nav a { color:inherit; text-decoration:none; transition:opacity .2s ease; }
#sec-footer .bottom-nav a:hover { opacity:.45; }
@keyframes lift { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes dash { to { stroke-dashoffset:-150; } }
@keyframes drift { 0%,100% { transform:translate(0,0); } 50% { transform:translate(8px,-7px); } }
@keyframes spark { 0%,100% { transform:scale(.94); opacity:.82; } 50% { transform:scale(1.1); opacity:1; } }
@media (max-width:1000px) {
#sec-footer .main { grid-template-columns:200px 1fr; }
#sec-footer .aside { display:none; }
#sec-footer .content { border-right:0; }
#sec-footer .brand { padding:3rem 2rem; }
#sec-footer .bottom { padding:0 2rem; }
}
@media (max-width:680px) {
#sec-footer .footer { padding-top:1rem; }
#sec-footer .shell { width:100%; }
#sec-footer .main { display:block; min-height:0; }
#sec-footer .brand { min-height:158px; border-right:0; border-bottom:1px solid var(--rule); padding:1.35rem 1.25rem; }
#sec-footer .mark { width:42px; height:42px; margin-bottom:.55rem; }
#sec-footer .menu { display:none; }
#sec-footer .locale { margin-top:.85rem; }
#sec-footer .content { padding:2rem 1.25rem; }
#sec-footer h1 { font-size:clamp(2.75rem, 12.5vw, 3.9rem); }
#sec-footer .contact-copy { margin:1.2rem 0 1.35rem; font-size:11px; }
#sec-footer .channels { width:100%; gap:.8rem; }
#sec-footer .channel { width:100%; min-width:0; min-height:54px; padding:.65rem .7rem; gap:.55rem; }
#sec-footer .channel .icon { width:20px; height:20px; }
#sec-footer .geometry { top:165px; right:-330px; opacity:.25; }
#sec-footer .bottom { min-height:118px; padding:1.2rem 1.25rem; align-items:flex-start; flex-direction:column; justify-content:center; gap:.85rem; }
#sec-footer .bottom-nav { justify-content:flex-start; gap:.8rem 1.15rem; }
}
@media (prefers-reduced-motion:reduce) {
#sec-footer *, #sec-footer *::before, #sec-footer *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; }
}



/* =========================================================
   ENHANCEMENTS — unified palette, sticky nav, consistent
   dividers/numbering, scroll-triggered reveals, continuous
   background flow line.
   ========================================================= */

/* ---- (f) one consistent background for the whole page,
   taken from the Expertise/Services section's palette ---- */
:root{
  --site-ink:#111;
  --site-paper:#f7f6f1;
  --site-line:rgba(17,17,17,.25);
}
html, body{
  background: radial-gradient(circle at 48% 30%, #fffef9 0%, #f7f6f1 55%, #f0eee7 100%);
  background-attachment: fixed;
}
/* strip each section's own full-bleed background so the single
   page background shows through everywhere, seam-free */
#sec-hero .hero,
#sec-preview .section,
#sec-index .expertise,
#sec-portfolio .portfolio-page,
#sec-contact .contact-cta,
#sec-footer .footer{
  background: transparent;
}
#sec-nav .nav{
  background: rgba(247,246,241,.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* every page section + the nav need their own stacking context
   so they establish their own stacking context */
.page-section, #sec-nav{ position:relative; z-index:1; }

/* ---- (e) sticky navbar (now a direct child of body, so it
   stays stuck for the full scroll of the page, not just hero) ---- */
#sec-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  --cream:#f7f6f1;
  --ink:#111;
  --line: rgba(17,17,17,.28);
  --line-soft: rgba(17,17,17,.14);
}

/* ---- (a) a bit more breathing room around "What we do." ---- */
#sec-index .intro{ margin-top: 44px; margin-bottom: 56px; }

/* ---- (c) consistent section-numbering line/label across
   hero / fragments / services / portfolio ---- */
#sec-hero .eyebrow,
#sec-preview .index.mono,
#sec-index .section-number,
#sec-portfolio .eyebrow{
  font-size: 13px;
  letter-spacing: .05em;
  gap: 18px;
}
#sec-hero .eyebrow .rule,
#sec-preview .index.mono .line,
#sec-index .section-number i,
#sec-portfolio .eyebrow i{
  width: 70px;
}

/* ---- (d) a full-width break line between every section,
   matching the one at the top of Fragments ---- */
.page-divider{
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 0 1.62%;
  background: var(--site-line);
}
#sec-preview .rule,
#sec-contact .section-break{
  background: var(--site-line);
}

/* ---- (g) bump up the small/large type in the Fragments
   section a little (desktop only — mobile is already tuned
   with its own vw-based scale) ---- */
@media (min-width: 761px){
  #sec-preview .mono,
  #sec-preview .left-copy,
  #sec-preview .right-copy,
  #sec-preview .coords,
  #sec-preview .words,
  #sec-preview .top-card div,
  #sec-preview .left-card,
  #sec-preview .vertical,
  #sec-preview .right-bottom,
  #sec-preview .year,
  #sec-preview .scroll{
    font-size: clamp(11px, .82vw, 15px);
  }
  #sec-preview .title{
    font-size: clamp(54px, 5vw, 92px);
  }
  #sec-preview .statement{
    font-size: clamp(40px, 3.6vw, 66px);
  }
}

/* ---- Fragments image pop-in ---- */
@keyframes fragments-img-pop{
  from{opacity:0;transform:scale(.86)}
  to{opacity:1;transform:scale(1)}
}
#sec-preview .img{
  opacity:0;
  animation:fragments-img-pop .7s cubic-bezier(.34,1.56,.64,1) both;
  animation-play-state:paused;
}
#sec-preview .img.clouds{animation-delay:.05s}
#sec-preview .img.mountains{animation-delay:.15s}
#sec-preview .img.interior{animation-delay:.25s}
#sec-preview .img.road{animation-delay:.35s}
#sec-preview .img.plant{animation-delay:.45s}
#sec-preview.in-view .img{animation-play-state:running}

/* ---- (b) gate every existing "plays on load" animation so it
   only runs once its section has scrolled into view ---- */
#sec-hero .draw, #sec-hero .draw-fade, #sec-hero .pop,
#sec-index .service-card, #sec-index .service-card svg, #sec-index .service-card h2,
#sec-portfolio .project-row,
#sec-contact .plane, #sec-contact .sparkle,
#sec-footer h1, #sec-footer .contact-copy, #sec-footer .channels{
  animation-play-state: paused;
}
#sec-hero.in-view .draw, #sec-hero.in-view .draw-fade, #sec-hero.in-view .pop,
#sec-index.in-view .service-card, #sec-index.in-view .service-card svg, #sec-index.in-view .service-card h2,
#sec-portfolio.in-view .project-row,
#sec-contact.in-view .plane, #sec-contact.in-view .sparkle,
#sec-footer.in-view h1, #sec-footer.in-view .contact-copy, #sec-footer.in-view .channels{
  animation-play-state: running;
}

/* hero's own mobile/desktop line-art and the footer's geometry
   graphic remain retired; portfolio's and contact's original
   animated graphs are restored below at full fidelity */
#sec-hero .mobile-art, #sec-hero .desktop-art,
#sec-footer .geometry{
  display: none;
}

@media (prefers-reduced-motion: reduce){
  #sec-preview .img,
  #sec-hero .draw, #sec-hero .draw-fade, #sec-hero .pop,
  #sec-index .service-card, #sec-index .service-card svg, #sec-index .service-card h2,
  #sec-portfolio .project-row,
  #sec-contact .plane, #sec-contact .sparkle,
  #sec-footer h1, #sec-footer .contact-copy, #sec-footer .channels{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
   ROUND 2 FIXES
   a) fragments images were stuck invisible (missing reveal rule)
   b) flatten the page background to one truly uniform colour
   c) unify heading + label fonts across every section
   d) redesign the background flow-line to read as a real,
      visible geometric motif consistent with the rest of the site
   e) strip hover animation from CTA buttons, unify to white/black
   ========================================================= */

/* ---- b) one truly flat, uniform background colour site-wide
   (a gradient reads as "different" from section to section, a
   flat colour never will) ---- */
html, body{
  background: #f5f4ef;
  background-image: none;
  background-attachment: scroll;
}
#sec-nav .nav{
  background: rgba(245,244,239,.92);
}

/* ---- c) unify every heading/title to one serif, and every
   label/body/mono piece of text to one monospace, site-wide ---- */
body,
#sec-hero, #sec-nav, #sec-preview, #sec-index, #sec-portfolio, #sec-contact, #sec-footer{
  font-family: "DM Mono", ui-monospace, monospace;
}
#sec-hero h1,
#sec-preview .title,
#sec-preview .statement,
#sec-index h1,
#sec-index .service-card h2,
#sec-portfolio h1,
#sec-portfolio .project-row strong,
#sec-contact h1,
#sec-footer h1{
  font-family: "Playfair Display", Georgia, serif;
}

/* ---- buttons: one consistent design everywhere - white bg,
   black text, black border, no hover inversion, no lift/animation ---- */
#sec-nav .talk-btn,
#sec-contact .button,
#sec-footer .channel{
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 0;
  border-color: #111;
  box-shadow: none;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 13px 15px;
  transition: none;
}
#sec-footer .channel .arrow { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; margin-left:auto; font:inherit; }
#sec-footer .channel .arrow svg { display:block; width:18px; height:18px; }
#sec-footer .channel { min-width:0; overflow:hidden; white-space:nowrap; }
#sec-footer .channel .icon { flex:0 0 auto; }
#sec-footer .channel .arrow { flex:0 0 auto; }

@media (max-width:900px){
  #sec-footer .channel { min-height:46px; padding:10px 12px; font-size:9px; }
}
#sec-nav .talk-btn:hover,
#sec-contact .button:hover,
#sec-footer .channel:hover{
  background: #fff;
  color: #111;
  transform: none;
}
#sec-footer .channel:hover .arrow{ transform: none; }

@media (prefers-reduced-motion: reduce){
  #sec-preview .img{ animation:none !important; opacity:1 !important; transform:none !important; }
}


/* =========================================================
   ROUND 3 FIX
   Every section wrapper (#sec-hero, #sec-preview, #sec-index,
   #sec-portfolio, #sec-contact, #sec-footer) still carried its
   own opaque background colour inherited from that file's
   original html/body reset. That was never made transparent
   (only the inner .hero/.section/.expertise/etc class was),
   so each section kept painting its own near-white shade on
   top of the unified page background AND on top of the
   continuous flow-line SVG sitting behind everything - which
   is why Fragments looked like a different colour and the
   background line was invisible everywhere.
   ========================================================= */
#sec-hero,
#sec-preview,
#sec-index,
#sec-portfolio,
#sec-contact,
#sec-footer{
  background: transparent;
}

/* =========================================================
   HIRE MODAL — triggered by the nav "Let's Talk" button and
   the Contact section's "Get in Touch" button. A small centred
   card, not a full-page takeover. Closed by default (no
   .is-open class); JS toggles it.
   ========================================================= */
#hireRuyaModal{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s step-end;
  font-family: "DM Sans", Arial, sans-serif;
  color: #090909;
}
#hireRuyaModal.is-open{
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}
#hireRuyaModal .hire-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, .42);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
#hireRuyaModal .hire-modal__dialog{
  position: relative;
  width: min(560px, 92vw);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  padding: 56px 40px 40px;
  border: 3px solid #111;
  border-radius: 0;
  background: #f7f6f2;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  isolation: isolate;
  text-align: center;
}
#hireRuyaModal .hire-modal__dialog::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 30% 20%, #fff 0, rgba(255,255,255,.4) 20%, transparent 55%),
    linear-gradient(120deg, #fbfaf6, #f1f0ec);
}
#hireRuyaModal .close{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
#hireRuyaModal .close::before,
#hireRuyaModal .close::after{
  content: "";
  position: absolute;
  top: 17px;
  left: 6px;
  width: 24px;
  height: 2px;
  background: #090909;
  transform: rotate(45deg);
}
#hireRuyaModal .close::after{ transform: rotate(-45deg); }
#hireRuyaModal .close:focus-visible,
#hireRuyaModal .contact-option:focus-visible{
  outline: 3px solid #315bff;
  outline-offset: 4px;
}

/* text + contact grid sit in normal flow now, sized for a card
   rather than a full viewport */
#hireRuyaModal .eyebrow{
  position: static;
  margin: 0 0 16px;
  transform: none;
  font-family: Georgia, serif;
  font-size: .8rem;
  letter-spacing: .28em;
  white-space: nowrap;
}
#hireRuyaModal h1{
  position: static;
  width: auto;
  margin: 0 0 32px;
  transform: none;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 5.1vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}
#hireRuyaModal .contact-options{
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#hireRuyaModal .contact-option{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1.5px solid #222;
  color: #090909;
  text-decoration: none;
  font-size: clamp(.8rem, 1.6vw, .92rem);
  font-weight: 500;
  transition: background .18s ease, color .18s ease;
}
#hireRuyaModal .contact-option:hover{ background: #090909; color: #fff; }
#hireRuyaModal .contact-option svg{
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* decorative geometry, scaled down and simplified to suit a
   small card instead of a full-page canvas */
#hireRuyaModal .crosshair,
#hireRuyaModal .square,
#hireRuyaModal .arc--bottom{
  display: none;
}
#hireRuyaModal .arc{
  position: absolute;
  z-index: -1;
  border: 1px solid #181818;
  border-color: #181818 transparent transparent #181818;
  border-radius: 50%;
  pointer-events: none;
}
#hireRuyaModal .arc--top{
  top: -70px;
  left: -90px;
  width: 220px;
  height: 150px;
  transform: rotate(17deg);
}

@media (max-width: 640px){
  #hireRuyaModal .hire-modal__dialog{
    width: 94vw;
    padding: 48px 22px 28px;
    border-radius: 0;
  }
  #hireRuyaModal .contact-options{ grid-template-columns: 1fr; gap: 10px; }
  #hireRuyaModal .contact-option{ min-height: 52px; }
  #hireRuyaModal h1{ margin-bottom: 24px; }
}
