/* === FLW The Agency === */

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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #f7f4ee;
  --bg-card: #ffffff;
  --line: #e8e3d8;
  --line-strong: #cdc4b5;
  --muted: #8a8175;
  --text: #1a1a1a;
  --text-soft: #4f4a42;

  --accent: #cdb892;
  --accent-deep: #a89770;
  --accent-soft: #e0d2b0;

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.nav__logo img { height: 40px; width: auto; }

.nav__links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active { color: var(--accent); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s;
}

.nav__cta:hover { background: var(--accent); color: var(--white); }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* ============ Hero ============ */
.hero {
  padding: clamp(4rem, 11vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative;
}

.hero--image {
  min-height: 78vh;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--black);
  position: relative;
  overflow: hidden;
}

.hero--image .hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero--image .hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.75) 100%);
}

.hero--image .container {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero--image .hero__title { color: var(--white); }
.hero--image .hero__sub { color: rgba(255, 255, 255, 0.85); }
.hero--image .eyebrow { color: var(--accent-soft); }
.hero--image .eyebrow::before { background: var(--accent-soft); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: var(--muted);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.hero__title em,
.section__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

.hero--image .hero__title em { color: var(--accent-soft); }

.hero__sub {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-soft);
  max-width: 58ch;
  line-height: 1.6;
}

.hero__ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.65rem;
  font-size: 0.92rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }

.btn--invert { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--invert:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.btn--invert-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--invert-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ============ Section ============ */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--alt { background: var(--bg); }
.section--dark { background: var(--black); color: var(--white); }

.section__head { margin-bottom: 3rem; max-width: 720px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .section__title,
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

.section__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

.section__lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.6;
}

.section--dark .section__title { color: var(--white); }
.section--dark .section__title em { color: var(--accent-soft); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.78); }
.section--dark .eyebrow { color: var(--accent-soft); }
.section--dark .eyebrow::before { background: var(--accent-soft); }

/* ============ Grids ============ */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ============ Plain Cards ============ */
.card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.section--alt .card { background: var(--white); }

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--line-strong);
}

.card__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card__body {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============ Service cards (with image) ============ */
.service {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
}

.service__image {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #1a1a1a;
}

.service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service:hover .service__image img { transform: scale(1.05); }

.service__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service__body p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============ Pricing ============ */
.pricing {
  margin-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line-strong);
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing__label {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing__sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.pricing__price {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

.pricing__note {
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.pricing__facts {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--accent);
}

.fact span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ============ USP list ============ */
.usps {
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.usp {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.usp::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 1rem;
  height: 1px;
  background: var(--accent);
}

.usp strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ============ Prose / pullquote ============ */
.prose { max-width: 65ch; }

.prose p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.prose p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 900;
  float: left;
  line-height: 0.9;
  padding-right: 0.6rem;
  padding-top: 0.35rem;
  color: var(--accent);
}

.pullquote {
  margin: 3rem auto;
  max-width: 760px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  padding: 1rem;
}

.pullquote::before,
.pullquote::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem auto;
}

/* ============ Page preview grid (home) ============ */
.preview-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.preview {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.35s ease, color 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 240px;
  justify-content: space-between;
}

.preview:hover { background: var(--black); color: var(--white); }
.preview:hover .preview__num { color: var(--accent-soft); }
.preview:hover .preview__arrow { transform: translateX(8px); color: var(--accent-soft); }

.preview__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: color 0.35s ease;
}

.preview__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.preview__arrow {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.35s ease, color 0.35s ease;
  align-self: flex-start;
}

/* ============ Contact block ============ */
.contact-block { text-align: center; }
.contact-block .section__head { margin-left: auto; margin-right: auto; }

.contact-methods {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-method {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  transition: background 0.3s ease;
  text-align: center;
  display: block;
}

.contact-method:hover { background: var(--bg); }

.contact-method--static { cursor: default; }
.contact-method--static:hover { background: var(--white); }

.contact-method__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
}

.contact-method__value {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-word;
  transition: color 0.2s;
}

.contact-method:hover .contact-method__value { color: var(--accent); }
.contact-method--static:hover .contact-method__value { color: var(--text); }

.section--dark .contact-methods {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.section--dark .contact-method { background: var(--black); color: var(--white); }
.section--dark .contact-method:hover { background: #141414; }
.section--dark .contact-method__label { color: rgba(255, 255, 255, 0.55); }
.section--dark .contact-method__value { color: var(--white); }
.section--dark .contact-method:hover .contact-method__value { color: var(--accent-soft); }

/* ============ Footer ============ */
.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__logo img { height: 30px; opacity: 0.75; }

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .footer__inner { justify-content: center; text-align: center; }
}

/* === Image harmonization === */
.service__image img {
  filter: saturate(0.82) brightness(0.96) contrast(1.05);
}
.hero--image .hero__bg {
  filter: saturate(0.78) brightness(0.92);
}
