/* CSS for URC Machine */

 * { box-sizing: border-box; }

@font-face {
  font-family: 'BroshK';
  src: url('/fonts/BroshK.woff2') format('woff2'),
       url('/fonts/BroshK.woff') format('woff'),
	   url('/fonts/BroshK.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
    :root {
      --ink: #171512;
      --muted: #5d5850;
      --line: #d8d1c7;
      --paper: #f7f4ee;
      --white: #ffffff;
      --charcoal: #25231f;
      --steel: #6d7478;
      --amber: #b98a48;
      --green: #3f5d55;
      --max: 1160px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: #171512;
	  background: red !important; 
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.55;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(247, 244, 238, .94);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

    .nav {
      max-width: var(--max);
      margin: 0 auto;
      min-height: 72px;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

   .brand {
  font-family: "BroshK", serif;
  font-size: 22px;                   
  font-weight: 400;                 
  letter-spacing: .06em;
  text-transform: uppercase;
    }

    .links {
      display: flex;
      gap: 26px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .hero {
      min-height: 760px;
      position: relative;
      color: var(--white);
      overflow: hidden;
      display: grid;
      align-items: center;
      isolation: isolate;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(19,18,16,.84), rgba(19,18,16,.56) 42%, rgba(19,18,16,.2)),
        url("Home _ Urc Machine_files/ai-generated-IMAGE_002.avif") center / cover no-repeat;
      z-index: -2;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 180px;
      background: linear-gradient(0deg, var(--paper), transparent);
      z-index: -1;
    }

    .hero-inner {
      max-width: min(1740px, 100%);
      width: 100%;
      margin: 0 auto;
      padding: 72px 64px 130px;
      display: grid;
      grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
      align-items: center;
      gap: 34px;
    }

    .hero-copy {
      position: relative;
      z-index: 1;
      max-width: 360px;
    }

    .logo-panel {
      justify-self: stretch;
      min-width: 0;
    }

    .hero-logo {
      display: block;
      width: 100%;
      max-height: 620px;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 30px 56px rgba(0,0,0,.42));
    }

    .eyebrow {
      margin: 0 0 18px;
      color: #dec59d;
      font-family: "Arial";  /* added for testing */
	  font-size: 13px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    h1, h2, h3, h4, h5, p { margin-top: 0; }
    h1 {
      max-width: 450px;
      margin-bottom: 20px;
      font-family: "BroshK", serif;
      font-size: clamp(38px, 4.2vw, 64px);
      line-height: .95;
      letter-spacing: 0;
      font-weight: 400;
    }

    .hero p {
      max-width: 430px;
      margin-bottom: 12px;
      font-size: 14px;
      color: rgba(255,255,255,.88);
    }

    .button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 20px;
      border: none;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      font-size: 13px;
    }
    .btn.primary { background: var(--amber); border-color: var(--amber); color: #111; }
    .btn.secondary { color: #fff; }

    section { padding: 88px 24px; }
    .section-inner { max-width: var(--max); margin: 0 auto; }
    .split {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 56px;
      align-items: start;
    }

    .section-label {
      margin-bottom: 14px;
      color: var(--amber);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    h2 {
      margin-bottom: 24px;
      font-family: "BroshK", serif;
      font-size: clamp(42px, 5vw, 72px);
      line-height: .98;
      font-weight: 400;
    }

    h3 { font-family: "BroshK", serif; font-size: 32px; line-height: 1.05; margin-bottom: 12px; font-weight: 400; }
    h4 { margin-bottom: 8px; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
    p { color: var(--muted); }

    .quality {
      background: var(--charcoal);
      color: var(--white);
    }
    .quality p { color: rgba(255,255,255,.78); }
    .quality h2 { color: var(--white); }

    .iso {
      padding: 26px;
      border: none;
      background: rgba(255,255,255,.06);
    }
    .iso strong { display: block; font-size: 34px; line-height: 1; margin-bottom: 8px; color: #f4d9a6; }

    .machines {
      background: #fff;
    }

    .machine-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .machine-card {
      min-height: 100%;
      border: none;
      background: #fff;
    }

    .machine-card img {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: contain;
      object-position: center;
      padding: 16px;
      background: #ece8df;
    }

    .machine-card.tall img { aspect-ratio: 16 / 10; }
    .machine-body { padding: 24px; }

    .capabilities {
      background: #e8ece9;
    }

    .capability-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 34px;
    }

    .industry-card {
      position: relative;
      min-height: 340px;
      overflow: hidden;
      color: #fff;
      display: flex;
      align-items: flex-end;
      padding: 28px;
      background: #222;
    }

    .industry-card img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .industry-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.08));
      z-index: 1;
    }

    .industry-card h3 {
      position: relative;
      z-index: 2;
      margin: 0;
      font-size: 32px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .upload {
      background: #52596c;
      color: #fff;
    }
    .upload p { color: rgba(255,255,255,.78); }

    .form-shell {
      padding: 28px;
      background: rgba(255,255,255,.08);
      border: none;
    }

    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    input, select, textarea {
      width: 100%;
      min-height: 46px;
      border: none;
      background: rgba(255,255,255,.92);
      color: #171512;
      padding: 11px 12px;
      font: inherit;
    }
    textarea { min-height: 110px; resize: vertical; }
    .full { grid-column: 1 / -1; }
    .submit { margin-top: 18px; background: #f1c06e; color: #16120b; border: none; cursor: pointer; }

    .marquee {
      overflow: hidden;
      background: var(--ink);
      color: #fff;
      white-space: nowrap;
      font-size: clamp(34px, 6vw, 82px);
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .marquee-track {
      display: inline-block;
      padding: 28px 0;
      animation: scroll 28s linear infinite;
    }
    .marquee span { padding-right: 46px; }
    @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    footer {
      padding: 52px 24px;
      color: #fff;
      background: #171512;
    }
    .footer-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 32px;
      align-items: center;
    }
    .footer-logo { background: #161616; padding: 14px; }
    footer p { margin: 0; color: rgba(255,255,255,.76); }

    @media (max-width: 820px) {
      .nav { align-items: flex-start; flex-direction: column; padding: 18px 20px; }
      .links { gap: 14px; flex-wrap: wrap; }
      .hero { min-height: auto; }
      .hero-inner, .split, .machine-grid, .capability-grid, .footer-inner { grid-template-columns: 1fr; }
      .hero-inner { padding: 48px 20px 90px; gap: 26px; }
      .hero-copy { max-width: 100%; }
      .logo-panel { justify-self: center; width: min(940px, 100%); }
      section { padding: 64px 20px; }
      .form-grid { grid-template-columns: 1fr; }
    }
  
    .brand, .site-title, h1 {
      font-family: "BroshK", serif !important;
      font-size: 3em;
    }
    .site-title, h1 {
      font-size: 5.4em;
    }
    .submit-file-area, .file-area, .upload-area, .dropzone, .drop-zone {
      background: #d9d9d9 !important;
    }

    .form-grid .file-upload { grid-column: 1 / -1; }
    .form-grid .file-upload input[type="file"] { display:block; width:100%; margin-top:10px; }
  
/* Responsive fix: Desktop unchanged, tablet/mobile only */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Only apply wrapping on smaller screens */
@media (max-width: 1024px) {
  .hero-inner {
    flex-wrap: wrap;
  }
  
  .hero-copy {
    flex: 1 1 400px;
    min-width: 300px;
  }
  
  .logo-panel {
    flex: 0 1 350px;
    max-width: 100%;
  }
  
  .hero-logo {
    max-width: 100%;
    height: auto;
  }
}

/* Mobile specific */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .logo-panel {
    flex: 1 1 auto;
    order: -1;
    max-width: 280px;
    margin: 0 auto 1rem auto;
  }
  
  .hero-copy {
    min-width: 0;
  }
  
  .hero-copy h1 {
    font-size: 1.8rem;
  }
  
  .button-row {
    justify-content: center;
  }
}