@charset "UTF-8";
/* mufatech.com: one page in English and Turkish. Colours follow the mark: deep teal and cream. */
/* Fonts are served from this site (SIL Open Font License), latin and latin-ext only: latin-ext
   carries the Turkish letters. The fallback faces are sized to match, so the swap barely moves text. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/jakarta-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/jakarta-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/playfair-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/playfair-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 105.5%; ascent-override: 98.4%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: 'Playfair Fallback'; font-style: italic; src: local('Georgia Italic'), local('Georgia-Italic'), local('Times New Roman Italic'); size-adjust: 94.1%; ascent-override: 115%; descent-override: 26.7%; line-gap-override: 0%; }

:root {
  --bg: #071513;
  --bg-deep: #040e0c;
  --panel: #0d221e;
  --teal: #133e3d;
  --ink: #f5f0e8;
  --muted: #a3b5ae;
  --line: rgba(245, 240, 232, 0.1);
  --line-strong: rgba(245, 240, 232, 0.2);
  --accent: #2de2a6;
  --accent-soft: rgba(45, 226, 166, 0.12);
  --serif: 'Playfair Display', 'Playfair Fallback', Georgia, serif;
  --sans: 'Plus Jakarta Sans', 'Jakarta Fallback', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #041411; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: absolute; top: 12px; left: 12px; z-index: 100;
  padding: 10px 18px; background: var(--accent); color: #041411; font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
h1, h2, h3 { color: #fff; font-weight: 800; }
h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -0.035em; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; }

/* Header */
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 84px; border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.wordmark svg { width: 36px; height: 36px; flex: none; }
.wordmark .dot { color: var(--accent); }
.header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.header nav a:not(.nav-cta):hover { color: #fff; }
.nav-cta {
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(45, 226, 166, 0.3);
  transition: background-color 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #041411; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; font-family: var(--mono); font-size: 12px; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="page"] { background: var(--ink); color: #071513; font-weight: 700; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero-lead { margin-top: 26px; max-width: 560px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.button-primary { background: var(--accent); color: #041411; }
.button-primary:hover { background: #5ff3c0; box-shadow: 0 0 24px rgba(45, 226, 166, 0.35); transform: translateY(-2px); }
.button-ghost { color: #fff; background: rgba(245, 240, 232, 0.04); border-color: var(--line-strong); }
.button-ghost:hover { background: rgba(245, 240, 232, 0.1); border-color: rgba(245, 240, 232, 0.35); }

/* The hero drawing: the mark as a measured plan */
.plate {
  position: relative; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #1b5250 0%, var(--teal) 45%, #0b2826 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.plate-head, .plate-foot {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}
.plate-head { border-bottom: 1px solid var(--line); }
.plate-foot { border-top: 1px solid var(--line); align-items: flex-end; }
.plate-foot strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.plate svg { width: 100%; height: auto; aspect-ratio: 1; }
.plate .grid { stroke: rgba(245, 240, 232, 0.06); stroke-width: 2; }
.plate .dim { stroke: var(--accent); stroke-width: 3; fill: none; }
.plate .dim-label { fill: var(--accent); font-family: var(--mono); font-size: 34px; letter-spacing: 2px; }
.plate .piece { fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .plate .piece { animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .plate .piece:nth-of-type(2) { animation-delay: 0.12s; }
  .plate .piece:nth-of-type(3) { animation-delay: 0.24s; }
  .plate .dim, .plate .dim-label { animation: fade 0.8s 0.5s ease both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-head p { max-width: 440px; color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.work-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line);
}
.work-card .icon { width: 40px; height: 40px; margin-bottom: 10px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.work-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.work-card p { color: var(--muted); font-size: 15px; }
.badge {
  padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(45, 226, 166, 0.35); background: var(--accent-soft);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}

.rules { background: var(--bg-deep); border-block: 1px solid var(--line); }
.rules-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); }
.rules-list { list-style: none; counter-reset: rule; }
.rules-list li { counter-increment: rule; display: grid; grid-template-columns: 56px 1fr; gap: 6px 0; padding-block: 24px; border-top: 1px solid var(--line); }
.rules-list li:last-child { border-bottom: 1px solid var(--line); }
.rules-list li::before { content: counter(rule, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.rules-list p { color: var(--muted); }
.rules-sticky { position: sticky; top: 32px; align-self: start; }
.rules-sticky p { margin-top: 20px; max-width: 420px; color: var(--muted); }

.about { text-align: center; }
.about h2 { margin-inline: auto; max-width: 820px; }
.about-lead { margin: 26px auto 0; max-width: 760px; font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); }
.about-sub { margin: 16px auto 0; max-width: 660px; color: var(--muted); }
.about-sub a, .contact-copy a, .form-help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact { background: var(--bg-deep); border-top: 1px solid var(--line); }
.contact-grid > * { min-width: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-copy > p { margin-top: 22px; color: var(--muted); max-width: 460px; }
.mail-card { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.mail-card span { font-size: 12px; color: var(--muted); }
.mail-card a { font-size: 18px; font-weight: 700; color: var(--accent); text-decoration: none; }
.mail-card a:hover { text-decoration: underline; }
#contact-form { padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#contact-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #fff; }
#contact-form input, #contact-form textarea {
  width: 100%; margin-bottom: 18px; padding: 13px 15px; border-radius: 10px;
  font: inherit; color: #fff; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-strong);
  transition: border-color 0.2s;
}
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45, 226, 166, 0.15); }
#contact-form textarea { min-height: 140px; resize: vertical; }
.form-help { margin-bottom: 18px; font-size: 12px; color: var(--muted); }
.cf-turnstile { margin-bottom: 18px; min-height: 65px; }
.button-submit { width: 100%; justify-content: space-between; }
.form-status { margin-top: 14px; font-size: 14px; }
.form-status:empty { display: none; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 300px; font-size: 14px; color: var(--muted); }
.footer h2 { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer li a { color: var(--ink); }
.footer li a:hover { color: var(--accent); }
.footer li small { display: block; font-size: 12px; color: var(--muted); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-base a:hover { color: #fff; }

/* Language suggestion: fixed, so it never moves the page */
.lang-hint {
  position: fixed; z-index: 50; right: 16px; bottom: 16px; left: auto;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  padding: 12px 12px 12px 18px; border-radius: 16px;
  background: #f5f0e8; color: #071513; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 14px;
}
.lang-hint[hidden] { display: none; }
.lang-hint a { padding: 8px 14px; border-radius: 999px; background: #071513; color: #f5f0e8; font-weight: 700; white-space: nowrap; }
.lang-hint button { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: transparent; color: #071513; font-size: 20px; line-height: 1; cursor: pointer; }
.lang-hint button:hover { background: rgba(7, 21, 19, 0.08); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 22px; }
.notfound p { color: var(--muted); }
.notfound .hero-actions { justify-content: center; margin-top: 8px; }

@media (max-width: 1100px) {
  .hero, .rules-inner, .contact-grid { grid-template-columns: 1fr; }
  .plate { max-width: 560px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-sticky { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .header nav > a:not(.nav-cta) { display: none; }
  .header nav { gap: 12px; }
  .nav-cta { padding: 7px 14px; }
  .hero-actions .button { flex: 1 1 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .lang-hint { left: 16px; right: 16px; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 19px; }
  .wordmark svg { width: 30px; height: 30px; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  #contact-form { padding: 20px 16px; }
  .plate-head span:last-child { display: none; }
}
