/* Castanon Art: home styles, copied verbatim from the static site (index.html). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg-deep:      #1c1c1a;
      --bg-dark:      #222220;
      --bg-main:      #262624;
      --bg-tile:      #2a2a28;
      --bg-footer:    #161614;
      --white:        #ffffff;
      --soft-white:   #e0e0e0;
      --mid:          #aaaaaa;
      --dim:          #666666;
      --ghost:        #444444;
      --rule:         #1e1e1e;
      --gold:         #b8a583;
      --gold-border:  #b8a583;
      --font-title: 'Newsreader', Georgia, serif;
      --font-body:'Libre Franklin',sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg-main);
      color: var(--white);
      font-family: var(--font-body);
      font-weight: 200;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* ── NAV ── */
    nav {
      background: #1c1c1a;
      border-bottom: 0.5px solid var(--rule);
      height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .nav-brand {
      font-family: var(--font-title);
      font-size: 21px;
      font-weight: 400;
      color: #ffffff;
      letter-spacing: 0.5px;
      text-transform: none;
      white-space: nowrap;
    }
    .nav-brand,
    .nav-brand:link,
    .nav-brand:visited,
    .nav-brand:hover,
    .nav-brand:active,
    .nav-brand:focus { text-decoration: none; }
    
    .nav-links {
      display: flex;
      gap: 16px;
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      margin-left: auto;
      margin-right: 44px;
    }
    .nav-links a {
      color: rgba(255,255,255,0.90);
      text-decoration: none;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    .nav-links a:hover { color:#ffffff; }
    .nav-links a.active { color:var(--gold); }
    .nav-links a.special { color: rgba(255,255,255,0.52); }
    .nav-collect,
    a.nav-collect {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--gold);

      transition: color 0.2s ease;
    }

    .nav-right { flex-shrink:0; display:flex; align-items:center; }
    .nav-collect:hover,
    a.nav-collect:hover {
      color: #f0cc8a;

    }
    /* Hide any legacy EN/ES toggles if .nav-right spans exist in markup */
    .home .nav-right span,
    .home .nav-right .sep {
      display: none !important;
    }
    .language-toggle,
    .lang-toggle,
    .header-lang { display: none !important; }

    /* ── HERO ── */
    .hero {
      width: 100%;
      position: relative;
      overflow: hidden;
    }
    .hero-img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: contain;
      object-position: top center;
    }
    .hero-scroll-hint {
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%);
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .hero-scroll-hint::after {
      content: '';
      width: 0.5px;
      height: 32px;
      background: rgba(255,255,255,0.2);
    }
    .hero-cta { display: flex; gap: 14px; }
    .btn-primary {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 3px;
      text-transform: uppercase;
      background: var(--white);
      color: #000;
      padding: 13px 36px;
      cursor: pointer;
      border: none;
      text-decoration: none;
      display: inline-block;
      transition: opacity 0.2s;
    }
    .btn-primary:hover { opacity: 0.85; }
    .btn-outline {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 3px;
      text-transform: uppercase;
      background: transparent;
      color: var(--white);
      padding: 13px 36px;
      cursor: pointer;
      border: 0.5px solid #686868;
      text-decoration: none;
      display: inline-block;
      transition: border-color 0.2s;
    }
    .btn-outline:hover { border-color: var(--white); }
    .hero-dots {
      position: absolute;
      bottom: 24px;
      display: flex;
      gap: 6px;
    }
    .dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #333;
    }
    .dot.active { background: var(--white); }

    /* ── STATS BAND ── */
    .stats-band {
      background: #1c1c1a;
      border-top: 0.5px solid var(--rule);
      border-bottom: 0.5px solid var(--rule);
      padding: 2.2rem 40px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .stats-row {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    .stat { text-align: center; min-width: 80px; }
    .stat-num {
      font-family: var(--font-title);
      font-size: 31px;
      font-weight: 400;
      color: var(--white);
    }
    .stat-label {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: #b8b8b8;
      margin-top: 5px;
    }
    .stat-rule {
      width: 0.5px;
      height: 40px;
      background: #222;
      flex-shrink: 0;
    }
    .stat-text {
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 200;
      color: #c8c8c8;
      line-height: 1.9;
      flex: 1;
      padding-left: 1rem;
    }
    .stat-text strong {
      color: #cccccc;
      font-weight: 200;
    }

    /* ── SECTION GRID ── */
    .section-nav { padding: 2.5rem 2px; background: var(--bg-dark); }
    .section-nav-label {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #b8b8b8;
      margin-bottom: 12px;
      padding: 0 38px;
    }
    .section-grid {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .section-row {
      display: grid;
      gap: 0;
    }
    .section-row.row-2 { grid-template-columns: 1fr 1fr; }
    .section-row.row-2 .tile { aspect-ratio: 673 / 800; }
    .section-row.row-3 { grid-template-columns: repeat(3, 1fr); }
    .section-row.row-3 .tile { aspect-ratio: 1 / 1; }
    .section-row.row-4 { grid-template-columns: repeat(4, 1fr); }
    .section-row.row-4 .tile { aspect-ratio: 2 / 3; }
    .tile {
      position: relative;
      background: var(--bg-tile);
      cursor: pointer;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 20px;
      transition: background 0.3s;
    }
    
    .tile::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.35);
      transition: background 0.3s;
    }
    .tile:hover::before { background: rgba(0,0,0,0.1); }
    .tile-arrow {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--gold);
      opacity: 0.5;
      transition: opacity 0.3s;
      z-index: 2;
    }
    .tile:hover .tile-arrow { opacity: 1; }
    .tile { outline: 1px solid transparent; transition: background 0.3s, outline-color 0.3s; }
    .tile:hover { outline-color: var(--gold); }
    .tile-info { position: relative; z-index: 2; }
    .tile-name {
      font-family: var(--font-title);
      font-size: 18px;
      font-weight: 400;
      color: var(--white);
      text-transform: none;
      letter-spacing: 0.25px;
    }
    .tile-desc { display: none; /* hidden per final design */
    zzz:
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      color: #aaaaaa;
      letter-spacing: 0.5px;
      margin-top: 5px;
    }
    .t-urban  { background-size: cover; background-position: center; }
    .t-interv { background-size: cover; background-position: center; }
    .t-texture  { background-size: cover; background-position: center; }
    .t-works  { background-size: cover; background-position: center; }
    .t-water { background-size: cover; background-position: center; }



    /* ── FLOW ── */
    .flow {
      background: #1c1c1a;
      border-top: 0.5px solid var(--rule);
      padding: 1.6rem 40px;
      display: flex;
      align-items: center;
      gap: 0;
    }
    .flow-step { display: flex; align-items: center; gap: 10px; }
    .flow-num {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      border: 0.5px solid #555555;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-body);
      font-size: 10px;
      font-weight: 200;
      color: #c8c8c8;
      flex-shrink: 0;
      transition: border-color 0.25s ease, color 0.25s ease;
    }
    .flow-num.on { border-color: var(--white); color: var(--white); }
    .flow-text { font-family: var(--font-body); font-size: 11px; font-weight: 200; color: #c8c8c8; transition: color 0.25s ease; }
    .flow-text strong { display: block; color: #cccccc; font-weight: 200; margin-bottom: 1px; font-size: 10px; transition: color 0.25s ease; }
    /* Subtle brightening on hover — orientation map, not a step process */
    .flow-step:hover .flow-num { border-color: #888888; color: #dddddd; }
    .flow-step:hover .flow-text { color: #c8c8c8; }
    .flow-step:hover .flow-text strong { color: #eeeeee; }
    .flow-arr { font-size: 14px; color: #252525; margin: 0 16px; flex-shrink: 0; }

    /* ── FEATURED ── */
    .featured {
      padding: 2.5rem 40px;
      background: var(--bg-main);
      border-top: 0.5px solid var(--rule);
    }
    .featured-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 1.5rem;
    }
    .featured-title {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #b8b8b8;
    }
    .featured-link {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #b8b8b8;
      border-bottom: 0.5px solid #555555;
      padding-bottom: 2px;
      cursor: pointer;
      text-decoration: none;
    }
    .feat-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 2px;
    }
    .feat-card {
      display: block;
      cursor: pointer;
      position: relative;
      outline: 1px solid transparent;
      transition: outline-color 0.3s;
      text-decoration: none;
      color: inherit;
    }
    .feat-card:hover { outline-color: var(--gold); }
    .feat-card::after {
      content: '';
      position: absolute;
      top: 14px;
      right: 14px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--gold);
      opacity: 0.5;
      transition: opacity 0.3s;
      z-index: 2;
      pointer-events: none;
    }
    .feat-card:hover::after { opacity: 1; }
    .feat-img {
      aspect-ratio: 1 / 1;
      height: auto;
      background: #1a1a1a;
      position: relative;
      display: flex;
      align-items: flex-end;
      padding: 0;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
    }
    .feat-tag { display: none; }
    .feat-f1 { background-size: cover; background-position: center; }
    .feat-f2 { background-size: cover; background-position: center; }
    .feat-f3 { background-size: cover; background-position: center; }
    .feat-f4 { background-size: cover; background-position: center; }
    .feat-f5 { background-size: cover; background-position: center; }
    .feat-f6 { background-size: cover; background-position: center; }
    .feat-info {
      padding: 18px 12px 14px;
      background: transparent;
    }
    .feat-name {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
      margin-bottom: 0;
    }
    .feat-medium { display: none; }

    /* ── ABOUT ── */
    .about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: #1e1e1c;
      border-top: 4px solid #111110;
      margin-top: 2px;
    }
    .about-img {
      position: relative;
      overflow: hidden;
      background: var(--bg-tile);
      aspect-ratio: 1 / 1;
    }
    .about-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      /* If the file is missing, hide the broken-image icon and alt text */
      font-size: 0;
      line-height: 0;
      color: transparent;
      text-indent: -9999px;
      overflow: hidden;
    }
    .about-text {
      padding: 48px 40px;
      border-left: 0.5px solid var(--rule);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 16px;
    }
    .about-eyebrow {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: #b8b8b8;
    }
    .about-heading {
      font-family: var(--font-title);
      font-size: 34px;
      font-weight: 400;
      color: var(--white);
      line-height: 1.5;
      text-transform: none;
    }
    .about-heading span { color: #c8c8c8; }
    .about-body {
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 200;
      color: #cccccc;
      line-height: 1.9;
    }
    .about-link {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #b8b8b8;
      border-bottom: 0.5px solid #555555;
      padding-bottom: 3px;
      display: inline-block;
      cursor: pointer;
      text-decoration: none;
      width: fit-content;
    }

    /* ── COLLECTOR ── */
    .collector {
      background: #1c1c1a;
      border-top: 0.5px solid var(--rule);
      border-bottom: 0.5px solid var(--rule);
      padding: 2rem 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .collector-title {
      font-family: var(--font-title);
      font-size: 20px;
      font-weight: 400;
      color: var(--gold);
      text-transform: none;
      letter-spacing: 0.25px;
      margin-bottom: 6px;
    }
    .collector-sub {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      color: #c8c8c8;
      letter-spacing: 0.5px;
    }
    .btn-gold {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--gold);
      border: 0.5px solid var(--gold-border);
      padding: 11px 24px;
      cursor: pointer;
      background: transparent;
      text-decoration: none;
      display: inline-block;
      transition: background 0.2s;
      white-space: nowrap;
    }
    .btn-gold:hover { background: rgba(184,165,131,0.08); }

    /* ── FOOTER ── */
    footer { background:var(--bg-footer); border-top:0.5px solid #333; padding:0; display:block; }
    .footer-cols { padding:48px 40px; display:grid; grid-template-columns:1.5fr 1fr 1fr 1.5fr; gap:40px; border-bottom:0.5px solid #2a2a2a; }
    .footer-col-label { font-family:var(--font-body); font-size:10px; font-weight:200; letter-spacing:3px; text-transform:uppercase; color:#cccccc; margin-bottom:16px; }
    .footer-brand { font-family:var(--font-title); font-size: 18px; letter-spacing: 0.5px; text-transform: none; color:var(--soft-white); opacity:0.9; margin-bottom:16px; }
    .footer-tagline { font-family:var(--font-body); font-size:11px; font-weight:200; color:#cccccc; line-height:1.9; font-style:italic; }
    .footer-explore { display:flex; flex-direction:column; gap:10px; }
    .footer-explore a { font-family:var(--font-body); font-size:11px; font-weight:200; letter-spacing:1.5px; text-transform:uppercase; color:#cccccc; text-decoration:none; transition:color 0.2s; }
    .footer-explore a:hover { color:var(--white); }
    .footer-email { font-family:var(--font-body); font-size:12px; font-weight: 200; color:#cccccc; text-decoration:none; display:block; margin-bottom:14px; }
    .footer-email:hover { color:var(--white); }
    .footer-body-text { font-family:var(--font-body); font-size:11px; font-weight:200; color:#c8c8c8; line-height:1.8; }
    .footer-circle-text { font-family:var(--font-body); font-size:11px; font-weight:200; color:#cccccc; line-height:1.9; margin-bottom:20px; }
    .footer-circle-cta { font-family:var(--font-body); font-size:10px; font-weight:200; letter-spacing:2px; text-transform:uppercase; color:var(--gold); border:0.5px solid var(--gold); padding:11px 20px; text-decoration:none; display:inline-block; transition:background 0.2s; }
    .footer-circle-cta:hover { background:rgba(184,165,131,0.08); }
    .footer-strip { padding:16px 40px; display:flex; justify-content:space-between; align-items:center; }
    .footer-copy { font-family:var(--font-body); font-size:11px; font-weight:200; color:#cccccc; }
    .footer-links { display:flex; gap:24px; }
    .footer-links a { font-family:var(--font-body); font-size:11px; font-weight:200; letter-spacing:1px; text-transform:uppercase; color:#cccccc; text-decoration:none; transition:color 0.2s; }
    .footer-links a:hover { color:var(--white); }

    /* ── PRODUCT PAGE PREVIEW ── */
    .castelar-link {
      display: block;
      text-decoration: none;
      color: inherit;
    }
    .castelar-link .castelar-grid {
      transition: outline-color 0.25s, transform 0.25s;
      outline: 1px solid transparent;
    }
    .castelar-link:hover .castelar-grid {
      outline-color: var(--gold);
    }
    .castelar-block {
      background: var(--bg-main);
      border-top: 0.5px solid var(--rule);
      padding: 2.5rem 40px;
    }
    .castelar-block-label {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #b8b8b8;
      margin-bottom: 12px;
    }
    .castelar-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }
    .castelar-image {
      background: linear-gradient(160deg, #555555 0%, #111 50%, #2e2e2e 100%);
      aspect-ratio: 1 / 1;
      position: relative;
      overflow: hidden;
    }
    .castelar-text {
      background: var(--bg-tile);
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 13px;
    }
    .castelar-series {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: #b8b8b8;
    }
    .castelar-title {
      font-family: var(--font-title);
      font-size: 36px;
      font-weight: 400;
      color: var(--white);
      line-height: 1.4;
      text-transform: none;
    }
    .castelar-location {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      color: #c8c8c8;
      font-style: italic;
      letter-spacing: 0.5px;
    }
    .castelar-desc {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 200;
      color: #cccccc;
      line-height: 1.9;
    }
    .castelar-price {
      font-family: var(--font-title);
      font-size: 25px;
      font-weight: 400;
      color: var(--gold);
      letter-spacing: 1px;
    }
  
    .nav-left { display: flex; align-items: center; gap: 18px; }
    .nav-logo-link { display: flex; align-items: center; text-decoration: none; }
    .nav-logo-crop { display: block; width: 11.69px; height: 13px; overflow: hidden; position: relative; transform: translateY(-1px); }
    .nav-logo-crop svg { position: absolute; width: 11.686px; height: 13.025px; left: 0.002px; top: 0.002px; fill: #ddba79; opacity: 0.68; }
  
    .hero-link { display:block; width:100%; height:100%; text-decoration:none; }
