/* pFeFnology — shared styles
   Change the two colors below to re-theme the whole site. */
:root {
  --ink: #0F1115;       /* dark background */
  --accent: #7CF0C5;    /* mint accent */
  --accent-dark: #0B6E5A;
  --paper: #F5F6F8;
  --text: #14161B;
  --muted: #4A505A;
  --line: #E2E5EA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
h1, h2, h3, .brand { font-family: "Space Grotesk", Inter, system-ui, sans-serif; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--ink); color: #F2F3F5; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #F2F3F5; text-decoration: none; font-weight: 600; font-size: 22px; }
.brand .tile {
  width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 6px;
  display: grid; place-items: center; color: var(--accent); font-weight: 700; font-size: 18px;
}
.brand .fe { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 500; }
.site-nav a { color: #C9CDD4; text-decoration: none; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--ink); padding: 12px 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px;
  border-radius: 8px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost { border-color: #3A3F48; color: #F2F3F5; }
.btn-ghost:hover { border-color: #F2F3F5; }
.btn-dark { background: var(--ink); color: #fff; }

/* Hero */
.hero { background: var(--ink); color: #F2F3F5; padding: 64px 0 104px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 480px; min-width: 0; }
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); }
.hero .eyebrow, .dark .eyebrow { color: var(--accent); }
.hero h1 { margin: 0 0 24px; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
.hero p.lead { margin: 0 0 32px; font-size: 20px; color: #C9CDD4; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.element-tile {
  flex: 1 1 260px; max-width: 320px; aspect-ratio: 8 / 9; margin: 0 auto;
  border: 3px solid var(--accent); border-radius: 16px; background: #171A20; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: "Space Grotesk", sans-serif;
}
.element-tile .top { display: flex; justify-content: space-between; color: #C9CDD4; font-size: 20px; font-weight: 600; }
.element-tile .sym { color: var(--accent); font-size: clamp(96px, 12vw, 140px); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; }
.element-tile .name { color: #F2F3F5; font-size: 22px; font-weight: 600; }
.element-tile .tag { color: #A3A9B3; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-family: Inter, sans-serif; }

/* Page header (inner pages) */
.page-head { background: var(--ink); color: #F2F3F5; padding: 72px 0 80px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.page-head p { margin: 0; font-size: 19px; color: #C9CDD4; max-width: 620px; }

/* Sections */
.section { padding: 96px 0; }
.section.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #F2F3F5; }
.section h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.section .intro { max-width: 680px; margin-bottom: 48px; }
.section .intro p { color: var(--muted); font-size: 18px; margin: 0; }
.section.dark .intro p { color: #C9CDD4; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.card h3 { margin: 14px 0 10px; font-size: 23px; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.icon { width: 32px; height: 32px; stroke: var(--accent-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--text); padding-top: 22px; }
.steps .num { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--accent-dark); font-size: 15px; }
.steps h3 { margin: 8px 0; font-size: 23px; }
.steps p { margin: 0; color: var(--muted); }

.project { text-decoration: none; color: var(--text); display: block; }
.project .shot {
  aspect-ratio: 4 / 3; background: var(--line); border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; color: #5A606B; font-weight: 500;
}
.project .shot img { width: 100%; height: 100%; object-fit: cover; }
.project h3 { margin: 16px 0 2px; font-size: 21px; }
.project p { margin: 0; color: var(--muted); font-size: 15px; }

/* Call-to-action band */
.cta { background: var(--ink); color: #F2F3F5; padding: 88px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; max-width: 640px; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-grid > * { flex: 1 1 360px; min-width: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list .label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span.value { font-size: 20px; font-weight: 600; }
.contact-list a { color: var(--accent-dark); text-decoration: none; }

/* Footer */
.site-footer { background: var(--ink); color: #A3A9B3; border-top: 1px solid #2A2F37; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.site-footer a { color: #C9CDD4; }
