/* Draorc Industries. One dark column, hairline grid, oversized expanded wordmark as the only loud element. */
:root {
  --bg: #0a0b0c;
  --panel: #101213;
  --fg: #f1f2f3;
  --muted: #959ba1;
  --line: #25292c;
  --line-strong: #3b4044;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; }

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gap-top { margin-top: 10px; }
.no-rule { border-bottom: 0; }
.flush { margin-bottom: 0; }

.motto { margin-top: 34px; display: flex; align-items: baseline; gap: 14px 24px; flex-wrap: wrap; }
.motto .ar { font-family: "Reem Kufi", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; font-weight: 600; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.3; display: inline-block; transform: skewX(-12deg); unicode-bidi: isolate; }
.motto .tr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.phone { font-family: var(--mono); font-size: clamp(1rem, 3vw, 1.2rem); letter-spacing: 0.04em; user-select: all; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.nav .mark { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; font-size: 18px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a.l { text-decoration: none; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a.l:hover, .nav a.l[aria-current="page"] { color: var(--fg); }

/* hero */
.hero { padding-block: clamp(56px, 11vw, 120px) clamp(48px, 8vw, 88px); border-bottom: 1px solid var(--line); }
.hero h1 { margin: 18px 0 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(2.7rem, 12.5vw, 9rem); line-height: 0.92; letter-spacing: -0.01em; text-wrap: balance; }
.hero .sub { display: block; margin-top: 14px; font-family: var(--mono); font-weight: 400; font-stretch: 100%; font-size: clamp(0.8rem, 2.6vw, 1.35rem); letter-spacing: 0.62em; text-transform: uppercase; color: var(--muted); }
.hero p.lead { max-width: 40em; margin: clamp(32px, 5vw, 56px) 0 0; font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.5; text-wrap: pretty; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 36px; }

/* sections */
section { padding-block: clamp(48px, 8vw, 88px); border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 36px; }
.sec-head h1, .sec-head h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.8rem); line-height: 1.05; text-wrap: balance; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--bg); padding: 28px 26px 32px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cell h3 { margin: 0; font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 1.25rem; }
.cell p { margin: 0; color: var(--muted); }
.cell .tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 3px 8px; color: var(--fg); }

.systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.system { background: var(--panel); padding: 34px 30px 38px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.system h3 { margin: 0; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.05; }
.system p { margin: 0; color: var(--muted); max-width: 32em; }
.system .row { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.cta { align-self: flex-start; margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--fg); border: 1px solid var(--line-strong); padding: 11px 18px; }
.cta:hover { border-color: var(--fg); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; background: var(--fg); display: inline-block; }
.status.pilot::before { background: transparent; border: 1px solid var(--fg); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 80px); }
.split .big { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.8rem); line-height: 1.05; text-wrap: balance; }
.split .copy p { margin: 0 0 18px; max-width: 36em; }
.split .copy p:last-child { margin-bottom: 0; }
.split .copy p.muted { color: var(--muted); }
.scope { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.scope li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.scope li span:last-child { color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--bg); padding: 28px 26px 32px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.person h3 { margin: 0; font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 1.35rem; }
.person p { margin: 10px 0 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.contact .mail { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact .addr { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.3rem, 4.6vw, 2.4rem); line-height: 1.1; overflow-wrap: anywhere; user-select: all; }
button.copy { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); background: transparent; border: 1px solid var(--line-strong); padding: 9px 14px; cursor: pointer; }
button.copy:hover { border-color: var(--fg); }
.links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.links a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.links a:hover { border-color: var(--fg); }

/* insights */
.post-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 34px; background: var(--panel); text-decoration: none; min-width: 0; }
.post-card:hover h2 { text-decoration: underline; text-underline-offset: 6px; }
.post-card h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.1; text-wrap: balance; }
.post-card p { margin: 0; color: var(--muted); max-width: 40em; }
.planned { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.planned li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.planned li span:last-child { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.post { max-width: 720px; padding-block: clamp(40px, 7vw, 80px) 24px; }
.post h1 { margin: 14px 0 0; font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.9rem, 5.4vw, 3.2rem); line-height: 1.05; text-wrap: balance; }
.post .byline { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.post .lede { font-size: clamp(1.15rem, 2.6vw, 1.35rem); line-height: 1.5; margin: 32px 0 0; text-wrap: pretty; }
.prose h2 { margin: 48px 0 12px; font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.prose p { margin: 0 0 18px; }
.prose ol, .prose ul { margin: 0 0 18px; padding-left: 1.3em; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 500; color: var(--fg); }
.prose a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--fg); }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; overflow-wrap: anywhere; }
.prose .note { margin: 28px 0 0; padding: 18px 20px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 15px; }
.post-end { max-width: 720px; padding-block: 28px 64px; border-top: 1px solid var(--line); margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.post-end p { margin: 0; color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 28px 40px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .systems, .team, .split { grid-template-columns: minmax(0, 1fr); }
  .hero .sub { letter-spacing: 0.4em; }
}

.prose pre { margin: 0 0 18px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
