/* =========================================================
   Art / ificial — Master Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Josefin+Sans:wght@300;400&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold-bright:  #e2c88a;
  --gold-mid:     #c8aa80;
  --gold-muted:   #a08060;
  --gold-dim:     #7a6048;
  --gold-deep:    #4a3820;
  --ink:          #0c0905;
  --bg-dark:      #060402;
  --bg-warm:      #14100a;
  --line:         rgba(255, 255, 255, 0.08);
  --line-mid:     rgba(255, 255, 255, 0.15);
  --font-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --font-sans:    'Josefin Sans', 'Gill Sans', sans-serif;
  --font-brush:   'Ma Shan Zheng', 'Brush Script MT', cursive;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background-color: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* =========================================================
   HOMEPAGE
   ========================================================= */

body.home {
  overflow: hidden;
  height: 100vh;
}

.hero {
  position: fixed;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Invisible nav overlay — sits over the baked-in nav text */
.hero-nav {
  position: absolute;
  top: 57.2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.hero-nav__link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(9px, 1.05vw, 13px);
  letter-spacing: 0.22em;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65em 1.5em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s ease;
}

.hero-nav__link:hover      { background: rgba(255, 245, 220, 0.07); }
.hero-nav__link:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

/* =========================================================
   SHARED SUB-PAGE CHROME
   ========================================================= */

body.subpage {
  overflow-x: hidden;
  background: #000000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header ── */
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 5rem;
  background: transparent;
}

.page-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
}

.page-logo__img {
  height: clamp(80px, 12vw, 160px);
  width: auto;
  display: block;
}

.page-logo .l-art {
  font-family: var(--font-brush);
  font-size: clamp(30px, 3.8vw, 52px);
  color: #ffffff;
  position: relative;
  top: 0.04em;
  line-height: 1;
}

.page-logo .l-slash {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 38px);
  color: #ffffff;
  padding: 0 0.06em;
}

.page-logo .l-ificial {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 38px);
  color: #ffffff;
  letter-spacing: 0.03em;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav-link:hover        { color: #ffffff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active       { color: #ffffff; }
.nav-link.active::after{ transform: scaleX(1); opacity: 0.5; }

/* ── Footer ── */
.page-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

.footer-back {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-back:hover { color: #ffffff; }

/* ── Divider ── */
.rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ── Label chip ── */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* =========================================================
   STUDIO PAGE
   ========================================================= */

/* ── Studio hero ── */
.studio-hero {
  padding: 7rem 5rem 5rem;
  max-width: 1200px;
}

.studio-hero .label { margin-bottom: 2rem; }

.studio-hero__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.studio-hero__heading em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

/* ── Services ── */
.services {
  padding: 5rem 5rem 4rem;
  border-top: 1px solid var(--line);
}

.services__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.services__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.service-card {
  background: var(--bg-dark);
  padding: 2.8rem 2.4rem;
  transition: background 0.4s ease;
}

.service-card:hover {
  background: #0f0b06;
}

.service-card__num {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 2.2rem;
}

.service-card__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 26px);
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.service-card__desc {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 15px);
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* ── Selected work ── */
.selected-work {
  padding: 5rem 5rem;
  border-top: 1px solid var(--line);
}

.selected-work__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.selected-work__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.work-card {
  background: var(--bg-dark);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.work-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease, opacity 0.5s ease;
}

/* Individual card tones */
.work-card:nth-child(1) .work-card__bg { background: linear-gradient(135deg, #1a1208 0%, #2c1e0a 100%); }
.work-card:nth-child(2) .work-card__bg { background: linear-gradient(135deg, #0e0e12 0%, #1c1824 100%); }
.work-card:nth-child(3) .work-card__bg { background: linear-gradient(135deg, #120e08 0%, #1e160a 100%); }

.work-card:hover .work-card__bg {
  transform: scale(1.04);
  opacity: 0.7;
}

.work-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 2rem;
  background: linear-gradient(to top, rgba(6,4,2,0.9) 0%, transparent 100%);
  transform: translateY(4px);
  transition: transform 0.4s ease;
}

.work-card:hover .work-card__info { transform: translateY(0); }

.work-card__tag {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.work-card__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 22px);
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ── Process ── */
.process {
  padding: 5rem 5rem;
  border-top: 1px solid var(--line);
}

.process__label { margin-bottom: 1.5rem; }

.process__statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 34px);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.process-step__num {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1rem;
}

.process-step__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 21px);
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.process-step__desc {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-hero {
  padding: 7rem 5rem 5rem;
  max-width: 1200px;
}

.about-hero .label { margin-bottom: 2rem; }

.about-hero__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: 0.01em;
  max-width: 16ch;
  margin-bottom: 3rem;
}

.about-hero__heading em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.about-hero__sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  max-width: 52ch;
}

/* ── Manifesto ── */
.manifesto {
  padding: 6rem 5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.manifesto__label { margin-bottom: 1.5rem; }

.manifesto__pull {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3vw, 42px);
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.manifesto__pull span {
  color: #ffffff;
  font-style: normal;
}

.manifesto__body {
  padding-top: 2.2rem;
}

.manifesto__body p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* ── Pillars ── */
.pillars {
  padding: 5rem 5rem;
  border-top: 1px solid var(--line);
}

.pillars__label { margin-bottom: 3.5rem; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.pillar {
  background: var(--bg-dark);
  padding: 3rem 2.8rem;
}

.pillar__num {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 2rem;
}

.pillar__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px);
  color: #ffffff;
  margin-bottom: 1rem;
}

.pillar__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

/* ── Credentials ── */
.credentials {
  padding: 5rem 5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.credentials__label { margin-bottom: 1.5rem; }

.credentials__intro {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 22px);
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}

.cred-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cred-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.cred-item:first-child { border-top: 1px solid var(--line); }

.cred-year {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
}

.cred-role {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 17px);
  color: #ffffff;
}

.cred-place {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
}

/* Left panel */
.contact-info {
  padding: 6rem 5rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info__top .label { margin-bottom: 2rem; }

.contact-info__heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
}

.contact-info__heading em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.contact-info__note {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  max-width: 40ch;
  margin-bottom: 4rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-detail__label {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-detail__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.contact-detail__value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail__value a:hover { color: #ffffff; }

/* Right panel — form */
.contact-form-wrap {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form { display: flex; flex-direction: column; gap: 2.8rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.form-field { display: flex; flex-direction: column; gap: 0.7rem; }

.form-field label {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-mid);
  padding: 0.8rem 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255,255,255,0.8);
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: rgba(255,255,255,0.5);
}

.form-field textarea {
  resize: none;
  height: 120px;
  line-height: 1.7;
}

/* Select styling */
.select-wrap { position: relative; }

.select-wrap::after {
  content: '↓';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

.form-field select option { background: #0c0905; color: rgba(255,255,255,0.8); }

/* Submit */
.btn-submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--line-mid);
  padding: 1rem 2.8rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
}

.btn-submit:hover {
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}

/* ── Social links ── */
.contact-social {
  margin-top: 3rem;
}

.contact-social__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.social-item {
  display: grid;
  grid-template-columns: 36px 1fr 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.social-item:first-child {
  border-top: 1px solid var(--line);
}

.social-item:hover:not(.social-item--inactive) {
  color: #ffffff;
}

.social-item--inactive {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.social-item__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-item__icon svg {
  width: 18px;
  height: 18px;
}

.social-item__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 15px);
}

.social-item__handle {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  text-align: right;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .services__grid,
  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .manifesto { grid-template-columns: 1fr; gap: 3rem; }

  .credentials { grid-template-columns: 1fr; gap: 2rem; }

  .contact-layout { grid-template-columns: 1fr; }

  .contact-info { border-right: none; border-bottom: 1px solid var(--line); padding: 4rem 3.5rem; }
}

@media (max-width: 768px) {
  .page-header { padding: 1.5rem 2rem; }
  .page-footer { padding: 2rem 2rem; }

  .studio-hero,
  .about-hero,
  .contact-info,
  .contact-form-wrap,
  .services,
  .selected-work,
  .process,
  .manifesto,
  .pillars,
  .credentials { padding-left: 2rem; padding-right: 2rem; }

  .services__grid,
  .work-grid,
  .pillars__grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .cred-item { grid-template-columns: 60px 1fr; }
  .cred-place { grid-column: 2; }
}

@media (max-width: 480px) {
  .page-nav { gap: 1.2rem; }
  .process-steps { grid-template-columns: 1fr; }
}
