/* Kadrew studio theme, scoped to the project directory homepage. */
.page-studio {
  --bg: #09111e;
  --surface: #101e30;
  --text: #ecf4fc;
  --muted: #a0b2c7;
  --line: #24364b;
  --accent: #72e3f4;
  background: var(--bg);
}
.page-studio .wrap {
  max-width: none;
  padding-inline: clamp(24px, 5vw, 120px);
}
.page-studio .site-head {
  background: #09111eef;
}
.page-studio .site-head .wrap {
  min-height: 88px;
}
.studio-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #4bb1c65c;
  border-radius: 11px;
  background: #102a3a;
  color: var(--accent);
  font-size: 26px;
  font-weight: 800;
}
.page-studio .head-nav {
  gap: 32px;
}
.page-studio .lang-switch {
  background-color: transparent;
  color: var(--text);
}
.page-studio main {
  padding-top: 0;
  padding-bottom: 0;
}
.studio-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 7vw;
  padding-block: 95px 90px;
  min-height: 650px;
}
.studio-kicker {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 650;
  margin-bottom: 28px;
}
.studio-hero h1 {
  font-size: clamp(52px, 5.8vw, 96px);
  line-height: 1.15;
  letter-spacing: -.06em;
  margin-bottom: 30px;
}
.studio-accent {
  color: var(--accent);
}
.studio-intro .lead {
  max-width: 600px;
  font-size: 17px;
}
.studio-button {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  margin-top: 15px;
  background: var(--accent);
  color: #092332;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.studio-button:hover {
  background: #a5eff9;
}
.studio-orbit {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 570px;
  justify-self: center;
  background-image: radial-gradient(ellipse, #12456380, transparent 66%), linear-gradient(#24425c35 1px, transparent 1px), linear-gradient(90deg, #24425c35 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  mask-image: radial-gradient(ellipse, black 50%, transparent 73%);
}
.orbit-ring {
  position: absolute;
  border: 1px solid #5dacc947;
  border-radius: 50%;
}
.orbit-ring-outer {
  inset: 7%;
  transform: rotateX(35deg) rotate(-25deg);
}
.orbit-ring-inner {
  inset: 19%;
  border-style: dashed;
  transform: rotate(25deg);
}
.orbit-core {
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid #65d7ed80;
  border-radius: 27%;
  background: linear-gradient(145deg, #183f56, #102438);
  box-shadow: 0 0 65px #42caeb20, inset 0 1px #b4f5ff30;
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 750;
  color: #a1f0fc;
}
.orbit-app, .orbit-web {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #102236;
  box-shadow: 0 15px 40px #0004;
}
.orbit-app {
  top: 15%;
  right: 12%;
  padding: 9px;
  width: 19%;
}
.orbit-app img {
  display: block;
  border-radius: 16px;
  width: 100%;
  height: auto;
}
.orbit-web {
  bottom: 18%;
  left: 9%;
  width: 24%;
  aspect-ratio: 1.35;
  font-family: ui-monospace, monospace;
  font-size: clamp(16px, 2vw, 26px);
  color: var(--accent);
}
.studio-projects {
  padding-top: 28px;
  padding-bottom: 84px;
  scroll-margin-top: 110px;
}
.studio-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.studio-section-head h2 {
  margin: 0;
  font-size: 30px;
}
.studio-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.studio-project-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.studio-project {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
}
.project-nearbynow {
  display: grid;
  grid-template-columns: 1.1fr .8fr;
  min-height: 410px;
}
.project-copy {
  padding: clamp(25px, 3vw, 48px);
}
.project-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}
.project-status {
  padding: 3px 9px;
  border: 1px solid #397285;
  border-radius: 30px;
  color: #9adce6;
  letter-spacing: normal;
}
.project-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}
.project-title img {
  border-radius: 14px;
}
.studio-project h3 {
  font-size: clamp(25px, 2.3vw, 36px);
  margin: 0 0 22px;
}
.project-title h3 {
  margin: 0;
}
.project-copy p {
  color: var(--muted);
  font-size: 15px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.project-link:hover {
  text-decoration: underline;
}
.project-preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 44px 15px 0;
  background: radial-gradient(ellipse at 50% 70%, #245979, #12243a 75%);
  overflow: hidden;
  max-height: 470px;
}
.project-preview img {
  width: 200px;
  height: auto;
  border: 5px solid #09121f;
  border-radius: 28px;
  transform: rotate(8deg);
  box-shadow: 0 18px 35px #0005;
}
.project-rental {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #14243a, #101d2c);
}
.project-rental .project-copy {
  padding-bottom: 0;
}
.rental-visual {
  display: grid;
  place-items: end center;
  min-height: 155px;
  padding: 12px 36px 0;
  overflow: hidden;
  flex: 1;
}
.rental-window {
  width: 100%;
  max-width: 340px;
  border: 1px solid #456282;
  border-radius: 12px 12px 0 0;
  transform: perspective(600px) rotateX(8deg) rotate(-4deg) translateY(10px);
  background: #172d43;
}
.window-toolbar {
  display: flex;
  gap: 5px;
  padding: 12px;
  border-bottom: 1px solid #456282;
}
.window-toolbar i {
  width: 5px;
  height: 5px;
  background: #789db7;
  border-radius: 50%;
}
.window-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
}
.window-panel {
  background: linear-gradient(135deg, #356b87, #254559);
  border-radius: 5px;
  min-height: 60px;
}
.window-lines i {
  display: block;
  height: 5px;
  margin-block: 7px;
  background: #4f7890;
  border-radius: 3px;
}
.window-lines i:last-child {
  width: 60%;
}
.studio-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-block: 48px 65px;
  border-top: 1px solid var(--line);
}
.studio-contact h2 {
  margin: 0 0 12px;
  font-size: 30px;
}
.studio-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.studio-contact>a {
  font-size: clamp(16px, 2vw, 26px);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.studio-contact>a span {
  padding-left: 18px;
}
.page-studio .site-foot {
  background: #070e19;
}
@media (max-width: 1100px) {
  .studio-project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-nearbynow {
    grid-template-columns: 1fr;
  }
  .project-preview {
    height: 220px;
    padding-top: 20px;
  }
  .project-preview img {
    width: 170px;
  }
  .rental-visual {
    padding-bottom: 40px;
  }
}
@media (max-width: 950px) {
  .page-studio .head-nav {
    order: 0;
    width: auto;
    margin-left: auto;
  }
  .page-studio .lang-switch {
    margin-left: 0;
  }
  .studio-hero {
    min-height: auto;
    padding-block: 65px;
    gap: 30px;
  }
  .studio-hero h1 {
    font-size: 58px;
  }
  .studio-section-head {
    display: block;
  }
  .studio-section-head p {
    margin-top: 12px;
  }
}
@media (max-width: 680px) {
  .page-studio .wrap {
    padding-inline: 24px;
  }
  .page-studio .site-head .wrap {
    gap: 16px;
    min-height: 78px;
  }
  .page-studio .head-nav {
    gap: 20px;
    padding: 0;
  }
  .page-studio .logo {
    font-size: 18px;
  }
  .studio-mark {
    width: 29px;
    height: 29px;
    font-size: 21px;
    border-radius: 8px;
  }
  .page-studio .lang-switch {
    padding: 5px 9px;
  }
  .studio-hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    padding-bottom: 15px;
    gap: 0;
  }
  .studio-hero h1 {
    font-size: clamp(46px, 10vw, 64px);
  }
  .studio-intro .lead {
    font-size: 16px;
  }
  .studio-orbit {
    max-width: 340px;
    margin-top: 12px;
  }
  .orbit-core {
    font-size: 75px;
  }
  .studio-project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .studio-projects {
    padding-bottom: 55px;
  }
  .studio-section-head h2, .studio-contact h2 {
    font-size: 26px;
  }
  .project-copy {
    padding: 28px;
  }
  .project-meta {
    margin-bottom: 26px;
  }
  .project-rental {
    min-height: 360px;
  }
  .rental-visual {
    padding-bottom: 0;
  }
  .studio-contact {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 35px 45px;
  }
  .studio-contact>a {
    font-size: 18px;
  }
}
@media (max-width: 380px) {
  .page-studio .head-nav {
    order: 3;
    width: 100%;
  }
  .page-studio .lang-switch {
    margin-left: auto;
  }
}
