/* Flourra — tokens sampled from homepage.jpeg */
:root {
  --flr-bg: #f6f5f1;
  --flr-cream: #f3f0eb;
  --flr-ink: #181711;
  --flr-muted: #4f4e4c;
  --flr-brown: #543b27;
  --flr-brown-hover: #3f2c1d;
  --flr-line: #e4e1db;
  --flr-white: #fffdf9;
  --flr-serif: "Newsreader", "Noto Serif SC", Georgia, serif;
  --flr-sans: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  --flr-header: 72px;
  --flr-wrap: 1220px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--flr-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--flr-ink);
  background: var(--flr-bg);
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--flr-wrap), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--flr-header);
  background: var(--flr-bg);
}

.header-inner {
  height: var(--flr-header);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}

.brand strong {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.28em;
}

.brand span {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.34em;
  color: var(--flr-muted);
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  font-size: 13px;
  font-weight: 400;
}

.nav-desktop a { color: var(--flr-ink); }
.nav-desktop a:hover,
.nav-desktop a.is-on { color: var(--flr-brown); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--flr-muted);
}

.lang-switch a { color: var(--flr-muted); }
.lang-switch a.is-on,
.lang-switch a:hover { color: var(--flr-ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--flr-brown);
  color: var(--flr-white);
  font-size: 13px;
  font-weight: 400;
}

.btn:hover { background: var(--flr-brown-hover); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--flr-ink);
  background: var(--flr-white);
  color: var(--flr-ink);
  font-size: 13px;
}

.btn-ghost:hover { background: var(--flr-cream); }

.btn--sm { padding: 9px 16px; font-size: 12px; }

.btn .plus {
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--flr-ink);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--flr-bg);
  color: var(--flr-ink);
  padding: 28px 24px;
  display: none;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.nav-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--flr-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav a {
  font-family: var(--flr-serif);
  font-size: 28px;
  color: var(--flr-ink);
}

.mobile-nav a.is-on { color: var(--flr-brown); }
.mobile-nav .lang-switch { margin-top: 8px; font-family: var(--flr-sans); font-size: 14px; }
.mobile-nav .lang-switch a { font-family: var(--flr-sans); font-size: 14px; }
.mobile-nav .btn { align-self: flex-start; margin-top: 8px; font-family: var(--flr-sans); font-size: 13px; }

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 979px) {
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--flr-bg);
}

.hero-copy {
  padding: 48px max(24px, calc((100vw - min(var(--flr-wrap), calc(100vw - 48px))) / 2)) 56px;
}

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--flr-ink);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--flr-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lede {
  margin-top: 22px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--flr-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-photo {
  position: relative;
  min-height: 320px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-aside {
  display: none;
  position: absolute;
  right: 28px;
  bottom: 36px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--flr-muted);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(400px, 0.48fr) 1fr;
    min-height: min(78vh, 720px);
  }
  .hero-copy {
    padding-top: 64px;
    padding-bottom: 72px;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-photo { min-height: 100%; }
  .hero-aside { display: block; }
}

/* ---------- Trust ---------- */
.trust {
  border-top: 1px solid var(--flr-line);
  border-bottom: 1px solid var(--flr-line);
  background: var(--flr-bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.trust a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px;
  font-size: 13px;
  color: var(--flr-ink);
  border-bottom: 1px solid var(--flr-line);
}

.trust a:last-child { border-bottom: 0; }

.trust svg {
  width: 18px;
  height: 18px;
  stroke: var(--flr-ink);
  fill: none;
  stroke-width: 1.4;
  flex-shrink: 0;
}

@media (min-width: 800px) {
  .trust-grid { grid-template-columns: 1fr 1fr 1fr; }
  .trust a {
    border-bottom: 0;
    border-right: 1px solid var(--flr-line);
    padding: 26px 16px;
  }
  .trust a:last-child { border-right: 0; }
}

/* ---------- Work cards ---------- */
.work {
  padding: 18px 0 8px;
  background: var(--flr-bg);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 2px 20px;
  font-size: 15px;
}

.work-card__label i {
  flex: 1;
  height: 1px;
  background: var(--flr-ink);
  opacity: 0.35;
}

.work-card__label em {
  font-style: normal;
  font-size: 16px;
}

@media (min-width: 800px) {
  .work-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
  }
}

/* ---------- Contact / footer ---------- */
.contact-slab {
  padding: 72px 0 64px;
  border-top: 1px solid var(--flr-line);
}

.contact-slab .eyebrow,
.page-hero .eyebrow,
.section-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flr-muted);
  margin-bottom: 14px;
}

.contact-slab h2,
.page-hero h1,
.page-body h1,
.prose h2 {
  font-family: var(--flr-serif);
  font-weight: 400;
}

.contact-slab h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 640px;
  line-height: 1.15;
}

.contact-slab .copy {
  margin-top: 16px;
  color: var(--flr-muted);
  max-width: 520px;
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 36px;
}

.contact-meta h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flr-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-meta a { border-bottom: 1px solid var(--flr-line); }
.contact-meta a:hover { border-bottom-color: var(--flr-ink); }

@media (min-width: 700px) {
  .contact-meta { grid-template-columns: 1fr 1fr; max-width: 640px; }
}

.site-footer {
  border-top: 1px solid var(--flr-line);
  padding: 36px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
}

.footer-nav a:hover { color: var(--flr-brown); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--flr-line);
  font-size: 12px;
  color: var(--flr-muted);
}

.footer-base a:hover { color: var(--flr-ink); }

@media (min-width: 800px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--flr-line);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  max-width: 16ch;
}

.page-hero .lede {
  margin-top: 18px;
  max-width: 540px;
  color: var(--flr-muted);
}

.page-body { padding: 48px 0 72px; }

.prose {
  max-width: 68ch;
}

.prose p + p { margin-top: 16px; }

.prose h2 {
  font-size: 28px;
  margin: 36px 0 12px;
}

.prose h3 {
  font-family: var(--flr-serif);
  font-size: 22px;
  font-weight: 400;
  margin: 28px 0 8px;
}

.list-blocks {
  display: grid;
  gap: 0;
}

.list-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--flr-line);
}

.list-item:last-child { border-bottom: 1px solid var(--flr-line); }

.list-item .num {
  font-family: var(--flr-serif);
  font-size: 18px;
  color: var(--flr-muted);
}

.project-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--flr-line);
}

.project-block img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-block h2 {
  font-family: var(--flr-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
}

.project-block p { color: var(--flr-muted); margin-top: 12px; }

@media (min-width: 860px) {
  .project-block {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }
  .project-block:nth-child(even) { grid-template-columns: 0.9fr 1.1fr; }
  .project-block:nth-child(even) img { order: 2; }
}

.note-list { display: grid; gap: 0; }

.note-card {
  display: block;
  padding: 28px 0;
  border-top: 1px solid var(--flr-line);
}

.note-card:last-child { border-bottom: 1px solid var(--flr-line); }

.note-card h2 {
  font-family: var(--flr-serif);
  font-weight: 400;
  font-size: 28px;
}

.note-card p { margin-top: 10px; color: var(--flr-muted); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  display: block;
  border-top: 1px solid var(--flr-line);
  padding-top: 20px;
}

.service-card h2 {
  font-family: var(--flr-serif);
  font-weight: 400;
  font-size: 28px;
}

.service-card p { margin-top: 10px; color: var(--flr-muted); }

@media (min-width: 800px) {
  .service-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .service-card { border-top: 0; padding-top: 0; }
}

.page-cta { margin-top: 36px; }
