/* Language switch button */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--mid);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.lang-switch::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.lang-switch:hover {
  color: var(--orange);
}

.lang-switch:hover::after {
  transform: scaleX(1);
}

.lang-flag {
  width: 40px;
  height: 50px;
  display: block;
  border-radius: 2px;
  opacity: 0.85;
}

.lang-switch:hover .lang-flag {
  opacity: 1;
}

/* Responsive: hide text label on very small screens */
@media (max-width: 380px) {
  .lang-switch {
    margin-left: 0.75rem;
  }
  .lang-switch-label {
    display: none;
  }
}
/*
Theme Name: Anoteros Website
Theme URI: https://yoursite.com/
Author: Your Name
Author URI: https://yoursite.com/
Description: Theme for Anoteros AB
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anoteros-website
*/
/* Transition delay helpers for fade-up */
.td08 {
  transition-delay: 0.08s !important;
}
.td10 {
  transition-delay: 0.1s !important;
}
.td12 {
  transition-delay: 0.12s !important;
}
.td16 {
  transition-delay: 0.16s !important;
}
.td24 {
  transition-delay: 0.24s !important;
}
.td00 {
  transition-delay: 0s !important;
}
.td01 {
  transition-delay: 0.01s !important;
}
.td02 {
  transition-delay: 0.02s !important;
}
.td03 {
  transition-delay: 0.03s !important;
}
.td04 {
  transition-delay: 0.04s !important;
}
.td05 {
  transition-delay: 0.05s !important;
}
.td06 {
  transition-delay: 0.06s !important;
}
.td07 {
  transition-delay: 0.07s !important;
}
.td09 {
  transition-delay: 0.09s !important;
}
.td20 {
  transition-delay: 0.2s !important;
}
.td30 {
  transition-delay: 0.3s !important;
}
.td40 {
  transition-delay: 0.4s !important;
}
.td50 {
  transition-delay: 0.5s !important;
}
.td60 {
  transition-delay: 0.6s !important;
}
.td70 {
  transition-delay: 0.7s !important;
}
.td80 {
  transition-delay: 0.8s !important;
}
.td90 {
  transition-delay: 0.9s !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #f0930a;
  --orange-deep: #d07d00;
  --orange-pale: #fff7ed;
  --white: #ffffff;
  --ink: #1a1410;
  --mid: #6b5f52;
  --light: #f9f6f2;
  --rule: rgba(240, 147, 10, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(240, 147, 10, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo svg {
  width: 26px;
  height: 34px;
}

.nav-logo-img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-feather {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-52%);
  width: min(580px, 50vw);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1.5px;
  background: var(--orange);
  border-radius: 2px;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

h1 .accent {
  font-style: italic;
  color: var(--orange);
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--mid);
  max-width: 46ch;
  line-height: 1.85;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  transition:
    background 0.25s,
    transform 0.2s;
}

.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.btn-primary::after {
  content: "↓";
  font-size: 1rem;
  letter-spacing: 0;
}

.btn-ghost {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* STRIP */
.strip {
  background: var(--orange);
  color: var(--white);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.strip-inner {
  display: inline-flex;
  animation: ticker 24s linear infinite;
}

.strip-item {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 2.5rem;
}

.strip-dot {
  opacity: 0.45;
  padding: 0 0.2rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ABOUT */
#about {
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 7rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-aside-inner {
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  padding: 3rem 2.5rem;
  border-radius: 0 4px 4px 0;
}

.about-aside-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.about-aside blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
}

.about-aside-name {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.about-aside-name span {
  font-weight: 300;
  color: var(--mid);
}

.about-main h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-main h2 em {
  font-style: italic;
  color: var(--orange);
}

.about-main p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.95;
  margin-bottom: 1rem;
}

/* SERVICES */
#services {
  background: var(--light);
  padding: 8rem 4rem;
}

.services-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 3rem;
}

.services-top h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 14ch;
}

.services-top h2 em {
  font-style: italic;
  color: var(--orange);
}

.services-top p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--mid);
  max-width: 38ch;
  line-height: 1.85;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(240, 147, 10, 0.13);
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem 3.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--orange-pale);
}

.service-num {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 1.75rem;
  opacity: 0.6;
}

.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.9;
}

/* CONTACT */
#contact {
  padding: 8rem 4rem;
  background: var(--white);
}

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}

.contact-left h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.contact-left h2 em {
  font-style: italic;
  color: var(--orange);
}

.contact-left p {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cd-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.2rem;
}

.cd-val {
  font-size: 0.97rem;
  color: var(--ink);
}

/* LinkedIn contact link styling */
.cd-val a[href*="linkedin.com"] {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.cd-val a[href*="linkedin.com"]:hover {
  color: var(--orange);
}

.cd-val a[href*="linkedin.com"] img {
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  background: #fff;
  margin-right: 6px;
  transition: filter 0.2s;
}

.cd-val a[href*="linkedin.com"]:hover img {
  filter: brightness(0.95) drop-shadow(0 0 2px var(--orange));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ff {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ff label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--mid);
}

.ff input,
.ff textarea {
  background: var(--light);
  border: 1.5px solid transparent;
  border-radius: 3px;
  padding: 0.85rem 1.1rem;
  font-family: "Jost", sans-serif;
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
  resize: none;
}

.ff input:focus,
.ff textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}

.ff textarea {
  min-height: 120px;
}

.btn-submit {
  align-self: flex-start;
  background: var(--orange);
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-submit:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.btn-submit::after {
  content: "→";
  font-size: 1rem;
  letter-spacing: 0;
}

/* FOOTER */
footer {
  background: var(--ink);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo svg {
  width: 20px;
  height: 26px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--orange);
}

footer p {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

/* FADE */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  nav {
    padding: 0.85rem 1.25rem;
  }

  .nav-logo-img {
    height: 34px;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
  }

  .hero-bg-feather {
    width: min(320px, 70vw);
    opacity: 0.05;
    right: -20px;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }

  #services {
    padding: 5rem 1.5rem;
  }

  .services-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

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

  #contact {
    padding: 5rem 1.5rem;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer-logo-img {
    height: 36px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .nav-logo-img {
    height: 50px;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.07em;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .about-aside blockquote {
    font-size: 1.1rem;
  }

  .service-card {
    padding: 2rem 1.5rem 2.5rem;
  }
}
