@import url('../css/styles.css');

:root {
  --tn-ink:        #1A1A1A;
  --tn-ink-mid:    #555555;
  --tn-ink-faint:  #999999;
  --tn-bg:         #F7F6F3;
  --tn-white:      #FFFFFF;
  --tn-surface:    #EFEFEA;
  --tn-border:     rgba(26, 26, 26, 0.10);
  --tn-border-mid: rgba(26, 26, 26, 0.18);
  --tn-accent:     #1A1A1A;
}

body {
  background: var(--tn-bg);
}

/*  SECTION LABEL  */

.tn-section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tn-ink-faint);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tn-section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--tn-ink-faint);
  border-radius: 2px;
}

.tn-label-light {
  color: rgba(255, 255, 255, 0.45);
}

.tn-label-light::before {
  background: rgba(255, 255, 255, 0.3);
}

/*  HERO  */

.tn-hero {
  padding: 9rem 4rem 5rem;
  background: var(--tn-white);
  border-bottom: 1px solid var(--tn-border);
  position: relative;
  overflow: hidden;
}

.tn-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 26, 26, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.tn-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tn-meta-divider {
  width: 1px;
  height: 16px;
  background: var(--tn-border-mid);
}

.tn-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tn-hero-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.tn-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--tn-ink);
}

.tn-hero-title em {
  font-style: italic;
  color: var(--tn-ink-mid);
}

.tn-hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--tn-ink-mid);
  margin-bottom: 2rem;
}

.tn-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tn-ink);
  color: var(--tn-bg);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tn-btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

.tn-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--tn-ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--tn-border-mid);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tn-btn-ghost:hover {
  border-color: var(--tn-ink);
  background: var(--tn-surface);
  transform: translateY(-2px);
}

.tn-cover {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tn-surface);
}

.tn-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tn-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: start;
  border-top: 1px solid var(--tn-border);
  border-bottom: 1px solid var(--tn-border);
  padding: 2rem 0;
}

.tn-stat {
  padding-right: 3.5rem;
  margin-right: 3.5rem;
  border-right: 1px solid var(--tn-border);
}

.tn-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.tn-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tn-ink-faint);
  margin-bottom: 0.4rem;
}

.tn-stat-value {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tn-ink);
}

/*  BODY WRAPPER  */

.tn-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

/*  OVERVIEW  */

.tn-overview {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  padding: 7rem 0;
  border-bottom: 1px solid var(--tn-border);
}

.tn-overview-left h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tn-ink);
}

.tn-overview-left h2 em {
  font-style: italic;
  color: var(--tn-ink-mid);
}

.tn-overview-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tn-overview-right p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--tn-ink-mid);
}

.tn-overview-right strong {
  color: var(--tn-ink);
  font-weight: 500;
}

/*  CALLOUT BLOCK  */

.tn-callout,
.tn-tech-callout {
  background: var(--tn-ink);
  border-radius: var(--radius-lg);
  color: white;
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.tn-callout-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tn-callout-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.tn-callout h2,
.tn-tech-callout h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tn-white);
}

.tn-callout h2 em,
.tn-tech-callout h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
}

.tn-callout-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tn-constraint-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tn-constraint-item:first-child {
  padding-top: 0;
}

.tn-constraint-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tn-constraint-num {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  padding-top: 0.2rem;
}

.tn-constraint-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.tn-constraint-item strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.tn-constraint-item code {
  font-family: monospace;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15em 0.5em;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
}

/* SECTION HEADER  */

.tn-section-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
  margin-bottom: 4rem;
}

.tn-section-header h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
  color: var(--tn-ink);
}

.tn-section-header h2 em {
  font-style: italic;
  color: var(--tn-ink-mid);
}

.tn-section-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--tn-ink-mid);
  padding-top: 0.5rem;
}

/* MY ROLE */
.tn-role-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--tn-border);
}

.tn-role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tn-role-card {
  background: var(--tn-white);
  border: 1px solid var(--tn-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
}

.tn-role-card-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--tn-surface);
  line-height: 1;
  margin-bottom: 1rem;
}

.tn-role-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tn-ink);
  margin-bottom: 0.75rem;
}

.tn-role-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--tn-ink-mid);
}


/* INFORMATION ARCHITECTURE */

.tn-ia-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--tn-border);
}

.tn-ia-image {
  width: 100%;
}

.tn-ia-image img {
  width: 100%;
  display: block;
}

/*  FEATURE LIST */

.tn-components-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--tn-border);
}

.tn-feature-list {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.tn-feature-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--tn-border);
}

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

.tn-feature-dot {
  width: 8px;
  height: 8px;
  background: var(--tn-ink);
  border-radius: 50%;
  margin-top: 0.6rem;
  flex-shrink: 0;
}

.tn-feature-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  color: var(--tn-ink);
}

.tn-feature-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--tn-ink-mid);
}

.tn-feature-item code {
  font-family: monospace;
  font-size: 0.85em;
  background: var(--tn-surface);
  color: var(--tn-ink);
  padding: 0.15em 0.5em;
  border-radius: 4px;
}

/* SCREENS SECTION */

.tn-screens-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--tn-border);
}

.tn-screens-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%; 
  overflow: hidden; 
}

.tn-screens-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md); 
}

.tn-screen-full {
  width: 100%;
}

.tn-screen-full {
  min-height: 420px;
}

.tn-screens-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  min-height: 300px;
}

/*  SECURITY SECTION — flat list, no cards  */

.tn-security-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--tn-border);
}

.tn-security-list {
  display: flex;
  flex-direction: column;
}

.tn-security-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--tn-border);
}

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

.tn-security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--tn-surface);
  border-radius: var(--radius-md);
  color: var(--tn-ink);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tn-security-item h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--tn-ink);
}

.tn-security-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--tn-ink-mid);
}

.tn-security-item code {
  font-family: monospace;
  font-size: 0.85em;
  background: var(--tn-surface);
  color: var(--tn-ink);
  padding: 0.15em 0.5em;
  border-radius: 4px;
}

/*  RESULTS / REFLECTION  */

.tn-results {
  background: var(--tn-ink);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 7rem 4rem;
}

.tn-results h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  color: var(--tn-white);
}

.tn-results h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
}

.tn-learnings {
  max-width: 760px;
  margin-top: 5rem;
}

.tn-learnings p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--tn-surface);
}

.tn-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 3.5rem;
}

.tn-achievement-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tn-achievement-num {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  color: var(--tn-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.tn-achievement-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  max-width: 200px;
}

/*  RESPONSIVE  */

@media (max-width: 900px) {
  .tn-hero {
    padding: 7rem 2rem 4rem;
  }

  .tn-hero-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tn-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .tn-stat {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .tn-body {
    padding: 0 2rem;
  }

  .tn-overview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 0;
  }

  .tn-callout,
  .tn-tech-callout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 2rem;
  }

  .tn-section-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tn-screens-two {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }

  .tn-security-item {
    grid-template-columns: 36px 1fr;
    gap: 1.25rem;
  }

  .tn-results {
    padding: 5rem 2rem;
  }

  .tn-achievements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tn-achievements {
    grid-template-columns: 1fr;
  }
}