/* =========================================================
   Alexander Wich Website - Version 1.0 Rebuild
   ========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #061a3d;
  background: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a { color: inherit; }

p { margin: 0 0 1.1rem; }

h1, h2, h3 {
  margin: 0;
  color: #061a3d;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(820px, calc(100% - 48px));
}

.eyebrow {
  margin: 0 0 22px;
  color: #b4975a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  color: #27364f;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.75;
  max-width: 760px;
}

/* Header */

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(6, 26, 61, 0.12);
}

.nav-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  color: #061a3d;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
   color: #061a3d;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: #b4975a;
}

.main-nav .nav-button {
  background: #b4975a;
  color: #ffffff;
  padding: 16px 30px;
  border-radius: 4px;
}

.main-nav .nav-button:hover,
.main-nav .nav-button.active {
  background: #061a3d;
  color: #ffffff;
}

/* Buttons */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background: #b4975a;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.btn:hover {
  background: #061a3d;
}

.btn.secondary {
  background: transparent;
  color: #061a3d;
  border: 1px solid rgba(6, 26, 61, 0.18);
}

.btn.secondary:hover {
  color: #ffffff;
  background: #061a3d;
}

/* Hero */

.hero {
  padding: 78px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.7rem);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: min(100%, 400px);
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(6, 26, 61, 0.16);
}

.hero-image.portrait img {
  width: min(100%, 320px);
  max-height: 430px;
  object-position: center top;
}

/* Sections */

.page-hero {
  padding: 82px 0 48px;
}

.page-hero h1 {
  margin-bottom: 28px;
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: #f7f4ee;
}

.text-block {
  padding: 38px 0;
  border-top: 1px solid rgba(6, 26, 61, 0.12);
}

.text-block p,
.section p {
  color: #26344e;
  font-size: 1.05rem;
  line-height: 1.82;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #ffffff;
  border: 1px solid rgba(6, 26, 61, 0.08);
  padding: 30px 28px;
  box-shadow: 0 14px 34px rgba(6, 26, 61, 0.06);
}

.card.large {
  padding: 34px;
  min-height: 230px;
}

.card p {
  color: #31415a;
  font-size: 0.98rem;
  line-height: 1.72;
}

/* Quote */

.quote-section {
  padding: 88px 0 98px;
  text-align: center;
}

.quote-section blockquote {
  margin: 0;
  color: #061a3d;
  font-size: clamp(1.9rem, 3.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.quote-section p {
  margin-top: 24px;
  color: #b4975a;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Contact */

.contact-card {
  max-width: 680px;
  margin: 0 auto;
  background: #f7f4ee;
  padding: 50px;
  border: 1px solid rgba(6, 26, 61, 0.08);
  box-shadow: 0 10px 30px rgba(6, 26, 61, 0.06);
}

.contact-card a {
  color: #b4975a;
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  color: #061a3d;
}

.contact-card p {
  margin-bottom: 1.35rem;
}

/* Footer */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(6, 26, 61, 0.12);
  color: #31415a;
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-image {
    justify-content: flex-start;
  }

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .main-nav .nav-button {
    padding: 10px 18px;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow {
    width: min(100% - 32px, 1120px);
  }

  .hero,
  .page-hero,
  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 30px 24px;
  }
}

/* Home page polish */
.home-closing .button-row.centered,
.button-row.centered {
  justify-content: center;
}

.home-closing blockquote {
  margin-bottom: 30px;
}\n

/* Global polish - Version 1.0 */

.hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 80px;
}

.hero-image img {
  width: min(100%, 450px);
}

.btn {
  padding: 16px 28px;
  border-radius: 4px;
}

.main-nav .nav-button {
  padding: 15px 26px;
  border-radius: 4px;
}

.card {
  padding: 34px 32px;
}

.section {
  padding: 82px 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-image img {
    width: min(100%, 420px);
  }
}

/* Language switch */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(6, 26, 61, 0.16);
}

.language-switch a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #061a3d;
  text-decoration: none;
}

.language-switch a.active,
.language-switch a:hover {
  color: #b4975a;
}

@media (max-width: 760px) {
  .language-switch {
    padding-left: 0;
    border-left: none;
  }
}

/* Global language switch */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(6, 26, 61, 0.16);
}

.language-switch a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #061a3d;
  text-decoration: none;
}

.language-switch a.active,
.language-switch a:hover {
  color: #b4975a;
}

@media (max-width: 760px) {
  .language-switch {
    padding-left: 0;
    border-left: none;
  }
}
/* ===========================
   Selected Achievements
=========================== */

.achievement-section {
    max-width: 1250px;
    margin: 70px auto;
    padding: 0 30px;
}

.achievement-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-intro {
    max-width: 850px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.achievement-card {
    background: #ffffff;
    border: 1px solid #e6e1d8;
    border-radius: 10px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.achievement-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.achievement-card p {
    line-height: 1.65;
    color: #444;
}

@media (max-width: 1000px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .achievement-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Achievement List */

.achievement-details{
    max-width:1100px;
    margin:70px auto 0;
    padding-top:50px;
    border-top:1px solid #d8d8d8;
}

.achievement-details h2{
    text-align:center;
    margin-bottom:12px;
}

.achievement-details .section-intro{
    text-align:center;
    color:#666;
    max-width:760px;
    margin:0 auto 45px;
}

.achievement-category{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.achievement-category h3{
    color:#0d2b55;
    margin-bottom:12px;
}

.achievement-category ul{
    margin:0;
    padding-left:24px;
}

.achievement-category li{
    margin-bottom:10px;
    line-height:1.7;
}

.achievement-category h3 {
    color: #0d2b55;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.achievement-category h3::after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #c9a227;
    margin-top: 8px;
}

.hero-focus {
  margin-top: 1.5rem;
  font-weight: 500;
}

.site-footer {
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #0d1b4d;
    text-decoration: none;
    margin: 0 0.35rem;
}

.footer-links a:hover {
    text-decoration: underline;
}
