:root {
    --bg: #FAFAF7;
    --bg2: #F5F1EA;
    --bg3: #EFE8DC;
    --ink: #0F0F0D;
    --mid: #6B6860;
    --faint: #E8E5DE;
    --accent: #C4392D;
    --accent2: #B8860B;
    --accent-light: #F5E8E7;
    --gold: #B8860B;
    --border: #E3DED4;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7;
  }

  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

  /* NAV */
  nav {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }
nav {
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}
  .nav-name {
    font-family: 'San Fransisco', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.05em;
  }

  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a { font-size: 12px; color: var(--mid); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
  .nav-links a:hover { color: var(--accent); }

  /* HERO */
  .hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    display: block;
    font-weight: 500;
  }

  h1 {
    font-family: 'San Fransisco', sans-serif;
    font-size: clamp(40px, 7vw, 80px);
    line-height: 1.0;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
  }

  h1 span { color: var(--accent); }

  .hero-desc {
    font-size: 16px;
    color: var(--mid);
    max-width: 560px;
    line-height: 1.85;
    margin-bottom: 48px;
  }

  .tool-pills { display: flex; gap: 8px; flex-wrap: wrap; }

  .pill {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    color: var(--mid);
    background: var(--bg2);
    font-family: 'DM Sans', monospace;
    letter-spacing: 0.02em;
  }

  .pill.hi {
    background: var(--accent);
    border-color: var(--accent);
    color: #FAFAF7;
    font-weight: 600;
  }

  /* SECTION */
  section { padding: 80px 0; border-bottom: 1px solid var(--border); }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 16px;
    font-weight: 500;
  }

  .section-title {
    font-family: 'San Fransisco', sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .section-sub {
    font-size: 15px;
    color: var(--mid);
    max-width: 600px;
    margin-bottom: 56px;
    line-height: 1.8;
  }

  /* CAMPAIGN BRIEF */
  .brief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--border);
    margin-bottom: 56px;
    border: 1px solid var(--border);
  }

  .brief-item {
    background: var(--bg2);
    padding: 24px 28px;
  }

  .brief-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 8px;
    font-weight: 500;
  }

  .brief-value {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.6;
  }

  /* CAMPAIGN GRID */
  .campaign-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .campaign-item {
    position: relative;
    overflow: hidden;
    background: var(--bg2);
    cursor: pointer;
  }

  .campaign-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
  }

  .campaign-item:hover img { transform: scale(1.04); }

  .campaign-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 32px 16px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .campaign-item:hover .campaign-overlay { transform: translateY(0); }

  .campaign-copy {
    font-family: 'San Fransisco', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
  }

  .campaign-context {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
  }

  /* STORYBOARD */
  .storyboard {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    overflow: hidden;
  }

  .story-row {
    display: grid;
    grid-template-columns: 60px 200px 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    align-items: stretch;
  }

  .story-row:last-child { border-bottom: none; }

  .story-num {
    background: var(--accent);
    color: #FAFAF7;
    font-family: 'San Fransisco', sans-serif;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .story-thumb {
    border-right: 1px solid var(--border);
    overflow: hidden;
  }

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

  .story-copy {
    padding: 20px 24px;
    border-right: 1px solid var(--border);
    background: var(--bg2);
  }

  .story-copy-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 8px;
  }

  .story-copy-text {
    font-family: 'San Fransisco', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .story-format {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--mid);
    letter-spacing: 0.05em;
  }

  .story-insight {
    padding: 20px 24px;
    background: var(--bg3);
  }

  .story-insight-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }

  .story-insight p {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.7;
  }

  /* PIPELINE */
  .pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 48px;
  }

  .pipeline-step {
    background: var(--bg2);
    padding: 28px 20px;
    position: relative;
  }

  .pipeline-num {
    font-family: 'San Fransisco', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--faint);
    margin-bottom: 12px;
    line-height: 1;
  }

  .pipeline-title {
    font-family: 'San Fransisco', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }

  .pipeline-desc {
    font-size: 12px;
    color: var(--mid);
    line-height: 1.65;
  }

  .pipeline-tool {
    display: inline-block;
    margin-top: 10px;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--accent);
    color: #FAFAF7;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  /* ABOUT */
  .about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .about-text p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 16px;
  }

  .about-text a {
    color: var(--accent);
    text-decoration: none;
  }

  .skills-list { list-style: none; }

  .skill-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }

  .skill-row:last-child { border-bottom: none; }
  .skill-name { color: var(--ink); font-weight: 500; }
  .skill-val { color: var(--mid); }

  /* FOOTER */
  footer {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--mid);
    flex-wrap: wrap;
    gap: 12px;
  }

  footer a { color: var(--accent); text-decoration: none; }

  /* MOBILE */
  @media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    h1 { font-size: 36px; }
    .hero { padding: 56px 0 48px; }
    .hero-desc { font-size: 14px; }
    .tool-pills { gap: 6px; }
    .pill { font-size: 11px; padding: 5px 10px; }
    nav { flex-wrap: wrap; gap: 10px; padding: 20px 0; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 11px; }
    section { padding: 52px 0; }
    .section-title { font-size: 24px; }
    .section-sub { font-size: 14px; margin-bottom: 32px; }
    .campaign-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .brief-grid { grid-template-columns: 1fr; }
    .pipeline { grid-template-columns: 1fr 1fr; }
    .story-row { grid-template-columns: 36px 1fr; }
    .story-copy { display: none; }
    .story-insight { display: none; }
    .story-thumb { height: 100px; }
    .story-num { font-size: 16px; }
    .about-wrap { grid-template-columns: 1fr; gap: 36px; }
    .photo-masonry { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .photo-meta { transform: translateY(0); background: linear-gradient(transparent, rgba(0,0,0,0.6)); font-size: 10px; }
    footer { flex-direction: column; gap: 8px; text-align: center; }
  }

  @media (max-width: 480px) {
    .campaign-grid { grid-template-columns: 1fr; }
    .pipeline { grid-template-columns: 1fr; }
    .photo-masonry { grid-template-columns: 1fr; }
    h1 { font-size: 28px; }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero { animation: fadeUp 0.6s ease both; }

  /* PHOTOGRAPHY MASONRY */
  .photo-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: start;
  }

  .photo-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .photo-item {
    position: relative;
    overflow: hidden;
    background: var(--bg2);
  }

  .photo-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.92);
  }

  .photo-item:hover img {
    transform: scale(1.03);
    filter: brightness(1);
  }

  .photo-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .photo-item:hover .photo-meta {
    transform: translateY(0);
  }

  @media (max-width: 768px) {
    .photo-masonry { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 480px) {
    .photo-masonry { grid-template-columns: 1fr; }
  }

  /* WORK ENTRIES */
  .entry { margin-bottom: 56px; }
  .entry:last-child { margin-bottom: 0; }

  .entry-meta {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 500;
  }

  .entry h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .entry-sub {
    font-size: 13px;
    color: var(--mid);
    margin-bottom: 20px;
    font-style: italic;
  }

  .entry p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 16px;
  }

  /* TRANSLATION PAIRS */
  .translation-block {
    margin-top: 20px;
    border: 1px solid var(--faint);
    border-radius: 4px;
    overflow: hidden;
  }

  .translation-header {
    padding: 10px 18px;
    background: var(--faint);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    display: flex;
    justify-content: space-between;
  }

  .translation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  @media (max-width: 560px) {
    .translation-grid { grid-template-columns: 1fr; }
    nav { flex-wrap: wrap; gap: 12px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 11px; }
    .wrap { padding: 0 18px; }
  }

  @media (max-width: 640px) {
    /* Hero */
    .hero { padding: 48px 0 40px; }
    .hero-desc { font-size: 15px; margin-bottom: 28px; }
    .lang-pills { gap: 6px; }
    .pill { font-size: 11px; padding: 5px 12px; }

    /* Sections */
    section { padding: 48px 0; }

    /* Translation blocks */
    .translation-grid { grid-template-columns: 1fr; }
    .translation-col:first-child { border-right: none; border-bottom: 1px solid var(--faint); }

    /* About grid */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }

    /* Caption grid */
    .caption-grid { grid-template-columns: 1fr; }

    /* Writing samples grid */
    div[style*="grid-template-columns: 1fr 1fr"] {
      display: block !important;
    }
    div[style*="grid-template-columns: 1fr 1fr"] > div {
      margin-bottom: 12px;
    }

    /* Skills table */
    .skills-table td:first-child { width: 120px; font-size: 11px; }
    .skills-table td { font-size: 13px; }

    /* Rate rows */
    .rate-row { flex-direction: column; gap: 2px; }
    .rate-price { font-size: 11px; }

    /* Footer */
    footer { flex-direction: column; gap: 8px; padding: 36px 0; }
  }

  .translation-col {
    padding: 18px 20px;
    background: white;
  }

  .translation-col:first-child {
    border-right: 1px solid var(--faint);
  }

  .translation-col .lang-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 10px;
    font-weight: 500;
  }

  .translation-col p {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 0;
  }

  .translation-note {
    padding: 12px 18px;
    background: var(--accent-light);
    font-size: 12px;
    color: var(--mid);
    line-height: 1.65;
    font-style: italic;
    border-top: 1px solid var(--faint);
  }

  /* CAPTION GRID */
  .caption-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  @media (max-width: 560px) { .caption-grid { grid-template-columns: 1fr; } }

  .caption-card {
    background: var(--ink);
    padding: 20px 18px;
    border-radius: 2px;
  }

  .caption-card .num {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
    display: block;
  }

  .caption-card .line {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    font-style: italic;
    color: white;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .caption-card .why {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
  }

  .caption-card.light {
    background: var(--accent-light);
  }

  .caption-card.light .num { color: rgba(0,0,0,0.3); }
  .caption-card.light .line { color: var(--ink); }
  .caption-card.light .why { color: var(--mid); }

  /* SKILLS TABLE */
  .skills-table { width: 100%; border-collapse: collapse; }

  .skills-table tr {
    border-bottom: 1px solid var(--faint);
  }

  .skills-table tr:last-child { border-bottom: none; }

  .skills-table td {
    padding: 14px 0;
    font-size: 14px;
    vertical-align: top;
  }

  .skills-table td:first-child {
    color: var(--accent);
    font-weight: 500;
    width: 200px;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding-right: 20px;
  }

  .skills-table td:last-child { color: var(--mid); }

  /* ABOUT */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  @media (max-width: 560px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

  .about-text p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 16px;
  }

  .about-text p a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }

  .about-text p a:hover { border-color: var(--accent); }

  .rates { margin-top: 8px; }

  .rate-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--faint);
    font-size: 13px;
  }

  .rate-row:last-child { border-bottom: none; }
  .rate-name { color: var(--ink); }
  .rate-price { color: var(--mid); font-family: 'DM Mono', monospace; font-size: 12px; }

  /* ===================================
   PHOTOGRAPHY
=================================== */

.gallery{
    padding:80px 0;
}

.photo-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

.photo-grid img{

    width:100%;

    height:350px;

    object-fit:cover;

    display:block;

    border-radius:14px;

    transition:.35s;

    cursor:pointer;

}

.photo-grid img:hover{

    transform:scale(1.03);

}