/* ====================================================
   COMPONENT: Root variables
   ==================================================== */
:root {
  /* colors */
  --clr-primary: #3c3e3e;
  --clr-secondary: #3c3e3e;
  --clr-border: #a1a4a4;
  --clr-border-dark: #676b6b;
  --clr-border-light: #d1d4d4;
  --clr-placeholder: #a1a4a4;
  --clr-placeholder-dark: #888e8e;
  --clr-text-light: #626464;
  --clr-text-footer: #afb5bf;

  /* fonts */
  --font-primary: "Times New Roman", serif;

  /* Icon positioning variables for manual adjustment */
  --read-more-icon-offset-x: 2px;
  --read-more-icon-offset-y: 0px;
  --testimonials-icon-offset-x: 2px;
  --testimonials-icon-offset-y: 0px;
  --return-icon-offset-x: 0px;
  --return-icon-offset-y: 1px;

  /* spacing constraints */
  --content-spacing-default: 1.5rem;
  --hero-paragraph-min-margin: 1rem;
  --hero-paragraph-max-margin: 7rem;
  --testimonials-min-margin: 0.5rem;
  --testimonials-max-margin: 2rem;
  --details-min-margin: 0.75rem;
  --details-max-margin: 1.5rem;
  --calculated-paragraph-margin: 1rem; /* Default value, overridden by JS */

  /* safe area insets */
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

/* ====================================================
   COMPONENT: Reset & Base Styles
   ==================================================== */
body {
  /* box model */
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  box-sizing: border-box;

  /* positioning */
  display: flex;
  flex-direction: column;
  align-items: center;

  /* color */
  background-color: rgb(255, 255, 255);
}

/* ====================================================
   COMPONENT: Layout utilities
   ==================================================== */
.Container {
  /* box model */
  width: 85%;
  max-width: 420px;
  box-sizing: border-box;

  /* positioning */
  display: flex;
  flex-direction: column;
  align-items: center;

  /* typography */
  text-align: center;
}

/* Page transition overlay - initially visible to hide content until JS runs */
.PageTransition {
  /* box model */
  width: 100%;
  height: 100%;

  /* positioning */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  /* appearance */
  background-color: #fff;
  opacity: 1;
  pointer-events: all;
}

/* When ready, instantly hide the overlay */
.PageTransition--hidden {
  display: none;
}

/* Content Spacing System */
.Hero__Paragraph {
  --paragraph-gap: 1.5rem; /* Adjust value here to control system */
  margin-block-end: var(--paragraph-gap);
}

.Hero__ParagraphWrapper {
  --content-spacing: var(--paragraph-gap, var(--content-spacing-default));
}

.Content > * {
  margin-block-end: var(
    --content-spacing,
    var(--content-element-margin, var(--content-spacing-default))
  );
}

/* Margin utility classes */
.Content > .MarginHalf {
  margin-block-end: calc(var(--content-element-margin, 1.5rem) * 0.5);
}

.Content > .MarginDouble {
  margin-block-end: calc(var(--content-element-margin, 1.5rem) * 2);
}

.Content > .MarginNone {
  margin-block-end: 0;
}

/* Global margin classes */
.MarginHalf {
  margin-block-end: calc(
    var(--content-element-margin, 1.5rem) * 0.5
  ) !important;
}

.MarginDouble {
  margin-block-end: calc(var(--content-element-margin, 1.5rem) * 2) !important;
}

.MarginNone {
  margin-block-end: 0 !important;
}

/* Horizontal rule styling */
hr {
  /* box model */
  width: 60%;
  height: 1px;
  border: none;

  /* color */
  background-color: var(--clr-primary);
}

/* ====================================================
   COMPONENT: Hero section
   ==================================================== */
.Hero {
  /* box model */
  width: 100%;
  min-height: 100svh;
  padding-top: var(--safe-area-inset-top);
  padding-bottom: var(--safe-area-inset-bottom);
  box-sizing: border-box;

  /* positioning */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.Hero__LogoImageWrapper {
  /* box model */
  width: 100%;
  margin-bottom: 0;

  /* positioning */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 auto;
}

.Hero__LogoImageWrapper header {
  /* box model */
  width: 100%;
  box-sizing: border-box;

  /* positioning */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.Logo {
  /* box model */
  width: 100%;
  max-width: 266px;
  min-width: 266px;
  margin-bottom: 0;
  margin-top: 0;
}

.Hero__LogoImageWrapper header a {
  /* interactivity */
  cursor: pointer;
}

.Header__Name {
  /* box model */
  width: 100%;
  min-width: 266px;

  /* typography */
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
  color: #545656;
}

.Header__Title {
  /* box model */
  width: 100%;
  min-width: 266px;

  /* typography */
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
  color: #545656;
}

.Hero__Image {
  /* box model */
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;

  /* positioning */
  display: block;
  align-self: flex-end;

  /* image specific */
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

.Hero__ParagraphWrapper {
  /* box model */
  width: 100%;

  /* positioning */
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1.5 1 auto;

  /* container query setup */
  container-type: inline-size;
}

.Hero__Paragraph {
  /* box model */
  width: 100%;
  margin: 0;

  /* typography */
  font-size: clamp(0.7rem, 4.4cqw, 1.1rem);
  line-height: 1.5;
  letter-spacing: -0.023rem;
  text-align: justify;
  color: var(--clr-primary);
}

/* ====================================================
   COMPONENT: Content section
   ==================================================== */
.Content {
  /* box model */
  width: 100%;
  margin-bottom: 2rem;
  min-height: 200px;

  /* positioning */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;

  /* container query setup */
  container-type: inline-size;
  container-name: content;
}

.Content__Paragraph {
  /* box model */
  width: 100%;
  margin: 0;

  /* typography */
  font-size: clamp(0.7rem, 4.4cqw, 1.1rem);
  line-height: 1.5;
  letter-spacing: -0.023rem;
  text-align: justify;
  margin-bottom: 2rem;
  color: var(--clr-primary);
}

.Content__ParagraphDetails {
  /* box model */
  width: 100%;
  margin-bottom: calc(var(--calculated-paragraph-margin) / 2);

  /* typography */
  font-size: clamp(0.7rem, 4.4cqw, 1.1rem);
  line-height: 1.5;
  letter-spacing: -0.023rem;
  /* text-align: justify; */
  color: var(--clr-primary);
}

.More__Paragraph {
  /* box model */
  width: 100%;
  margin: 0 0
    var(--calculated-paragraph-margin, var(--hero-paragraph-min-margin)) 0;

  /* typography */
  font-size: clamp(0.7rem, 4.4cqw, 1.1rem);
  line-height: 1.5;
  letter-spacing: -0.023rem;
  text-align: justify;
  color: var(--clr-primary);
}

/* ====================================================
   COMPONENT: Content Highlights
   ==================================================== */
.Content__Highlight {
  /* box model */
  display: inline;
  margin: 0;

  /* typography */
  font-weight: 500;
  color: #3f4747;
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem);
  text-align: justify;
  line-height: 1.3;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

/* COMPONENT: First Hero Highlight - Kobido description */
/* "Kobido unfolds the face. It's a soft unwrapping," */
.Hero__Paragraph .Content__Highlight:nth-of-type(1) {
  display: block !important;
  width: 100%;
  margin: 0 0 0.3rem 0;
  text-align-last: justify !important;

  /* typography */
  font-weight: 500 !important;
  /* color: #3f4747 !important; */
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem) !important;
  text-align: justify !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

/* COMPONENT: Second Hero Highlight - Gift metaphor */
/* "like opening a gift:" */
.Hero__Paragraph .Content__Highlight:nth-of-type(2) {
  white-space: nowrap !important;

  /* typography */
  font-weight: 500 !important;
  /* color: #1a9191 !important; */
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem) !important;
  text-align: justify !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

/* COMPONENT: Method Highlight - Nervous system reset */
/* "Madeleine's method facilitates an exceptional nervous system reset." */

/* COMPONENT: Gifts Highlight - Energetic awareness */
/* "Madeleine's gifts lie in her deep energetic awareness and ability to read a client's skin in a truly unique and pointed way." */

/* Individual highlight styles */
/* COMPONENT: Nervous System Highlight - "exceptional nervous system reset" */
.Highlight__NervousSystem {
  /* box model */
  display: inline;
  margin: 0;

  /* typography */
  font-weight: 500;
  color: #3f4747;
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem);
  text-align: justify;
  line-height: 1.3;
  /* letter-spacing: 0.025rem; */
  word-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

/* COMPONENT: Gifts Highlight - "deep energetic awareness and ability to read a client's skin" */
.Highlight__Gifts {
  /* box model */
  display: inline;
  margin: 0;

  /* typography */
  font-weight: 500;
  color: #3f4747;
  font-size: clamp(0.8rem, 4.7cqw, 1.22rem);
  text-align: justify;
  line-height: 1.3;
  letter-spacing: 0.03rem;
  /* word-spacing: -0.15rem; */
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

.Awareness__Ability {
  /* box model */
  display: inline;
  margin: 0;

  /* typography */
  font-weight: 500;
  color: #3f4747;
  font-size: clamp(0.8rem, 4.6cqw, 1.2rem);
  text-align: justify;
  line-height: 1.3;
  letter-spacing: 0.03rem;
  /* word-spacing: -0.15rem; */
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

/* COMPONENT: Swan Light Highlight - Multidimensional lift */
/* Clients emerge with an exceedingly remarkable glow — a glow that is 
decidedly their own. */

.Highlight__Glow {
  /* box model */
  display: inline;
  margin: 0;

  /* typography */
  font-weight: 500;
  /* color: #0e9191; */
  font-size: clamp(0.8rem, 4.65cqw, 1.2rem);
  text-align: justify;
  line-height: 1.3;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

/* COMPONENT: Lift Highlight - "multidimensional and alchemical" */
.Highlight__Lift {
  /* box model */
  display: inline;
  margin: 0;

  /* typography */
  font-weight: 500;
  color: #3f4747;
  font-size: clamp(0.8rem, 4.65cqw, 1.2rem);
  text-align: justify;
  line-height: 1.3;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

/* Hero section highlights */
/* COMPONENT: Unwrapping Highlight - "Kobido unfolds the face. It's a soft unwrapping" */
.Highlight__Unwrapping {
  display: block !important;
  width: 100%;
  margin: 0 0 0.3rem 0;
  text-align-last: justify !important;
  color: #494e4e !important;
  font-weight: 600 !important;
}

/* COMPONENT: Gift Highlight - "like opening a gift" */
.Highlight__Gift {
  white-space: nowrap !important;
  color: #494e4e !important;
  font-weight: 500 !important;
}
/* COMPONENT: Clients Highlight - Remarkable glow */
/* "Clients emerge with an exceedingly remarkable glow — a glow that is decidedly their own." */

/* COMPONENT: Section Heading Highlight - Testimonials */
/* "Testimonials" */
.SectionHeading .Content__Highlight {
  text-align: center !important;
  text-align-last: center !important;
  display: inline-block !important;
  width: 100%;
  white-space: normal !important;

  /* typography */
  font-weight: 500 !important;
  color: #3f4747 !important;
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem) !important;
  /* text-align is overridden above */
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

/* All highlights after the second can wrap text - Fallback rule */
.Content__Highlight:nth-of-type(n + 3),
.More__Paragraph .Content__Highlight,
.Content__Paragraph .Content__Highlight,
.Hero__Paragraph .Content__Highlight:nth-child(n + 3) {
  white-space: normal !important;
  display: inline !important;
}

.Access__Wrapper {
  margin-top: 2rem;
}

.Content__Access {
  /* box model */
  display: inline;

  /* typography */
  font-weight: 500;
  color: var(--clr-text-light);
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
}

.Content__Appointment {
  /* box model */
  margin-top: 1.5rem;

  /* typography */
  font-weight: 500;
  color: var(--clr-text-light);
  text-align: center;
  line-height: 1.9;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
  overflow: visible;
}

/* ====================================================
   COMPONENT: Section heading
   ==================================================== */
.SectionHeading {
  /* box model */
  width: 100%;
  margin: 0 0
    var(--calculated-testimonial-margin, var(--hero-paragraph-min-margin)) 0;

  /* typography */
  font-size: clamp(0.8rem, 4.7cqw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.023rem;
  text-align: center;
  color: var(--clr-primary);
  font-weight: bold;
}

/* ====================================================
   COMPONENT: PinkSwan
   ==================================================== */
.PinkSwan {
  /* box model */
  width: 100%;
  /* margin: 3rem 0 2rem; */

  /* positioning */
  display: flex;
  justify-content: center;
  align-items: center;
}

.PinkSwan__Image {
  /* box model */
  width: auto;
  height: 150px;
  max-width: 150px;

  /* appearance */
  display: block;
}
/* ====================================================
   COMPONENT: Testimonials
   ==================================================== */
.Quote {
  /* typography */
  color: #3f4747;
  font-size: clamp(0.8rem, 6.7cqw, 1.8rem);
  font-family: "Times New Roman", serif !important;
  line-height: 1.3;
  letter-spacing: 0;
  word-spacing: 0;
  font-size-adjust: 0.5;
  text-rendering: optimizeLegibility;
  margin-right: 1rem;
  margin-top: 1rem;
  text-transform: none;

  font-family: "Times New Roman", Times, "Liberation Serif", serif !important;
  font-weight: 700; /* 900 → 700 */
  font-style: normal;
}

.Content__Paragraph .Quote + .Attribution {
  margin-left: 0.5rem;
}

.Content__Paragraph .Quote:has(+ .Attribution) {
  margin-top: 0;
  vertical-align: baseline;
  display: inline-block;
  transform: translateY(0.3rem) translateX(0.9rem);
  line-height: 0;
}

/* Fallback for browsers that don't support :has() */
@supports not (selector(:has(*))) {
  .Content__Paragraph:last-of-type .Quote {
    margin-top: 0;
    vertical-align: baseline;
    display: inline-block;
    transform: translateY(0.5rem);
  }
}

.Attribution {
  /* box model */
  display: block;
  width: 100%;

  /* typography */
  text-align: right;
  font-style: normal;
  color: var(--clr-text-light);
  font-size: clamp(0.8rem, 4.8cqw, 1.8rem);
}

.Content__ReadMore.Testimonials {
  position: relative;
  left: 4px;
}

/* ====================================================
   COMPONENT: Read more link
   ==================================================== */
.Content__ReadMore {
  /* box model */
  height: clamp(0.7rem, 4cqw, 1rem);
  margin-top: 2rem;
  gap: 0.5rem;

  /* positioning */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  /* typography */
  font-family: var(--font-primary);
  color: var(--clr-secondary);
  text-decoration: none;
}

.Content__Return {
  /* box model */
  height: clamp(0.7rem, 4cqw, 1rem);
  margin-top: 2rem;
  gap: 0.5rem;

  /* positioning */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  /* typography */
  font-family: var(--font-primary);
  color: var(--clr-secondary);
  text-decoration: none;
}

.Content__Return .Content__ReadMoreText {
  /* This will auto-expand to fill available space, centering text */
  flex: 1;
  text-align: center;
  padding-right: 20px; /* Balance out the icon width on the left */
}

.Content__ReturnIcon {
  height: 60%;
  width: auto;
  display: block;
  position: relative;
  transform: translate(
    var(--return-icon-offset-x),
    var(--return-icon-offset-y)
  );
}

.Content__ReturnIconWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
}

.Content__ReadMore:nth-child(2) {
  margin-top: 1rem;
}

.Content__ReadMoreText {
  display: inline-block;
  font-size: 100%;
  line-height: 1;
  text-align: center;
}

.Content__ReadMoreIconWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
}

.Content__ReadMoreIcon {
  height: 60%;
  width: auto;
  display: block;
  position: relative;
  transform: translate(
    var(--read-more-icon-offset-x),
    var(--read-more-icon-offset-y)
  );
}

@supports (-webkit-touch-callout: none) {
  /* iOS-specific fix for crisp rendering */
  .Content__ReadMoreIcon {
    transform: translate(
        var(--read-more-icon-offset-x),
        var(--read-more-icon-offset-y)
      )
      translateZ(0);
    -webkit-transform: translate(
        var(--read-more-icon-offset-x),
        var(--read-more-icon-offset-y)
      )
      translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
  }

  /* Apply different offsets to Testimonials button icon if needed */
  .Content__ReadMore.Testimonials .Content__ReadMoreIcon {
    transform: translate(
        var(--testimonials-icon-offset-x),
        var(--testimonials-icon-offset-y)
      )
      translateZ(0);
    -webkit-transform: translate(
        var(--testimonials-icon-offset-x),
        var(--testimonials-icon-offset-y)
      )
      translateZ(0);
  }
}

/* ====================================================
   COMPONENT: Contact form
   ==================================================== */
.ContactForm {
  /* box model */
  width: 100%;
  max-width: 100%;
  margin: 2rem auto 0;
  padding-top: 0;

  /* positioning */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ContactForm__Label {
  width: 100%;
  margin-bottom: 0.8rem;
}

.ContactForm__TextareaLabel {
  position: relative;
  display: block;
}

.ContactForm__Input,
.ContactForm__Email,
.ContactForm__Tel,
.ContactForm__Textarea {
  /* box model */
  width: 100%;
  margin: 0;
  box-sizing: border-box;

  /* typography */
  font-family: var(--font-primary);
  font-size: clamp(0.8rem, 4cqw, 1rem);
  font-weight: 400;
  color: var(--clr-placeholder);

  /* appearance */
  background-color: transparent;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.ContactForm__Input,
.ContactForm__Email,
.ContactForm__Tel {
  padding: 0.5rem;
  border-bottom: 1px dashed var(--clr-border);
}

.ContactForm__Textarea {
  height: 120px;
  padding: 0.8rem;
  margin-top: 1rem;
  border: 1px dashed var(--clr-border);
  resize: none;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
}

.ContactForm__Textarea::-webkit-scrollbar {
  display: none;
}

/* Custom placeholder element for textarea */
.ContactForm__TextareaPlaceholder {
  /* positioning */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;

  /* typography */
  color: rgb(194, 193, 193);
  font-family: var(--font-primary);
  font-size: clamp(0.8rem, 4cqw, 1rem);

  /* transition */
  transition: opacity 0.2s ease;
  opacity: 1;
}

/* Focus and filled states */
.ContactForm__Input:focus,
.ContactForm__Email:focus,
.ContactForm__Tel:focus,
.ContactForm__Textarea:focus,
.ContactForm__Input:not(:placeholder-shown),
.ContactForm__Email:not(:placeholder-shown),
.ContactForm__Tel:not(:placeholder-shown),
.ContactForm__Textarea:not(:placeholder-shown) {
  color: var(--clr-secondary);
}

.ContactForm__Input:focus,
.ContactForm__Email:focus,
.ContactForm__Tel:focus {
  outline: none;
  background-image: none;
  border: 1px dashed var(--clr-border-dark);
  padding: 0.5rem;
}

.ContactForm__Textarea:focus {
  border: 1px dashed var(--clr-border-dark);
  outline: none;
}

.ContactForm__Input:not(:placeholder-shown):not(:focus),
.ContactForm__Email:not(:placeholder-shown):not(:focus),
.ContactForm__Tel:not(:placeholder-shown):not(:focus) {
  border: 1px dashed var(--clr-border);
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}

.ContactForm__Input:not(:placeholder-shown):focus,
.ContactForm__Email:not(:placeholder-shown):focus,
.ContactForm__Tel:not(:placeholder-shown):focus {
  background-image: none;
  border: 1px dashed var(--clr-border-dark);
  padding: 0.5rem;
}

/* Hide placeholder when focused or has content */
.ContactForm__Input:focus::placeholder,
.ContactForm__Email:focus::placeholder,
.ContactForm__Tel:focus::placeholder,
.ContactForm__Textarea:focus::placeholder,
.ContactForm__Input:focus::-moz-placeholder,
.ContactForm__Email:focus::-moz-placeholder,
.ContactForm__Tel:focus::-moz-placeholder,
.ContactForm__Textarea:focus::-moz-placeholder,
.ContactForm__Input:focus::-webkit-input-placeholder,
.ContactForm__Email:focus::-webkit-input-placeholder,
.ContactForm__Tel:focus::-webkit-input-placeholder,
.ContactForm__Textarea:focus::-webkit-input-placeholder,
.ContactForm__Input:focus:-ms-input-placeholder,
.ContactForm__Email:focus:-ms-input-placeholder,
.ContactForm__Tel:focus:-ms-input-placeholder,
.ContactForm__Textarea:focus:-ms-input-placeholder {
  color: transparent !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0s !important;
}

.ContactForm__Input::placeholder,
.ContactForm__Email::placeholder,
.ContactForm__Tel::placeholder,
.ContactForm__Textarea::placeholder {
  color: rgb(194, 193, 193);
  font-family: var(--font-primary);
  font-weight: 400;
}

.ContactForm__Input::placeholder,
.ContactForm__Email::placeholder,
.ContactForm__Tel::placeholder {
  font-size: clamp(0.8rem, 4cqw, 1rem);
  padding-left: 0.5rem;
}

.ContactForm__Textarea:focus + .ContactForm__TextareaPlaceholder,
.ContactForm__Textarea:not(:placeholder-shown)
  + .ContactForm__TextareaPlaceholder {
  opacity: 0;
}

.ContactForm__Textarea:focus {
  border: 1px dashed var(--clr-border-dark);
  outline: none;
  text-align: left;
  padding-top: 0.8rem;
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
  .ContactForm__TextareaPlaceholder {
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
}

.ContactForm__Textarea:focus::placeholder {
  opacity: 0;
}

.ContactForm__SubmitBtn {
  /* box model */
  min-width: 100px;
  margin-top: 1.5rem;
  padding: 0.8rem 1rem 0.3rem;

  /* positioning */
  position: relative;

  /* typography */
  font-family: var(--font-primary);
  font-size: clamp(0.8rem, 4cqw, 1rem);
  font-weight: 400;
  color: var(--clr-secondary);

  /* appearance */
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.ContactForm__SubmitBtn::after {
  content: "";
  width: 60%;
  height: 0.8px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--clr-border);
}

.ContactForm__Status {
  margin-top: 1rem;
  font-size: clamp(0.7rem, 3.5cqw, 0.9rem);
  font-weight: bold;
  color: var(--clr-secondary);
}

/* ====================================================
   COMPONENT: Footer
   ==================================================== */
.Footer {
  /* box model */
  width: 100%;
  margin-top: 2rem;

  /* positioning */
  display: flex;
  flex-direction: column;
  align-items: center;

  /* typography */
  text-align: center;
}

.Footer__Contact {
  margin-bottom: 3rem;
  font-size: clamp(0.7rem, 4.4cqw, 1.1rem);
  line-height: 1.5;
  color: var(--clr-primary);
}

.Footer__Email {
  color: var(--clr-primary);
  text-decoration: none;
  position: relative;
}

.Footer__Social {
  margin-bottom: 3rem;
}

.Footer__SocialLink {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--clr-primary);
}

.Footer__SocialIcon {
  width: 24px;
  height: auto;
  margin-bottom: 0.5rem;
}

.Footer__SocialText {
  font-size: clamp(0.7rem, 3.5cqw, 0.9rem);
  letter-spacing: 0.05rem;
  color: var(--clr-text-footer);
}

.Footer__Logo {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Foot__Logo {
  width: 100%;
  max-width: 100px;
  height: auto;
}

.Footer__Copyright {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: clamp(0.7rem, 4.5cqw, 1rem);
  color: var(--clr-text-footer);
  padding-left: 15px;
}

/* ====================================================
   COMPONENT: Media queries
   ==================================================== */
@media (min-width: 500px) {
  /* Logo grows as screen width increases */
  .Logo {
    max-width: calc(266px + 10vw);
    min-width: 266px;
    width: calc(266px + (100vw - 500px) * 0.1);
  }
}
