/* =============================================================
   MARQUEE — marquee.css
   ============================================================= */

.marquee {
  background: var(--accent);
  padding: 13px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.m-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee-slide 28s linear infinite;
}

.m-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 36px;
}

.m-item::after {
  content: "×";
  margin-left: 36px;
  opacity: 0.5;
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* =============================================================
   ABOUT — about.css
   ============================================================= */

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.about-l {
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid var(--rule);
}

.about-hl {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 36px;
}

.about-hl em {
  font-style: italic;
  color: var(--accent);
}

.about-txt {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.85;
  max-width: 480px;
}

.about-txt p + p {
  margin-top: 18px;
}

.about-txt a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.about-r {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  max-width: 400px;
  border-left: 3px solid var(--accent);
  padding-left: 32px;
  margin-bottom: 40px;
}

.about-quote strong {
  font-style: normal;
  font-weight: 900;
  color: var(--accent);
}

/* Testimonial / recommendation block */
.about-testimonial {
  padding: 28px 32px;
  border: 1px solid var(--rule);
  background: var(--white);
  max-width: 440px;
}

.about-testimonial-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}

.about-testimonial-attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}


/* =============================================================
   PROJECTS — projects.css
   ============================================================= */

.projects {
  border-bottom: 1px solid var(--rule);
}

/* Each project is a full-width anchor tag laid out as a grid row */
.proj {
  display: grid;
  grid-template-columns: 64px 1fr 200px;
  border-bottom: 1px solid var(--rule);
  min-height: 170px;
  transition: background 0.2s;
}

.proj:hover { background: var(--ink); }

.proj:hover .pi,
.proj:hover .pt,
.proj:hover .pd,
.proj:hover .ptype,
.proj:hover .parr { color: var(--white) !important; }

.proj:hover .ptag {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.4);
}

/* Index column */
.pi {
  padding: 28px 16px;
  border-right: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray);
  transition: color 0.2s;
}

/* Content column */
.pc {
  padding: 28px 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pt {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.pd {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 520px;
  transition: color 0.2s;
}

.ptags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.ptag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  color: var(--gray);
  transition: border-color 0.2s, color 0.2s;
}

/* Side column — type label + arrow */
.ps {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.parr {
  font-size: 20px;
  color: var(--gray);
  transition: color 0.2s;
}

.ptype {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color 0.2s;
}
