/* mal.lk landing page. Same palette and typefaces as the shop: forest, cream, Lora and Poppins. */
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-normal-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-italic-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-normal-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-normal-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-normal-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --forest: #1e3320; --forest-2: #2a4530; --forest-ink: #162818;
  --cream: #f5f2ee; --cream-2: #edeae6; --sage: #5f7a62; --terracotta: #98492f;
  --ink: #1b1b1b; --ink-2: #4a4a4a; --line: #d5d2cd;
  --serif: "Lora", "Times New Roman", serif; --sans: "Poppins", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #ffffff; color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--forest); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--forest-ink); margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--sage); }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .15s, border-color .15s; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 16px; }
.btn-solid { background: var(--forest); color: #ffffff; }
.btn-solid:hover { background: var(--forest-2); }
.btn-line { background: rgba(255, 255, 255, 0.8); border-color: rgba(22, 40, 24, 0.35); color: var(--forest-ink); }
.btn-line:hover { background: #ffffff; border-color: var(--forest); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cream-2); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; color: var(--forest-ink); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.top nav a:not(.btn) { font-size: 15px; font-weight: 400; color: var(--ink-2); text-decoration: none; padding: 10px 0; }
.top nav a:not(.btn):hover { color: var(--forest); text-decoration: underline; }

/* Hero */
.hero { position: relative; isolation: isolate; margin: 12px clamp(12px, 1.6vw, 24px) 0; border-radius: 24px; overflow: hidden; display: flex; align-items: center; min-height: clamp(520px, 74vh, 720px); background: var(--cream); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(245, 242, 238, 0.9) 0%, rgba(245, 242, 238, 0.72) 38%, rgba(245, 242, 238, 0) 62%); }
.hero-inner { width: 100%; max-width: none; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); padding-left: clamp(24px, 6vw, 96px); }
.eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--terracotta); }
.hero h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.02em; max-width: 15ch; margin-bottom: 20px; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 40ch; margin: 0 0 28px; color: var(--ink); font-weight: 400; }

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section.tint { background: var(--cream); }
.section-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 62ch; margin: 0 0 32px; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.big { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; color: var(--ink); font-weight: 400; margin: 0 0 18px; }
.note { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--forest-ink); box-shadow: 0 24px 60px rgba(22, 40, 24, 0.16); }
.video-poster, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--forest); color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); transition: scale .15s; }
.play svg { margin-left: 4px; }
.video-poster:hover .play { scale: 1.06; }
.video-more { margin: 18px 0 0; font-size: 16px; color: var(--ink-2); }
.video-more a, .note a, .contact-line a { display: inline-block; padding: 6px 0; }
.contact-line a { white-space: nowrap; }

/* What is built */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 clamp(36px, 5vw, 64px); }
.shots figure { margin: 0; }
.shots img { border-radius: 14px; border: 1px solid var(--line); background: #ffffff; }
.shots figcaption { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 48px); }
.features h3 { font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.features p { margin: 0; font-size: 16px; color: var(--ink-2); }

/* Ways to work together */
.panel-wrap { padding-top: 0; }
.panel { padding: clamp(28px, 5vw, 72px); border-radius: 24px; color: #ffffff; background: linear-gradient(135deg, var(--forest-ink) 0%, var(--forest) 45%, #3f6a43 100%); }
.panel h2 { color: #ffffff; }
.panel-lede { font-size: clamp(17px, 1.4vw, 20px); max-width: 58ch; margin: 0 0 clamp(28px, 4vw, 48px); color: rgba(255, 255, 255, 0.88); }
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: way; }
.ways li { position: relative; padding: 28px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); counter-increment: way; }
.ways li::before { content: counter(way); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: #ffffff; color: var(--forest-ink); font-weight: 600; font-size: 16px; }
.ways h3 { color: #ffffff; font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
.ways p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, 0.9); }
.way-tag { position: absolute; top: 30px; right: 22px; padding: 5px 12px; border-radius: 999px; background: #ffffff; color: var(--forest-ink); font-size: 13px; font-weight: 500; }

/* Contact and footer */
.contact-line { margin: 18px 0 0; font-size: 18px; }
.foot { background: var(--forest-ink); color: rgba(255, 255, 255, 0.86); padding: 36px 0; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand-foot { color: #ffffff; font-size: 22px; }
.brand-foot img { filter: brightness(0) invert(1); }
.foot p { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.55; }

@media (max-width: 900px) {
  .shots, .features, .ways { grid-template-columns: 1fr; }
  .shots { gap: 28px; }
  .way-tag { position: static; display: inline-block; margin-bottom: 14px; }
  .ways li::before { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top nav a:not(.btn) { display: none; }
  .top-row { min-height: 60px; }
  /* Phones: the photograph sits above the text so nothing overlaps the plants. */
  .hero { display: block; min-height: 0; margin: 10px 12px 0; border-radius: 20px; }
  .hero picture { display: block; }
  .hero-img { position: static; aspect-ratio: 5 / 4; height: auto; object-position: center top; }
  .hero::after { display: none; }
  .hero-inner { padding: 22px 20px 28px; }
  .hero h1 { max-width: none; font-size: clamp(30px, 8.4vw, 38px); margin-bottom: 14px; }
  .lede { margin-bottom: 20px; }
  .actions .btn-lg { flex: 1 1 100%; }
  .video { border-radius: 14px; }
  .play { width: 68px; height: 68px; }
  .panel { border-radius: 20px; }
}
