  :root{
    --brand: #9d764b;
    --brand-hover: #8f6739;
    --brand-dark: #815a2e;
    --warm: #f7eadc;
    --warm-2: #fcf5ed;
    --surface: #ffffff;
    --surface-alt: #faf9f7;
    --ink: #2b2620;
    --ink-soft: #454039;
    --ink-mute: #7b7570;
    --line: #edebe9;
    --line-soft: #dfddda;
    --tan: #e1c9aa;
    --tan-soft: #ead6bb;

    --content-w: 1040px;
  }
  *{ box-sizing: border-box; }
  html, body{ margin:0; padding:0; }
  body{
    font-family: 'General Sans', system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink);
    background: var(--surface-alt);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
  }
  a{ color: inherit; }

  /* ===== HERO — full width, cutout centered ===== */
  .hero{
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 16 / 9;
    min-height: 460px;
    max-height: 760px;
    background:
      radial-gradient(120% 80% at 50% 8%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 55%),
      radial-gradient(90% 65% at 50% 115%, rgba(129,90,46,.28) 0%, rgba(129,90,46,0) 60%),
      linear-gradient(165deg, #eed4b3 0%, #e1c9aa 45%, #c9a87e 100%);
  }
  .hero .watermark{
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: min(900px, 100%);
    opacity: .10;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.6) sepia(1) hue-rotate(-8deg) saturate(3);
    mix-blend-mode: multiply;
  }
  .hero .ground{
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40%;
    background: radial-gradient(ellipse at 50% 100%, rgba(129,90,46,.38) 0%, rgba(129,90,46,0) 65%);
    z-index: 2;
    pointer-events: none;
  }
  .hero .portrait{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    z-index: 3;
    filter: drop-shadow(0 14px 36px rgba(60,40,20,.2));
  }

  .hero-top{
    position: absolute;
    top: 22px; left: 0; right: 0;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 32px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 5;
  }
  .hero-top .pill{
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.7);
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--brand-dark);
  }

  /* Logo overlay on bottom of hero (like KS in the ref) */
  .logo-block{
    position: absolute;
    left: 0; right: 0;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 5;
    color: #fff;
  }
  .logo-block .logo-top{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .logo-block .logo-bottom{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .logo-block .logo-mark{
    width: 24px; height: 42px;
    display: grid; place-items: center;
    filter: drop-shadow(0 2px 10px rgba(16,24,40,.22));
  }
  .logo-block .logo-mark img{
    width: 100%; height: 100%; object-fit: contain;
    filter: brightness(0) invert(1);
  }
  .logo-block .logo-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
  }
  .logo-block .logo-name{
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .16em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(60,40,20,.35);
  }
  .logo-block .logo-sub{
    font-size: 9px;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: rgba(255,255,255,.95);
    font-weight: 500;
    margin-top: 0;
    text-shadow: 0 1px 6px rgba(60,40,20,.3);
  }
  .logo-block .rule{
    width: 36px; height: 1px; background: rgba(255,255,255,.75);
  }
  .logo-block .credentials{
    font-size: 10px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(60,40,20,.3);
    text-align: center;
  }

  /* ===== LINKS section ===== */
  .section{
    padding: 48px 20px;
    background: var(--surface-alt);
  }
  .shell{
    max-width: var(--content-w);
    margin: 0 auto;
  }
  .section-header{
    text-align: center;
    margin-bottom: 28px;
  }
  .section-eyebrow{
    font-family: 'Libre Baskerville', serif;
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--brand);
    display: inline-flex; align-items: center; gap: 14px;
    margin-bottom: 12px;
  }
  .section-eyebrow::before, .section-eyebrow::after{
    content:""; height: 1px; width: 28px; background: var(--brand); opacity: .5;
  }
  .section-title{
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -.01em;
    line-height: 1.1;
  }

  .links-list{
    display: flex; flex-direction: column; gap: 14px;
    max-width: 720px;
    margin: 0 auto;
  }

  .card{
    position: relative;
    display: grid;
    grid-template-columns: 104px 1fr auto;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    min-height: 96px;
  }
  .card:not(.featured){
    box-shadow: 0 8px 16px -14px rgba(16,24,40,.28);
  }
  .card:hover{
    transform: translateY(-1px);
    border-color: var(--line-soft);
    box-shadow: 0 10px 24px -14px rgba(129,90,46,.3), 0 2px 6px -2px rgba(16,24,40,.05);
  }
  .card:active{ transform: translateY(0); }
  .card .thumb{
    position: relative;
    background: var(--tan-soft);
    overflow: hidden;
  }
  .card .thumb img{
    width: 100%; height: 100%; object-fit: cover; display: block;
  }
  .card .thumb::after{
    content:"";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 72%, #fff 100%);
  }
  .card .body{
    padding: 16px 8px 16px 20px;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
  }
  .card .eyebrow{
    font-size: 10.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 600;
  }
  .card .title{
    font-family: 'Libre Baskerville', serif;
    font-size: 17px;
    font-weight: 700;
    color: #454039;
    letter-spacing: .01em;
    line-height: 1.15;
  }
  .card .title strong{ color: var(--brand-dark); }
  .card .desc{
    font-size: 12.5px;
    color: var(--ink-mute);
    line-height: 1.35;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .card .chev{
    align-self: center;
    padding-right: 18px;
    display: flex; align-items: center;
    color: var(--brand);
    transition: transform .25s ease;
  }
  .card:hover .chev{ transform: translateX(3px); }
  .card .chev svg{ width: 18px; height: 18px; }

  .card.featured{
    background: linear-gradient(135deg, #9d764b 0%, #815a2e 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 28px -18px rgba(129,90,46,.4);
  }
  .card.featured .thumb{ background: #8f6739; }
  .card.featured .thumb::after{
    background: linear-gradient(90deg, rgba(157,118,75,0) 40%, #9d764b 100%);
  }
  .card.featured .eyebrow{ color: rgba(255,255,255,.78); }
  .card.featured .title{ color: #fff; }
  .card.featured .title strong{ color: #fff; }
  .card.featured .desc{ color: rgba(255,255,255,.82); }
  .card.featured .chev{ color: #fff; }

  /* socials row */
  .socials{
    margin-top: 20px;
    display: flex; justify-content: center; gap: 12px;
  }
  .socials a{
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand);
    transition: all .25s ease;
    text-decoration: none;
  }
  .socials a:hover{
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-1px);
  }
  .socials a svg{ width: 18px; height: 18px; }

  /* ===== SOBRE section ===== */
  .about{
    padding: 92px 20px 0 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .about .shell{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: stretch;
  }
  .about-figure{
      height: clamp(460px, 72vw, 580px);
      max-width: 640px;
      margin: 0 auto;
      width: 100%;
      align-self: center;
    }
  .about-figure .ground{
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 40%;
    background: radial-gradient(ellipse at 50% 100%, rgba(129,90,46,.35) 0%, rgba(129,90,46,0) 65%);
    z-index: 1;
  }
  .about-figure img{
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    filter: drop-shadow(0 10px 28px rgba(60,40,20,.18));
  }
  .about-figure .watermark{
    position: absolute;
    top: -8%; left: 50%;
    transform: translateX(-50%);
    width: 120%;
    opacity: .12;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.6) sepia(1) hue-rotate(-8deg) saturate(3);
    mix-blend-mode: multiply;
  }

  .about-body .eyebrow{
    font-family: 'Libre Baskerville', serif;
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--brand);
    display: inline-flex; align-items: center; gap: 14px;
    margin-bottom: 14px;
  }
  .about-body .eyebrow::before{
    content:""; height: 1px; width: 28px; background: var(--brand); opacity: .5;
  }
  .about-body h2{
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0 0 8px;
  }
  .about-body .role{
    font-size: 13px;
    color: var(--ink-mute);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 24px;
  }
  .about-body .role span{
    color: var(--brand);
    font-weight: 600;
  }
  .about-body p{
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 14px;
    text-wrap: pretty;
  }
  .about-body .sig{
    margin-top: 28px;
    display: flex; align-items: center; gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .about-body .sig-mark{
    width: 40px; height: 40px; opacity: .7;
  }
  .about-body .sig-mark img{ width:100%; height:100%; object-fit:contain; }
  .about-body .sig-text{
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.45;
  }
  .about-body .sig-text strong{
    display: block;
    font-style: normal;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 2px;
  }

  /* ===== FOOTER ===== */
  .foot{
    padding: 28px 20px 40px;
    text-align: center;
    background: var(--surface-alt);
  }
  .foot .mark{ width: 32px; height: 32px; margin: 0 auto 10px; opacity: .6; }
  .foot .mark img{ width: 100%; height: 100%; object-fit: contain; }
  .foot .f-name{
    font-family: 'Libre Baskerville', serif;
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .foot .f-sub{
    font-size: 11px;
    color: var(--ink-mute);
    margin-top: 4px;
    letter-spacing: .04em;
  }
  .foot .f-copy{
    font-size: 11px;
    color: var(--ink-mute);
    margin-top: 14px;
    letter-spacing: .04em;
  }
  .foot .f-responsibility{
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: .04em;
  }

  /* ===== Responsive ===== */
  @media (max-width: 860px){
    .hero{ aspect-ratio: 5 / 6; max-height: none; }
    .card{ grid-template-columns: 96px 1fr auto; min-height: 96px; }
    .card .body{ padding: 14px 6px 14px 16px; gap: 3px; }
    .card .chev{ padding-right: 14px; }
    .card .desc{ font-size: 12px; }
    .about{ padding: 62px 20px 0 20px; }
    .about .shell{
      display: flex;
      flex-direction: column-reverse;
      gap: 22px;
      align-items: center;
    }
    .about-figure{
      display: flex;
      justify-content: center;
      align-items: flex-end;
      height: clamp(320px, 76vw, 460px);
      max-width: 420px;
      margin: 0 auto;
      width: 100%;
      align-self: center;
    }
    .about-figure img{
      height: 100%;
      max-width: none;
      width: auto;
    }
  }
  @media (max-width: 520px){
    .hero{ aspect-ratio: 3 / 4; }
    .hero-top{ padding: 0 18px; }
    .hero-top .pill{ font-size: 10.5px; padding: 5px 10px; }
    .logo-block{ bottom: 28px; gap: 8px; }
    .logo-block .logo-top{ gap: 8px; }
    .logo-block .logo-mark{ width: 24px; height: 42px; }
    .logo-block .logo-text{ align-items: flex-start; }
    .logo-block .logo-name{ font-size: 24px; letter-spacing: .16em; }
    .logo-block .logo-sub{ font-size: 9px; letter-spacing: .42em; }
    .logo-block .credentials{ font-size: 10px; letter-spacing: .32em; }
    .section{ padding: 36px 16px; }
    .card{ grid-template-columns: 88px 1fr auto; min-height: 92px; }
    .card .title{ font-size: 15.5px; }
    .card .eyebrow{ letter-spacing: .18em; }
    .about-figure{
      height: clamp(360px, 94vw, 520px);
      max-width: 460px;
    }
  }

  /* ===== Tweaks ===== */
  .tweaks{
    position: fixed;
    bottom: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 12px 32px -12px rgba(0,0,0,.2);
    font-family: 'General Sans', sans-serif;
    font-size: 12px;
    color: var(--ink);
    z-index: 999;
    display: none;
    min-width: 240px;
  }
  .tweaks.on{ display: block; }
  .tweaks h4{
    margin: 0 0 10px;
    font-family: 'Libre Baskerville', serif;
    font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--brand); font-weight: 700;
  }
  .tweaks .row{
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; margin: 8px 0;
  }
  .tweaks select, .tweaks input{
    font-family: inherit; font-size: 12px;
    border: 1px solid var(--line); border-radius: 8px;
    padding: 4px 8px; background: var(--surface-alt);
  }
