/* ============================================================
   FOILFILM Website — rebuilt 1:1 from design file (1440px)
   Tokens extracted from .ardot design nodes
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@500;600&display=swap');

:root {
  --ink: #1D1D1F;          /* headings / dark tile */
  --gray: #7A7A7A;         /* secondary text */
  --muted: #A1A1A6;        /* muted text on dark */
  --faint: #8E8E93;        /* faint text on dark */
  --bg-light: #F5F5F7;     /* light tile / inputs / nav / footer */
  --hairline: #E8E8ED;     /* nav hairline */
  --border: #E0E0E0;       /* card stroke / footer hairline */
  --dark-card: #2A2A2C;    /* card on dark tile */
  --blue: #0066CC;         /* accent */
  --blue-light: #2997FF;   /* accent on dark */
  --radius-card: 18px;
  --radius-input: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  font-size: 14px;
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* ---- layout shell: 1440 max, 80px side padding = 1280 content ---- */
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 80px; padding-right: 80px; }
@media (min-width: 1441px) { .wrap { padding-left: 0; padding-right: 0; } }

/* ============================= NAV ============================= */
.nav { background: var(--bg-light); }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 20px; letter-spacing: -0.5px; color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--ink); }
.nav-links a:hover { color: var(--blue); }
.btn-pill {
  display: inline-flex; align-items: center;
  background: var(--blue); color: #FFFFFF;
  border-radius: 980px; font-weight: 500;
  transition: background .15s ease;
}
.btn-pill:hover { background: #0055AA; }
.nav .btn-pill { padding: 10px 20px; font-size: 14px; }
.hairline { height: 1px; background: var(--hairline); }

/* ============================ HERO ============================= */
.hero { padding: 104px 0 72px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero h1 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 64px; line-height: 68px; letter-spacing: -2px;
  color: var(--ink); max-width: 980px;
}
.hero p {
  font-size: 19px; line-height: 28px; letter-spacing: -0.2px;
  color: var(--gray); max-width: 760px;
}
.hero-ctas { display: flex; align-items: center; gap: 24px; margin-top: 4px; }
.hero-ctas .btn-pill { padding: 12px 26px; font-size: 15px; }
.link-blue { font-size: 15px; font-weight: 500; color: var(--blue); }
.link-blue:hover { text-decoration: underline; }
.hero-image { width: 100%; height: 620px; object-fit: cover; }

/* ========================== TILES ============================== */
.tile { padding: 96px 0; }
.tile-dark { background: var(--ink); }
.tile-gray { background: var(--bg-light); }
.tile-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 56px; }
.tile-head h2 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 44px; line-height: 50px; letter-spacing: -1.2px;
}
.tile-head p { font-size: 17px; line-height: 25px; color: var(--gray); max-width: 640px; }
.tile-dark .tile-head h2 { color: #FFFFFF; }
.tile-dark .tile-head p { color: var(--muted); }

/* ---- grids ---- */
.grid { display: grid; gap: 16px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .tile { padding: 64px 0; }
  .tile-head h2 { font-size: 32px; line-height: 38px; }
}

/* ---- family cards (dark tile) ---- */
.family-card {
  background: var(--dark-card); border-radius: var(--radius-card);
  padding: 32px; display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.family-card h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 21px; letter-spacing: -0.3px; color: #FFFFFF;
}
.family-card .desc { font-size: 14px; line-height: 22px; color: var(--muted); }
.family-card .list { font-size: 13px; line-height: 20px; color: var(--faint); }

/* ---- application cards (light tile) ---- */
.app-card {
  background: #FFFFFF; border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.app-card h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 19px; letter-spacing: -0.3px; color: var(--ink);
}
.app-card p { font-size: 14px; line-height: 22px; color: var(--gray); }
.app-card .icon { width: 28px; height: 28px; }

/* ---- stat cards (white tile) ---- */
.stat-card {
  background: var(--bg-light); border-radius: var(--radius-card);
  padding: 32px; display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
}
.stat-card .value {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 44px; letter-spacing: -1px; color: var(--ink);
}
.stat-card .label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.6px;
  color: var(--gray); text-transform: uppercase;
}
.stat-card .desc { font-size: 13px; line-height: 19px; color: var(--gray); }

/* ---- CTA tile ---- */
.cta-tile { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta-tile h2 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 44px; letter-spacing: -1.2px; color: #FFFFFF;
}
.cta-tile p { font-size: 17px; line-height: 25px; color: var(--muted); max-width: 620px; }
.cta-tile .btn-pill { padding: 12px 26px; font-size: 15px; }
.cta-tile .contact { font-size: 14px; color: var(--faint); }

/* ---- footer ---- */
footer { background: var(--bg-light); padding: 64px 0 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { width: 360px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand .name {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 18px; letter-spacing: -0.4px; color: var(--ink);
}
.foot-brand .tag { font-size: 14px; line-height: 22px; color: var(--gray); }
.foot-brand .site { font-size: 14px; font-weight: 500; color: var(--ink); }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col .head {
  font-size: 12px; font-weight: 500; letter-spacing: 0.6px;
  color: var(--gray); text-transform: uppercase;
}
.foot-col a { font-size: 14px; color: var(--ink); }
.foot-col a:hover { color: var(--blue); }
.foot-bottom { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.foot-hairline { height: 1px; background: var(--border); }
.copyright { font-size: 12px; color: var(--gray); }

/* ---- inner page heads ---- */
.page-head { padding: 80px 0 56px; display: flex; flex-direction: column; gap: 12px; }
.page-head.tight { padding-bottom: 40px; }
.page-head h1 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 52px; letter-spacing: -1.5px; color: var(--ink);
}
.page-head p { font-size: 17px; line-height: 25px; color: var(--gray); }
.section-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.6px;
  color: var(--blue); text-transform: uppercase;
}
.section-title {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 28px; letter-spacing: -0.6px; color: var(--ink);
  margin: 56px 0 0;
}
.section-title + .grid { margin-top: 16px; }
.grid.below { margin-bottom: 56px; }
.grid .first-pad { padding-top: 16px; }

/* ---- product cards ---- */
.product-card {
  background: var(--bg-light); border-radius: var(--radius-card);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.product-card h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 17px; color: var(--ink);
}
.product-card p { font-size: 13px; line-height: 19px; color: var(--gray); }

/* ---- about ---- */
.about-intro { padding-bottom: 40px; }
.about-intro p {
  font-family: 'Inter Tight', sans-serif; font-weight: 500;
  font-size: 24px; line-height: 36px; letter-spacing: -0.3px;
  color: var(--ink); max-width: 980px;
}
.about-image { width: 100%; height: 560px; object-fit: cover; }
.about-label-row { padding-top: 56px; }
.about-card {
  background: var(--bg-light); border-radius: var(--radius-card);
  padding: 32px; display: flex; flex-direction: column; gap: 10px;
}
.about-card h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 21px; letter-spacing: -0.3px; color: var(--ink);
}
.about-card p { font-size: 14px; line-height: 22px; color: var(--gray); }

/* ---- applications page cards ---- */
.app-big {
  border-radius: var(--radius-card); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-light);
}
.app-big.dark { background: var(--ink); }
.app-big h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 24px; letter-spacing: -0.4px; color: var(--ink);
}
.app-big.dark h3 { color: #FFFFFF; }
.app-big p { font-size: 15px; line-height: 23px; color: var(--gray); }
.app-big.dark p { color: var(--muted); }
.app-big .structures {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--blue); text-transform: uppercase; margin-top: 2px;
}
.app-big.dark .structures { color: var(--blue-light); }

/* ---- quality ---- */
.qc-card {
  background: var(--bg-light); border-radius: var(--radius-card);
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
.qc-card h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 17px; color: var(--ink);
}
.qc-card p { font-size: 13px; line-height: 19px; color: var(--gray); }

/* ---- contact ---- */
.contact-row { display: flex; gap: 64px; padding: 0 0 72px; }
.inquiry-form { flex: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--gray); text-transform: uppercase;
}
.field input, .field textarea {
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--bg-light); border: none; border-radius: var(--radius-input);
  height: 52px; padding: 0 16px; outline: none; width: 100%;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 2px rgba(0,102,204,.35); }
.inquiry-form .btn-pill { padding: 12px 26px; font-size: 15px; align-self: flex-start; border: none; cursor: pointer; }
.contact-info { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info .head {
  font-size: 12px; font-weight: 500; letter-spacing: 0.6px;
  color: var(--gray); text-transform: uppercase;
}
.info-item { display: flex; flex-direction: column; gap: 4px; }
.info-item .label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--gray); text-transform: uppercase;
}
.info-item .value { font-size: 18px; font-weight: 500; color: var(--ink); }
@media (max-width: 960px) {
  .contact-row { flex-direction: column; }
  .contact-info { width: 100%; }
  .page-head h1 { font-size: 38px; }
}

/* ---- inquiry form status ---- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14px; line-height: 20px; min-height: 20px; margin: 0; }
.form-status.success { color: #1D7A3E; }
.form-status.error { color: #D0342C; }
.form-status:not(.success):not(.error) { color: var(--gray); }
.inquiry-form .btn-pill:disabled { opacity: .55; cursor: default; }
