:root {
  --green: #0e3834;
  --charcoal: #1b2328;
  --copper: #c9793a;
  --paper: #fcfbf8;
  --warm: #f2efe7;
  --line: #e6e8ec;
  --white: #fff;
}

* { box-sizing: border-box; }

html { background: #f6f6f4; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--charcoal);
  background: #f6f6f4;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.site-frame {
  width: calc(100% - 48px);
  max-width: 1392px;
  min-height: 100vh;
  margin: 24px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(14, 56, 52, 0.1);
  box-shadow: 0 7px 24px rgba(27, 35, 40, 0.06);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 82px;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 235px 1fr auto;
  align-items: center;
  gap: 24px;
  background: rgba(252, 251, 248, 0.98);
}

.wordmark {
  width: max-content;
  color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.wordmark__descriptor {
  margin-top: 7px;
  font-size: 6px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.36em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(25px, 3vw, 48px);
}

.primary-nav a {
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header-cta,
.primary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px rgba(14, 56, 52, 0.14);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.header-cta { height: 36px; padding: 0 22px; }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  height: 530px;
  overflow: hidden;
  border-top: 1px solid rgba(230, 232, 236, 0.4);
}

.hero__image {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 36%;
  background-image: url("assets/mount-ararat-yerevan.jpg");
  background-position: 62% 49%;
  background-size: 112% auto;
  background-repeat: no-repeat;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 58% 100%);
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(252, 251, 248, 0.79);
  clip-path: polygon(90% 0, 103% 0, 71% 100%, 58% 100%);
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: 49%;
  padding: 63px 0 0 72px;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(48px, 4vw, 63px);
  line-height: 1.06;
}

.accent-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 25px 0 23px;
  background: var(--copper);
}

.hero__tagline {
  margin: 0 0 16px;
  color: var(--copper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
}

.hero__body {
  max-width: 465px;
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

.primary-button {
  gap: 24px;
  height: 43px;
  margin-top: 27px;
  padding: 0 18px 0 21px;
}

.primary-button span, .submit-button span { font-size: 20px; font-weight: 400; line-height: 1; }

.features {
  position: relative;
  z-index: 5;
  min-height: 174px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 40px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 17px;
  align-content: center;
  padding: 25px 28px;
}

.feature + .feature { border-left: 1px solid var(--line); }

.feature svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--charcoal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h2,
.feature h3 {
  margin: 1px 0 9px;
  color: var(--charcoal);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature p { margin: 0; font-size: 12px; line-height: 1.55; }

.section { scroll-margin-top: 24px; }
.section-label { margin-bottom: 22px; color: var(--copper); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.section-label::after { content: ""; display: inline-block; width: 32px; height: 1px; margin: 0 0 3px 13px; background: currentColor; }
.section-label--light { color: #e6b184; }

.about {
  min-height: 455px;
  padding: 90px 72px 82px;
  display: grid;
  grid-template-columns: .62fr 1.25fr .8fr;
  gap: 64px;
  align-items: start;
}

.about__statement h2 { max-width: 620px; font-size: 43px; line-height: 1.16; }
.about__copy { padding-top: 38px; }
.about__copy p { margin: 0 0 20px; font-size: 14px; line-height: 1.75; }

.business { padding: 96px 72px 105px; background: var(--warm); }
.section-heading { display: flex; justify-content: space-between; gap: 80px; align-items: end; margin-bottom: 64px; }
.section-heading h2 { max-width: 760px; font-size: 48px; line-height: 1.13; }
.section-heading > p { max-width: 355px; margin: 0 0 4px; font-size: 14px; line-height: 1.7; }

.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(14,56,52,.22); }
.business-grid article { min-height: 250px; padding: 28px 30px 18px 0; }
.business-grid article + article { padding-left: 30px; border-left: 1px solid rgba(14,56,52,.16); }
.business-grid span, .product-list span { color: var(--copper); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.business-grid h3 { margin: 48px 0 18px; color: var(--green); font-family: "Playfair Display", Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.22; }
.business-grid p { margin: 0; font-size: 13px; line-height: 1.7; }

.product-areas { padding: 104px 72px 110px; background: var(--paper); }
.product-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.product-list article { min-height: 270px; padding: 27px 24px 0 0; }
.product-list article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.product-list h3 { min-height: 72px; margin: 35px 0 19px; color: var(--green); font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.25; }
.product-list p { margin: 0; font-size: 12px; line-height: 1.65; }

.approach { min-height: 480px; display: grid; grid-template-columns: 1.15fr .85fr; }
.approach__media {
  min-height: 480px;
  background: #8e9895 url("assets/port-logistics.jpg") 54% center / cover no-repeat;
}
.approach__panel { padding: 74px 72px 62px; color: #fff; background: var(--green); }
.approach__panel h2 { max-width: 520px; color: #fff; font-size: 43px; line-height: 1.13; }
.approach__copy { max-width: 490px; margin-top: 43px; padding-top: 31px; border-top: 1px solid rgba(255,255,255,.18); }
.approach__copy p { margin: 0 0 18px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.72; }

.contact { padding: 92px 72px 96px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; background: var(--paper); }
.contact__intro h2 { font-size: 52px; line-height: 1.1; }
.contact__intro > p { max-width: 400px; margin: 28px 0 0; font-size: 14px; line-height: 1.75; }
.contact-details { max-width: 440px; margin: 42px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 31px 38px; }
.contact-details div:last-child { grid-column: 1 / -1; }
.contact-details dt { margin: 0 0 8px; color: var(--copper); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--green); font-family: "Playfair Display", Georgia, serif; font-size: 18px; line-height: 1.4; }
.contact-details a { border-bottom: 1px solid rgba(14,56,52,.22); }
.contact-details .is-pending { color: #7e8588; font-family: "Inter", Arial, sans-serif; font-size: 12px; }

.contact-form { padding: 34px 42px 38px; background: #fff; border: 1px solid var(--line); box-shadow: 0 5px 16px rgba(27,35,40,.04); }
.form-field { position: relative; margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 8px; color: var(--green); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 0; color: var(--charcoal); background: transparent; border: 0; border-bottom: 1px solid #cfd3d6; border-radius: 0; outline: none; font-size: 14px; }
.form-field textarea { min-height: 145px; resize: vertical; line-height: 1.55; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); }
.form-field [aria-invalid="true"] { border-color: #a13d34; }
.field-error { min-height: 16px; display: block; margin-top: 5px; color: #a13d34; font-size: 11px; }
.message-meta { display: flex; justify-content: space-between; gap: 20px; color: #6f777a; font-size: 11px; }
.form-field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-optional { color: #7e8588; font-size: .82em; font-weight: 400; text-transform: none; }
.consent-field { display: grid; grid-template-columns: 17px 1fr; gap: 10px; align-items: start; margin: 4px 0 0; }
.consent-field input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--green); }
.consent-field input[aria-invalid="true"] { outline: 1px solid #a13d34; outline-offset: 2px; }
.consent-field label { color: #5f686b; font-size: 11px; line-height: 1.55; }
.consent-field a { color: var(--green); border-bottom: 1px solid rgba(14,56,52,.28); }
.field-error--consent { margin-bottom: 16px; }
.submit-button { min-width: 170px; height: 45px; gap: 25px; padding: 0 18px 0 22px; cursor: pointer; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-actions { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
.privacy-note { max-width: 310px; margin: 0; color: #697174; font-size: 11px; line-height: 1.55; }
.privacy-note a { color: var(--green); border-bottom: 1px solid rgba(14,56,52,.28); }
.form-status { margin: 0; color: var(--charcoal); font-size: 12px; line-height: 1.55; outline: none; }
.form-status:not(:empty) { margin-top: 18px; padding: 13px 15px; border: 1px solid transparent; border-left-width: 3px; }
.form-status.is-sending { color: #684525; background: #f4e8dc; border-color: rgba(180, 112, 54, .35); border-left-color: var(--copper); }
.form-status.is-success { color: var(--green); background: #edf4f1; border-color: rgba(14, 56, 52, .22); border-left-color: var(--green); }
.form-status.is-error { color: #812f29; background: #fbefec; border-color: rgba(161, 61, 52, .25); border-left-color: #a13d34; }
.form-status:focus-visible { box-shadow: 0 0 0 3px rgba(180, 112, 54, .18); }

.site-footer { min-height: 190px; padding: 50px 72px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 45px; color: rgba(255,255,255,.72); background: var(--green); font-size: 10px; line-height: 1.7; }
.wordmark--footer { color: #fff; }
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }
.footer-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }

.legal-page { min-height: calc(100vh - 164px); padding: 88px 72px 110px; background: var(--paper); }
.legal-page__inner { max-width: 820px; margin: 0 auto; }
.legal-page h1 { margin: 0; color: var(--green); font-family: "Playfair Display", Georgia, serif; font-size: 52px; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.legal-page__intro { max-width: 690px; margin: 28px 0 48px; font-size: 15px; line-height: 1.75; }
.legal-effective { margin: 0 0 44px; padding: 16px 18px; color: #684525; background: #f4e8dc; border-left: 3px solid var(--copper); font-size: 12px; line-height: 1.6; }
.legal-section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 14px; color: var(--green); font-family: "Playfair Display", Georgia, serif; font-size: 25px; font-weight: 400; }
.legal-section p, .legal-section li { font-size: 13px; line-height: 1.75; }
.legal-section p { margin: 0 0 12px; }
.legal-section ul { margin: 0; padding-left: 20px; }
.legal-section a { color: var(--green); border-bottom: 1px solid rgba(14,56,52,.25); }

@media (max-width: 1050px) {
  .site-header { padding: 0 34px; grid-template-columns: 205px 1fr auto; }
  .primary-nav { gap: 22px; }
  .primary-nav a { font-size: 9px; }
  .hero__copy { padding-left: 42px; }
  .feature { padding: 22px 15px; grid-template-columns: 38px 1fr; gap: 10px; }
  .about, .business, .product-areas, .contact { padding-left: 42px; padding-right: 42px; }
  .about { grid-template-columns: .45fr 1.1fr .75fr; gap: 35px; }
  .section-heading { gap: 45px; }
  .business-grid h3 { font-size: 21px; }
  .product-list { grid-template-columns: repeat(3, 1fr); }
  .product-list article:nth-child(4) { border-left: 0; }
  .approach__panel { padding-left: 42px; padding-right: 42px; }
  .contact { gap: 55px; }
}

@media (max-width: 720px) {
  html, body { background: var(--paper); }
  .site-frame { width: 100%; margin: 0; border: 0; box-shadow: none; }
  .site-header {
    height: 72px;
    padding: 0 21px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(230, 232, 236, 0.75);
  }
  .wordmark__name { font-size: 21px; }
  .wordmark__descriptor { margin-top: 5px; font-size: 5px; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 31px;
    height: 31px;
    padding: 5px 3px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
  .menu-toggle span { display: block; width: 23px; height: 1.5px; background: var(--green); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .mobile-nav {
    position: absolute;
    inset: 71px 0 auto;
    padding: 18px 22px 24px;
    display: grid;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 18px rgba(27,35,40,.07);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; text-transform: uppercase; }
  .mobile-nav a:last-child { border-bottom: 0; }

  .hero { height: 470px; border-top: 0; }
  .hero__copy { width: 100%; padding: 52px 23px 0; }
  .hero h1 { font-size: 31px; line-height: 1.12; letter-spacing: -0.02em; }
  .accent-rule { width: 38px; margin: 18px 0 15px; }
  .hero__tagline { max-width: 240px; margin-bottom: 0; font-size: 17px; line-height: 1.3; }
  .hero__body { display: none; }
  .primary-button { height: 39px; margin-top: 19px; font-size: 9px; gap: 18px; }
  .hero__image {
    inset: auto 0 0;
    width: 100%;
    height: 182px;
    background-position: 48% 58%;
    background-size: cover;
    background-image: url("assets/mount-ararat-yerevan-mobile.jpg");
    clip-path: none;
  }
  .hero__image::after { display: none; }

  .features { display: block; padding: 8px 23px 12px; }
  .feature { min-height: 104px; grid-template-columns: 48px 1fr; gap: 15px; padding: 20px 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature svg { width: 39px; height: 39px; }
  .feature h2 { font-size: 10px; margin: 1px 0 7px; }
  .feature p { max-width: 270px; font-size: 11px; line-height: 1.55; }

  .section-label { margin-bottom: 17px; }
  .about { min-height: 0; padding: 62px 23px; display: block; }
  .about > .section-label { margin-bottom: 27px; }
  .about__statement h2 { font-size: 32px; line-height: 1.17; }
  .about__copy { padding-top: 35px; }
  .about__copy p { font-size: 13px; line-height: 1.7; }

  .business, .product-areas { padding: 62px 23px; }
  .section-heading { display: block; margin-bottom: 45px; }
  .section-heading h2 { font-size: 34px; line-height: 1.15; }
  .section-heading > p { margin-top: 24px; font-size: 13px; }
  .business-grid, .product-list { display: block; }
  .business-grid article, .business-grid article + article { min-height: 0; padding: 24px 0 28px; border-left: 0; border-bottom: 1px solid rgba(14,56,52,.16); }
  .business-grid h3 { margin: 24px 0 12px; font-size: 24px; }
  .business-grid p { max-width: 320px; }

  .product-list article, .product-list article + article { min-height: 0; padding: 24px 0 27px; border-left: 0; border-bottom: 1px solid var(--line); }
  .product-list h3 { min-height: 0; margin: 22px 0 12px; font-size: 23px; }
  .product-list p { max-width: 320px; }

  .approach { min-height: 0; display: flex; flex-direction: column; }
  .approach__media { min-height: 238px; background-position: 57% center; }
  .approach__panel { padding: 60px 23px 56px; }
  .approach__panel h2 { font-size: 34px; }
  .approach__copy { margin-top: 34px; padding-top: 25px; }
  .approach__copy p { font-size: 13px; }

  .contact { padding: 62px 23px 68px; display: block; }
  .contact__intro h2 { font-size: 39px; }
  .contact__intro > p { margin-top: 21px; font-size: 13px; }
  .contact-details { margin-top: 34px; gap: 24px 20px; }
  .contact-details dd { font-size: 17px; }
  .contact-form { margin-top: 36px; padding: 27px 21px 30px; }
  .form-field { margin-bottom: 16px; }
  .form-actions { display: block; }
  .submit-button { width: 100%; }
  .privacy-note { max-width: none; margin-top: 16px; }
  .form-status:not(:empty) { margin-top: 16px; padding: 13px 14px; font-size: 12px; }

  .site-footer { padding: 46px 23px; display: block; }
  .site-footer p { margin-top: 32px; }
  .site-footer p:last-child { text-align: left; }

  .legal-page { padding: 68px 23px 82px; }
  .legal-page h1 { font-size: 39px; }
  .legal-page__intro { margin: 23px 0 38px; font-size: 13px; }
}

@media (min-width: 721px) and (max-height: 820px) {
  .site-frame { margin-top: 14px; }
  .hero { height: 500px; }
  .hero__copy { padding-top: 48px; }
  .hero h1 { font-size: 52px; }
  .features { min-height: 158px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
