/* 1. Färger och grundinställningar */
:root {
  --ink: #191d10;
  --paper: #f2ece0;
  --muted: #858064;
  --olive: #242b17;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans',sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

::selection {
  background: #a8ad7b;
  color: var(--ink);
}

/* 2. Tillgänglighet */
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: var(--paper);
  color: var(--ink);
  z-index: 30;
  padding: 12px;
}

.skip-link:focus {
  top: 12px;
}

/* 3. Sidhuvud och navigation */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 30px 5.8%;
  color: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.2;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: .3em;
  margin-top: 7px;
}

.brand-mark {
  font-family: Georgia,serif;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -3px;
  display: grid;
  place-content: center;
  width: 28px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 55% 45% 55% 45%;
  transform: rotate(-13deg);
  padding-right: 4px;
}

.header nav {
  display: flex;
  gap: 40px;
}

.header nav a,
.button {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.header nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.header nav a:hover {
  border-color: currentColor;
}

/* 4. Knappar */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 29px;
  border: 1.5px solid currentColor;
  border-radius: 100px;
  transition: background .2s,color .2s;
  line-height: 1.35;
  text-align: center;
}

.button-outline {
  background: transparent;
}

.button-outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.header .button-outline:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button-cream {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button-cream:hover {
  background: #dcd3c1;
  border-color: #dcd3c1;
}

/* 5. Startsektion */
.hero {
  position: relative;
  min-height: 740px;
  height: min(60vw,890px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 145px 0 55px 5.8%;
  max-width: 59%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-family: 'Archivo Black',sans-serif;
  text-transform: uppercase;
  font-size: clamp(72px,7.3vw,112px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.04em;
  margin: 0 0 27px;
}

.hero-copy>p {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 30px;
}

.hand-note {
  font-family: 'Patrick Hand',cursive;
  letter-spacing: .14em;
  line-height: 1.2;
  font-size: 22px;
  font-weight: 400;
}

.hero-note {
  position: absolute;
  top: 28%;
  left: 49.5%;
  transform: rotate(-14deg);
  text-align: center;
}

.hero-note span {
  display: block;
  letter-spacing: .25em;
  margin-bottom: 10px;
}

/* 6. Budskapsrad */
.values {
  background-color: #FFFFFF;
  display: grid;
  grid-template-columns: repeat(4,1fr) 2fr;
  gap: 22px;
  align-items: center;
  padding: 52px 5.8%;
  min-height: 235px;
}

.value {
  text-align: center;
}

.value svg {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.value h2 {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value>span {
  font-size: 18px;
}

.values>p {
  border-left: 1px solid var(--ink);
  padding-left: 40px;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* 7. Vårt rosteri */
.story {
  display: grid;
  grid-template-columns: 52.5% 47.5%;
}

.story-image {
  min-height: 560px;
  position: relative;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.story-copy {
  padding: 65px 13% 65px 10%;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .11em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}

.story h2,
.baklava h2,
.nuts-heading h2 {
  font-family: 'Archivo Black',sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.02;
  font-size: clamp(38px,4.1vw,64px);
  margin-bottom: 27px;
}

.story-copy>p:not(.eyebrow) {
  font-size: 16px;
  max-width: 390px;
  margin-bottom: 20px;
}

.story-copy .button {
  margin-top: 7px;
}

.story-note {
  position: absolute;
  right: 5%;
  bottom: 30px;
  transform: rotate(-16deg);
  font-size: 15px;
  text-align: center;
  opacity: .7;
}

/* 8. Sortiment */
.nuts-section {
  background: linear-gradient(110deg,#242a18,#161b0e);
  color: var(--paper);
  padding: 54px 5.8% 25px;
  display: grid;
  grid-template-columns: 1fr 3.1fr;
  gap: 25px 32px;
  align-items: center;
}

/* Anpassa rubriken till spaltens bredd och behåll två fasta rader. */
.nuts-heading {
  container-type: inline-size;
}

.nuts-heading .eyebrow {
  color: #b8bba6;
  font-size: 10px;
}

.nuts-heading h2 {
  font-size: min(14cqw, 58px);
  white-space: nowrap;
  margin-bottom: 0;
}

.nut-list {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
  align-items: start;
}

.nut-list article {
  text-align: center;
}

.nut {
  width: 112px;
  height: 155px;
  margin: 0 auto 13px;
  background-image: url('assets/nut-selection.png');
  background-size: 500% auto;
  background-repeat: no-repeat;
  background-position-y: 50%;
  transition: transform .3s;
}

.nut-almond {
  background-position-x: 0;
}

.nut-cashew {
  background-position-x: 25%;
}

.nut-walnut {
  background-position-x: 50%;
}

.nut-pistachio {
  background-position-x: 75%;
}

.nut-pecan {
  background-position-x: 100%;
}

.nut-list article:hover .nut {
  transform: translateY(-6px) rotate(3deg);
}

.nut-list h3 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 9px;
}

.nut-list p {
  font-size: 13px;
  line-height: 1.45;
  color: #e1dfd2;
  margin-bottom: 12px;
}

.range-details {
  grid-column: 1/-1;
  border-top: 1px solid #f2ece025;
  padding-top: 8px;
}

.range-details details {
  max-width: 800px;
  margin: auto;
}

.range-details summary {
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  padding: 12px;
  list-style: none;
  letter-spacing: .03em;
}

.range-details summary::-webkit-details-marker {
  display: none;
}

.range-details summary span {
  display: inline-block;
  font-size: 20px;
  margin-left: 15px;
  vertical-align: middle;
}

.range-details details[open] summary span {
  transform: rotate(45deg);
}

.range-details p {
  color: #e1dfd2;
  font-size: 15px;
  text-align: center;
  line-height: 1.7;
  padding: 10px 0;
}

/* 9. Baklava */
.baklava {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.baklava-copy {
  padding: 70px 12%;
}

.baklava h2 {
  font-size: clamp(38px,3.7vw,58px);
}

.baklava-copy>p:not(.eyebrow) {
  max-width: 400px;
  margin-bottom: 28px;
}

.baklava>img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

/* 10. Sidfot och sociala medier */
footer {
  padding: 55px 5.8% 22px;
  background: #11160b;
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr;
  gap: 45px 30px;
}

.footer-brand>p {
  font-size: 9px;
  letter-spacing: .08em;
  margin-top: 18px;
}

.footer-visit h2,
.footer-social h2 {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 13px;
}

.footer-visit p,
.footer-social a {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  padding: 8px 0;
  transition: color .2s;
}

.footer-social svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}

.map-link {
  display: inline-block;
  font-size: 13px;
  border-bottom: 1px solid #f2ece080;
  margin-top: 13px;
}

.footer-social a:hover,
.map-link:hover {
  color: #c7cea6;
}

.footer-tagline {
  font-size: 22px;
  transform: rotate(-9deg);
  text-align: center;
}

.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f2ece025;
  padding-top: 20px;
  font-size: 11px;
  color: #b2b4a2;
}

/* 11. Mobilmeny */
.menu-toggle {
  display: none;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: absolute;
  z-index: 8;
  top: 87px;
  left: 0;
  right: 0;
  background: var(--ink);
  padding: 15px 7%;
  color: var(--paper);
  border-top: 1px solid #f2ece040;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Anpassning: (min-width:1600px) */
@media (min-width: 1600px) {
  .hero-copy {
    padding-top: 165px;
  }

  .hero h1 {
    font-size: 122px;
  }

  .story-copy {
    padding-top: 80px;
    padding-bottom: 80px;
  }

}

/* Anpassning: (max-width:1100px) */
@media (max-width: 1100px) {
  .header {
    padding: 25px 5.5%;
    gap: 20px;
  }

  .header nav {
    gap: 25px;
  }

  .brand {
    font-size: 15px;
    gap: 12px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-copy {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(66px,7.5vw,83px);
  }

  .hero-copy>p {
    font-size: 17px;
  }

  .values {
    padding: 40px 5%;
    gap: 15px;
  }

  .values>p {
    padding-left: 27px;
    font-size: 14px;
  }

  .story-copy {
    padding: 50px 9%;
  }

  .story h2 {
    font-size: 42px;
  }

  .story-note {
    display: none;
  }

  .story-image {
    min-height: 535px;
  }

  .nuts-section {
    padding: 40px 5% 20px;
    gap: 24px;
  }

  .nut-list {
    gap: 12px;
  }

  .nut {
    width: 95px;
    height: 135px;
  }

  .nut-list p {
    font-size: 12px;
  }

  .baklava-copy {
    padding: 55px 10%;
  }

  footer {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 35px;
  }

  .footer-tagline {
    display: none;
  }

}

/* Anpassning: (max-width:760px) */
@media (max-width: 760px) {
  .header {
    height: 90px;
    padding: 22px 6%;
  }

  .header nav,
.header-visit {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .brand small {
    font-size: 9px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid #f2ece080;
    border-radius: 50%;
    padding: 11px;
    color: var(--paper);
  }

  .menu-toggle span {
    height: 1px;
    width: 100%;
    background: currentColor;
  }

  .hero {
    min-height: 850px;
    height: auto;
  }

  .hero-image {
    object-position: 69% bottom;
  }

  .hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,#191d1080,transparent 65%),linear-gradient(90deg,#191d10a6,transparent 80%);
    pointer-events: none;
  }

  .hero-copy {
    padding: 127px 6% 350px;
    max-width: 100%;
    z-index: 2;
  }

  .hero h1 {
    font-size: clamp(63px,12vw,90px);
    line-height: .93;
    max-width: 480px;
    margin-bottom: 23px;
  }

  .hero-copy>p {
    font-size: 16px;
    max-width: 330px;
  }

  .hero-note {
    display: none;
  }

  .values {
    grid-template-columns: repeat(4,1fr);
    padding: 35px 6%;
    gap: 20px 9px;
  }

  .value svg {
    width: 30px;
    height: 30px;
  }

  .value h2 {
    font-size: 10px;
    letter-spacing: .06em;
  }

  .value>span {
    font-size: 15px;
  }

  .values>p {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid #191d1030;
    padding: 25px 0 0;
    font-size: 16px;
    text-align: center;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 400px;
  }

  .story-copy {
    padding: 44px 7% 48px;
  }

  .story h2 {
    font-size: clamp(38px,7.8vw,56px);
  }

  .story-copy>p:not(.eyebrow) {
    max-width: 100%;
  }

  .eyebrow {
    font-size: 11px;
  }

  .story-note {
    display: block;
    right: 9%;
    bottom: 42px;
    font-size: 14px;
  }

  .nuts-section {
    grid-template-columns: 1fr;
    padding: 42px 6% 20px;
    gap: 30px;
  }

  .nuts-heading {
    text-align: center;
  }

  .nuts-heading h2 {
    font-size: min(14cqw, 42px);
  }

  .nut-list {
    grid-template-columns: repeat(3,1fr);
    gap: 26px 14px;
  }

  .nut {
    width: 100px;
    height: 140px;
  }

  .nut-list article:nth-child(4) {
    grid-column: 1;
  }

  .nut-list p {
    font-size: 13px;
  }

  .nut-list h3 {
    font-size: 11px;
  }

  .range-details summary {
    font-size: 14px;
  }

  .baklava {
    grid-template-columns: 1fr;
  }

  .baklava-copy {
    padding: 44px 7%;
  }

  .baklava h2 {
    font-size: 42px;
  }

  .baklava>img {
    min-height: 0;
    height: 350px;
  }

  .button {
    font-size: 11px;
    min-height: 46px;
    padding: 13px 24px;
  }

  footer {
    padding: 45px 7% 22px;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-brand>p {
    font-size: 10px;
  }

  .footer-bottom {
    font-size: 10px;
    gap: 20px;
  }

}

/* Anpassning: (max-width:380px) */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-copy>p {
    font-size: 15px;
  }

  .hero {
    min-height: 805px;
  }

  .story-note {
    display: none;
  }

  .nut {
    width: 82px;
    height: 120px;
  }

  .nut-list {
    gap: 22px 10px;
  }

  .nuts-heading h2 {
    font-size: min(14cqw, 36px);
  }

  .baklava h2 {
    font-size: 37px;
  }

  .footer-social {
    padding-left: 10px;
  }

}

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

  *,
*:before,
*:after {
    transition: none!important;
  }

}

.nut {
  clip-path: inset(0 3px);
}

/* 12. Logotyp: originalbild, proportioner och utrymme i sidhuvudet */
.brand {
  flex-shrink: 0;
  display: inline-flex;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
}

.header {
  min-height: 170px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.hero {
  min-height: 780px;
}

.hero-copy {
  padding-top: 200px;
}

.footer-brand .brand-logo {
  width: 200px;
}

.footer-brand>p {
  line-height: 1.6;
}

/* Anpassning: (max-width:760px) */
@media (max-width: 760px) {
  .header {
    height: 145px;
    min-height: 145px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .header .brand-logo {
    width: 150px;
  }

  .mobile-menu {
    top: 145px;
  }

  .hero-copy {
    padding-top: 180px;
  }

  .hero {
    min-height: 900px;
  }

}

/* 13. Om oss: introduktion, butiksfoto och karta */
.about-page .header {
  position: relative;
  background: var(--ink);
}

.header nav a[aria-current="page"] {
  border-bottom: 2px solid #e0c28d;
}

.mobile-menu a[aria-current="page"] {
  color: #e0c28d;
}

.about-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 5%;
  padding: 65px 5.8%;
}

.about-intro .eyebrow {
  color: #80633a;
  margin-bottom: 20px;
}

.about-intro h1 {
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(38px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.about-lead {
  max-width: 450px;
  margin: 0;
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.6;
}

.store-photo {
  position: relative;
  margin: 0;
}

.store-photo img {
  display: block;
  width: 100%;
  height: clamp(350px, 48vw, 700px);
  object-fit: cover;
}

.store-photo figcaption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  max-width: calc(100% - 40px);
  padding: 5px 10px;
  border-radius: 3px;
  background: #191d10e6;
  color: var(--paper);
  font-size: 12px;
}

/* Adressband och ljus inramning skapar en tydlig paus före kartan. */
.location-section {
  background: var(--paper);
}

.location-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 180px;
  padding: 40px 5.8%;
  color: var(--paper);
  background: var(--ink);
}

.location-band h2 {
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-address svg {
  flex: none;
  width: 25px;
  height: 29px;
  color: #e0c28d;
}

.location-address address {
  font-size: clamp(16px, 1.6vw, 22px);
  font-style: normal;
  line-height: 1.6;
}

.location-band .button {
  letter-spacing: .04em;
  text-transform: none;
}

.location-map-frame {
  padding: 44px 5.8%;
}

.location-map {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid #191d1020;
  border-radius: 4px;
}

@media (max-width: 760px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 7%;
  }

  .about-intro h1 {
    font-size: clamp(36px, 8.5vw, 58px);
  }

  .about-lead {
    max-width: 100%;
    font-size: 18px;
  }

  .store-photo img {
    height: 390px;
    object-position: center;
  }

  .store-photo figcaption {
    right: 12px;
    bottom: 12px;
    font-size: 11px;
  }

  .location-band {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
    padding: 36px 7%;
  }

  .location-band h2 {
    font-size: 32px;
  }

  .location-band .button {
    min-width: 225px;
  }

  .location-map-frame {
    padding: 28px 7%;
  }

  .location-map {
    height: 360px;
  }
}
