/* FLD Design (Farrell Limerick Digital) — paper, ink and signal orange */

:root {
  --paper: #f4f1ea;
  --tint: #ebe6db;
  --card: #fffdf8;
  --ink: #14171c;
  --ink-2: #1f242b;
  --muted: #5f5a52;
  --line: #e0dacd;
  --accent: #ff5b2e;
  --accent-dark: #e8461b;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.55em; margin-bottom: 1rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.5em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 1rem var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-small { padding: 0.6em 1.15em; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 241, 234, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding-bottom: 5px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  font: 800 0.8rem var(--display);
  letter-spacing: 0.03em;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { margin-top: 4px; font: 500 0.62rem var(--body); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
@media (max-width: 440px) { .site-header .brand-text small { display: none; } }
.site-nav { display: none; }
@media (min-width: 880px) {
  .site-nav { display: flex; gap: 30px; font-size: 0.97rem; font-weight: 500; }
  .site-nav a { text-decoration: none; color: var(--muted); }
  .site-nav a:hover { color: var(--ink); }
}

/* Hero */
.hero { padding: 56px 0 80px; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { max-width: 33em; font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stack { position: relative; aspect-ratio: 5 / 4; }
.shot {
  position: absolute;
  width: 78%;
  border-radius: 12px;
  border: 1px solid rgba(20, 23, 28, 0.08);
  box-shadow: 0 30px 60px rgba(20, 23, 28, 0.18), 0 6px 14px rgba(20, 23, 28, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.s1 { top: 0; right: 0; transform: rotate(4deg); }
.s2 { top: 22%; left: 8%; transform: rotate(-3deg); }
.s3 { bottom: 0; left: 0; transform: rotate(1.5deg); }
.hero-stack:hover .s1 { transform: rotate(6deg) translate(10px, -8px); }
.hero-stack:hover .s3 { transform: rotate(0deg) translate(-8px, 8px); }

@media (min-width: 960px) {
  .hero { padding: 88px 0 112px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}

/* Sections */
.section { padding: 84px 0; }
@media (min-width: 960px) { .section { padding: 112px 0; } }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .eyebrow { color: var(--accent); }

/* Work */
.work { display: grid; gap: 22px; }
@media (min-width: 760px) { .work { grid-template-columns: 1fr 1fr; } }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(20, 23, 28, 0.12); border-color: transparent; }
.card-img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 24px 26px 26px; }
.tag { margin-bottom: 0.4em; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); }
.card-body p:not(.tag) { color: var(--muted); font-size: 0.98rem; }
.more { font-weight: 600; }
.card:hover .more { color: var(--accent-dark); }

/* Features */
.features { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(244, 241, 234, 0.12); border-radius: 18px; background: rgba(244, 241, 234, 0.12); }
@media (min-width: 680px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 30px 28px; background: var(--ink); }
.feature .num { display: block; margin-bottom: 18px; font-family: var(--display); font-size: 0.95rem; font-weight: 700; color: var(--accent); }
.feature p { margin: 0; color: rgba(244, 241, 234, 0.7); font-size: 0.98rem; }

/* Steps */
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 680px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* About */
.about { display: grid; gap: 32px; align-items: center; max-width: 900px; }
@media (min-width: 760px) { .about { grid-template-columns: auto 1fr; gap: 56px; } }
.avatar {
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border-radius: 40px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 800;
  transform: rotate(-4deg);
}
.about p:not(.eyebrow) { color: #3d3933; }

/* Contact */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.contact-form .row { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .contact-form .row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: block; margin-bottom: 16px; font-size: 0.88rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem var(--body);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form-msg { min-height: 1.4em; margin: 14px 0 0; font-size: 0.95rem; font-weight: 500; }
.form-msg.is-ok { padding: 12px 14px; border-radius: 12px; background: #e3f4e6; color: #1d6b36; }
.form-msg.is-error { color: #b42318; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-inner p { margin: 0; font-size: 0.9rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot, .card, .card-img img { transition: none; }
}
