/* Color palette - muted & minimal */
:root {
  --green-dark: #3d4f4a;
  --green-mid: #6b7f78;
  --green-light: #9aaca5;
  --green-pale: #e8edeb;
  --cream: #f8f7f4;
  --sand: #d4cfc4;
  --white: #ffffff;
  --black: #2c2c2c;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  color: var(--black);
  background-color: var(--white);
}

/* Radley for section titles only */
h2 {
  font-family: "Radley", serif;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

h2 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 2rem;
  color: var(--green-dark);
}

h3 {
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}

a {
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--green-light);
  transition: border-color 0.2s ease;
}

a:hover {
  border-color: var(--green-dark);
}

ul {
  list-style: none;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--green-dark);
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.portal-login {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 2;
  padding: 0.8rem 1.25rem;
  color: var(--green-dark);
  background-color: var(--green-pale);
  border: 2px solid var(--green-pale);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.portal-login:hover,
.portal-login:focus-visible {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
}

@media (max-width: 480px) {
  .portal-login {
    top: 1rem;
    right: 1rem;
  }
}



.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.profile-photo {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--green-light);
}

.hero .logo {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  margin-bottom: 1rem;
}



.hero-description {
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--green-pale);
  margin-bottom: 3rem;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--green-pale);
  border: 1px solid var(--green-light);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--green-pale);
  color: var(--green-dark);
  border-color: var(--green-pale);
}

/* Sections */
.section {
  padding: 5rem 0;
}

#services {
  padding: 12rem 0;
}

.section-dark {
  background-color: var(--green-pale);
}

/* Photo break */
.photo-break {
  height: 60vh;
  overflow: hidden;
  position: relative;
}

.photo-break-wrapper {
  position: absolute;
  inset: -20% 0;
}

.photo-break-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  will-change: transform;
}

/* Section dividers */
.section-divider {
  overflow: hidden;
  background-color: transparent;
}

.section-dark + .section-divider,
.section-divider:has(+ .section-dark) {
  background-color: var(--green-pale);
}

.divider-line {
  height: 1px;
  background-color: var(--green-dark);
  will-change: width;
}

.section-divider.from-left .divider-line {
  margin-left: 0;
  margin-right: auto;
}

.section-divider.from-right .divider-line {
  margin-left: auto;
  margin-right: 0;
}

.section-accent {
  background-color: var(--green-dark);
  color: var(--green-pale);
}

.section-accent h2 {
  color: var(--green-pale);
}

.section-accent a {
  color: var(--green-pale);
  border-color: var(--green-mid);
}

.section-accent a:hover {
  border-color: var(--green-pale);
}

/* About layout */
#about {
  overflow: visible;
}

.about-photo {
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Mobile: photo with radius on left corners */
.about-photo-wrapper {
  margin: 0 -2rem 2rem 0;
  width: 85%;
  aspect-ratio: 4 / 3;
  margin-left: auto;
  overflow: hidden;
  border-radius: 999px 0 0 999px;
}

.about-photo {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center top;
  display: block;
  will-change: transform;
  border-radius: 0;

}

/* Desktop: arch photo on left, offset below */
@media (min-width: 768px) {
  .about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
  }

  .about-photo-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 0 -6rem 0;
    border-radius: 999px 999px 0 0;
  }

  .about-photo {
    width: 100%;
  height: 140%;
    border-radius: 0;
  }
}

/* Intro text */
.intro-text {
  margin-bottom: 3rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
  color: var(--green-mid);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* About details */
.about-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .about-details {
    flex-direction: row;
    gap: 4rem;
  }
}

.about-block h3 {
  font-family: "Radley", serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
}

.about-list li {
  padding: 0.375rem 0;
  color: var(--green-mid);
}

.about-list strong {
  font-weight: 500;
  color: var(--green-dark);
}

/* Services layout */
@media (min-width: 768px) {
  .services-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: start;
  }

  .services-layout h2 {
    position: sticky;
    top: 2rem;
  }
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--green-light);
}

@media (min-width: 768px) {
  .accordion {
    border-top: none;
  }

  .accordion-item:first-child .accordion-header {
    padding-top: 0;
  }
}

.accordion-item {
  border-bottom: 1px solid var(--green-light);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  list-style: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-header::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green-mid);
  transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-header::after {
  content: "\2212";
}

.accordion-body {
  overflow: hidden;
}

.accordion-body::after {
  content: "";
  display: block;
  height: 1.5rem;
}

.service-subtitle {
  color: var(--green-mid);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Bullet list - shared style */
.bullet-list li {
  padding: 0.375rem 0;
  color: var(--green-dark);
  display: flex;
  gap: 0.75rem;
}

.bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  background-color: var(--green-light);
  border-radius: 50%;
  margin-top: 0.7em;
}

/* Specialties */
@media (min-width: 768px) {
  .specialties-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: start;
  }

  .specialties-layout h2 {
    position: sticky;
    top: 2rem;
  }
}

.specialties-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .specialties-list {
    padding-top: 1rem;
  }
}

.specialty-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* Track Record */
.track-record-group {
  margin-bottom: 2.5rem;
}

.track-record-group:last-child {
  margin-bottom: 0;
}

.track-record-group h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* CTA Section */
.section-cta {
  background-color: var(--green-dark);
  padding: 6rem 0;
}

.section-cta .container {
  border-left: 4px solid var(--green-light);
  padding-left: 2rem;
  margin-left: 1.5rem;
}

@media (min-width: 768px) {
  .section-cta .container {
    margin-left: auto;
  }
}

.cta-text {
  color: var(--green-pale);
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.cta-text:last-of-type {
  margin-bottom: 2.5rem;
}

/* Contact */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.contact-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .contact-photo {
    width: 180px;
    height: 180px;
  }
}

.contact-info {
  flex: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 767px) {
  .contact-email { order: 1; }
  .contact-linkedin { order: 2; }
  .contact-phone-au { order: 3; }
  .contact-phone-dk { order: 4; }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
footer {
  padding: 2rem 0;
  background-color: var(--green-dark);
  color: var(--green-mid);
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive */

/* Tablet break - show on tablet and desktop, hide on mobile */
.tablet-break {
  display: block;
}

@media (max-width: 600px) {
  .tablet-break {
    display: none;
  }
}

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

  .hero {
    min-height: 100vh;
    padding: 3rem 1.5rem 6rem;
  }

  .hero .logo {
    max-height: 100px;
  }

  .hero-description {
    font-size: 1.15rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }
}
