:root {
  --ink: #11151b;
  --paper: #f7f3ea;
  --sand: #ece4d3;
  --gold: #b88f45;
  --gold-lt: #d9bc82;
  --text: #26231e;
  --logo-bg: #0b0f17;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --w: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
} 
body {
  font: 17px/1.7 var(--sans);
  color: var(--text);
  background: var(--paper);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.wrap {
  width: min(100% - 2.5rem, var(--w));
  margin-inline: auto;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 20;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background: var(--gold);
  color: #1a1408;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold);
}
.btn:hover {
  background: var(--gold-lt);
}
.btn-transp {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-transp:hover {
  background: rgba(255, 255, 255, 0.1);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}
.logo img {
  height: 52px;
  width: auto;
}
.menu-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(217, 188, 130, 0.6);
  padding: 0.5rem 1rem;
  font: 600 0.85rem var(--sans);
  font-size: 1.3rem; line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.mainnav {
  display: none;
  flex-basis: 100%;
}
.mainnav.open {
  display: block;
}
.nav {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}
.nav a {
  display: block;
  padding: 0.8rem 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--gold-lt);
}
  .logo img {
    height: 72px;
  }
  @media (min-width: 760px) {
  .logo img {
    height: 72px;
  }
  
  .menu-btn {
    display: none;
  }
  .mainnav {
    display: block;
    flex-basis: auto;
  }
  .nav {
    display: flex;
    gap: 2rem;
    margin: 0;
  }
  .nav a {
    border-top: 0;
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
  }
  .nav a:hover,
  .nav a[aria-current] {
    border-bottom-color: var(--gold);
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*HEADER*/
.site-header {
  position: relative;
  z-index: 10;
  background: var(--logo-bg);
  color: #fff;
  border-bottom: 1px solid rgba(184, 143, 69, 0.3);
}
@media (min-width: 760px) {
  .site-header {
    position: sticky;
    top: 0;
  }
}
/* HEROSEKTIONEN */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  transform-origin: 60% 40%;
  animation: zoomBg 9s ease-out forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 13, 18, 0.9),
    rgba(10, 13, 18, 0.4) 55%,
    rgba(10, 13, 18, 0.2)
  );
  opacity: 0;
  animation: fadeUp 1.4s ease-out 0.5s forwards;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
}
.hero .eyebrow {
  color: var(--gold-lt);
}
.hero h1 {
  max-width: 16ch;
  margin: 0.8rem 0 1rem;
}
.hero p {
  max-width: 46ch;
  font-size: 1.1rem;
  color: #e9e3d6;
}
@keyframes zoomBg {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero > img {
    animation: none;
  }
  .hero .wrap {
    animation: none;
    opacity: 1;
  }
}

/*FAKTASEKTIONEN*/

.facts {
  background: var(--ink);
  color: #fff;
  padding: 1.6rem 0;
}
.factswrap {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  text-align: center;
}
.facts b {
  display: block;
  font: 500 1.5rem var(--serif);
  color: var(--gold-lt);
}
.facts span {
  font-size: 0.85rem;
  color: #b9b3a6;
  letter-spacing: 0.05em;
}

/*SEKTIONSBAKGRUNDER*/

.bg-dark {
  background: var(--ink);
  color: #ece6d8;
}
.bg-dark .eyebrow {
  color: var(--gold-lt);
}
.bg-sand {
  background: var(--sand);
}

/*TEXT BREDVID BILD I VISSA SEKTIONER*/

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
  .split.rev > :first-child {
    order: 2;
  }
}
.split h2 {
  margin: 0.6rem 0 1.2rem;
}
.split p + p {
  margin-top: 1rem;
}
.split .btn {
  margin-top: 1.8rem;
}
.frame {
  border: 1px solid var(--gold);
  padding: 0.6rem;
}
.frame img {
  width: 100%;
}
.portrait {
  justify-self: center;
  width: fit-content;
  max-width: 100%;
}
.portrait img {
  width: auto;
}
.pair {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
}
.pair img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/*GALLERIFÖRHANDSVISNING*/

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-link {
  text-align: center;
  margin-top: 2.5rem;
}

/*FOOTER*/

footer {
  background: var(--ink);
  color: #b9b3a6;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}
footer .wrap {
  display: grid;
  gap: 1.5rem; 
}
@media (min-width: 760px) {
  footer .wrap {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.2rem;
  }
}
footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--gold-lt);
}
.rates-sub {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.rates-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rates-list strong {
  color: var(--gold-lt);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rates-status {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  footer .wrap.footer-rates {
    grid-template-columns: 1.1fr 1fr 1.3fr 0.7fr;
    gap: 2.5rem;
  }
}
/*COPYRIGHTSEKTION*/

.legal-bar {
  background-color: var(--paper);
  color: var(--gold);
  font-weight: 500;
  width: 100%;
  border-top: 1px solid var(--gold);
}
.legal-wrap {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 50px;
}

.legal-logo {
  height: 2.6rem;
  width: auto;
}

/*TJÄNSTER*/

.svc {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .svc {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .svc {
    grid-template-columns: repeat(3, 1fr);
  }
}
.svc article {
  background: #fff;
  border: 1px solid var(--sand);
}
.svc img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.svc div {
  padding: 1.2rem 1.4rem 1.6rem;
}
.svc h3 {
  font: 600 1rem var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.svc p {
  font-size: 0.97rem;
}

/*GALLERI*/


.pagehead {
  background: var(--ink);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.pagehead h1 {
  margin: 0.6rem 0 1rem;
}
.pagehead p {
  max-width: 44rem;
  margin-inline: auto;
  color: #d6d0c2;
}
.gal {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .gal {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.2s;
}
.gal a:hover img {
  opacity: 0.85;
}
.gal figcaption {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 0.4rem;
  color: #6b645a;
}
.flt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.flt button {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--text);
  font: 600 0.8rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.flt button[aria-pressed="true"] {
  background: var(--gold);
  color: #1a1408;
}
.gal figure[hidden] {
  display: none;
}
dialog {
  margin: auto;
  padding: 1rem;
  border: 0;
  background: var(--ink);
  color: #fff;
  max-width: 92vw;
  max-height: 94vh;
  text-align: center;
}
dialog::backdrop {
  background: rgba(8, 10, 14, 0.85);
}
dialog img {
  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
}
dialog p {
  padding: 0.6rem 0;
}
.lb-btns {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
dialog button {
  padding: 0.5rem 1.1rem;
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold);
  cursor: pointer;
  font: inherit;
}
dialog button:hover {
  background: rgba(217, 188, 130, 0.2);
}

/*KONTAKT*/

.contact h2 {
  margin: 0.6rem 0 1rem;
}
.contact .btn {
  display: inline-block;
  margin-top: 1.2rem;
}
.contact {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .contact {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}
.contact p + p {
  margin-top: 1rem;
}
.contact .frame {
  margin-top: 1.5rem;
}
.field {
  margin-bottom: 1.2rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b9b3a6;
  background: #fff;
  font: inherit;
  color: var(--text);
}
.field textarea {
  min-height: 9rem;
  resize: vertical;
}
.field [aria-invalid="true"] {
  border-color: #a32020;
}
.fel {
  display: block;
  color: #a32020;
  font-size: 0.9rem;
  min-height: 1.2em;
  margin-top: 0.25rem;
}
.form-status {
  padding: 1rem;
  border: 1px solid var(--gold);
  background: var(--sand);
  margin-bottom: 1.2rem;
}
.form-status:empty {
  display: none;
}
form .btn {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
