:root {
  --grunnur: #0e1812;
  --dok: #0a110c;
  --milt: #16231c;
  --gull: #c7a862;
  --gull-ljos: #e2cd96;
  --hvitt: #f4efe3;
  --fol: #c9c2b1;
  --mild: #8a8375;
  --lina: #28352c;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Jost', -apple-system, system-ui, sans-serif;
  color: var(--hvitt);
  background: var(--grunnur);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gull); text-decoration: none; }
a:hover { color: var(--gull-ljos); }
a:focus-visible { outline: 1px solid var(--gull); outline-offset: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gull); color: var(--grunnur);
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 10px; top: 10px; }

.haus {
  padding: 20px 20px;
  border-bottom: 1px solid var(--lina);
}
.haus-innri {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}
.merki img { height: 28px; width: auto; }
.haus nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.haus nav a {
  color: var(--fol);
  font-weight: 400;
}
.haus nav a:hover { color: var(--gull); text-decoration: none; }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.hero {
  padding: 60px 0 70px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.brodumerki {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gull);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero h1 {
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  font-size: clamp(44px, 10vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 300;
  font-style: italic;
  color: var(--hvitt);
  margin-bottom: 24px;
}
.hero-ingressur {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.55;
  color: var(--fol);
  max-width: 580px;
  margin-bottom: 30px;
  font-weight: 400;
}
.cta-rod { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-skraut {
  width: 160px;
  height: auto;
  justify-self: center;
  opacity: 0.9;
}

.hnappur {
  display: inline-block;
  background: var(--gull);
  color: var(--grunnur) !important;
  padding: 14px 28px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid var(--gull);
}
.hnappur:hover { background: transparent; color: var(--gull) !important; }
.hnappur-tvi {
  display: inline-block;
  background: transparent;
  color: var(--hvitt) !important;
  padding: 14px 28px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid var(--fol);
}
.hnappur-tvi:hover { border-color: var(--gull); color: var(--gull) !important; }

section { padding: 70px 0; border-top: 1px solid var(--lina); }

.section-haus { margin-bottom: 40px; max-width: 720px; }
.section-haus h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 20px;
}
.ingressur {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--fol);
  line-height: 1.55;
  max-width: 580px;
}

.th-grid { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--lina); }
.th-kort {
  background: var(--grunnur);
  padding: 32px 24px;
}
.th-nr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gull);
  font-style: italic;
  margin-bottom: 10px;
  font-weight: 400;
}
.th-kort h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}
.th-kort p {
  color: var(--fol);
  font-size: 15.5px;
  line-height: 1.65;
}

.verk {
  padding: 44px 0;
  border-top: 1px solid var(--lina);
}
.verk:first-of-type { border-top: none; padding-top: 20px; }
.verk-tala {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--gull);
  font-style: italic;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 400;
}
.verk-tegund {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mild);
  margin-bottom: 18px;
}
.verk h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 5.5vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  font-weight: 500;
  margin-bottom: 18px;
}
.verk p:not(.verk-tala):not(.verk-tegund):not(.verk-nidurstada) {
  color: var(--fol);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 760px;
}
.verk-nidurstada {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  font-size: 19px !important;
  color: var(--gull-ljos) !important;
  border-top: 1px solid var(--lina);
  padding-top: 16px;
  margin-top: 14px;
  max-width: 760px;
}

.ferli-listi {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--lina);
  border-top: 1px solid var(--lina);
}
.ferli-listi li {
  background: var(--grunnur);
  padding: 28px 24px;
}
.ferli-rom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--gull);
  font-style: italic;
  margin-bottom: 10px;
}
.ferli-listi h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}
.ferli-listi p { color: var(--fol); font-size: 15.5px; }

.tilvitnun {
  padding: 36px 24px;
  border-left: 1px solid var(--gull);
  margin-top: 10px;
  max-width: 820px;
}
.tilvitnun p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(24px, 5.5vw, 36px);
  line-height: 1.25;
  color: var(--hvitt);
  margin-bottom: 20px;
  font-weight: 300;
}
.tilvitnun cite {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gull);
  font-style: normal;
}

.samband-netf {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 6vw, 40px);
  font-style: italic;
  margin: 20px 0 24px;
}
.samband-netf a { color: var(--gull-ljos); text-decoration: none; }
.samband-netf a:hover { color: var(--hvitt); }

.fot {
  padding: 36px 20px 44px;
  text-align: center;
  color: var(--mild);
  font-size: 13px;
  letter-spacing: 0.1em;
  background: var(--dok);
  border-top: 1px solid var(--lina);
}
.fot-innri { max-width: 500px; margin: 0 auto; }
.fot-nafn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  color: var(--hvitt);
  letter-spacing: 0;
  margin-bottom: 10px;
}
.fot p { margin-bottom: 6px; text-transform: uppercase; }
.fot a { color: var(--gull); text-transform: uppercase; }

@media (min-width: 720px) {
  main { padding: 0 32px; }
  .hero { grid-template-columns: 1.5fr 1fr; padding: 100px 0 110px; }
  .hero-skraut { width: 200px; }
  .th-grid { grid-template-columns: 1fr 1fr; }
  .ferli-listi { grid-template-columns: 1fr 1fr; }
  section { padding: 100px 0; }
}

@media (min-width: 1024px) {
  main { padding: 0 48px; }
  .haus { padding: 24px 48px; }
  .haus-innri { padding: 0; }
  .ferli-listi { grid-template-columns: repeat(4, 1fr); }
  section { padding: 130px 0; }
}
