:root {
  color-scheme: dark;
  --bg: #080a07;
  --bg-2: #101604;
  --ink: #f7f8f1;
  --muted: #b7bda9;
  --line: rgba(247, 248, 241, 0.16);
  --line-strong: rgba(174, 231, 22, 0.46);
  --panel: rgba(13, 17, 10, 0.82);
  --panel-solid: #10130e;
  --green: #9be214;
  --green-2: #6fb60d;
  --yellow: #f4c542;
  --steel: #cfd6c4;
  --dark: #030403;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --max: 1180px;
  --hero-image: url("lodarmork-ad-current.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(155, 226, 20, 0.16), transparent 34rem),
    linear-gradient(180deg, #070906 0%, #0c0f0a 44%, #050705 100%);
  color: var(--ink);
  letter-spacing: 0;
}

body.is-modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: 5.6rem;
  text-transform: uppercase;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 1.35rem;
}

.section-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(calc(100% - 32px), 1240px);
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(247, 248, 241, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 7, 5, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  align-items: center;
  width: 150px;
  height: 50px;
  overflow: hidden;
  border-radius: 6px;
}

.brand-mark img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--steel);
  font-weight: 750;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(247, 248, 241, 0.08);
  outline: none;
}

.nav-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta,
.button-primary {
  color: #071004;
  background: linear-gradient(135deg, var(--green), var(--yellow));
  box-shadow: 0 14px 34px rgba(155, 226, 20, 0.24);
}

.button-secondary,
.button-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(247, 248, 241, 0.07);
}

.button-quiet {
  color: var(--green);
}

.nav-cta:hover,
.button:hover,
.nav-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px 0 58px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(3, 4, 3, 0.98) 0%, rgba(3, 4, 3, 0.82) 42%, rgba(3, 4, 3, 0.32) 100%),
    var(--hero-image) center right / auto 54% no-repeat;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 10, 7, 0) 36%),
    radial-gradient(circle at 28% 70%, rgba(155, 226, 20, 0.18), transparent 25rem);
}

.hero-content {
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 12px;
  text-shadow: 0 14px 60px rgba(0, 0, 0, 0.72);
}

.hero-slogan {
  max-width: 720px;
  margin-top: 12px;
  color: var(--green);
  font-size: 1.58rem;
  font-weight: 950;
  line-height: 1.08;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 92px 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-top: 12px;
}

.section-heading-row p {
  max-width: 680px;
  margin-top: 14px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.price-card,
.service-item,
.team-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(247, 248, 241, 0.075), rgba(247, 248, 241, 0.025));
  box-shadow: var(--shadow);
}

.price-card.is-featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(155, 226, 20, 0.16), rgba(247, 248, 241, 0.035));
}

.price-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(155, 226, 20, 0.34);
  border-radius: 8px;
  color: var(--green);
  background: rgba(155, 226, 20, 0.08);
}

.price-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-card h3 {
  font-size: 1.45rem;
}

.price {
  margin-top: 14px;
  color: var(--green);
  font-size: 2.15rem;
  font-weight: 950;
  line-height: 1;
}

.price-card p:last-child {
  margin-top: 14px;
}

.subscription-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(155, 226, 20, 0.19), rgba(244, 197, 66, 0.08)),
    rgba(6, 8, 5, 0.78);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  color: #061004;
  background: var(--green);
  font-weight: 950;
  text-transform: uppercase;
}

.subscription-band h3 {
  margin-top: 14px;
  font-size: 2.1rem;
}

.subscription-band p {
  margin-top: 12px;
  max-width: 650px;
}

.subscription-prices {
  min-width: 300px;
  display: grid;
  gap: 8px;
}

.subscription-prices span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(3, 4, 3, 0.46);
  color: var(--muted);
  font-weight: 750;
}

.subscription-prices strong {
  color: var(--ink);
}

.service-section {
  background:
    linear-gradient(180deg, rgba(247, 248, 241, 0.035), rgba(247, 248, 241, 0)),
    #0b0d09;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-layout,
.proof-layout,
.team-grid,
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.service-layout h2,
.proof-layout h2,
.team-grid h2 {
  margin-top: 12px;
}

.service-layout p,
.proof-layout p,
.team-grid p {
  margin-top: 18px;
}

.service-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  border-bottom: 1px solid rgba(155, 226, 20, 0.58);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-item {
  min-height: 260px;
}

.number {
  color: rgba(155, 226, 20, 0.78);
  font-weight: 950;
}

.service-item h3 {
  margin-top: 44px;
}

.service-item p {
  margin-top: 14px;
}

.proof-layout {
  grid-template-columns: 0.86fr 1fr;
}

.proof-layout-simple {
  max-width: 980px;
}

.proof-layout-simple h2 {
  margin-top: 12px;
}

.proof-layout-simple p {
  margin-top: 18px;
}

.proof-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--dark);
}

.proof-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.proof-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.proof-points div {
  padding: 18px;
  border-left: 3px solid var(--green);
  background: rgba(247, 248, 241, 0.055);
}

.proof-points dt {
  color: var(--ink);
  font-weight: 950;
}

.proof-points dd {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.proof-points a {
  color: var(--green);
  font-weight: 900;
}

.support-section {
  padding-top: 40px;
}

.fine-print {
  padding: 0 0 58px;
}

.fine-print p {
  max-width: 980px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(183, 189, 169, 0.82);
  font-size: 0.92rem;
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(247, 248, 241, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(247, 248, 241, 0.08), rgba(155, 226, 20, 0.08));
}

.support-panel h2 {
  margin-top: 10px;
  font-size: 2.5rem;
}

.support-panel p {
  max-width: 760px;
  margin-top: 14px;
}

.supporter-logos {
  min-width: 360px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.supporter-logo {
  width: 182px;
  height: 156px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(155, 226, 20, 0.08), rgba(247, 248, 241, 0.035)),
    rgba(3, 4, 3, 0.54);
}

.supporter-logo[data-logo-name="Byggðastofnun"] {
  width: 220px;
}

.supporter-logo:empty {
  display: none;
}

.supporter-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) invert(1) sepia(1) saturate(4) hue-rotate(23deg) brightness(1.1);
  mix-blend-mode: screen;
  opacity: 0.92;
}

.final-cta {
  padding: 86px 0 96px;
  background:
    linear-gradient(90deg, rgba(3, 4, 3, 0.98), rgba(3, 4, 3, 0.72)),
    url("LM-LOGO.png") center / cover no-repeat;
  border-top: 1px solid var(--line);
}

.final-cta-inner {
  max-width: 760px;
  margin-left: max(16px, calc((100vw - var(--max)) / 2));
}

.final-cta h2 {
  margin-top: 10px;
}

.final-cta p:not(.eyebrow) {
  margin-top: 16px;
  color: #edf2e2;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #050605;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-logo {
  width: 92px;
  height: 42px;
  overflow: hidden;
  border-radius: 6px;
}

.footer-logo img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  object-position: center;
}

.site-footer p {
  margin-top: 4px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--green);
  font-weight: 900;
}

.about-hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: 138px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, rgba(155, 226, 20, 0.18), transparent 26rem),
    linear-gradient(180deg, rgba(247, 248, 241, 0.04), rgba(247, 248, 241, 0));
}

.about-layout {
  grid-template-columns: 0.74fr 1fr;
}

.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(155, 226, 20, 0.26), rgba(244, 197, 66, 0.08)),
    #11160b;
  box-shadow: var(--shadow);
}

.profile-photo span {
  color: rgba(247, 248, 241, 0.92);
  font-size: 5rem;
  font-weight: 950;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo.has-image span {
  display: none;
}

.about-copy h1 {
  margin-top: 12px;
  font-size: 4.3rem;
}

.about-copy p {
  margin-top: 18px;
  font-size: 1.06rem;
}

.team-section {
  background: #0b0d09;
  border-bottom: 1px solid var(--line);
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-card {
  min-height: 210px;
}

.team-card p {
  margin-top: 16px;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.booking-modal.is-open {
  display: flex;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.booking-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(155, 226, 20, 0.12), rgba(247, 248, 241, 0.04)),
    #090b08;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.62);
}

.booking-dialog h2 {
  margin-top: 8px;
  font-size: 2.2rem;
}

.modal-copy {
  margin-top: 12px;
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(247, 248, 241, 0.07);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.booking-options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.booking-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 248, 241, 0.07);
}

.booking-option:hover,
.booking-option:focus-visible {
  border-color: var(--line-strong);
  outline: none;
}

.booking-option.is-disabled,
.footer-links .is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.booking-option span {
  color: var(--muted);
  font-weight: 800;
}

.booking-option strong {
  color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(3, 4, 3, 0.98) 0%, rgba(3, 4, 3, 0.8) 100%),
      var(--hero-image) center right / auto 54% no-repeat;
  }

  .price-grid,
  .service-layout,
  .proof-layout,
  .support-panel,
  .team-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .supporter-logos {
    min-width: 0;
    justify-content: flex-start;
  }

  .proof-image img {
    height: 520px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .section-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    width: min(calc(100% - 18px), 1240px);
    margin-top: 9px;
    padding: 8px;
  }

  .brand-mark {
    width: 118px;
    height: 44px;
  }

  .brand-mark img {
    width: 118px;
    height: 80px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2,
  .about-copy h1 {
    font-size: 2.25rem;
  }

  .about-copy p {
    font-size: 1rem;
  }

  .section-heading-row,
  .subscription-band,
  .team-cards {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-header .nav-cta {
    width: auto;
  }

  .service-actions,
  .about-actions,
  .hero-actions {
    align-items: stretch;
  }

  .subscription-prices {
    min-width: 0;
  }

  .section {
    padding: 68px 0;
  }

  .price-card,
  .service-item,
  .team-card {
    min-height: auto;
    padding: 20px;
  }

  .support-panel {
    padding: 20px;
  }

  .support-panel h2 {
    font-size: 2rem;
  }

  .supporter-logo {
    width: 150px;
    height: 132px;
  }

  .supporter-logo[data-logo-name="Byggðastofnun"] {
    width: 190px;
  }

  .proof-image img {
    height: 420px;
  }

  .final-cta-inner {
    margin-left: auto;
  }

  .booking-dialog {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
