/* ============================================================
   index.css — styles specific to the homepage
   ============================================================ */

/* ── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto;
  position: relative; overflow: hidden;
}
.hero-slash {
  position: absolute; top: -10%; right: -5%; width: 55%; height: 120%;
  background: linear-gradient(160deg, rgba(25,162,241,0.08) 0%, rgba(25,162,241,0.03) 40%, transparent 70%);
  transform: skewX(-8deg); pointer-events: none;
}
.hero-glow {
  position: absolute; bottom: -100px; left: -100px; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,154,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-body {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) 80px; position: relative; z-index: 1;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  opacity: 0; animation: riseIn 0.7s 0.15s var(--ease) forwards;
}
.hero-kicker-line { width: 32px; height: 1px; background: var(--blue); }
.hero-kicker span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--blue);
}

/* Wordmark animation */
.hero-wordmark-wrap {
  position: relative;
  height: clamp(70px, 11.5vw, 174px);
  opacity: 0;
  animation: riseIn 0.9s 0.28s var(--ease) forwards;
}
.hero-wordmark,
.hero-fullname {
  font-family: var(--font-brand);
  text-transform: uppercase; color: var(--white); font-weight: 400;
  position: absolute; top: 0; left: 0;
  white-space: nowrap;
  transition: opacity 1s ease, filter 1s ease;
  line-height: 0.88;
}
.hero-wordmark {
  font-size: clamp(80px, 13vw, 196px);
  letter-spacing: 0.05em; opacity: 1; filter: blur(0);
}
.hero-wordmark .accent { color: var(--blue); }
.hero-fullname {
  font-size: clamp(26px, 4.4vw, 66px);
  letter-spacing: 0.14em;
  top: 50%; transform: translateY(-50%);
  color: var(--grey-200); opacity: 0; filter: blur(8px);
}
.hero-fullname .accent { color: var(--blue); }
.hero-wordmark-wrap.show-full .hero-wordmark { opacity: 0; filter: blur(8px); }
.hero-wordmark-wrap.show-full .hero-fullname { opacity: 1; filter: blur(0); }

.hero-tagline-row {
  margin-top: 36px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  opacity: 0; animation: riseIn 0.8s 0.45s var(--ease) forwards;
}
.hero-tagline {
  font-size: clamp(17px, 1.7vw, 21px); font-weight: 300;
  color: var(--grey-400); line-height: 1.65; max-width: 580px;
}
.hero-tagline strong { color: var(--grey-100); font-weight: 400; }
.hero-meta {
  flex-shrink: 0; text-align: right;
  display: flex; flex-direction: column; gap: 5px;
}
.hero-meta span {
  font-size: 11px; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey-600);
}
.hero-meta strong {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose); font-weight: 400;
}

/* Ticker */
.hero-ticker-wrap {
  overflow: hidden; border-top: 1px solid rgba(255,255,255,0.06); padding: 14px 0;
  position: relative; z-index: 1;
  opacity: 0; animation: riseIn 0.6s 0.7s var(--ease) forwards;
}
.hero-ticker {
  display: flex; white-space: nowrap;
  animation: ticker 22s linear infinite; width: max-content;
}
.hero-ticker span {
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--grey-700); padding: 0 32px;
}
.hero-ticker .dot { color: var(--blue); padding: 0; letter-spacing: 0; }

/* ── PORTFOLIO ─────────────────────────────────────────────── */
#work { background: var(--grey-950); }
.portfolio-list { display: flex; flex-direction: column; gap: 4px; }
.port-item {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--grey-900); overflow: hidden;
  position: relative; text-decoration: none; transition: background 0.3s;
}
.port-item:hover { background: var(--grey-800); }
.port-item:nth-child(even) { direction: rtl; }
.port-item:nth-child(even) > * { direction: ltr; }
.port-thumb {
  aspect-ratio: 16/10;
  position: relative; overflow: hidden;
}
.port-thumb-bg {
  position: absolute; inset: -20% 0;
  background-size: cover; background-position: center;
  will-change: transform; transition: transform 0.1s linear;
}
.port-thumb-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
}
.port-thumb-fg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
}
.port-thumb-fg img {
  max-width: 52%; max-height: 60%;
  width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.port-item:hover .port-thumb-fg img {
  transform: scale(1.06) translateY(-3px);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6));
}
.bg1 { background: linear-gradient(135deg, #0c1829 0%, #0f2d50 60%, #1a4a80 100%); }
.bg2 { background: linear-gradient(135deg, #1a0d0d 0%, #3a1515 60%, #5a2020 100%); }
.bg3 { background: linear-gradient(135deg, #0a140a 0%, #1a2e1a 60%, #2a4a2a 100%); }
.bg4 { background: linear-gradient(135deg, #100a1a 0%, #281445 60%, #3d1f6d 100%); }
.bg5 { background: linear-gradient(135deg, #0e0e0e 0%, #1e1a14 60%, #2e2820 100%); }
.port-info {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.port-num {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--grey-700); text-transform: uppercase; margin-bottom: 28px;
}
.port-name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 46px); font-weight: 800;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--white); line-height: 1.05; margin-bottom: 16px;
}
.port-desc {
  font-size: 15px; font-weight: 300;
  color: var(--grey-600); line-height: 1.75;
  max-width: 340px; margin-bottom: 40px;
}
.port-footer { display: flex; align-items: center; justify-content: space-between; }
.port-type {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-600);
}
.port-cta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); transition: gap 0.2s;
}
.port-item:hover .port-cta { gap: 16px; }
.port-cta-arrow {
  width: 30px; height: 30px; border: 1px solid rgba(25,162,241,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.port-item:hover .port-cta-arrow {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}

/* Quick links */
.quick-header {
  padding: 0 var(--pad); margin-top: 80px; margin-bottom: 4px;
  display: flex; align-items: center; gap: 16px;
}
.quick-header-line { flex: 1; height: 1px; background: rgba(255,255,255,0.05); }
.quick-header span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--grey-700); white-space: nowrap;
}
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.quick-item {
  background: var(--grey-900); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden; cursor: pointer; transition: background 0.25s;
}
.quick-item::after {
  content: ''; position: absolute; left: 0; bottom: 0; top: 0; width: 2px;
  background: var(--blue); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s var(--ease);
}
.quick-item:hover { background: var(--grey-800); }
.quick-item:hover::after { transform: scaleY(1); }
.quick-name { font-size: 17px; font-weight: 600; color: var(--white); }
.quick-desc { font-size: 14px; font-weight: 300; color: var(--grey-600); line-height: 1.65; flex: 1; }
.quick-link {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-top: 6px;
}
.quick-link::after { content: ' ↗'; }

/* ── SPECIALTY ─────────────────────────────────────────────── */
#specialty { background: var(--rose); }
#specialty .section-header { border-bottom-color: rgba(0,0,0,0.12); }
#specialty .section-title { color: var(--grey-950); }
#specialty .section-label { color: var(--rose-dim); }
.specialty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.spec-item {
  background: var(--rose-mid); padding: 48px 36px;
  position: relative; overflow: hidden; transition: background 0.25s;
}
.spec-item:hover { background: #aa8878; }
.spec-big-num {
  font-family: var(--font-brand); font-size: 110px; line-height: 1;
  color: rgba(0,0,0,0.06); position: absolute; bottom: 20px; right: 20px;
  letter-spacing: 0.04em; user-select: none; pointer-events: none;
}
.spec-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose-dim); margin-bottom: 20px;
}
.spec-heading {
  font-family: var(--font-heading); font-size: clamp(18px, 1.8vw, 24px); font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--grey-950); line-height: 1.2; margin-bottom: 16px;
}
.spec-body { font-size: 15px; font-weight: 300; color: rgba(0,0,0,0.6); line-height: 1.75; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid rgba(0,0,0,0.18); color: rgba(0,0,0,0.5); border-radius: 2px;
}

/* ── ABOUT ─────────────────────────────────────────────────── */
#about { background: var(--grey-950); }
.about-grid { display: grid; grid-template-columns: 400px 1fr; align-items: stretch; }
.about-photo-col { position: relative; overflow: hidden; }
.about-photo-col::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,0.05);
}
.about-photo-placeholder {
  width: 100%; height: 100%; min-height: 520px;
  background: linear-gradient(160deg, var(--grey-800) 0%, var(--grey-900) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--grey-600); position: relative;
}
.about-photo-placeholder::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--rose), transparent);
}
.about-text-col { padding: 72px 64px; }
.about-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 16px;
}
.about-name {
  font-family: var(--font-heading); font-size: clamp(32px, 3.5vw, 54px); font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); line-height: 1.05; margin-bottom: 40px;
}
.about-bio p {
  font-size: 17px; font-weight: 300;
  color: var(--grey-400); line-height: 1.9; margin-bottom: 24px;
}
.about-bio p:last-child { margin-bottom: 0; }
.about-bio strong { color: var(--grey-200); font-weight: 400; }

/* ── CONTACT ───────────────────────────────────────────────── */
#contact { background: var(--rose); position: relative; overflow: hidden; }
#contact .section-header { border-bottom-color: rgba(0,0,0,0.12); }
#contact .section-title { color: var(--grey-950); }
#contact .section-label { color: var(--rose-dim); }
.contact-glow {
  position: absolute; bottom: -300px; right: -200px; width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: start; position: relative; z-index: 1;
}
.contact-heading {
  font-family: var(--font-heading); font-size: clamp(38px, 5vw, 76px); font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--grey-950); line-height: 1.0; margin-bottom: 28px;
}
.contact-heading .accent { color: var(--rose-dim); }
.contact-sub {
  font-size: 17px; font-weight: 300;
  color: rgba(0,0,0,0.58); line-height: 1.8; max-width: 400px; margin-bottom: 48px;
}
.contact-direct { display: flex; flex-direction: column; gap: 8px; }
.contact-direct-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose-dim);
}
.contact-direct a { font-size: 19px; font-weight: 300; color: var(--grey-950); transition: color 0.2s; }
.contact-direct a:hover { color: var(--rose-dim); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(0,0,0,0.45);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.48); border: 1px solid rgba(0,0,0,0.15);
  color: var(--grey-950); font-family: var(--font-ui); font-size: 16px; font-weight: 300;
  padding: 14px 18px; outline: none; border-radius: 2px;
  transition: border-color 0.2s; resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0,0,0,0.3); }
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(0,0,0,0.38); }
.form-group textarea { height: 140px; }
.btn-primary {
  background: var(--grey-950); color: var(--white);
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 34px; border: none; border-radius: 2px;
  cursor: pointer; transition: background 0.2s, transform 0.15s; align-self: flex-start;
}
.btn-primary:hover { background: var(--grey-800); transform: translateY(-1px); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  html { font-size: 17px; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-col::after { display: none; }
  .about-photo-placeholder { min-height: 360px; }
  .port-item { grid-template-columns: 1fr; direction: ltr !important; }
  .port-item:nth-child(even) { direction: ltr; }
  .port-thumb-bg { inset: 0; transition: none; }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  html { font-size: 16px; }
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .hero-tagline-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-meta { text-align: left; }
  .specialty-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr; }
}
